From 7f502d6c5a69837ad293d942ffa18fc16b8d0e3a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 6 May 2010 21:32:04 +0000 Subject: [PATCH] Handle EM_L1OM. 2010-05-06 H.J. Lu * dwarf.c (init_dwarf_regnames): Handle EM_L1OM. * readelf.c (get_elf_section_flags): Likewise. (process_section_headers): Likewise. --- binutils/ChangeLog | 6 ++++++ binutils/dwarf.c | 1 + binutils/readelf.c | 2 ++ 3 files changed, 9 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a0590d9aa54..84248313945 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2010-05-06 H.J. Lu + + * dwarf.c (init_dwarf_regnames): Handle EM_L1OM. + * readelf.c (get_elf_section_flags): Likewise. + (process_section_headers): Likewise. + 2010-05-05 Nick Clifton * po/es.po: Updated Spanish translation. diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 0da2c225913..af5a507db1f 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -3992,6 +3992,7 @@ init_dwarf_regnames (unsigned int e_machine) break; case EM_X86_64: + case EM_L1OM: dwarf_regnames = dwarf_regnames_x86_64; dwarf_regnames_count = ARRAY_SIZE (dwarf_regnames_x86_64); break; diff --git a/binutils/readelf.c b/binutils/readelf.c index 6e368c55080..53699b26cf9 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4213,6 +4213,7 @@ get_elf_section_flags (bfd_vma sh_flags) case EM_386: case EM_486: case EM_X86_64: + case EM_L1OM: case EM_OLD_SPARCV9: case EM_SPARC32PLUS: case EM_SPARCV9: @@ -4633,6 +4634,7 @@ process_section_headers (FILE * file) case EM_386: case EM_486: case EM_X86_64: + case EM_L1OM: case EM_OLD_SPARCV9: case EM_SPARC32PLUS: case EM_SPARCV9: -- 2.30.2