summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/elf.py
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-18 11:41:18 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-19 23:49:39 +0000
commitbf2b73e1f38826709ba6014ecabc45c01c70bd22 (patch)
tree88b1e71cb5e7679a3ed7f552a8ef72b1f0f441b3 /meta/lib/oe/elf.py
parent1b1a533133e68b1850cd4194d51b53e819fa9183 (diff)
downloadpoky-bf2b73e1f38826709ba6014ecabc45c01c70bd22.tar.gz
classes, conf, lib: Add support for powerpc64le
LE is default for modern powerpc64, power8+ PowerPC64 Little Endian Linux ABI specifies Power8 as the minimum ISA. The basic ABI can run on earlier versions of the 64 bit PowerPC ISA, but it was helpful to define a new, minimum instruction set for Linux distribution releases during the switch to Little Endian. (From OE-Core rev: b9c73fb6d1afb3367d871a3d6bf7d0d6a53968a9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/elf.py')
-rw-r--r--meta/lib/oe/elf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py
index 2562cea1dd..43c962c697 100644
--- a/meta/lib/oe/elf.py
+++ b/meta/lib/oe/elf.py
@@ -34,6 +34,7 @@ def machine_dict(d):
34 "armeb": (40, 97, 0, False, 32), 34 "armeb": (40, 97, 0, False, 32),
35 "powerpc": (20, 0, 0, False, 32), 35 "powerpc": (20, 0, 0, False, 32),
36 "powerpc64": (21, 0, 0, False, 64), 36 "powerpc64": (21, 0, 0, False, 64),
37 "powerpc64le": (21, 0, 0, True, 64),
37 "i386": ( 3, 0, 0, True, 32), 38 "i386": ( 3, 0, 0, True, 32),
38 "i486": ( 3, 0, 0, True, 32), 39 "i486": ( 3, 0, 0, True, 32),
39 "i586": ( 3, 0, 0, True, 32), 40 "i586": ( 3, 0, 0, True, 32),
@@ -68,6 +69,7 @@ def machine_dict(d):
68 "armeb": ( 40, 97, 0, False, 32), 69 "armeb": ( 40, 97, 0, False, 32),
69 "powerpc": ( 20, 0, 0, False, 32), 70 "powerpc": ( 20, 0, 0, False, 32),
70 "powerpc64": ( 21, 0, 0, False, 64), 71 "powerpc64": ( 21, 0, 0, False, 64),
72 "powerpc64le": (21, 0, 0, True, 64),
71 "i386": ( 3, 0, 0, True, 32), 73 "i386": ( 3, 0, 0, True, 32),
72 "i486": ( 3, 0, 0, True, 32), 74 "i486": ( 3, 0, 0, True, 32),
73 "i586": ( 3, 0, 0, True, 32), 75 "i586": ( 3, 0, 0, True, 32),