+Sun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au)
+
+ * emulparams/pc532machaout.sh: New file. Pc532 mach script
+ parameters.
+
+ * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters.
+
+ * config/pc532mach.mt: New file. Pc532 mach target support.
+
+ * config/pc532mach.mh: New file. Pc532 mach host support.
+
+ * config/netbsd532.mt: New file. Netbsd 532 target support.
+
+ * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support.
+
+ * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c
+ dependency.
+
Fri Jul 8 10:57:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use
eh8500b.o eh8500s.o eh8500c.o eh8500m.o \
ehppaelf.o emipsidtl.o esh.o eelf_i386.o ealpha.o \
ei386lynx.o em68klynx.o esparclynx.o ecoff_sparc.o \
- eelf32ppc.o ei386go32.o em68kaout.o \
- $(OTHER_EMULATIONS)
-
-# This is now set by configure.in.
-#EMULATION_OFILES = ${ALL_EMULATIONS}
+ eelf32ppc.o ei386go32.o em68kaout.o ei386linux.o \
+ eelf32_sparc.o eelf64_sparc.o
CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
mri.c
-
HFILES = config.h ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
ldwrite.h mri.h
em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
${GENSCRIPTS} m68kaout
+ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
+ $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} i386linux
+eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32_sparc
+eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf64_sparc
+
+epc532machaout.c: $(srcdir)/emulparams/pc532machaout.sh \
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} pc532machaout
+
+enetbsd532.c: $(srcdir)/emulparams/netbsd532.sh \
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} netbsd532
$(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
$(CC) $(CFLAGS) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(EXTRALIBS)
ldgram.h ldmain.h ldctor.h
ldemul.o : ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
- config.h ld.h ldemul.h ldmisc.h ldfile.h ldmain.h ldemul-list.h
+ config.h ld.h ldemul.h ldmisc.h ldexp.h ldlang.h ldfile.h \
+ ldmain.h ldemul-list.h
ldexp.o : ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
$(INCDIR)/bfdlink.h ld.h ldmain.h ldmisc.h ldexp.h \
ldfile.o : ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
- ldlex.h
+ ldlex.h ldemul.h
ldlang.o : ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/obstack.h ../bfd/sysdep.h $(INCDIR)/fopen-same.h \
$(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h ld.h ldmain.h \
# per-target:
# Canonicalize the secondary target names.
-if [ -n "$with_targets" ]; then
- for targ in `echo $with_targets | sed 's/,/ /g'`
+if [ -n "$enable_targets" ]; then
+ for targ in `echo $enable_targets | sed 's/,/ /g'`
do
result=`$configsub $targ 2>/dev/null`
if [ -n "$result" ]; then
alpha-*-osf*) ld_target=alpha ;;
alpha-*-netware*) ld_target=alpha ;;
z8k-*-sim | z8k-*-coff) ld_target=z8ksim ;;
+ ns32k-pc532-mach) ld_target=pc532mach ;;
+ ns32k-pc532-netbsd*) ld_target=netbsd532 ;;
powerpc-*-elf*) ld_target=ppc-elf32 ;;
powerpc-*-netware*) ld_target=ppc-elf32 ;;
*-*-aout) ld_target=${target_cpu}-${target_vendor} ;;
# The emulations in all the configured targets.
tb=`sed -n '
s/EMUL[ ]*=[ ]*\([^ ]*\)/e\1.o/p
+ s/EMUL_EXTRA.*=[ ]*\([^ ]*\)/e\1.o/p
' $allfrags`
# uniq the list.
f=""