| 1# $FreeBSD: head/contrib/binutils/ld/configure.tgt 60522 2000-05-13 17:33:39Z obrien $ 2
|
1# This is the linker target specific file. This is invoked by the 2# autoconf generated configure script. Putting it in a separate shell 3# file lets us skip running autoconf when modifying target specific 4# information. 5 6# This file switches on the shell variable ${targ}, and sets the 7# following shell variables: 8# targ_emul name of linker emulation to use 9# targ_extra_emuls additional linker emulations to provide
| 3# This is the linker target specific file. This is invoked by the 4# autoconf generated configure script. Putting it in a separate shell 5# file lets us skip running autoconf when modifying target specific 6# information. 7 8# This file switches on the shell variable ${targ}, and sets the 9# following shell variables: 10# targ_emul name of linker emulation to use 11# targ_extra_emuls additional linker emulations to provide
|
| 12# targ_extra_libpath additional linker emulations using LIB_PATH 13# targ_extra_ofiles additional objects needed by the emulation
|
10 11targ_extra_emuls=
| 14 15targ_extra_emuls=
|
| 16targ_extra_ofiles=
|
12 13case "${targ}" in
| 17 18case "${targ}" in
|
14arm-*-pe) targ_emul=armpe ;;
| 19arm-epoc-pe) targ_emul=arm_epoc_pe ; 20 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 21arm-*-wince) targ_emul=armpe ; 22 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 23arm-*-pe) targ_emul=armpe ; 24 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
|
15arc-*-elf*) targ_emul=arcelf ;;
| 25arc-*-elf*) targ_emul=arcelf ;;
|
| 26avr-*-*) targ_emul=avr85xx 27 targ_extra_emuls="avr1200 avr23xx avr44x4 avr4433 avrmega603 avrmega103 avrmega161" ;;
|
16d10v-*-*) targ_emul=d10velf ;;
| 28d10v-*-*) targ_emul=d10velf ;;
|
| 29d30v-*-*ext*) targ_emul=d30v_e; targ_extra_emuls="d30velf d30v_o" ;; 30d30v-*-*onchip*) targ_emul=d30v_o; targ_extra_emuls="d30velf d30v_e" ;; 31d30v-*-*) targ_emul=d30velf; targ_extra_emuls="d30v_e d30v_o" ;;
|
17sparc64-*-aout*) targ_emul=sparcaout ;; 18sparc64-*-elf*) targ_emul=elf64_sparc ;; 19sparc-sun-sunos4*) targ_emul=sun4 ;; 20sparclite*-*-elf) targ_emul=elf32_sparc ;; 21sparclite*-*-coff) targ_emul=coff_sparc ;; 22sparclite*-fujitsu-*) targ_emul=sparcaout ;; 23sparc*-*-aout) targ_emul=sparcaout ;; 24sparc*-*-coff) targ_emul=coff_sparc ;;
| 32sparc64-*-aout*) targ_emul=sparcaout ;; 33sparc64-*-elf*) targ_emul=elf64_sparc ;; 34sparc-sun-sunos4*) targ_emul=sun4 ;; 35sparclite*-*-elf) targ_emul=elf32_sparc ;; 36sparclite*-*-coff) targ_emul=coff_sparc ;; 37sparclite*-fujitsu-*) targ_emul=sparcaout ;; 38sparc*-*-aout) targ_emul=sparcaout ;; 39sparc*-*-coff) targ_emul=coff_sparc ;;
|
| 40sparc*-*-freebsd*) targ_emul=sparcfreebsd ;;
|
25sparc*-*-elf) targ_emul=elf32_sparc ;; 26sparc*-*-sysv4*) targ_emul=elf32_sparc ;; 27sparc*-*-linux*aout*) targ_emul=sparclinux 28 targ_extra_emuls="elf32_sparc sun4" 29 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'` 30 tdir_sun4=sparc-sun-sunos4 31 ;; 32sparc64-*-linux-gnu*) targ_emul=elf64_sparc 33 targ_extra_emuls="elf32_sparc sparclinux sun4" 34 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` 35 tdir_sparclinux=${tdir_elf32_sparc}aout 36 tdir_sun4=sparc-sun-sunos4 37 ;; 38sparc*-*-linux-gnu*) targ_emul=elf32_sparc
| 41sparc*-*-elf) targ_emul=elf32_sparc ;; 42sparc*-*-sysv4*) targ_emul=elf32_sparc ;; 43sparc*-*-linux*aout*) targ_emul=sparclinux 44 targ_extra_emuls="elf32_sparc sun4" 45 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'` 46 tdir_sun4=sparc-sun-sunos4 47 ;; 48sparc64-*-linux-gnu*) targ_emul=elf64_sparc 49 targ_extra_emuls="elf32_sparc sparclinux sun4" 50 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` 51 tdir_sparclinux=${tdir_elf32_sparc}aout 52 tdir_sun4=sparc-sun-sunos4 53 ;; 54sparc*-*-linux-gnu*) targ_emul=elf32_sparc
|
39 targ_extra_emuls="sparclinux sun4"
| 55 targ_extra_emuls="sparclinux elf64_sparc sun4"
|
40 tdir_sparclinux=${targ_alias}aout
| 56 tdir_sparclinux=${targ_alias}aout
|
| 57 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'`
|
41 tdir_sun4=sparc-sun-sunos4 42 ;; 43sparc*-*-lynxos*) targ_emul=sparclynx ;; 44sparc*-*-netbsd*) targ_emul=sparcnbsd ;;
| 58 tdir_sun4=sparc-sun-sunos4 59 ;; 60sparc*-*-lynxos*) targ_emul=sparclynx ;; 61sparc*-*-netbsd*) targ_emul=sparcnbsd ;;
|
| 62sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) 63 targ_emul=elf32_sparc ;; 64sparc-*-solaris2*) targ_emul=elf32_sparc 65 targ_extra_emuls="elf64_sparc" 66 targ_extra_libpath=$targ_extra_emuls 67 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` 68 ;; 69sparcv9-*-solaris2* | sparc64-*-solaris2*) 70 targ_emul=elf64_sparc 71 targ_extra_emuls="elf32_sparc" 72 targ_extra_libpath=$targ_extra_emuls 73 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` 74 ;;
|
45sparc*-*-solaris2*) targ_emul=elf32_sparc ;; 46sparc*-wrs-vxworks*) targ_emul=sparcaout ;; 47sparc*-*-rtems*) targ_emul=sparcaout ;; 48i960-wrs-vxworks5.0*) targ_emul=gld960 ;; 49i960-wrs-vxworks5*) targ_emul=gld960coff ;; 50i960-wrs-vxworks*) targ_emul=gld960 ;; 51i960-*-coff) targ_emul=gld960coff ;; 52i960-intel-nindy) targ_emul=gld960 ;; 53i960-*-rtems*) targ_emul=gld960coff ;;
| 75sparc*-*-solaris2*) targ_emul=elf32_sparc ;; 76sparc*-wrs-vxworks*) targ_emul=sparcaout ;; 77sparc*-*-rtems*) targ_emul=sparcaout ;; 78i960-wrs-vxworks5.0*) targ_emul=gld960 ;; 79i960-wrs-vxworks5*) targ_emul=gld960coff ;; 80i960-wrs-vxworks*) targ_emul=gld960 ;; 81i960-*-coff) targ_emul=gld960coff ;; 82i960-intel-nindy) targ_emul=gld960 ;; 83i960-*-rtems*) targ_emul=gld960coff ;;
|
| 84i960-*-elf*) targ_emul=elf32_i960 ;;
|
54m32r-*-*) targ_emul=m32relf ;; 55m68*-sun-sunos[34]*) targ_emul=sun3 ;; 56m68*-wrs-vxworks*) targ_emul=sun3 ;; 57m68*-ericsson-ose) targ_emul=sun3 ;; 58m68*-apple-aux*) targ_emul=m68kaux ;; 59*-tandem-none) targ_emul=st2000 ;;
| 85m32r-*-*) targ_emul=m32relf ;; 86m68*-sun-sunos[34]*) targ_emul=sun3 ;; 87m68*-wrs-vxworks*) targ_emul=sun3 ;; 88m68*-ericsson-ose) targ_emul=sun3 ;; 89m68*-apple-aux*) targ_emul=m68kaux ;; 90*-tandem-none) targ_emul=st2000 ;;
|
| 91i370-*-elf* | i370-*-linux-gnu*) targ_emul=elf32i370 ;; 92i370-*-mvs*) targ_emul=mvs ;;
|
60i[3456]86-*-vsta) targ_emul=vsta ;; 61i[3456]86-go32-rtems*) targ_emul=i386go32 ;; 62i[3456]86-*-go32) targ_emul=i386go32 ;; 63i[3456]86-*-msdosdjgpp*) targ_emul=i386go32 ;; 64i[3456]86-*-aix*) targ_emul=i386coff ;; 65i[3456]86-*-sco*) targ_emul=i386coff ;; 66i[3456]86-*-isc*) targ_emul=i386coff ;; 67i[3456]86-*-lynxos*) targ_emul=i386lynx ;; 68i[3456]86-*-coff) targ_emul=i386coff ;;
| 93i[3456]86-*-vsta) targ_emul=vsta ;; 94i[3456]86-go32-rtems*) targ_emul=i386go32 ;; 95i[3456]86-*-go32) targ_emul=i386go32 ;; 96i[3456]86-*-msdosdjgpp*) targ_emul=i386go32 ;; 97i[3456]86-*-aix*) targ_emul=i386coff ;; 98i[3456]86-*-sco*) targ_emul=i386coff ;; 99i[3456]86-*-isc*) targ_emul=i386coff ;; 100i[3456]86-*-lynxos*) targ_emul=i386lynx ;; 101i[3456]86-*-coff) targ_emul=i386coff ;;
|
| 102i[3456]86-*-rtemself*) targ_emul=elf_i386 ;;
|
69i[3456]86-*-rtems*) targ_emul=i386coff ;; 70i[3456]86-*-bsd) targ_emul=i386bsd ;; 71i[3456]86-*-bsd386) targ_emul=i386bsd ;; 72i[3456]86-*-bsdi*) targ_emul=i386bsd ;; 73i[3456]86-*-aout) targ_emul=i386aout ;; 74i[3456]86-*-linux*aout*) targ_emul=i386linux 75 targ_extra_emuls=elf_i386 76 tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'` 77 ;; 78i[3456]86-*-linuxoldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; 79i[3456]86-*-linux-gnu*) targ_emul=elf_i386 80 targ_extra_emuls=i386linux 81 tdir_i386linux=${targ_alias}aout 82 ;; 83i[3456]86-*-sysv4*) targ_emul=elf_i386 ;;
| 103i[3456]86-*-rtems*) targ_emul=i386coff ;; 104i[3456]86-*-bsd) targ_emul=i386bsd ;; 105i[3456]86-*-bsd386) targ_emul=i386bsd ;; 106i[3456]86-*-bsdi*) targ_emul=i386bsd ;; 107i[3456]86-*-aout) targ_emul=i386aout ;; 108i[3456]86-*-linux*aout*) targ_emul=i386linux 109 targ_extra_emuls=elf_i386 110 tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'` 111 ;; 112i[3456]86-*-linuxoldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; 113i[3456]86-*-linux-gnu*) targ_emul=elf_i386 114 targ_extra_emuls=i386linux 115 tdir_i386linux=${targ_alias}aout 116 ;; 117i[3456]86-*-sysv4*) targ_emul=elf_i386 ;;
|
| 118i[3456]86-*-solaris2*) targ_emul=elf_i386 ;;
|
84i[3456]86-*-unixware) targ_emul=elf_i386 ;;
| 119i[3456]86-*-unixware) targ_emul=elf_i386 ;;
|
| 120i[3456]86-*-solaris*) targ_emul=elf_i386 ;;
|
85i[3456]86-*-netbsd*) targ_emul=i386nbsd ;; 86i[3456]86-*-netware) targ_emul=i386nw ;; 87i[3456]86-*-elf*) targ_emul=elf_i386 ;;
| 121i[3456]86-*-netbsd*) targ_emul=i386nbsd ;; 122i[3456]86-*-netware) targ_emul=i386nw ;; 123i[3456]86-*-elf*) targ_emul=elf_i386 ;;
|
88i[3456]86-*-freebsdelf*) targ_emul=elf_i386 ;; 89i[3456]86-*-freebsd*) targ_emul=i386freebsd ;;
| 124i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12]) 125 targ_emul=i386bsd ;; 126i[3456]86-*-freebsd*) targ_emul=i386freebsd ;;
|
90i[3456]86-*-sysv*) targ_emul=i386coff ;; 91i[3456]86-*-ptx*) targ_emul=i386coff ;; 92i[3456]86-*-mach*) targ_emul=i386mach ;; 93i[3456]86-*-gnu*) targ_emul=elf_i386 ;; 94i[3456]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;; 95i[3456]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
| 127i[3456]86-*-sysv*) targ_emul=i386coff ;; 128i[3456]86-*-ptx*) targ_emul=i386coff ;; 129i[3456]86-*-mach*) targ_emul=i386mach ;; 130i[3456]86-*-gnu*) targ_emul=elf_i386 ;; 131i[3456]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;; 132i[3456]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
|
96i[3456]86-*-winnt*) targ_emul=i386pe ;; 97i[3456]86-*-pe) targ_emul=i386pe ;; 98i[3456]86-*-cygwin32*) targ_emul=i386pe ;; 99i[3456]86-*-mingw32*) targ_emul=i386pe ;;
| 133i[3456]86-*-winnt*) targ_emul=i386pe ; 134 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 135i[3456]86-*-pe) targ_emul=i386pe ; 136 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 137i[3456]86-*-cygwin*) targ_emul=i386pe ; 138 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 139i[3456]86-*-mingw32*) targ_emul=i386pe ; 140 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 141i[3456]86-*-interix*) targ_emul=i386pe_posix; 142 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 143i[3456]86-*-beospe*) targ_emul=i386beos ;; 144i[3456]86-*-beos*) targ_emul=elf_i386_be ;; 145i[3456]86-*-vxworks*) targ_emul=i386aout ;;
|
100m8*-*-*) targ_emul=m88kbcs ;; 101a29k-*-udi) targ_emul=sa29200 ;; 102a29k-*-ebmon) targ_emul=ebmon29k ;; 103a29k-*-*) targ_emul=a29k ;; 104# arm-*-riscix*) targ_emul=riscix ;; 105arm-*-aout | armel-*-aout) targ_emul=armaoutl ;; 106armeb-*-aout) targ_emul=armaoutb ;; 107arm-*-coff) targ_emul=armcoff ;;
| 146m8*-*-*) targ_emul=m88kbcs ;; 147a29k-*-udi) targ_emul=sa29200 ;; 148a29k-*-ebmon) targ_emul=ebmon29k ;; 149a29k-*-*) targ_emul=a29k ;; 150# arm-*-riscix*) targ_emul=riscix ;; 151arm-*-aout | armel-*-aout) targ_emul=armaoutl ;; 152armeb-*-aout) targ_emul=armaoutb ;; 153arm-*-coff) targ_emul=armcoff ;;
|
| 154arm-*-netbsd*) targ_emul=armnbsd ;; 155arm-*-elf) targ_emul=armelf ;; 156arm-*-oabi) targ_emul=armelf_oabi ;; 157arm*-*-freebsd*) targ_emul=armfreebsd ;; 158arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls="armelf_linux26 armelf" ;; 159arm*-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; 160arm*-*-conix*) targ_emul=armelf ;; 161thumb-*-linux-gnu* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; 162strongarm-*-coff) targ_emul=armcoff ;; 163strongarm-*-elf) targ_emul=armelf ;;
|
108thumb-*-coff) targ_emul=armcoff ;;
| 164thumb-*-coff) targ_emul=armcoff ;;
|
109thumb-*-pe) targ_emul=armpe ;; 110h8300-*-hms) targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
| 165thumb-*-elf) targ_emul=armelf ;; 166thumb-*-oabi) targ_emul=armelf_oabi ;; 167thumb-epoc-pe) targ_emul=arm_epoc_pe ; 168 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 169thumb-*-pe) targ_emul=armpe ; 170 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 171h8300-*-hms* | h8300-*-coff*) 172 targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
|
111 ;;
| 173 ;;
|
112h8500-*-hms) targ_emul=h8500
| 174h8500-*-hms* | h8500-*-coff*) 175 targ_emul=h8500
|
113 targ_extra_emuls="h8500s h8500b h8500m h8500c" 114 ;;
| 176 targ_extra_emuls="h8500s h8500b h8500m h8500c" 177 ;;
|
115sh-*-elf*) targ_emul=shelf
| 178sh-*-elf* | sh-*-rtemself*) 179 targ_emul=shelf
|
116 targ_extra_emuls="shlelf sh shl" 117 ;;
| 180 targ_extra_emuls="shlelf sh shl" 181 ;;
|
| 182sh-*-pe) targ_emul=shpe ; 183 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
|
118sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;; 119m68k-sony-*) targ_emul=news ;; 120m68k-hp-bsd*) targ_emul=hp300bsd ;; 121m68*-motorola-sysv*) targ_emul=delta68 ;; 122m68*-*-aout) targ_emul=m68kaout ;; 123m68*-*-coff) targ_emul=m68kcoff ;; 124m68*-*-elf) targ_emul=m68kelf ;; 125m68*-*-hpux*) targ_emul=hp3hpux ;; 126m68k-*-linux*aout*) targ_emul=m68klinux 127 targ_extra_emuls=m68kelf 128 tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'` 129 ;; 130m68k-*-linux-gnu*) targ_emul=m68kelf 131 targ_extra_emuls=m68klinux 132 tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'` 133 ;;
| 184sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;; 185m68k-sony-*) targ_emul=news ;; 186m68k-hp-bsd*) targ_emul=hp300bsd ;; 187m68*-motorola-sysv*) targ_emul=delta68 ;; 188m68*-*-aout) targ_emul=m68kaout ;; 189m68*-*-coff) targ_emul=m68kcoff ;; 190m68*-*-elf) targ_emul=m68kelf ;; 191m68*-*-hpux*) targ_emul=hp3hpux ;; 192m68k-*-linux*aout*) targ_emul=m68klinux 193 targ_extra_emuls=m68kelf 194 tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'` 195 ;; 196m68k-*-linux-gnu*) targ_emul=m68kelf 197 targ_extra_emuls=m68klinux 198 tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'` 199 ;;
|
| 200m68*-*-gnu*) targ_emul=m68kelf ;;
|
134m68*-*-lynxos*) targ_emul=m68klynx ;; 135m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;; 136m68*-*-netbsd*) targ_emul=m68knbsd ;; 137m68*-*-psos*) targ_emul=m68kpsos ;; 138m68*-*-rtems*) targ_emul=m68kcoff ;;
| 201m68*-*-lynxos*) targ_emul=m68klynx ;; 202m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;; 203m68*-*-netbsd*) targ_emul=m68knbsd ;; 204m68*-*-psos*) targ_emul=m68kpsos ;; 205m68*-*-rtems*) targ_emul=m68kcoff ;;
|
| 206hppa*w*-*) targ_emul=elf64hppa ;;
|
139hppa*-*-*elf*) targ_emul=hppaelf ;;
| 207hppa*-*-*elf*) targ_emul=hppaelf ;;
|
| 208hppa*-*-linux-gnu*) targ_emul=hppaelf ;;
|
140hppa*-*-lites*) targ_emul=hppaelf ;; 141hppa*-*-rtems*) targ_emul=hppaelf ;; 142vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
| 209hppa*-*-lites*) targ_emul=hppaelf ;; 210hppa*-*-rtems*) targ_emul=hppaelf ;; 211vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
|
| 212mips*-*-pe) targ_emul=mipspe ; 213 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
|
143mips*-dec-ultrix*) targ_emul=mipslit ;; 144mips*-dec-osf*) targ_emul=mipslit ;;
| 214mips*-dec-ultrix*) targ_emul=mipslit ;; 215mips*-dec-osf*) targ_emul=mipslit ;;
|
145mips*-sgi-irix[56]*) targ_emul=elf32bsmip ;;
| 216mips*-sgi-irix5*) targ_emul=elf32bsmip ;; 217mips*-sgi-irix6*) targ_emul=elf32bmipn32 218 targ_extra_emuls="elf32bsmip elf64bmip" 219 ;;
|
146mips*-sgi-irix*) targ_emul=mipsbig ;; 147mips*el-*-ecoff*) targ_emul=mipsidtl ;; 148mips*-*-ecoff*) targ_emul=mipsidt ;; 149mips*-dec-bsd*) targ_emul=mipsbsd ;; 150mips*-dec-netbsd*) targ_emul=elf32lmip ;; 151mips*-*-bsd*) targ_emul=mipsbig ;; 152mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; 153mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; 154mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; 155mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; 156mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; 157mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; 158mips*el-*-elf*) targ_emul=elf32elmip ;; 159mips*-*-elf*) targ_emul=elf32ebmip ;;
| 220mips*-sgi-irix*) targ_emul=mipsbig ;; 221mips*el-*-ecoff*) targ_emul=mipsidtl ;; 222mips*-*-ecoff*) targ_emul=mipsidt ;; 223mips*-dec-bsd*) targ_emul=mipsbsd ;; 224mips*-dec-netbsd*) targ_emul=elf32lmip ;; 225mips*-*-bsd*) targ_emul=mipsbig ;; 226mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; 227mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; 228mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; 229mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; 230mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; 231mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; 232mips*el-*-elf*) targ_emul=elf32elmip ;; 233mips*-*-elf*) targ_emul=elf32ebmip ;;
|
| 234mips*el-*-rtems*) targ_emul=elf32elmip ;;
|
160mips*-*-rtems*) targ_emul=elf32ebmip ;;
| 235mips*-*-rtems*) targ_emul=elf32ebmip ;;
|
| 236mips*el-*-vxworks*) targ_emul=elf32elmip ;; 237mips*-*-vxworks*) targ_emul=elf32ebmip ;;
|
161mips*el-*-linux-gnu*) targ_emul=elf32lsmip 162 targ_extra_emuls="elf32bsmip mipslit mipsbig" 163 ;; 164mips*-*-linux-gnu*) targ_emul=elf32bsmip 165 targ_extra_emuls="elf32lsmip mipsbig mipslit" 166 ;; 167mips*-*-lnews*) targ_emul=mipslnews ;; 168mn10200-*-*) targ_emul=mn10200 ;; 169mn10300-*-*) targ_emul=mn10300 ;; 170alpha*-*-freebsd*) targ_emul=elf64alpha ;; 171alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha 172 tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` 173 ;; 174alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha 175 tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'` 176 ;; 177alpha*-*-osf*) targ_emul=alpha ;; 178alpha*-*-gnu*) targ_emul=elf64alpha ;; 179alpha*-*-netware*) targ_emul=alpha ;; 180alpha*-*-netbsd*) targ_emul=elf64alpha ;; 181z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;; 182ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; 183ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
| 238mips*el-*-linux-gnu*) targ_emul=elf32lsmip 239 targ_extra_emuls="elf32bsmip mipslit mipsbig" 240 ;; 241mips*-*-linux-gnu*) targ_emul=elf32bsmip 242 targ_extra_emuls="elf32lsmip mipsbig mipslit" 243 ;; 244mips*-*-lnews*) targ_emul=mipslnews ;; 245mn10200-*-*) targ_emul=mn10200 ;; 246mn10300-*-*) targ_emul=mn10300 ;; 247alpha*-*-freebsd*) targ_emul=elf64alpha ;; 248alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha 249 tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` 250 ;; 251alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha 252 tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'` 253 ;; 254alpha*-*-osf*) targ_emul=alpha ;; 255alpha*-*-gnu*) targ_emul=elf64alpha ;; 256alpha*-*-netware*) targ_emul=alpha ;; 257alpha*-*-netbsd*) targ_emul=elf64alpha ;; 258z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;; 259ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; 260ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
|
184powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-linux-gnu* | powerpc-*-sysv* \ 185 | powerpc-*-netbsd*)
| 261powerpc-*-linux-gnu*) targ_emul=elf32ppclinux; targ_extra_emuls=elf32ppc; 262 targ_extra_libpath=elf32ppc ;; 263pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;; 264pj*-*-*) targ_emul=pjelf ;; 265powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-sysv* \ 266 | powerpc-*-netbsd* | powerpc-*-vxworks*)
|
186 targ_emul=elf32ppc ;;
| 267 targ_emul=elf32ppc ;;
|
187powerpcle-*-elf* | powerpcle-*-eabi* | powerpcle-*-solaris* | powerpcle-*-sysv*) targ_emul=elf32lppc ;;
| 268powerpcle-*-elf* | powerpcle-*-eabi* | powerpcle-*-solaris* \ 269 | powerpcle-*-sysv* | powerpcle-*-vxworks*) 270 targ_emul=elf32lppc ;; 271powerpcle-*-rtems*) targ_emul=elf32leppc ;;
|
188powerpc-*-rtems*) targ_emul=elf32ppc ;; 189powerpc-*-macos*) targ_emul=ppcmacos ;; 190powerpc-*-netware*) targ_emul=ppcnw ;; 191powerpcle-*-pe) targ_emul=ppcpe ;; 192powerpcle-*-winnt*) targ_emul=ppcpe ;;
| 272powerpc-*-rtems*) targ_emul=elf32ppc ;; 273powerpc-*-macos*) targ_emul=ppcmacos ;; 274powerpc-*-netware*) targ_emul=ppcnw ;; 275powerpcle-*-pe) targ_emul=ppcpe ;; 276powerpcle-*-winnt*) targ_emul=ppcpe ;;
|
193powerpcle-*-cygwin32) targ_emul=ppcpe ;;
| 277powerpcle-*-cygwin*) targ_emul=ppcpe ;;
|
194powerpc-*-aix*) targ_emul=aixppc ;; 195powerpc-*-beos*) targ_emul=aixppc ;;
| 278powerpc-*-aix*) targ_emul=aixppc ;; 279powerpc-*-beos*) targ_emul=aixppc ;;
|
| 280powerpc*-*-freebsd*) targ_emul=ppcfreebsd ;;
|
196rs6000-*-aix*) targ_emul=aixrs6 ;; 197tic30-*-*aout*) targ_emul=tic30aout ;; 198tic30-*-*coff*) targ_emul=tic30coff ;;
| 281rs6000-*-aix*) targ_emul=aixrs6 ;; 282tic30-*-*aout*) targ_emul=tic30aout ;; 283tic30-*-*coff*) targ_emul=tic30coff ;;
|
| 284tic80-*-*) targ_emul=tic80coff ;;
|
199v850-*-*) targ_emul=v850 ;;
| 285v850-*-*) targ_emul=v850 ;;
|
| 286v850e-*-*) targ_emul=v850 ;; 287v850ea-*-*) targ_emul=v850 ;;
|
200w65-*-*) targ_emul=w65 ;;
| 288w65-*-*) targ_emul=w65 ;;
|
201*-*-aout) targ_emul=${target_cpu}-${target_vendor} ;; 202*-*-coff) targ_emul=${target_cpu}-${target_vendor} ;; 203*-*-netware) targ_emul=${target_cpu}-nw ;;
| 289fr30-*-*) targ_emul=elf32fr30 ;; 290mcore-*-pe) targ_emul=mcorepe ; 291 targ_extra_ofiles="deffilep.o pe-dll.o" ;; 292mcore-*-elf) targ_emul=elf32mcore ;;
|
204*-*-ieee*) targ_emul=vanilla ;; 205 206*) 207 echo 2>&1 "*** ld does not support target ${targ}" 208 echo 2>&1 "*** see ld/configure.tgt for supported targets" 209 exit 1 210 211esac
| 293*-*-ieee*) targ_emul=vanilla ;; 294 295*) 296 echo 2>&1 "*** ld does not support target ${targ}" 297 echo 2>&1 "*** see ld/configure.tgt for supported targets" 298 exit 1 299 300esac
|