]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/elf.py: Add powerpc64 architecture definition for musl
authorSerhey Popovych <serhe.popovych@gmail.com>
Fri, 14 Dec 2018 17:54:30 +0000 (19:54 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Dec 2018 17:10:44 +0000 (17:10 +0000)
Add the ELF definition for the powerpc64 architecture when building
with musl as libc.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/elf.py

index 0ed59ae05c14a4478e82a5e8090acdf2ecee1ced..4cc9a9a09720cfbc2dc4842b34170f4021a9708c 100644 (file)
@@ -63,6 +63,7 @@ def machine_dict(d):
                         "arm" :       (  40,    97,    0,          True,          32),
                         "armeb":      (  40,    97,    0,          False,         32),
                         "powerpc":    (  20,     0,    0,          False,         32),
+                        "powerpc64":  (  21,     0,    0,          False,         64),
                         "i386":       (   3,     0,    0,          True,          32),
                         "i486":       (   3,     0,    0,          True,          32),
                         "i586":       (   3,     0,    0,          True,          32),