This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Handle EM_L1OM
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Thu, 6 May 2010 14:32:36 -0700
- Subject: PATCH: Handle EM_L1OM
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch to handle EM_L1OM.
H.J.
--
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a0590d9..8424831 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 0da2c22..af5a507 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 6e368c5..53699b2 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: