2005-06-07 Eric Christopher <echristo@redhat.com>
authorEric Christopher <echristo@gmail.com>
Tue, 7 Jun 2005 23:56:50 +0000 (23:56 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 7 Jun 2005 23:56:50 +0000 (23:56 +0000)
        * Makefile.am (eelf32ms1.c): Use tab.
        * Makefile.in: Regenerate.

2005-06-07  Eric Christopher  <echristo@redhat.com>

        * readelf.c (guess_is_rela): Support ms1.
        (dump_relocations): Ditto.
        (get_machine_name): Ditto.

binutils/ChangeLog
binutils/readelf.c
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in

index 5d0e219e6871878e3498dd5726abdaddc520b4c1..23ab45b6c150120aee08203d279378001fe1b439 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-07  Eric Christopher  <echristo@redhat.com>
+
+       * readelf.c (guess_is_rela): Support ms1.
+       (dump_relocations): Ditto.
+       (get_machine_name): Ditto.
+
 2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
            Michael Snyder  <msnyder@redhat.com>
            Stan Cox  <scox@redhat.com>
index 597da1494129b7abf0ab2043766e9118dcc81165..33e30ddf3484f5732fb5917a669951ec4cf6c792 100644 (file)
@@ -730,6 +730,7 @@ guess_is_rela (unsigned long e_machine)
     case EM_XTENSA:
     case EM_XTENSA_OLD:
     case EM_M32R:
+    case EM_MS1:
       return TRUE;
 
     case EM_MMA:
@@ -1233,6 +1234,10 @@ dump_relocations (FILE *file,
        case EM_XTENSA:
          rtype = elf_xtensa_reloc_type (type);
          break;
+
+       case EM_MS1:
+         rtype = elf_ms1_reloc_type (type);
+         break;
        }
 
       if (rtype == NULL)
@@ -1772,6 +1777,7 @@ get_machine_name (unsigned e_machine)
     case EM_IQ2000:            return "Vitesse IQ2000";
     case EM_XTENSA_OLD:
     case EM_XTENSA:            return "Tensilica Xtensa Processor";
+    case EM_MS1:                return "Morpho Techologies MS1 processor";
     default:
       snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_machine);
       return buff;
index 085b68d9515cd8c2ee9bd5951bbda93301f7c7b5..2e99f11bfb088228e2c40df6cdf913dac2d00f49 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-07  Eric Christopher  <echristo@redhat.com>
+
+       * Makefile.am (eelf32ms1.c): Use tab.
+       * Makefile.in: Regenerate.
+
 2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
            Michael Snyder  <msnyder@redhat.com>
            Stan Cox  <scox@redhat.com>
index a81371ccf7f7b1f3444835074c590444ff95da85..b5ee369f14d6d200ff52e7c58aa14055b5a47fdc 100644 (file)
@@ -1535,7 +1535,7 @@ eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
        ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
 eelf32ms1.c: $(srcdir)/emulparams/elf32ms1.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
-        ${GENSCRIPTS} elf32ms1 "$(tdir_ms1)"
+       ${GENSCRIPTS} elf32ms1 "$(tdir_ms1)"
 
 # We need this for automake to use YLWRAP.
 EXTRA_ld_new_SOURCES = deffilep.y
index 59f3cacaf03475aa6683c8049ef3ead9783059c3..babca2621b88c1dcd04df183f09923700b65474d 100644 (file)
@@ -2339,7 +2339,7 @@ eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
        ${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
 eelf32ms1.c: $(srcdir)/emulparams/elf32ms1.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
-        ${GENSCRIPTS} elf32ms1 "$(tdir_ms1)"
+       ${GENSCRIPTS} elf32ms1 "$(tdir_ms1)"
 
 # The generated emulation files mostly have the same dependencies.
 $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \