diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-08 20:34:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-08 20:34:05 +0000 |
commit | 673f5b9f2ca8fd13229d1145ac4c83ac3357cb2d (patch) | |
tree | 9a59bd5a1da385f5e19bd3225183a408f2ebd07b /ld | |
parent | 2858b1f25e008ebb4fc04ef3142932b487878528 (diff) | |
download | gdb-673f5b9f2ca8fd13229d1145ac4c83ac3357cb2d.zip gdb-673f5b9f2ca8fd13229d1145ac4c83ac3357cb2d.tar.gz gdb-673f5b9f2ca8fd13229d1145ac4c83ac3357cb2d.tar.bz2 |
* configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)
New case.
* configure.tgt (i[345]86-*-ptx*): New case.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/configure.host | 5 | ||||
-rw-r--r-- | ld/configure.tgt | 120 |
3 files changed, 131 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index bb15c6a..7f95d9c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +Fri Sep 8 16:32:43 1995 Ian Lance Taylor <ian@cygnus.com> + + * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) + New case. + * configure.tgt (i[345]86-*-ptx*): New case. + Thu Sep 7 10:48:26 1995 Ian Lance Taylor <ian@cygnus.com> * config.in: Rename from config.h.in. diff --git a/ld/configure.host b/ld/configure.host index e16209d..5c967cf 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -40,6 +40,11 @@ i[345]86-*-sysv4*) NATIVE_LIB_DIRS=/usr/ccs/lib ;; +i[345]86-sequent-ptx* | i[345]86-sequent-sysv*) + HOSTING_CRT0='/lib/crt0.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi`' + HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi`' + ;; + i[345]86-*-sysv*) HOSTING_CRT0='/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi`' HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /lib/crtn.o' diff --git a/ld/configure.tgt b/ld/configure.tgt new file mode 100644 index 0000000..67b8956 --- /dev/null +++ b/ld/configure.tgt @@ -0,0 +1,120 @@ +# This is the linker target specific file. This is invoked by the +# autoconf generated configure script. Putting it in a separate shell +# file lets us skip running autoconf when modifying target specific +# information. + +# This file switches on the shell variable ${targ}, and sets the +# following shell variables: +# targ_emul name of linker emulation to use +# targ_extra_emuls additional linker emulations to provide + +targ_extra_emuls= + +case "${targ}" in +arm-*-pe) targ_emul=armpe ;; +# start-sanitize-arc +arc-*-elf*) targ_emul=arcelf ;; +# end-sanitize-arc +sparc-sun-sunos4*) targ_emul=sun4 ;; +sparclite*-*-coff) targ_emul=coff_sparc ;; +sparclite*-fujitsu-*) targ_emul=sun4 ;; +sparc*-*-aout) targ_emul=sun4 ;; +sparc*-*-coff) targ_emul=coff_sparc ;; +sparc64-*-elf*) targ_emul=elf64_sparc ;; +sparc64*) targ_emul=sun4 ;; +sparc*-*-elf) targ_emul=elf32_sparc ;; +sparc*-*-lynxos*) targ_emul=sparclynx ;; +sparc*-*-netbsd*) targ_emul=sparcnbsd ;; +sparc*-*-solaris2*) targ_emul=elf32_sparc ;; +sparc*-wrs-vxworks*) targ_emul=sun4 ;; +i960-wrs-vxworks5.0*) targ_emul=gld960 ;; +i960-wrs-vxworks5*) targ_emul=gld960coff ;; +i960-wrs-vxworks*) targ_emul=gldi960 ;; +i960-*-coff) targ_emul=gld960coff ;; +i960-intel-nindy) targ_emul=gldi960 ;; +m68*-sun-sunos[34]*) targ_emul=sun3 ;; +m68*-wrs-vxworks*) targ_emul=sun3 ;; +m68*-ericsson-ose) targ_emul=sun3 ;; +*-tandem-none) targ_emul=st2000 ;; +i[345]86-*-vsta) targ_emul=vsta ;; +i[345]86-*-go32) targ_emul=i386go32 ;; +i[345]86-*-aix*) targ_emul=i386coff ;; +i[345]86-*-sco*) targ_emul=i386coff ;; +i[345]86-*-lynxos*) targ_emul=i386lynx ;; +i[345]86-*-coff) targ_emul=i386coff ;; +i[345]86-*-bsd) targ_emul=i386bsd ;; +i[345]86-*-bsd386) targ_emul=i386bsd ;; +i[345]86-*-bsdi*) targ_emul=i386bsd ;; +i[345]86-*-aout) targ_emul=i386aout ;; +i[345]86-*-linuxaout*) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; +i[345]86-*-linuxoldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; +i[345]86-*-linux*) targ_emul=elf_i386; targ_extra_emuls=i386linux ;; +i[345]86-*-sysv4*) targ_emul=elf_i386 ;; +i[345]86-*-unixware) targ_emul=elf_i386 ;; +i[345]86-*-netbsd*) targ_emul=i386nbsd ;; +i[345]86-*-netware) targ_emul=i386nw ;; +i[345]86-*-elf*) targ_emul=elf_i386 ;; +i[345]86-*-sysv*) targ_emul=i386coff ;; +i[345]86-*-ptx*) targ_emul=i386coff ;; +i[345]86-*-mach*) targ_emul=i386mach ;; +i[345]86-*-gnu*) targ_emul=elf_i386; targ_extra_emuls=i386mach ;; +i[345]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;; +i[345]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;; +i[345]86-*-winnt) targ_emul=i386pe ;; +i[345]86-*-pe) targ_emul=i386pe ;; +i[345]86-*-win32) targ_emul=i386pe ;; +m8*-*-*) targ_emul=m88kbcs ;; +a29k-*-udi) targ_emul=sa29200 ;; +a29k-*-ebmon) targ_emul=ebmon29k ;; +a29k-*-*) targ_emul=a29k ;; +# arm-*-riscix*) targ_emul=riscix ;; +arm-*-aout | armel-*-aout) targ_emul=armaoutl ;; +armeb-*-aout) targ_emul=armaoutb ;; +h8300-*-hms) targ_emul=h8300; targ_extra_emuls=h8300h ;; +h8500-*-hms) targ_emul=h8500 + targ_extra_emuls="h8500s h8500b h8500m h8500c" + ;; +sh-*-*) targ_emul=sh; targ_extra_emuls=shl ;; +# start-sanitize-rce +rce-*-aout) targ_emul=rce ;; +# end-sanitize-rce +m68k-sony-*) targ_emul=news ;; +m68k-hp-bsd*) targ_emul=hp300bsd ;; +m68*-*-aout) targ_emul=m68kaout ;; +m68*-*-coff) targ_emul=m68kcoff ;; +m68*-*-elf) targ_emul=m68kelf ;; +m68*-*-hpux*) targ_emul=hp3hpux ;; +m68*-*-lynxos*) targ_emul=m68klynx ;; +m68*-*-netbsd*) targ_emul=m68knbsd ;; +hppa*-*-*elf*) targ_emul=hppaelf ;; +hppa*-*-lites*) targ_emul=hppaelf ;; +vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;; +mips*-dec-ultrix*) targ_emul=mipslit ;; +mips*-sgi-irix5*) targ_emul=elf32bmip ;; +mips*-sgi-irix*) targ_emul=mipsbig ;; +mips*el-*-ecoff*) targ_emul=mipsidtl ;; +mips*-*-ecoff*) targ_emul=mipsidt ;; +mips*-dec-bsd*) targ_emul=mipsbsd ;; +mips*vr4300el-*-elf*) targ_emul=elf32vr4300el ;; +mips*vr4300-*-elf*) targ_emul=elf32vr4300 ;; +mips*el-*-elf*) targ_emul=elf32lmip ;; +mips*-*-elf*) targ_emul=elf32bmip ;; +alpha-*-osf*) targ_emul=alpha ;; +alpha-*-netware*) targ_emul=alpha ;; +z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;; +ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532machaout ;; +ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;; +powerpc-*-elf* | powerpc-*-eabi*) targ_emul=elf32ppc ;; +powerpcle-*-elf* | powerpcle-*-eabi*) targ_emul=elf32lppc ;; +powerpc-*-netware*) targ_emul=ppcnw ;; +w65-*-*) targ_emul=w65 ;; +*-*-aout) targ_emul=${target_cpu}-${target_vendor} ;; +*-*-coff) targ_emul=${target_cpu}-${target_vendor} ;; +*-*-netware) targ_emul=${target_cpu}-nw ;; + +*) + echo 2>&1 "*** ld does not support target ${targ}" + echo 2>&1 "*** see ld/configure.tgt for supported targets" + exit 1 + +esac |