Set the FSR and FAR registers if a Data Abort is detected.
[deliverable/binutils-gdb.git] / ld / configure.tgt
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
10 # targ_extra_libpath additional linker emulations using LIB_PATH
11 # targ_extra_ofiles additional objects needed by the emulation
12
13 targ_extra_emuls=
14 targ_extra_ofiles=
15
16 case "${targ}" in
17 arm-epoc-pe) targ_emul=arm_epoc_pe ;
18 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
19 arm-*-wince) targ_emul=armpe ;
20 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
21 arm-*-pe) targ_emul=armpe ;
22 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
23 arc-*-elf*) targ_emul=arcelf ;;
24 avr-*-*) targ_emul=avr85xx
25 targ_extra_emuls="avr1200 avr23xx avr44x4 avr4433 avrmega603 avrmega103 avrmega161 avr1 avr2 avr3 avr4 avr5" ;;
26 cris-*-*aout*) targ_emul=crisaout
27 targ_extra_emuls="criself crislinux"
28 targ_extra_libpath=$targ_extra_emuls ;;
29 cris-*-*) targ_emul=criself
30 targ_extra_emuls="crisaout crislinux"
31 targ_extra_libpath=$targ_extra_emuls ;;
32 d10v-*-*) targ_emul=d10velf ;;
33 d30v-*-*ext*) targ_emul=d30v_e; targ_extra_emuls="d30velf d30v_o" ;;
34 d30v-*-*onchip*) targ_emul=d30v_o; targ_extra_emuls="d30velf d30v_e" ;;
35 d30v-*-*) targ_emul=d30velf; targ_extra_emuls="d30v_e d30v_o" ;;
36 dlx-*-elf*) targ_emul=elf32_dlx ;;
37 sparc64-*-aout*) targ_emul=sparcaout ;;
38 sparc64-*-elf*) targ_emul=elf64_sparc ;;
39 sparc-sun-sunos4*) targ_emul=sun4 ;;
40 sparclite*-*-elf) targ_emul=elf32_sparc ;;
41 sparclite*-*-coff) targ_emul=coff_sparc ;;
42 sparclite*-fujitsu-*) targ_emul=sparcaout ;;
43 sparc*-*-aout) targ_emul=sparcaout ;;
44 sparc*-*-coff) targ_emul=coff_sparc ;;
45 sparc*-*-elf) targ_emul=elf32_sparc ;;
46 sparc*-*-sysv4*) targ_emul=elf32_sparc ;;
47 sparc64-*-freebsd* | sparcv9-*-freebsd*)
48 targ_emul=elf64_sparc_fbsd
49 targ_extra_emuls="elf64_sparc elf32_sparc"
50 targ_extra_libpath=$targ_extra_emuls
51 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
52 ;;
53 sparc*-*-linux*aout*) targ_emul=sparclinux
54 targ_extra_emuls="elf32_sparc sun4"
55 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
56 tdir_sun4=sparc-sun-sunos4
57 ;;
58 sparc64-*-linux-gnu*) targ_emul=elf64_sparc
59 targ_extra_emuls="elf32_sparc sparclinux sun4"
60 targ_extra_libpath=elf32_sparc
61 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
62 tdir_sparclinux=${tdir_elf32_sparc}aout
63 tdir_sun4=sparc-sun-sunos4
64 ;;
65 sparc*-*-linux-gnu*) targ_emul=elf32_sparc
66 targ_extra_emuls="sparclinux elf64_sparc sun4"
67 targ_extra_libpath=elf64_sparc
68 tdir_sparclinux=${targ_alias}aout
69 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'`
70 tdir_sun4=sparc-sun-sunos4
71 ;;
72 sparc*-*-lynxos*) targ_emul=sparclynx ;;
73 sparc64-*-netbsd*) targ_emul=elf64_sparc
74 targ_extra_emuls="elf32_sparc"
75 ;;
76 sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;;
77 sparc*-*-netbsd*) targ_emul=sparcnbsd ;;
78 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
79 targ_emul=elf32_sparc ;;
80 sparc-*-solaris2*) targ_emul=elf32_sparc
81 targ_extra_emuls="elf64_sparc"
82 targ_extra_libpath=$targ_extra_emuls
83 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'`
84 ;;
85 sparcv9-*-solaris2* | sparc64-*-solaris2*)
86 targ_emul=elf64_sparc
87 targ_extra_emuls="elf32_sparc"
88 targ_extra_libpath=$targ_extra_emuls
89 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
90 ;;
91 sparc*-*-solaris2*) targ_emul=elf32_sparc ;;
92 sparc*-wrs-vxworks*) targ_emul=sparcaout ;;
93 sparc*-*-rtemsaout*) targ_emul=sparcaout ;;
94 sparc*-*-rtemself*) targ_emul=elf32_sparc ;;
95 sparc*-*-rtems*) targ_emul=elf32_sparc ;;
96 i860-stardent-sysv4* | i860-stardent-elf*)
97 targ_emul=elf32_i860 ;;
98 i960-wrs-vxworks5.0*) targ_emul=gld960 ;;
99 i960-wrs-vxworks5*) targ_emul=gld960coff ;;
100 i960-wrs-vxworks*) targ_emul=gld960 ;;
101 i960-*-coff) targ_emul=gld960coff ;;
102 i960-intel-nindy) targ_emul=gld960 ;;
103 i960-*-rtems*) targ_emul=gld960coff ;;
104 i960-*-elf*) targ_emul=elf32_i960 ;;
105 ia64-*-elf*) targ_emul=elf64_ia64 ;;
106 ia64-*-freebsd*) targ_emul=elf64_ia64_fbsd
107 targ_extra_emuls="elf64_ia64" ;;
108 ia64-*-netbsd*) targ_emul=elf64_ia64 ;;
109 ia64-*-linux*) targ_emul=elf64_ia64 ;;
110 ia64-*-aix*) targ_emul=elf64_aix ;;
111 m32r-*-*) targ_emul=m32relf ;;
112 m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf
113 targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;;
114 m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf
115 targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;;
116 m68*-sun-sunos[34]*) targ_emul=sun3 ;;
117 m68*-wrs-vxworks*) targ_emul=sun3 ;;
118 m68*-ericsson-ose) targ_emul=sun3 ;;
119 m68*-apple-aux*) targ_emul=m68kaux ;;
120 *-tandem-none) targ_emul=st2000 ;;
121 i370-*-elf* | i370-*-linux-gnu*) targ_emul=elf32i370 ;;
122 i[3456]86-*-vsta) targ_emul=vsta ;;
123 i[3456]86-go32-rtems*) targ_emul=i386go32 ;;
124 i[3456]86-*-go32) targ_emul=i386go32 ;;
125 i[3456]86-*-msdosdjgpp*) targ_emul=i386go32 ;;
126 i[3456]86-*-aix*) targ_emul=i386coff ;;
127 i[3456]86-*-sco*) targ_emul=i386coff ;;
128 i[3456]86-*-isc*) targ_emul=i386coff ;;
129 i[3456]86-*-lynxos*) targ_emul=i386lynx ;;
130 i[3456]86-*-coff) targ_emul=i386coff ;;
131 i[3456]86-*-rtemscoff*) targ_emul=i386coff ;;
132 i[3456]86-*-rtemself*) targ_emul=elf_i386 ;;
133 i[3456]86-*-rtems*) targ_emul=elf_i386 ;;
134 i[3456]86-*-bsd) targ_emul=i386bsd ;;
135 i[3456]86-*-bsd386) targ_emul=i386bsd ;;
136 i[3456]86-*-bsdi*) targ_emul=i386bsd ;;
137 i[3456]86-*-aout) targ_emul=i386aout ;;
138 i[3456]86-*-linux*aout*) targ_emul=i386linux
139 targ_extra_emuls=elf_i386
140 tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'`
141 ;;
142 i[3456]86-*-linux*oldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
143 i[3456]86-*-linux-gnu*) targ_emul=elf_i386
144 targ_extra_emuls=i386linux
145 tdir_i386linux=${targ_alias}aout
146 ;;
147 x86_64-*-linux-gnu*) targ_emul=elf_x86_64
148 targ_extra_emuls="elf_i386 i386linux"
149 targ_extra_libpath=elf_i386
150 tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'`
151 tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
152 ;;
153 i[3456]86-*-sysv[45]*) targ_emul=elf_i386 ;;
154 i[3456]86-*-solaris2*) targ_emul=elf_i386_ldso
155 targ_extra_emuls="elf_i386"
156 ;;
157 i[3456]86-*-unixware) targ_emul=elf_i386 ;;
158 i[3456]86-*-solaris*) targ_emul=elf_i386_ldso
159 targ_extra_emuls="elf_i386"
160 ;;
161 i[3456]86-*-netbsdelf*) targ_emul=elf_i386
162 targ_extra_emuls=i386nbsd
163 ;;
164 i[3456]86-*-netbsdpe*) targ_emul=i386pe
165 targ_extra_ofiles="deffilep.o pe-dll.o"
166 ;;
167 i[3456]86-*-netbsd*) targ_emul=i386nbsd
168 targ_extra_emuls=elf_i386
169 ;;
170 x86_64-*-netbsd*) targ_emul=elf_x86_64
171 targ_extra_emuls="elf_i386 i386nbsd"
172 tdir_elf_i386=`echo ${targ_alias} | \
173 sed -e 's/x86_64/i386/'`
174 case "${tdir_elf_i386}" in
175 *-netbsdelf*) ;;
176 *)
177 tdir_elf_i386=`echo ${tdir_elf_i386} | \
178 sed -e 's/netbsd/netbsdelf/'`
179 ;;
180 esac
181 ;;
182 i[3456]86-*-netware) targ_emul=i386nw ;;
183 i[3456]86-*-elf*) targ_emul=elf_i386 ;;
184 i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12])
185 targ_emul=i386bsd ;;
186 i[3456]86-*-freebsd*) targ_emul=elf_i386_fbsd
187 targ_extra_emuls="elf_i386 i386bsd" ;;
188 x86_64-*-freebsd*) targ_emul=elf_x86_64_fbsd
189 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386"
190 tdir_elf_i386=`echo ${targ_alias} \
191 | sed -e 's/x86_64/i386/'`
192 ;;
193 i[3456]86-*-sysv*) targ_emul=i386coff ;;
194 i[3456]86-*-ptx*) targ_emul=i386coff ;;
195 i[3456]86-*-mach*) targ_emul=i386mach ;;
196 i[3456]86-*-gnu*) targ_emul=elf_i386 ;;
197 i[3456]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;;
198 i[3456]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
199 i[3456]86-*-winnt*) targ_emul=i386pe ;
200 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
201 i[3456]86-*-pe) targ_emul=i386pe ;
202 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
203 i[3456]86-*-cygwin*) targ_emul=i386pe ;
204 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
205 i[3456]86-*-mingw32*) targ_emul=i386pe ;
206 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
207 i[3456]86-*-interix*) targ_emul=i386pe_posix;
208 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
209 i[3456]86-*-beospe*) targ_emul=i386beos ;;
210 i[3456]86-*-beos*) targ_emul=elf_i386_be ;;
211 i[3456]86-*-vxworks*) targ_emul=i386aout ;;
212 i[3456]86-*-chaos) targ_emul=elf_i386_chaos ;;
213 m8*-*-*) targ_emul=m88kbcs ;;
214 a29k-*-udi) targ_emul=sa29200 ;;
215 a29k-*-ebmon) targ_emul=ebmon29k ;;
216 a29k-*-*) targ_emul=a29k ;;
217 # arm-*-riscix*) targ_emul=riscix ;;
218 arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
219 armeb-*-aout) targ_emul=armaoutb ;;
220 arm-*-coff) targ_emul=armcoff ;;
221 arm-*-vxworks) targ_emul=armcoff ;;
222 arm-*-freebsd*) targ_emul=armelf_fbsd
223 targ_extra_emuls="armelf" ;;
224 armeb-*-netbsdelf*) targ_emul=armelfb_nbsd;
225 targ_extra_emuls="armelf_nbsd armelf armnbsd" ;;
226 arm-*-netbsdelf*) targ_emul=armelf_nbsd;
227 targ_extra_emuls="armelfb_nbsd armelf armnbsd" ;;
228 arm-*-netbsd*) targ_emul=armnbsd;
229 targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;;
230 arm-*-openbsd*) targ_emul=armnbsd ;;
231 arm-*-rtems*) targ_emul=armelf ;;
232 arm-*-elf) targ_emul=armelf ;;
233 arm9e-*-elf) targ_emul=armelf ;;
234 arm-*-oabi) targ_emul=armelf_oabi ;;
235 arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
236 arm*-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
237 arm*-*-conix*) targ_emul=armelf ;;
238 thumb-*-linux-gnu* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;;
239 strongarm-*-coff) targ_emul=armcoff ;;
240 strongarm-*-elf) targ_emul=armelf ;;
241 thumb-*-coff) targ_emul=armcoff ;;
242 thumb-*-elf) targ_emul=armelf ;;
243 thumb-*-oabi) targ_emul=armelf_oabi ;;
244 thumb-epoc-pe) targ_emul=arm_epoc_pe ;
245 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
246 thumb-*-pe) targ_emul=armpe ;
247 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
248 xscale-*-coff) targ_emul=armcoff ;;
249 xscale-*-elf) targ_emul=armelf ;;
250 h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*)
251 targ_emul=h8300; targ_extra_emuls="h8300h h8300s"
252 ;;
253 h8300-*-elf*)
254 targ_emul=h8300elf;
255 targ_extra_emuls="h8300helf h8300self"
256 ;;
257 h8500-*-hms* | h8500-*-coff*)
258 targ_emul=h8500
259 targ_extra_emuls="h8500s h8500b h8500m h8500c"
260 ;;
261 sh-*-linux*)
262 targ_emul=shlelf_linux
263 targ_extra_emuls=shelf_linux
264 targ_extra_libpath=shelf_linux
265 ;;
266 sh*eb-*-linux*)
267 targ_emul=shelf_linux
268 ;;
269 sh*-*-linux*)
270 targ_emul=shlelf_linux
271 ;;
272 sh*le-*-netbsdelf*)
273 targ_emul=shlelf_nbsd
274 targ_extra_emuls=shelf_nbsd
275 ;;
276 sh*-*-netbsdelf*)
277 targ_emul=shelf_nbsd
278 targ_extra_emuls=shlelf_nbsd
279 ;;
280 sh-*-elf* | sh-*-rtemself*)
281 targ_emul=shelf
282 targ_extra_emuls="shlelf sh shl"
283 ;;
284 sh-*-pe) targ_emul=shpe ;
285 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
286 sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;;
287 sh64-*-elf*)
288 targ_emul=shelf
289 targ_extra_emuls="shlelf shelf32 shlelf32 shelf64 shlelf64"
290 targ_extra_libpath=$targ_extra_emuls
291 ;;
292 m68k-sony-*) targ_emul=news ;;
293 m68k-hp-bsd*) targ_emul=hp300bsd ;;
294 m68*-motorola-sysv*) targ_emul=delta68 ;;
295 m68*-*-aout) targ_emul=m68kaout ;;
296 m68*-*-coff) targ_emul=m68kcoff ;;
297 m68*-*-elf) targ_emul=m68kelf ;;
298 m68*-*-hpux*) targ_emul=hp3hpux ;;
299 m68k-*-linux*aout*) targ_emul=m68klinux
300 targ_extra_emuls=m68kelf
301 tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'`
302 ;;
303 m68k-*-linux-gnu*) targ_emul=m68kelf
304 targ_extra_emuls=m68klinux
305 tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'`
306 ;;
307 m68*-*-gnu*) targ_emul=m68kelf ;;
308 m68*-*-lynxos*) targ_emul=m68klynx ;;
309 m68*-*-netbsd*4k*) targ_emul=m68k4knbsd
310 targ_extra_emuls="m68knbsd m68kelfnbsd" ;;
311 m68*-*-netbsdelf*) targ_emul=m68kelfnbsd
312 targ_extra_emuls="m68knbsd m68k4knbsd" ;;
313 m68*-*-netbsdaout* | m68*-*-netbsd*)
314 targ_emul=m68knbsd
315 targ_extra_emuls="m68kelfnbsd m68k4knbsd" ;;
316 m68*-*-psos*) targ_emul=m68kpsos ;;
317 m68*-*-rtemscoff*) targ_emul=m68kcoff ;;
318 m68*-*-rtems*) targ_emul=m68kelf ;;
319 hppa*64*-*-linux-gnu*) targ_emul=hppa64linux ;;
320 hppa*64*-*) targ_emul=elf64hppa ;;
321 hppa*-*-linux-gnu*) targ_emul=hppalinux ;;
322 hppa*-*-*elf*) targ_emul=hppaelf ;;
323 hppa*-*-lites*) targ_emul=hppaelf ;;
324 hppa*-*-netbsd*) targ_emul=hppanbsd ;;
325 hppa*-*-rtems*) targ_emul=hppaelf ;;
326 vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;;
327 mips*-*-pe) targ_emul=mipspe ;
328 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
329 mips*-dec-ultrix*) targ_emul=mipslit ;;
330 mips*-dec-osf*) targ_emul=mipslit ;;
331 mips*-sgi-irix5*) targ_emul=elf32bsmip ;;
332 mips*-sgi-irix6*) targ_emul=elf32bmipn32
333 targ_extra_emuls="elf32bsmip elf64bmip"
334 ;;
335 mips*-sgi-irix*) targ_emul=mipsbig ;;
336 mips*el-*-ecoff*) targ_emul=mipsidtl ;;
337 mips*-*-ecoff*) targ_emul=mipsidt ;;
338 mips*-dec-bsd*) targ_emul=mipsbsd ;;
339 mips*el-*-netbsd*) targ_emul=elf32lmip
340 targ_extra_emuls="elf32bmip"
341 ;;
342 mips*-*-netbsd*) targ_emul=elf32bmip
343 targ_extra_emuls="elf32lmip"
344 ;;
345 mips*-*-bsd*) targ_emul=mipsbig ;;
346 mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;;
347 mips*vr4300-*-elf*) targ_emul=elf32b4300 ;;
348 mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;;
349 mips*vr4100-*-elf*) targ_emul=elf32b4300 ;;
350 mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;;
351 mips*vr5000-*-elf*) targ_emul=elf32b4300 ;;
352 mips*el-*-elf*) targ_emul=elf32elmip ;;
353 mips*-*-elf*) targ_emul=elf32ebmip ;;
354 mips*el-*-rtems*) targ_emul=elf32elmip ;;
355 mips*-*-rtems*) targ_emul=elf32ebmip ;;
356 mips*el-*-vxworks*) targ_emul=elf32elmip ;;
357 mips*-*-vxworks*) targ_emul=elf32ebmip ;;
358 mips*el-*-linux-gnu*) targ_emul=elf32ltsmip
359 targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip"
360 ;;
361 mips*-*-linux-gnu*) targ_emul=elf32btsmip
362 targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip"
363 ;;
364 mips*-*-lnews*) targ_emul=mipslnews ;;
365 mips*-*-sysv4*) targ_emul=elf32btsmip ;;
366 mmix-*-*) targ_emul=mmo
367 targ_extra_emuls=elf64mmix
368 ;;
369 mn10200-*-*) targ_emul=mn10200 ;;
370 mn10300-*-*) targ_emul=mn10300 ;;
371 alpha*-*-freebsd*) targ_emul=elf64alpha_fbsd
372 targ_extra_emuls="elf64alpha alpha"
373 tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'`
374 ;;
375 alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha
376 tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'`
377 ;;
378 alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha
379 tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'`
380 ;;
381 alpha*-*-osf*) targ_emul=alpha ;;
382 alpha*-*-gnu*) targ_emul=elf64alpha ;;
383 alpha*-*-netware*) targ_emul=alpha ;;
384 alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;;
385 z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;;
386 ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;;
387 ns32k-*-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;;
388 openrisc-*-*) targ_emul=elf32openrisc ;;
389 or32-*-coff) targ_emul=or32 ;;
390 or32-*-elf) targ_emul=or32elf ;;
391 or32-*-rtems) targ_emul=or32 ;;
392 pdp11-*-*) targ_emul=pdp11 ;;
393 pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;;
394 pj*-*-*) targ_emul=pjelf ;;
395 powerpc-*-freebsd*) targ_emul=elf32ppc_fbsd;
396 targ_extra_emuls="elf32ppc elf32ppcsim";
397 targ_extra_libpath=elf32ppc;
398 tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'`
399 ;;
400 powerpc*-*-linux*)
401 case "${targ}" in
402 *64*) targ_emul=elf64ppc
403 targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim"
404 targ_extra_libpath=elf32ppclinux
405 tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
406 tdir_elf32ppclinux=$tdir_elf32ppc
407 tdir_elf32ppcsim=$tdir_elf32ppc ;;
408 *) targ_emul=elf32ppclinux
409 targ_extra_emuls="elf32ppc elf32ppcsim"
410 targ_extra_libpath=elf32ppc ;;
411 esac ;;
412 powerpc*le-*-elf* | powerpc*le-*-eabi* | powerpc*le-*-solaris* \
413 | powerpc*le-*-sysv* | powerpc*le-*-vxworks*)
414 case "${targ}" in
415 *64*) targ_emul=elf64lppc
416 targ_extra_emuls="elf32lppc elf32lppcsim"
417 tdir_elf32lppc=`echo "${targ_alias}" | sed -e 's/64//'`
418 tdir_elf32lppcsim=$tdir_elf32lppc ;;
419 *) targ_emul=elf32lppc
420 targ_extra_emuls="elf32ppcsim" ;;
421 esac ;;
422 powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \
423 | powerpc*-*-netbsd* | powerpc*-*-vxworks*)
424 case "${targ}" in
425 *64*) targ_emul=elf64ppc
426 targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim"
427 tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
428 tdir_elf32ppclinux=$tdir_elf32ppc
429 tdir_elf32ppcsim=$tdir_elf32ppc ;;
430 *) targ_emul=elf32ppc
431 targ_extra_emuls="elf32ppclinux elf32ppcsim" ;;
432 esac ;;
433 powerpcle-*-rtems*) targ_emul=elf32leppc ;;
434 powerpc-*-rtems*) targ_emul=elf32ppc ;;
435 powerpc-*-macos*) targ_emul=ppcmacos ;;
436 powerpc-*-netware*) targ_emul=ppcnw ;;
437 powerpcle-*-pe) targ_emul=ppcpe ;;
438 powerpcle-*-winnt*) targ_emul=ppcpe ;;
439 powerpcle-*-cygwin*) targ_emul=ppcpe ;;
440 powerpc-*-aix5*) targ_emul=aix5ppc ;;
441 powerpc-*-aix*) targ_emul=aixppc ;;
442 powerpc-*-beos*) targ_emul=aixppc ;;
443 powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;;
444 rs6000-*-aix5*) targ_emul=aix5rs6 ;;
445 rs6000-*-aix*) targ_emul=aixrs6 ;;
446 tic30-*-*aout*) targ_emul=tic30aout ;;
447 tic30-*-*coff*) targ_emul=tic30coff ;;
448 tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff ;;
449 tic80-*-*) targ_emul=tic80coff ;;
450 v850-*-*) targ_emul=v850 ;;
451 v850e-*-*) targ_emul=v850 ;;
452 v850ea-*-*) targ_emul=v850 ;;
453 w65-*-*) targ_emul=w65 ;;
454 xstormy16-*-*) targ_emul=elf32xstormy16 ;;
455 fr30-*-*) targ_emul=elf32fr30 ;;
456 mcore-*-pe) targ_emul=mcorepe ;
457 targ_extra_ofiles="deffilep.o pe-dll.o" ;;
458 mcore-*-elf) targ_emul=elf32mcore ;;
459 s390x-*-linux*) targ_emul=elf64_s390 ;;
460 s390-*-linux*) targ_emul=elf_s390 ;;
461 *-*-ieee*) targ_emul=vanilla ;;
462
463 *)
464 echo 2>&1 "*** ld does not support target ${targ}"
465 echo 2>&1 "*** see ld/configure.tgt for supported targets"
466 exit 1
467
468 esac
This page took 0.051527 seconds and 4 git commands to generate.