This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Binutils build broken for cris-elf
On Tue, 2005-06-07 at 16:41 -0700, Eric Christopher wrote:
> O
> >
> > I see only big ms1 port commits in that time frame. People from
> > ChangeLog diff cc:ed.
>
> I'm fixing btw. I'll commit soon.
Committed. Tested by building native i686-pc-linux-gnu since ms1-elf
doesn't seem to be supported at the toplevel yet.
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.
Index: binutils/readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.300
diff -u -p -r1.300 readelf.c
--- binutils/readelf.c 7 Jun 2005 21:14:09 -0000 1.300
+++ binutils/readelf.c 7 Jun 2005 23:52:12 -0000
@@ -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: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.181
diff -u -p -r1.181 Makefile.am
--- ld/Makefile.am 7 Jun 2005 21:12:15 -0000 1.181
+++ ld/Makefile.am 7 Jun 2005 23:52:12 -0000
@@ -1535,7 +1535,7 @@ eelf32frvfd.c: $(srcdir)/emulparams/elf3
${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