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.
This commit is contained in:
parent
2919ae5a6a
commit
8a432746ae
17
ld/ChangeLog
17
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)
|
||||
|
@ -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
|
||||
|
1
ld/config/delta68.mt
Normal file
1
ld/config/delta68.mt
Normal file
@ -0,0 +1 @@
|
||||
EMUL=delta68
|
@ -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} ;;
|
||||
|
5
ld/emulparams/delta68.sh
Normal file
5
ld/emulparams/delta68.sh
Normal file
@ -0,0 +1,5 @@
|
||||
SCRIPT_NAME=delta68
|
||||
OUTPUT_FORMAT="coff-m68k"
|
||||
TEXT_START_ADDR=8400
|
||||
PAGE_SIZE=4096
|
||||
ARCH=m68k
|
27
ld/scripttempl/delta68.sc
Normal file
27
ld/scripttempl/delta68.sc
Normal file
@ -0,0 +1,27 @@
|
||||
# Linker script for Motorola Delta sysV68 R3V7.1
|
||||
cat <<EOF
|
||||
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${ARCH})
|
||||
${LIB_SEARCH_DIRS}
|
||||
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text ${TEXT_START_ADDR} : {
|
||||
*(.init)
|
||||
*(.text)
|
||||
*(.fini)
|
||||
}
|
||||
${RELOCATING+ etext = .;}
|
||||
.data ${RELOCATING+ 0x400000 + (. & 0xfff)} : {
|
||||
*(.data .data2)
|
||||
}
|
||||
${RELOCATING+ edata = .;}
|
||||
.bss . :
|
||||
{
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
}
|
||||
${RELOCATING+ end = .;}
|
||||
}
|
Loading…
Reference in New Issue
Block a user