diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2016-05-20 19:37:29 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2016-05-23 13:32:01 +0200 |
commit | 37bb3fcd9010f6fead99568613b2aa8a7fcdc703 (patch) | |
tree | 91eb79cdcc1543b014bf89fd6bec81e6985c818e /libebl | |
parent | 239cd48bc87ffbf95e6fe2dd6bd708b3fc9b1855 (diff) | |
download | elfutils-37bb3fcd9010f6fead99568613b2aa8a7fcdc703.tar.gz |
Add support for m68k
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Diffstat (limited to 'libebl')
-rw-r--r-- | libebl/ChangeLog | 4 | ||||
-rw-r--r-- | libebl/eblopenbackend.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog index 26a4f941..97a9b897 100644 --- a/libebl/ChangeLog +++ b/libebl/ChangeLog @@ -1,3 +1,7 @@ +2016-05-20 Andreas Schwab <schwab@linux-m68k.org> + + * eblopenbackend.c (machines) [EM_68K]: Set class and data. + 2016-02-12 Mark Wielaard <mjw@redhat.com> * eblobjnotetypename.c (ebl_object_note_type_name): Check name is diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c index 372ef2a4..2b922543 100644 --- a/libebl/eblopenbackend.c +++ b/libebl/eblopenbackend.c @@ -73,7 +73,7 @@ static const struct { "s390", "ebl_s390", "s390", 4, EM_S390, 0, 0 }, { "m32", "elf_m32", "m32", 3, EM_M32, 0, 0 }, - { "m68k", "elf_m68k", "m68k", 4, EM_68K, 0, 0 }, + { "m68k", "elf_m68k", "m68k", 4, EM_68K, ELFCLASS32, ELFDATA2MSB }, { "m88k", "elf_m88k", "m88k", 4, EM_88K, 0, 0 }, { "i860", "elf_i860", "i860", 4, EM_860, 0, 0 }, { "s370", "ebl_s370", "s370", 4, EM_S370, 0, 0 }, |