2005-06-07 Eric Christopher <echristo@redhat.com>
* 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.
This commit is contained in:
parent
2d0123b785
commit
a34e3ecb69
5 changed files with 19 additions and 2 deletions
|
@ -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>
|
2005-06-07 Aldy Hernandez <aldyh@redhat.com>
|
||||||
Michael Snyder <msnyder@redhat.com>
|
Michael Snyder <msnyder@redhat.com>
|
||||||
Stan Cox <scox@redhat.com>
|
Stan Cox <scox@redhat.com>
|
||||||
|
|
|
@ -730,6 +730,7 @@ guess_is_rela (unsigned long e_machine)
|
||||||
case EM_XTENSA:
|
case EM_XTENSA:
|
||||||
case EM_XTENSA_OLD:
|
case EM_XTENSA_OLD:
|
||||||
case EM_M32R:
|
case EM_M32R:
|
||||||
|
case EM_MS1:
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
case EM_MMA:
|
case EM_MMA:
|
||||||
|
@ -1233,6 +1234,10 @@ dump_relocations (FILE *file,
|
||||||
case EM_XTENSA:
|
case EM_XTENSA:
|
||||||
rtype = elf_xtensa_reloc_type (type);
|
rtype = elf_xtensa_reloc_type (type);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case EM_MS1:
|
||||||
|
rtype = elf_ms1_reloc_type (type);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rtype == NULL)
|
if (rtype == NULL)
|
||||||
|
@ -1772,6 +1777,7 @@ get_machine_name (unsigned e_machine)
|
||||||
case EM_IQ2000: return "Vitesse IQ2000";
|
case EM_IQ2000: return "Vitesse IQ2000";
|
||||||
case EM_XTENSA_OLD:
|
case EM_XTENSA_OLD:
|
||||||
case EM_XTENSA: return "Tensilica Xtensa Processor";
|
case EM_XTENSA: return "Tensilica Xtensa Processor";
|
||||||
|
case EM_MS1: return "Morpho Techologies MS1 processor";
|
||||||
default:
|
default:
|
||||||
snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_machine);
|
snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_machine);
|
||||||
return buff;
|
return buff;
|
||||||
|
|
|
@ -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>
|
2005-06-07 Aldy Hernandez <aldyh@redhat.com>
|
||||||
Michael Snyder <msnyder@redhat.com>
|
Michael Snyder <msnyder@redhat.com>
|
||||||
Stan Cox <scox@redhat.com>
|
Stan Cox <scox@redhat.com>
|
||||||
|
|
|
@ -1535,7 +1535,7 @@ eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
|
||||||
${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
|
${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
|
||||||
eelf32ms1.c: $(srcdir)/emulparams/elf32ms1.sh \
|
eelf32ms1.c: $(srcdir)/emulparams/elf32ms1.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(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.
|
# We need this for automake to use YLWRAP.
|
||||||
EXTRA_ld_new_SOURCES = deffilep.y
|
EXTRA_ld_new_SOURCES = deffilep.y
|
||||||
|
|
|
@ -2339,7 +2339,7 @@ eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
|
||||||
${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
|
${GENSCRIPTS} elf32frvfd "$(tdir_frv)"
|
||||||
eelf32ms1.c: $(srcdir)/emulparams/elf32ms1.sh \
|
eelf32ms1.c: $(srcdir)/emulparams/elf32ms1.sh \
|
||||||
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
$(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.
|
# The generated emulation files mostly have the same dependencies.
|
||||||
$(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
|
$(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \
|
||||||
|
|
Loading…
Reference in a new issue