REstore mcore support (duh!)
authorNick Clifton <nickc@redhat.com>
Fri, 7 May 1999 07:40:05 +0000 (07:40 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 7 May 1999 07:40:05 +0000 (07:40 +0000)
ld/Makefile.am
ld/Makefile.in
ld/configure.tgt
ld/emulparams/elf32mcore.sh
ld/emulparams/mcorepe.sh

index e9dd6b47ce1c71aa08118eebac8610d81cb12f92..1f02098730d9719a359e02f41137aa1e9ad7fa85 100644 (file)
@@ -130,6 +130,7 @@ ALL_EMULATIONS = \
        egld960.o \
        egld960coff.o \
        eelf32fr30.o \
+       eelf32mcore.o \
        ego32.o \
        eh8300.o \
        eh8300h.o \
@@ -166,6 +167,7 @@ ALL_EMULATIONS = \
        em68knbsd.o \
        em68kpsos.o \
        em88kbcs.o \
+       emcorepe.o \
        emipsbig.o \
        emipsbsd.o \
        emipsidt.o \
@@ -323,6 +325,9 @@ eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
+eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
+  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} m32relf "$(tdir_m32r)"
@@ -485,6 +490,9 @@ em68kpsos.c:        $(srcdir)/emulparams/m68kpsos.sh \
 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
+emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
+  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} mipsbig
index ae47142a36e33be477111f96259772ced81656c8..e5961ae226f2149df1b16309ba913b660692d45a 100644 (file)
@@ -233,6 +233,7 @@ ALL_EMULATIONS = \
        egld960.o \
        egld960coff.o \
        eelf32fr30.o \
+       eelf32mcore.o \
        ego32.o \
        eh8300.o \
        eh8300h.o \
@@ -269,6 +270,7 @@ ALL_EMULATIONS = \
        em68knbsd.o \
        em68kpsos.o \
        em88kbcs.o \
+       emcorepe.o \
        emipsbig.o \
        emipsbsd.o \
        emipsidt.o \
@@ -1022,6 +1024,9 @@ eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
 eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
+eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
+  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
 em32relf.c: $(srcdir)/emulparams/m32relf.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} m32relf "$(tdir_m32r)"
@@ -1184,6 +1189,9 @@ em68kpsos.c:      $(srcdir)/emulparams/m68kpsos.sh \
 em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)"
+emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
+  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)"
 emipsbig.c:  $(srcdir)/emulparams/mipsbig.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} mipsbig
index 8b4a29731bcfc76bbb6fa339d3d7bd88e7a693bf..d0555cebab27427736f3ffe159b4fa526b1715ee 100644 (file)
@@ -233,6 +233,9 @@ v850e-*-*)          targ_emul=v850 ;;
 v850ea-*-*)            targ_emul=v850 ;;
 w65-*-*)               targ_emul=w65 ;;
 fr30-*-*)              targ_emul=elf32fr30 ;;
+mcore-*-pe)            targ_emul=mcorepe ;
+                       targ_extra_ofiles="deffilep.o pe-dll.o" ;;
+mcore-*-elf)           targ_emul=elf32mcore ;;
 *-*-aout)              targ_emul=${target_cpu}-${target_vendor} ;;
 *-*-coff)              targ_emul=${target_cpu}-${target_vendor} ;;
 *-*-netware)           targ_emul=${target_cpu}-nw ;;
index 524a7f46985095aad60c62be7eea079750b8fae5..b3c2ba587c73db405fec312a2497a4d7ecfcace0 100644 (file)
@@ -1,6 +1,3 @@
-
-# CYGNUS LOCAL entire file
-
 SCRIPT_NAME=elf
 OUTPUT_FORMAT="elf32-mcore-big"
 BIG_OUTPUT_FORMAT="elf32-mcore-big"
index ea3087b95d18afc38883e3d5aded6262a8709233..b5baee9ea70623fb24c415816866f7008af2bef8 100644 (file)
@@ -1,6 +1,3 @@
-
-# CYGNUS LOCAL entire file
-
 ARCH=mcore
 SCRIPT_NAME=mcorepe
 OUTPUT_FORMAT="pei-mcore-big"