summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-05-06 21:32:04 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-05-06 21:32:04 +0000
commit7f502d6c5a69837ad293d942ffa18fc16b8d0e3a (patch)
treeb610b0bdcd9f99a7af5f3e754f5d16e586b79982
parent82794b691e27347c6956208f3ef7433ec14a3729 (diff)
downloadppe42-binutils-7f502d6c5a69837ad293d942ffa18fc16b8d0e3a.tar.gz
ppe42-binutils-7f502d6c5a69837ad293d942ffa18fc16b8d0e3a.zip
Handle EM_L1OM.
2010-05-06 H.J. Lu <hongjiu.lu@intel.com> * dwarf.c (init_dwarf_regnames): Handle EM_L1OM. * readelf.c (get_elf_section_flags): Likewise. (process_section_headers): Likewise.
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/dwarf.c1
-rw-r--r--binutils/readelf.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a0590d9aa5..8424831394 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
+ * readelf.c (get_elf_section_flags): Likewise.
+ (process_section_headers): Likewise.
+
2010-05-05 Nick Clifton <nickc@redhat.com>
* po/es.po: Updated Spanish translation.
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 0da2c22591..af5a507db1 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 6e368c5508..53699b26cf 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:
OpenPOWER on IntegriCloud