From 8a432746ae26697e9de5d42d0ac7a27b45e54d3e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 14 Jan 1994 20:43:07 +0000 Subject: [PATCH] Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe De Muyter). * configure.in (m68k-motorola-sysv*) New target. * config/delta68.mt: New file. * emulparams/delta68.sh: New file. * scripttempl/delta68.sc: New file. * Makefile.in (ALL_EMULATIONS): Added em_delta68.o. (em_delta68.c): New target. --- ld/ChangeLog | 17 +++++++++++++++++ ld/Makefile.in | 9 ++++++++- ld/config/delta68.mt | 1 + ld/configure.in | 3 +++ ld/emulparams/delta68.sh | 5 +++++ ld/scripttempl/delta68.sc | 27 +++++++++++++++++++++++++++ 6 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 ld/config/delta68.mt create mode 100644 ld/emulparams/delta68.sh create mode 100644 ld/scripttempl/delta68.sc diff --git a/ld/ChangeLog b/ld/ChangeLog index 6410207cd08..d6993ee1bf6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,22 @@ +Fri Jan 14 12:37:16 1994 Ian Lance Taylor (ian@cygnus.com) + + Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe + De Muyter). + * configure.in (m68k-motorola-sysv*) New target. + * config/delta68.mt: New file. + * emulparams/delta68.sh: New file. + * scripttempl/delta68.sc: New file. + * Makefile.in (ALL_EMULATIONS): Added em_delta68.o. + (em_delta68.c): New target. + Tue Jan 11 13:22:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * ldmain.c (add_archive_element): If trace_files or + trace_file_tries, print file name. + * ldlang.c (lookup_name): Likewise. + (ldlang_add_file): Don't put files on input_bfds list in reverse + order. + * scripttempl/elf.sc: Correct typo. Mon Jan 10 19:49:05 1994 David J. Mackenzie (djm@thepub.cygnus.com) diff --git a/ld/Makefile.in b/ld/Makefile.in index 332d47ff5e9..c68041702c0 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -164,7 +164,7 @@ ALL_CFLAGS=$(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(CFLAGS) BFDLIB = ../bfd/libbfd.a LIBIBERTY = ../libiberty/libiberty.a -ALL_EMULATIONS=em_lnk960.o em_sun3.o em_i386aout.o em_go32.o \ +ALL_EMULATIONS=em_lnk960.o em_sun3.o em_i386aout.o em_go32.o em_vsta.o \ em_m88kbcs.o em_a29k.o em_news.o em_hp300bsd.o em_hp3hpux.o \ em_h8300.o em_h8300h.o em_ebmon29k.o em_sun4.o em_gld960.o \ em_m68kcoff.o em_st2000.o em_sa29200.o em_i386mach.o \ @@ -172,6 +172,7 @@ ALL_EMULATIONS=em_lnk960.o em_sun3.o em_i386aout.o em_go32.o \ em_mipsbig.o em_mipsbsd.o em_mipsidt.o em_vax.o em_h8500.o \ em_hppaosf.o em_mipsidtl.o em_sh.o em_elf_i386.o em_alpha.o \ em_i386lynx.o em_m68klynx.o em_sparclynx.o em_coff_sparc.o \ + em_delta68.o \ $(OTHER_EMULATIONS) # This is now set by configure.in. @@ -248,6 +249,9 @@ em_sun4.c: $(srcdir)/emulparams/sun4.sh \ em_sun3.c: $(srcdir)/emulparams/sun3.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} sun3 +em_vsta.c: $(srcdir)/emulparams/vsta.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} + ${GENSCRIPTS} vsta em_go32.c: $(srcdir)/emulparams/go32.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} go32 @@ -314,6 +318,9 @@ em_gld960.c: $(srcdir)/emulparams/gld960.sh \ em_m68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} ${GENSCRIPTS} m68kcoff +em_delta68.c: $(srcdir)/emulparams/delta68.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} + ${GENSCRIPTS} delta68 em_m68klynx.c: $(srcdir)/emulparams/m68klynx.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} ${GENSCRIPTS} m68klynx diff --git a/ld/config/delta68.mt b/ld/config/delta68.mt new file mode 100644 index 00000000000..47d11493580 --- /dev/null +++ b/ld/config/delta68.mt @@ -0,0 +1 @@ +EMUL=delta68 diff --git a/ld/configure.in b/ld/configure.in index 162516831d5..1aeae78a17d 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -59,6 +59,7 @@ case "${targ}" in m68*-wrs-vxworks*) ld_target=vxworks68 ;; m68*-ericsson-ose) ld_target=ose68 ;; *-tandem-none) ld_target=st2000 ;; # FIXME needs better name + i[34]86-*-vsta) ld_target=vsta ;; i[34]86-*-go32) ld_target=go32 ;; i[34]86-*-aix*) ld_target=i386-coff ;; i[34]86-*-sco*) ld_target=i386-coff ;; @@ -83,6 +84,7 @@ case "${targ}" in sh-*-*) ld_target=coff-sh ;; m68k-sony-*) ld_target=news ;; m68k-hp-bsd*) ld_target=hp300bsd ;; + m68k-motorola-sysv*) ld_target=delta68 ;; m68*-*-aout) ld_target=m68k ;; m68*-*-coff) ld_target=m68k-coff ;; m68*-*-hpux) ld_target=hp300hpux ;; @@ -100,6 +102,7 @@ case "${targ}" in mips*-dec-bsd*) ld_target=mipsbsd ;; mips*-*-elf*) ld_target=mipsb-elf32 ;; alpha-*-osf*) ld_target=alpha ;; + alpha-*-netware*) ld_target=alpha ;; z8k-*-sim | z8k-*-coff) ld_target=z8ksim ;; *-*-aout) ld_target=${target_cpu}-${target_vendor} ;; *-*-coff) ld_target=${target_cpu}-${target_vendor} ;; diff --git a/ld/emulparams/delta68.sh b/ld/emulparams/delta68.sh new file mode 100644 index 00000000000..e4b1b5b3fc1 --- /dev/null +++ b/ld/emulparams/delta68.sh @@ -0,0 +1,5 @@ +SCRIPT_NAME=delta68 +OUTPUT_FORMAT="coff-m68k" +TEXT_START_ADDR=8400 +PAGE_SIZE=4096 +ARCH=m68k diff --git a/ld/scripttempl/delta68.sc b/ld/scripttempl/delta68.sc new file mode 100644 index 00000000000..753d32a8b88 --- /dev/null +++ b/ld/scripttempl/delta68.sc @@ -0,0 +1,27 @@ +# Linker script for Motorola Delta sysV68 R3V7.1 +cat <