Handle EM_L1OM.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 6 May 2010 21:32:04 +0000 (21:32 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 6 May 2010 21:32:04 +0000 (21:32 +0000)
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.

binutils/ChangeLog
binutils/dwarf.c
binutils/readelf.c

index a0590d9aa544b4ee4130cdeaa07e761b7bad840c..84248313945d70aab687e62016a6378a1c123a28 100644 (file)
@@ -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.
index 0da2c225913f8a9cb03002200440ff9ea070b269..af5a507db1fe55dbaa7e9e2fbc5f5c789d79e71e 100644 (file)
@@ -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;
index 6e368c550803baa0fb8022dc2910fb0e7a791b25..53699b26cf95c6c2b8b269fa592a6aea80074aeb 100644 (file)
@@ -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: