| 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" ;; |
| 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 | sparc64-*-aout*) targ_emul=sparcaout ;; |
| 37 | sparc64-*-elf*) targ_emul=elf64_sparc ;; |
| 38 | sparc-sun-sunos4*) targ_emul=sun4 ;; |
| 39 | sparclite*-*-elf) targ_emul=elf32_sparc ;; |
| 40 | sparclite*-*-coff) targ_emul=coff_sparc ;; |
| 41 | sparclite*-fujitsu-*) targ_emul=sparcaout ;; |
| 42 | sparc*-*-aout) targ_emul=sparcaout ;; |
| 43 | sparc*-*-coff) targ_emul=coff_sparc ;; |
| 44 | sparc*-*-elf) targ_emul=elf32_sparc ;; |
| 45 | sparc*-*-sysv4*) targ_emul=elf32_sparc ;; |
| 46 | sparc64-*-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 | ;; |
| 52 | sparc*-*-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 | ;; |
| 57 | sparc64-*-linux-gnu*) targ_emul=elf64_sparc |
| 58 | targ_extra_emuls="elf32_sparc sparclinux sun4" |
| 59 | targ_extra_libpath=elf32_sparc |
| 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 | ;; |
| 64 | sparc*-*-linux-gnu*) targ_emul=elf32_sparc |
| 65 | targ_extra_emuls="sparclinux elf64_sparc sun4" |
| 66 | targ_extra_libpath=elf64_sparc |
| 67 | tdir_sparclinux=${targ_alias}aout |
| 68 | tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` |
| 69 | tdir_sun4=sparc-sun-sunos4 |
| 70 | ;; |
| 71 | sparc*-*-lynxos*) targ_emul=sparclynx ;; |
| 72 | sparc64-*-netbsd*) targ_emul=elf64_sparc ;; |
| 73 | sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;; |
| 74 | sparc*-*-netbsd*) targ_emul=sparcnbsd ;; |
| 75 | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) |
| 76 | targ_emul=elf32_sparc ;; |
| 77 | sparc-*-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 | ;; |
| 82 | sparcv9-*-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 | ;; |
| 88 | sparc*-*-solaris2*) targ_emul=elf32_sparc ;; |
| 89 | sparc*-wrs-vxworks*) targ_emul=sparcaout ;; |
| 90 | sparc*-*-rtemsaout*) targ_emul=sparcaout ;; |
| 91 | sparc*-*-rtemself*) targ_emul=elf32_sparc ;; |
| 92 | sparc*-*-rtems*) targ_emul=elf32_sparc ;; |
| 93 | i860-stardent-sysv4* | i860-stardent-elf*) |
| 94 | targ_emul=elf32_i860 ;; |
| 95 | i960-wrs-vxworks5.0*) targ_emul=gld960 ;; |
| 96 | i960-wrs-vxworks5*) targ_emul=gld960coff ;; |
| 97 | i960-wrs-vxworks*) targ_emul=gld960 ;; |
| 98 | i960-*-coff) targ_emul=gld960coff ;; |
| 99 | i960-intel-nindy) targ_emul=gld960 ;; |
| 100 | i960-*-rtems*) targ_emul=gld960coff ;; |
| 101 | i960-*-elf*) targ_emul=elf32_i960 ;; |
| 102 | ia64-*-elf*) targ_emul=elf64_ia64 ;; |
| 103 | ia64-*-freebsd*) targ_emul=elf64_ia64 ;; |
| 104 | ia64-*-linux*) targ_emul=elf64_ia64 ;; |
| 105 | ia64-*-aix*) targ_emul=elf64_aix ;; |
| 106 | m32r-*-*) targ_emul=m32relf ;; |
| 107 | m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf |
| 108 | targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;; |
| 109 | m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf |
| 110 | targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;; |
| 111 | m68*-sun-sunos[34]*) targ_emul=sun3 ;; |
| 112 | m68*-wrs-vxworks*) targ_emul=sun3 ;; |
| 113 | m68*-ericsson-ose) targ_emul=sun3 ;; |
| 114 | m68*-apple-aux*) targ_emul=m68kaux ;; |
| 115 | *-tandem-none) targ_emul=st2000 ;; |
| 116 | i370-*-elf* | i370-*-linux-gnu*) targ_emul=elf32i370 ;; |
| 117 | i[3456]86-*-vsta) targ_emul=vsta ;; |
| 118 | i[3456]86-go32-rtems*) targ_emul=i386go32 ;; |
| 119 | i[3456]86-*-go32) targ_emul=i386go32 ;; |
| 120 | i[3456]86-*-msdosdjgpp*) targ_emul=i386go32 ;; |
| 121 | i[3456]86-*-aix*) targ_emul=i386coff ;; |
| 122 | i[3456]86-*-sco*) targ_emul=i386coff ;; |
| 123 | i[3456]86-*-isc*) targ_emul=i386coff ;; |
| 124 | i[3456]86-*-lynxos*) targ_emul=i386lynx ;; |
| 125 | i[3456]86-*-coff) targ_emul=i386coff ;; |
| 126 | i[3456]86-*-rtemself*) targ_emul=elf_i386 ;; |
| 127 | i[3456]86-*-rtems*) targ_emul=i386coff ;; |
| 128 | i[3456]86-*-bsd) targ_emul=i386bsd ;; |
| 129 | i[3456]86-*-bsd386) targ_emul=i386bsd ;; |
| 130 | i[3456]86-*-bsdi*) targ_emul=i386bsd ;; |
| 131 | i[3456]86-*-aout) targ_emul=i386aout ;; |
| 132 | i[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 | ;; |
| 136 | i[3456]86-*-linux*oldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; |
| 137 | i[3456]86-*-linux-gnu*) targ_emul=elf_i386 |
| 138 | targ_extra_emuls=i386linux |
| 139 | tdir_i386linux=${targ_alias}aout |
| 140 | ;; |
| 141 | x86_64-*-linux-gnu*) targ_emul=elf_x86_64 |
| 142 | targ_extra_emuls="elf_i386 i386linux" |
| 143 | tdir_i386linux=${targ_alias}aout |
| 144 | ;; |
| 145 | i[3456]86-*-sysv[45]*) targ_emul=elf_i386 ;; |
| 146 | i[3456]86-*-solaris2*) targ_emul=elf_i386_ldso |
| 147 | targ_extra_emuls="elf_i386" |
| 148 | ;; |
| 149 | i[3456]86-*-unixware) targ_emul=elf_i386 ;; |
| 150 | i[3456]86-*-solaris*) targ_emul=elf_i386_ldso |
| 151 | targ_extra_emuls="elf_i386" |
| 152 | ;; |
| 153 | i[3456]86-*-netbsd*) targ_emul=i386nbsd ;; |
| 154 | i[3456]86-*-netware) targ_emul=i386nw ;; |
| 155 | i[3456]86-*-elf*) targ_emul=elf_i386 ;; |
| 156 | i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12]) |
| 157 | targ_emul=i386bsd ;; |
| 158 | i[3456]86-*-freebsd*) targ_emul=elf_i386 ;; |
| 159 | x86_64-*-freebsd*) targ_emul=elf_x86_64 |
| 160 | targ_extra_emuls=elf_i386 |
| 161 | tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` |
| 162 | ;; |
| 163 | i[3456]86-*-sysv*) targ_emul=i386coff ;; |
| 164 | i[3456]86-*-ptx*) targ_emul=i386coff ;; |
| 165 | i[3456]86-*-mach*) targ_emul=i386mach ;; |
| 166 | i[3456]86-*-gnu*) targ_emul=elf_i386 ;; |
| 167 | i[3456]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;; |
| 168 | i[3456]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;; |
| 169 | i[3456]86-*-winnt*) targ_emul=i386pe ; |
| 170 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 171 | i[3456]86-*-pe) targ_emul=i386pe ; |
| 172 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 173 | i[3456]86-*-cygwin*) targ_emul=i386pe ; |
| 174 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 175 | i[3456]86-*-mingw32*) targ_emul=i386pe ; |
| 176 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 177 | i[3456]86-*-interix*) targ_emul=i386pe_posix; |
| 178 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 179 | i[3456]86-*-beospe*) targ_emul=i386beos ;; |
| 180 | i[3456]86-*-beos*) targ_emul=elf_i386_be ;; |
| 181 | i[3456]86-*-vxworks*) targ_emul=i386aout ;; |
| 182 | i[3456]86-*-chaos) targ_emul=elf_i386_chaos ;; |
| 183 | m8*-*-*) targ_emul=m88kbcs ;; |
| 184 | a29k-*-udi) targ_emul=sa29200 ;; |
| 185 | a29k-*-ebmon) targ_emul=ebmon29k ;; |
| 186 | a29k-*-*) targ_emul=a29k ;; |
| 187 | # arm-*-riscix*) targ_emul=riscix ;; |
| 188 | arm-*-aout | armel-*-aout) targ_emul=armaoutl ;; |
| 189 | armeb-*-aout) targ_emul=armaoutb ;; |
| 190 | arm-*-coff) targ_emul=armcoff ;; |
| 191 | arm-*-vxworks) targ_emul=armcoff ;; |
| 192 | arm-*-freebsd*) targ_emul=armelf ;; |
| 193 | arm-*-netbsd*) targ_emul=armnbsd ;; |
| 194 | arm-*-rtems*) targ_emul=armelf ;; |
| 195 | arm-*-elf) targ_emul=armelf ;; |
| 196 | arm-*-oabi) targ_emul=armelf_oabi ;; |
| 197 | arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; |
| 198 | arm*-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; |
| 199 | arm*-*-conix*) targ_emul=armelf ;; |
| 200 | thumb-*-linux-gnu* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; |
| 201 | strongarm-*-coff) targ_emul=armcoff ;; |
| 202 | strongarm-*-elf) targ_emul=armelf ;; |
| 203 | thumb-*-coff) targ_emul=armcoff ;; |
| 204 | thumb-*-elf) targ_emul=armelf ;; |
| 205 | thumb-*-oabi) targ_emul=armelf_oabi ;; |
| 206 | thumb-epoc-pe) targ_emul=arm_epoc_pe ; |
| 207 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 208 | thumb-*-pe) targ_emul=armpe ; |
| 209 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 210 | xscale-*-coff) targ_emul=armcoff ;; |
| 211 | xscale-*-elf) targ_emul=armelf ;; |
| 212 | h8300-*-hms* | h8300-*-coff* | h8300-*-rtems*) |
| 213 | targ_emul=h8300; targ_extra_emuls="h8300h h8300s" |
| 214 | ;; |
| 215 | h8500-*-hms* | h8500-*-coff*) |
| 216 | targ_emul=h8500 |
| 217 | targ_extra_emuls="h8500s h8500b h8500m h8500c" |
| 218 | ;; |
| 219 | sh-*-linux*) |
| 220 | targ_emul=shelf_linux |
| 221 | targ_extra_emuls=shlelf_linux |
| 222 | ;; |
| 223 | sh-*-elf* | sh-*-rtemself*) |
| 224 | targ_emul=shelf |
| 225 | targ_extra_emuls="shlelf sh shl" |
| 226 | ;; |
| 227 | sh-*-pe) targ_emul=shpe ; |
| 228 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 229 | sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;; |
| 230 | m68k-sony-*) targ_emul=news ;; |
| 231 | m68k-hp-bsd*) targ_emul=hp300bsd ;; |
| 232 | m68*-motorola-sysv*) targ_emul=delta68 ;; |
| 233 | m68*-*-aout) targ_emul=m68kaout ;; |
| 234 | m68*-*-coff) targ_emul=m68kcoff ;; |
| 235 | m68*-*-elf) targ_emul=m68kelf ;; |
| 236 | m68*-*-hpux*) targ_emul=hp3hpux ;; |
| 237 | m68k-*-linux*aout*) targ_emul=m68klinux |
| 238 | targ_extra_emuls=m68kelf |
| 239 | tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'` |
| 240 | ;; |
| 241 | m68k-*-linux-gnu*) targ_emul=m68kelf |
| 242 | targ_extra_emuls=m68klinux |
| 243 | tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'` |
| 244 | ;; |
| 245 | m68*-*-gnu*) targ_emul=m68kelf ;; |
| 246 | m68*-*-lynxos*) targ_emul=m68klynx ;; |
| 247 | m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;; |
| 248 | m68*-*-netbsd*) targ_emul=m68knbsd ;; |
| 249 | m68*-*-psos*) targ_emul=m68kpsos ;; |
| 250 | m68*-*-rtems*) targ_emul=m68kcoff ;; |
| 251 | hppa*64*-*) targ_emul=elf64hppa ;; |
| 252 | hppa*-*-linux-gnu*) targ_emul=hppalinux ;; |
| 253 | hppa*-*-*elf*) targ_emul=hppaelf ;; |
| 254 | hppa*-*-lites*) targ_emul=hppaelf ;; |
| 255 | hppa*-*-rtems*) targ_emul=hppaelf ;; |
| 256 | vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;; |
| 257 | mips*-*-pe) targ_emul=mipspe ; |
| 258 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 259 | mips*-dec-ultrix*) targ_emul=mipslit ;; |
| 260 | mips*-dec-osf*) targ_emul=mipslit ;; |
| 261 | mips*-sgi-irix5*) targ_emul=elf32bsmip ;; |
| 262 | mips*-sgi-irix6*) targ_emul=elf32bmipn32 |
| 263 | targ_extra_emuls="elf32bsmip elf64bmip" |
| 264 | ;; |
| 265 | mips*-sgi-irix*) targ_emul=mipsbig ;; |
| 266 | mips*el-*-ecoff*) targ_emul=mipsidtl ;; |
| 267 | mips*-*-ecoff*) targ_emul=mipsidt ;; |
| 268 | mips*-dec-bsd*) targ_emul=mipsbsd ;; |
| 269 | mips*-dec-netbsd*) targ_emul=elf32lmip ;; |
| 270 | mips*-*-bsd*) targ_emul=mipsbig ;; |
| 271 | mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; |
| 272 | mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; |
| 273 | mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; |
| 274 | mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; |
| 275 | mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; |
| 276 | mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; |
| 277 | mips*el-*-elf*) targ_emul=elf32elmip ;; |
| 278 | mips*-*-elf*) targ_emul=elf32ebmip ;; |
| 279 | mips*el-*-rtems*) targ_emul=elf32elmip ;; |
| 280 | mips*-*-rtems*) targ_emul=elf32ebmip ;; |
| 281 | mips*el-*-vxworks*) targ_emul=elf32elmip ;; |
| 282 | mips*-*-vxworks*) targ_emul=elf32ebmip ;; |
| 283 | mips*el-*-linux-gnu*) targ_emul=elf32ltsmip |
| 284 | targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip" |
| 285 | ;; |
| 286 | mips*-*-linux-gnu*) targ_emul=elf32btsmip |
| 287 | targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" |
| 288 | ;; |
| 289 | mips*-*-lnews*) targ_emul=mipslnews ;; |
| 290 | mips*-*-sysv4*) targ_emul=elf32btsmip ;; |
| 291 | mn10200-*-*) targ_emul=mn10200 ;; |
| 292 | mn10300-*-*) targ_emul=mn10300 ;; |
| 293 | alpha*-*-freebsd*) targ_emul=elf64alpha |
| 294 | targ_extra_emuls=alpha |
| 295 | tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'` |
| 296 | ;; |
| 297 | alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha |
| 298 | tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` |
| 299 | ;; |
| 300 | alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha |
| 301 | tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'` |
| 302 | ;; |
| 303 | alpha*-*-osf*) targ_emul=alpha ;; |
| 304 | alpha*-*-gnu*) targ_emul=elf64alpha ;; |
| 305 | alpha*-*-netware*) targ_emul=alpha ;; |
| 306 | alpha*-*-netbsd*) targ_emul=elf64alpha ;; |
| 307 | z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 ;; |
| 308 | ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; |
| 309 | ns32k-pc532-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd ;; |
| 310 | openrisc-*-*) targ_emul=elf32openrisc ;; |
| 311 | powerpc-*-freebsd*) targ_emul=elf32ppc; |
| 312 | targ_extra_emuls=elf32ppcsim; |
| 313 | targ_extra_libpath=elf32ppc; |
| 314 | tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` |
| 315 | ;; |
| 316 | powerpc-*-linux-gnu*) targ_emul=elf32ppclinux; |
| 317 | targ_extra_emuls="elf32ppc elf32ppcsim"; |
| 318 | targ_extra_libpath=elf32ppc ;; |
| 319 | pdp11-*-*) targ_emul=pdp11 ;; |
| 320 | pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;; |
| 321 | pj*-*-*) targ_emul=pjelf ;; |
| 322 | powerpc-*-elf* | powerpc-*-eabi* | powerpc-*-sysv* \ |
| 323 | | powerpc-*-netbsd* | powerpc-*-vxworks*) |
| 324 | targ_emul=elf32ppc targ_extra_emuls="elf32ppclinux elf32ppcsim";; |
| 325 | powerpcle-*-elf* | powerpcle-*-eabi* | powerpcle-*-solaris* \ |
| 326 | | powerpcle-*-sysv* | powerpcle-*-vxworks*) |
| 327 | targ_emul=elf32lppc targ_extra_emuls="elf32ppcsim";; |
| 328 | powerpcle-*-rtems*) targ_emul=elf32leppc ;; |
| 329 | powerpc-*-rtems*) targ_emul=elf32ppc ;; |
| 330 | powerpc-*-macos*) targ_emul=ppcmacos ;; |
| 331 | powerpc-*-netware*) targ_emul=ppcnw ;; |
| 332 | powerpcle-*-pe) targ_emul=ppcpe ;; |
| 333 | powerpcle-*-winnt*) targ_emul=ppcpe ;; |
| 334 | powerpcle-*-cygwin*) targ_emul=ppcpe ;; |
| 335 | |
| 336 | powerpc-*-aix*) targ_emul=aixppc |
| 337 | targ_extra_emuls="aixppc64" |
| 338 | tdir_aixppc64=${targ_alias} |
| 339 | ;; |
| 340 | powerpc-*-beos*) targ_emul=aixppc ;; |
| 341 | rs6000-*-aix*) targ_emul=aixrs6 ;; |
| 342 | tic30-*-*aout*) targ_emul=tic30aout ;; |
| 343 | tic30-*-*coff*) targ_emul=tic30coff ;; |
| 344 | tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff ;; |
| 345 | tic80-*-*) targ_emul=tic80coff ;; |
| 346 | v850-*-*) targ_emul=v850 ;; |
| 347 | v850e-*-*) targ_emul=v850 ;; |
| 348 | v850ea-*-*) targ_emul=v850 ;; |
| 349 | w65-*-*) targ_emul=w65 ;; |
| 350 | fr30-*-*) targ_emul=elf32fr30 ;; |
| 351 | mcore-*-pe) targ_emul=mcorepe ; |
| 352 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
| 353 | mcore-*-elf) targ_emul=elf32mcore ;; |
| 354 | s390x-*-linux*) targ_emul=elf64_s390 ;; |
| 355 | s390-*-linux*) targ_emul=elf_s390 ;; |
| 356 | *-*-ieee*) targ_emul=vanilla ;; |
| 357 | |
| 358 | *) |
| 359 | echo 2>&1 "*** ld does not support target ${targ}" |
| 360 | echo 2>&1 "*** see ld/configure.tgt for supported targets" |
| 361 | exit 1 |
| 362 | |
| 363 | esac |