]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/configure.tgt
Typo fix.
[thirdparty/binutils-gdb.git] / ld / configure.tgt
CommitLineData
252b5132
RH
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
3336653a 10# targ_extra_libpath additional linker emulations using LIB_PATH
252b5132
RH
11# targ_extra_ofiles additional objects needed by the emulation
12
13targ_extra_emuls=
14targ_extra_ofiles=
15
16case "${targ}" in
17arm-epoc-pe) targ_emul=arm_epoc_pe ;
18 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
344a211f
NC
19arm-*-wince) targ_emul=armpe ;
20 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
252b5132
RH
21arm-*-pe) targ_emul=armpe ;
22 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
23arc-*-elf*) targ_emul=arcelf ;;
adde6300
AM
24avr-*-*) targ_emul=avr85xx
25 targ_extra_emuls="avr1200 avr23xx avr44x4 avr4433 avrmega603 avrmega103 avrmega161" ;;
1268a053 26cris-*-*aout*) targ_emul=crisaout
9d06555c
HPN
27 targ_extra_emuls="criself crislinux"
28 targ_extra_libpath=$targ_extra_emuls ;;
1268a053
HPN
29cris-*-*) targ_emul=criself
30 targ_extra_emuls="crisaout crislinux"
31 targ_extra_libpath=$targ_extra_emuls ;;
252b5132
RH
32d10v-*-*) targ_emul=d10velf ;;
33d30v-*-*ext*) targ_emul=d30v_e; targ_extra_emuls="d30velf d30v_o" ;;
34d30v-*-*onchip*) targ_emul=d30v_o; targ_extra_emuls="d30velf d30v_e" ;;
35d30v-*-*) targ_emul=d30velf; targ_extra_emuls="d30v_e d30v_o" ;;
36sparc64-*-aout*) targ_emul=sparcaout ;;
37sparc64-*-elf*) targ_emul=elf64_sparc ;;
38sparc-sun-sunos4*) targ_emul=sun4 ;;
39sparclite*-*-elf) targ_emul=elf32_sparc ;;
40sparclite*-*-coff) targ_emul=coff_sparc ;;
41sparclite*-fujitsu-*) targ_emul=sparcaout ;;
42sparc*-*-aout) targ_emul=sparcaout ;;
43sparc*-*-coff) targ_emul=coff_sparc ;;
44sparc*-*-elf) targ_emul=elf32_sparc ;;
45sparc*-*-sysv4*) targ_emul=elf32_sparc ;;
fb33b906
DB
46sparc64-*-freebsd* | sparcv9-*-freebsd*)
47 targ_emul=elf64_sparc
48 targ_extra_emuls="elf32_sparc"
49 targ_extra_libpath=$targ_extra_emuls
50 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
51 ;;
252b5132
RH
52sparc*-*-linux*aout*) targ_emul=sparclinux
53 targ_extra_emuls="elf32_sparc sun4"
54 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
55 tdir_sun4=sparc-sun-sunos4
56 ;;
57sparc64-*-linux-gnu*) targ_emul=elf64_sparc
58 targ_extra_emuls="elf32_sparc sparclinux sun4"
780248c4 59 targ_extra_libpath=elf32_sparc
252b5132
RH
60 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
61 tdir_sparclinux=${tdir_elf32_sparc}aout
62 tdir_sun4=sparc-sun-sunos4
63 ;;
64sparc*-*-linux-gnu*) targ_emul=elf32_sparc
ad51fb57 65 targ_extra_emuls="sparclinux elf64_sparc sun4"
780248c4 66 targ_extra_libpath=elf64_sparc
252b5132 67 tdir_sparclinux=${targ_alias}aout
ad51fb57 68 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'`
252b5132
RH
69 tdir_sun4=sparc-sun-sunos4
70 ;;
71sparc*-*-lynxos*) targ_emul=sparclynx ;;
d8475ff6
JL
72sparc64-*-netbsd*) targ_emul=elf64_sparc ;;
73sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;;
252b5132 74sparc*-*-netbsd*) targ_emul=sparcnbsd ;;
a1836d49
AO
75sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
76 targ_emul=elf32_sparc ;;
77sparc-*-solaris2*) targ_emul=elf32_sparc
78 targ_extra_emuls="elf64_sparc"
79 targ_extra_libpath=$targ_extra_emuls
80 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'`
81 ;;
82sparcv9-*-solaris2* | sparc64-*-solaris2*)
83 targ_emul=elf64_sparc
84 targ_extra_emuls="elf32_sparc"
85 targ_extra_libpath=$targ_extra_emuls
86 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
87 ;;
252b5132
RH
88sparc*-*-solaris2*) targ_emul=elf32_sparc ;;
89sparc*-wrs-vxworks*) targ_emul=sparcaout ;;
24f6971a
NC
90sparc*-*-rtemsaout*) targ_emul=sparcaout ;;
91sparc*-*-rtemself*) targ_emul=elf32_sparc ;;
92sparc*-*-rtems*) targ_emul=elf32_sparc ;;
165589e4
JE
93i860-stardent-sysv4* | i860-stardent-elf*)
94 targ_emul=elf32_i860 ;;
252b5132
RH
95i960-wrs-vxworks5.0*) targ_emul=gld960 ;;
96i960-wrs-vxworks5*) targ_emul=gld960coff ;;
97i960-wrs-vxworks*) targ_emul=gld960 ;;
98i960-*-coff) targ_emul=gld960coff ;;
99i960-intel-nindy) targ_emul=gld960 ;;
100i960-*-rtems*) targ_emul=gld960coff ;;
0ccf812a 101i960-*-elf*) targ_emul=elf32_i960 ;;
800eeca4 102ia64-*-elf*) targ_emul=elf64_ia64 ;;
fb33b906 103ia64-*-freebsd*) targ_emul=elf64_ia64 ;;
800eeca4 104ia64-*-linux*) targ_emul=elf64_ia64 ;;
41c49998 105ia64-*-aix*) targ_emul=elf64_aix ;;
252b5132 106m32r-*-*) targ_emul=m32relf ;;
60bcf0fa
NC
107m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf
108 targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;;
109m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf
110 targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;;
252b5132
RH
111m68*-sun-sunos[34]*) targ_emul=sun3 ;;
112m68*-wrs-vxworks*) targ_emul=sun3 ;;
113m68*-ericsson-ose) targ_emul=sun3 ;;
114m68*-apple-aux*) targ_emul=m68kaux ;;
115*-tandem-none) targ_emul=st2000 ;;
5b93d8bb 116i370-*-elf* | i370-*-linux-gnu*) targ_emul=elf32i370 ;;
252b5132
RH
117i[3456]86-*-vsta) targ_emul=vsta ;;
118i[3456]86-go32-rtems*) targ_emul=i386go32 ;;
119i[3456]86-*-go32) targ_emul=i386go32 ;;
120i[3456]86-*-msdosdjgpp*) targ_emul=i386go32 ;;
121i[3456]86-*-aix*) targ_emul=i386coff ;;
122i[3456]86-*-sco*) targ_emul=i386coff ;;
123i[3456]86-*-isc*) targ_emul=i386coff ;;
124i[3456]86-*-lynxos*) targ_emul=i386lynx ;;
125i[3456]86-*-coff) targ_emul=i386coff ;;
de24ad21 126i[3456]86-*-rtemself*) targ_emul=elf_i386 ;;
252b5132
RH
127i[3456]86-*-rtems*) targ_emul=i386coff ;;
128i[3456]86-*-bsd) targ_emul=i386bsd ;;
129i[3456]86-*-bsd386) targ_emul=i386bsd ;;
130i[3456]86-*-bsdi*) targ_emul=i386bsd ;;
131i[3456]86-*-aout) targ_emul=i386aout ;;
132i[3456]86-*-linux*aout*) targ_emul=i386linux
133 targ_extra_emuls=elf_i386
134 tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
135 ;;
c709b096 136i[3456]86-*-linux*oldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
252b5132
RH
137i[3456]86-*-linux-gnu*) targ_emul=elf_i386
138 targ_extra_emuls=i386linux
139 tdir_i386linux=${targ_alias}aout
140 ;;
2be3aa03
NC
141x86_64-*-linux-gnu*) targ_emul=elf_x86_64
142 targ_extra_emuls="elf_i386 i386linux"
143 tdir_i386linux=${targ_alias}aout
144 ;;
28423a68 145i[3456]86-*-sysv[45]*) targ_emul=elf_i386 ;;
506eee22
NC
146i[3456]86-*-solaris2*) targ_emul=elf_i386_ldso
147 targ_extra_emuls="elf_i386"
148 ;;
252b5132 149i[3456]86-*-unixware) targ_emul=elf_i386 ;;
506eee22
NC
150i[3456]86-*-solaris*) targ_emul=elf_i386_ldso
151 targ_extra_emuls="elf_i386"
152 ;;
9ffecff1
MG
153i[3456]86-*-netbsdelf*) targ_emul=elf_i386
154 targ_extra_emuls=i386nbsd
155 ;;
156i[3456]86-*-netbsd*) targ_emul=i386nbsd
157 targ_extra_emuls=elf_i386
158 ;;
252b5132
RH
159i[3456]86-*-netware) targ_emul=i386nw ;;
160i[3456]86-*-elf*) targ_emul=elf_i386 ;;
2641b0c9
ILT
161i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12])
162 targ_emul=i386bsd ;;
163i[3456]86-*-freebsd*) targ_emul=elf_i386 ;;
fb33b906
DB
164x86_64-*-freebsd*) targ_emul=elf_x86_64
165 targ_extra_emuls=elf_i386
166 tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
167 ;;
252b5132
RH
168i[3456]86-*-sysv*) targ_emul=i386coff ;;
169i[3456]86-*-ptx*) targ_emul=i386coff ;;
170i[3456]86-*-mach*) targ_emul=i386mach ;;
171i[3456]86-*-gnu*) targ_emul=elf_i386 ;;
172i[3456]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;;
173i[3456]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
174i[3456]86-*-winnt*) targ_emul=i386pe ;
175 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
176i[3456]86-*-pe) targ_emul=i386pe ;
177 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
178i[3456]86-*-cygwin*) targ_emul=i386pe ;
179 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
180i[3456]86-*-mingw32*) targ_emul=i386pe ;
181 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
a7e78dae
ILT
182i[3456]86-*-interix*) targ_emul=i386pe_posix;
183 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
252b5132
RH
184i[3456]86-*-beospe*) targ_emul=i386beos ;;
185i[3456]86-*-beos*) targ_emul=elf_i386_be ;;
41d390a7 186i[3456]86-*-vxworks*) targ_emul=i386aout ;;
59ff2774 187i[3456]86-*-chaos) targ_emul=elf_i386_chaos ;;
252b5132
RH
188m8*-*-*) targ_emul=m88kbcs ;;
189a29k-*-udi) targ_emul=sa29200 ;;
190a29k-*-ebmon) targ_emul=ebmon29k ;;
191a29k-*-*) targ_emul=a29k ;;
192# arm-*-riscix*) targ_emul=riscix ;;
193arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
194armeb-*-aout) targ_emul=armaoutb ;;
195arm-*-coff) targ_emul=armcoff ;;
87748b32 196arm-*-vxworks) targ_emul=armcoff ;;
fb33b906 197arm-*-freebsd*) targ_emul=armelf ;;
8959586a 198arm-*-netbsd*) targ_emul=armnbsd ;;
24f6971a 199arm-*-rtems*) targ_emul=armelf ;;
252b5132 200arm-*-elf) targ_emul=armelf ;;
5fa803d3 201arm-*-oabi) targ_emul=armelf_oabi ;;
69f03d65 202arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
5fa803d3 203arm*-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
0decc840 204arm*-*-conix*) targ_emul=armelf ;;
5fa803d3 205thumb-*-linux-gnu* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
252b5132
RH
206strongarm-*-coff) targ_emul=armcoff ;;
207strongarm-*-elf) targ_emul=armelf ;;
208thumb-*-coff) targ_emul=armcoff ;;
209thumb-*-elf) targ_emul=armelf ;;
210thumb-*-oabi) targ_emul=armelf_oabi ;;
211thumb-epoc-pe) targ_emul=arm_epoc_pe ;
212 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
213thumb-*-pe) targ_emul=armpe ;
214 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
077b8428
NC
215xscale-*-coff) targ_emul=armcoff ;;
216xscale-*-elf) targ_emul=armelf ;;
24f6971a 217h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*)
252b5132
RH
218 targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
219 ;;
220h8500-*-hms* | h8500-*-coff*)
221 targ_emul=h8500
222 targ_extra_emuls="h8500s h8500b h8500m h8500c"
223 ;;
4a428502
AO
224sh-*-linux*)
225 targ_emul=shelf_linux
226 targ_extra_emuls=shlelf_linux
227 ;;
de24ad21
RH
228sh-*-elf* | sh-*-rtemself*)
229 targ_emul=shelf
252b5132
RH
230 targ_extra_emuls="shlelf sh shl"
231 ;;
344a211f
NC
232sh-*-pe) targ_emul=shpe ;
233 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
252b5132
RH
234sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;;
235m68k-sony-*) targ_emul=news ;;
236m68k-hp-bsd*) targ_emul=hp300bsd ;;
237m68*-motorola-sysv*) targ_emul=delta68 ;;
238m68*-*-aout) targ_emul=m68kaout ;;
239m68*-*-coff) targ_emul=m68kcoff ;;
240m68*-*-elf) targ_emul=m68kelf ;;
241m68*-*-hpux*) targ_emul=hp3hpux ;;
242m68k-*-linux*aout*) targ_emul=m68klinux
243 targ_extra_emuls=m68kelf
244 tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'`
245 ;;
246m68k-*-linux-gnu*) targ_emul=m68kelf
247 targ_extra_emuls=m68klinux
248 tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'`
249 ;;
250m68*-*-gnu*) targ_emul=m68kelf ;;
251m68*-*-lynxos*) targ_emul=m68klynx ;;
252m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;;
253m68*-*-netbsd*) targ_emul=m68knbsd ;;
254m68*-*-psos*) targ_emul=m68kpsos ;;
255m68*-*-rtems*) targ_emul=m68kcoff ;;
9f22353f 256hppa*64*-*-linux-gnu*) targ_emul=hppa64linux ;;
0b76fe77 257hppa*64*-*) targ_emul=elf64hppa ;;
4900fc06 258hppa*-*-linux-gnu*) targ_emul=hppalinux ;;
252b5132
RH
259hppa*-*-*elf*) targ_emul=hppaelf ;;
260hppa*-*-lites*) targ_emul=hppaelf ;;
261hppa*-*-rtems*) targ_emul=hppaelf ;;
262vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
344a211f
NC
263mips*-*-pe) targ_emul=mipspe ;
264 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
252b5132
RH
265mips*-dec-ultrix*) targ_emul=mipslit ;;
266mips*-dec-osf*) targ_emul=mipslit ;;
dc831978
MM
267mips*-sgi-irix5*) targ_emul=elf32bsmip ;;
268mips*-sgi-irix6*) targ_emul=elf32bmipn32
22c675a7 269 targ_extra_emuls="elf32bsmip elf64bmip"
dc831978 270 ;;
252b5132
RH
271mips*-sgi-irix*) targ_emul=mipsbig ;;
272mips*el-*-ecoff*) targ_emul=mipsidtl ;;
273mips*-*-ecoff*) targ_emul=mipsidt ;;
274mips*-dec-bsd*) targ_emul=mipsbsd ;;
275mips*-dec-netbsd*) targ_emul=elf32lmip ;;
276mips*-*-bsd*) targ_emul=mipsbig ;;
277mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;;
278mips*vr4300-*-elf*) targ_emul=elf32b4300 ;;
279mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;;
280mips*vr4100-*-elf*) targ_emul=elf32b4300 ;;
281mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;;
282mips*vr5000-*-elf*) targ_emul=elf32b4300 ;;
283mips*el-*-elf*) targ_emul=elf32elmip ;;
284mips*-*-elf*) targ_emul=elf32ebmip ;;
de24ad21 285mips*el-*-rtems*) targ_emul=elf32elmip ;;
252b5132 286mips*-*-rtems*) targ_emul=elf32ebmip ;;
41d390a7 287mips*el-*-vxworks*) targ_emul=elf32elmip ;;
252b5132 288mips*-*-vxworks*) targ_emul=elf32ebmip ;;
fdec3cfc
L
289mips*el-*-linux-gnu*) targ_emul=elf32ltsmip
290 targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip"
252b5132 291 ;;
fdec3cfc
L
292mips*-*-linux-gnu*) targ_emul=elf32btsmip
293 targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip"
252b5132
RH
294 ;;
295mips*-*-lnews*) targ_emul=mipslnews ;;
3548145d 296mips*-*-sysv4*) targ_emul=elf32btsmip ;;
252b5132
RH
297mn10200-*-*) targ_emul=mn10200 ;;
298mn10300-*-*) targ_emul=mn10300 ;;
fb33b906
DB
299alpha*-*-freebsd*) targ_emul=elf64alpha
300 targ_extra_emuls=alpha
301 tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'`
302 ;;
252b5132
RH
303alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha
304 tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'`
305 ;;
306alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha
307 tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'`
308 ;;
309alpha*-*-osf*) targ_emul=alpha ;;
310alpha*-*-gnu*) targ_emul=elf64alpha ;;
311alpha*-*-netware*) targ_emul=alpha ;;
312alpha*-*-netbsd*) targ_emul=elf64alpha ;;
313z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;;
314ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;;
315ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
c7e40348 316openrisc-*-*) targ_emul=elf32openrisc ;;
5c67d4bb
AM
317pdp11-*-*) targ_emul=pdp11 ;;
318pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;;
319pj*-*-*) targ_emul=pjelf ;;
fb33b906
DB
320powerpc-*-freebsd*) targ_emul=elf32ppc;
321 targ_extra_emuls=elf32ppcsim;
322 targ_extra_libpath=elf32ppc;
323 tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'`
324 ;;
5c67d4bb
AM
325powerpc*-*-linux*)
326 case "${targ}" in
327 *64*) targ_emul=elf64ppc
328 targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim" ;;
329 *) targ_emul=elf32ppclinux
330 targ_extra_emuls="elf32ppc elf32ppcsim"
331 targ_extra_libpath=elf32ppc ;;
332 esac ;;
333powerpc*le-*-elf* | powerpc*le-*-eabi* | powerpc*le-*-solaris* \
334 | powerpc*le-*-sysv* | powerpc*le-*-vxworks*)
335 case "${targ}" in
336 *64*) targ_emul=elf64lppc
337 targ_extra_emuls="elf32lppc elf32ppcsim" ;;
338 *) targ_emul=elf32lppc
339 targ_extra_emuls="elf32ppcsim" ;;
340 esac ;;
341powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \
342 | powerpc*-*-netbsd* | powerpc*-*-vxworks*)
343 case "${targ}" in
344 *64*) targ_emul=elf64ppc
345 targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;;
346 *) targ_emul=elf32ppc
347 targ_extra_emuls="elf32ppclinux elf32ppcsim" ;;
348 esac ;;
de24ad21 349powerpcle-*-rtems*) targ_emul=elf32leppc ;;
252b5132
RH
350powerpc-*-rtems*) targ_emul=elf32ppc ;;
351powerpc-*-macos*) targ_emul=ppcmacos ;;
352powerpc-*-netware*) targ_emul=ppcnw ;;
353powerpcle-*-pe) targ_emul=ppcpe ;;
354powerpcle-*-winnt*) targ_emul=ppcpe ;;
3b1b01cf
TR
355powerpcle-*-cygwin*) targ_emul=ppcpe ;;
356
357powerpc-*-aix*) targ_emul=aixppc
358 targ_extra_emuls="aixppc64"
359 tdir_aixppc64=${targ_alias}
360 ;;
252b5132
RH
361powerpc-*-beos*) targ_emul=aixppc ;;
362rs6000-*-aix*) targ_emul=aixrs6 ;;
363tic30-*-*aout*) targ_emul=tic30aout ;;
364tic30-*-*coff*) targ_emul=tic30coff ;;
74459f0e 365tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff ;;
252b5132
RH
366tic80-*-*) targ_emul=tic80coff ;;
367v850-*-*) targ_emul=v850 ;;
368v850e-*-*) targ_emul=v850 ;;
369v850ea-*-*) targ_emul=v850 ;;
370w65-*-*) targ_emul=w65 ;;
371fr30-*-*) targ_emul=elf32fr30 ;;
71acc4e8
NC
372mcore-*-pe) targ_emul=mcorepe ;
373 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
374mcore-*-elf) targ_emul=elf32mcore ;;
a85d7ed0
NC
375s390x-*-linux*) targ_emul=elf64_s390 ;;
376s390-*-linux*) targ_emul=elf_s390 ;;
252b5132
RH
377*-*-ieee*) targ_emul=vanilla ;;
378
379*)
380 echo 2>&1 "*** ld does not support target ${targ}"
381 echo 2>&1 "*** see ld/configure.tgt for supported targets"
382 exit 1
383
384esac