Changeset 618 for trunk/src/binutils/gas/configure.in
- Timestamp:
- Aug 16, 2003, 11:33:53 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/gas/configure.in
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r617 r618 45 45 using_cgen=no 46 46 47 build_warnings="-W -Wall "47 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 48 48 AC_ARG_ENABLE(build-warnings, 49 49 [ --enable-build-warnings Enable build-time compiler warnings if gcc is used], … … 73 73 GDBINIT=".gdbinit" 74 74 case "${host}" in 75 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*- cygwin* | *-*-windows*)75 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*) 76 76 GDBINIT="gdb.ini" 77 77 ;; … … 116 116 case ${cpu} in 117 117 alpha*) cpu_type=alpha ;; 118 armeb) cpu_type=arm endian=big ;; 119 arm*) cpu_type=arm endian=little ;; 120 armb*) cpu_type=arm endian=little ;; 121 armv*l) cpu_type=arm endian=little ;; 122 armv*b) cpu_type=arm endian=big ;; 123 xscale*) cpu_type=arm endian=little ;; 124 strongarm*) cpu_type=arm endian=little ;; 125 thumb*) cpu_type=arm endian=little ;; 118 arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;; 119 arm*|xscale*|strongarm*) cpu_type=arm endian=little ;; 126 120 hppa*) cpu_type=hppa ;; 127 121 changequote(,)dnl … … 129 123 x86_64) cpu_type=i386 arch=x86_64;; 130 124 ia64) cpu_type=ia64 ;; 125 ip2k) cpu_type=ip2k endian=big ;; 126 iq2000) cpu_type=iq2000 endian=big ;; 131 127 m6811|m6812|m68hc12) cpu_type=m68hc11 ;; 132 128 m680[012346]0) cpu_type=m68k ;; … … 138 134 mips*el) cpu_type=mips endian=little ;; 139 135 mips*) cpu_type=mips endian=big ;; 136 or32*) cpu_type=or32 endian=big ;; 140 137 pjl*) cpu_type=pj endian=little ;; 141 138 pj*) cpu_type=pj endian=big ;; 142 powerpc le*) cpu_type=ppc endian=little ;;139 powerpc*le*) cpu_type=ppc endian=little ;; 143 140 powerpc*) cpu_type=ppc endian=big ;; 144 141 rs6000*) cpu_type=ppc ;; 142 s390x*) cpu_type=s390 arch=s390x ;; 143 s390*) cpu_type=s390 arch=s390 ;; 144 sh5*) cpu_type=sh64 endian=big ;; 145 sh5le*) cpu_type=sh64 endian=little ;; 146 sh64*) cpu_type=sh64 endian=big ;; 147 sh64le*) cpu_type=sh64 endian=little ;; 148 sh*le) cpu_type=sh endian=little ;; 149 sh*) cpu_type=sh endian=big ;; 145 150 sparclite*) cpu_type=sparc arch=sparclite ;; 146 151 sparclet*) cpu_type=sparc arch=sparclet ;; … … 149 154 sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. 150 155 v850*) cpu_type=v850 ;; 156 xtensa*) cpu_type=xtensa arch=xtensa ;; 151 157 *) cpu_type=${cpu} ;; 152 158 esac … … 165 171 # assign object format 166 172 case ${generic_target} in 167 a29k-*-coff) fmt=coff ;; 168 a29k-amd-udi) fmt=coff ;; 169 a29k-amd-ebmon) fmt=coff ;; 170 a29k-nyu-sym1) fmt=coff ;; 171 a29k-*-rtems*) fmt=coff ;; 172 a29k-*-vxworks*) fmt=coff ;; 173 174 alpha*-*-*vms*) fmt=evax ;; 175 alpha*-*-netware*) fmt=ecoff ;; 176 alpha*-*-openbsd*) fmt=ecoff ;; 177 alpha*-*-osf*) fmt=ecoff ;; 178 alpha*-*-linuxecoff*) fmt=ecoff ;; 179 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 180 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 181 182 arc-*-elf*) fmt=elf bfd_gas=yes ;; 183 184 arm-*-aout) fmt=aout ;; 185 arm-*-coff | thumb-*-coff) fmt=coff ;; 186 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 187 arm-*-elf | thumb-*-elf) fmt=elf ;; 173 a29k-*-coff) fmt=coff ;; 174 a29k-amd-udi) fmt=coff ;; 175 a29k-amd-ebmon) fmt=coff ;; 176 a29k-nyu-sym1) fmt=coff ;; 177 a29k-*-rtems*) fmt=coff ;; 178 a29k-*-vxworks*) fmt=coff ;; 179 180 alpha*-*-*vms*) fmt=evax ;; 181 alpha*-*-netware*) fmt=ecoff ;; 182 alpha*-*-osf*) fmt=ecoff ;; 183 alpha*-*-linuxecoff*) fmt=ecoff ;; 184 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 185 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 186 alpha*-*-openbsd*) fmt=elf em=obsd ;; 187 188 arc-*-elf*) fmt=elf ;; 189 190 arm-*-aout) fmt=aout ;; 191 arm-*-coff | thumb-*-coff) fmt=coff ;; 192 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 193 arm-*-elf | thumb-*-elf) fmt=elf ;; 194 arm-*-kaos*) fmt=elf ;; 188 195 arm*-*-conix*) fmt=elf ;; 189 arm-*-linux*aout*) fmt=aout em=linux ;; 190 arm*-*-linux-gnu* | arm*-*-uclinux*) 191 fmt=elf em=linux ;; 192 arm-*-netbsd*) fmt=aout em=nbsd ;; 193 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 194 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 196 arm-*-linux*aout*) fmt=aout em=linux ;; 197 arm*-*-linux-gnu*) fmt=elf em=linux ;; 198 arm*-*-uclinux*) fmt=elf em=linux ;; 199 arm-*-netbsdelf*) fmt=elf em=nbsd ;; 200 arm-*-*n*bsd*) fmt=aout em=nbsd ;; 201 arm-**-nto*) fmt=elf ;; 202 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 203 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 195 204 arm-*-wince) fmt=coff em=wince-pe ;; 196 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 197 arm-*-riscix*) fmt=aout em=riscix ;; 198 arm-*-vxworks) fmt=coff ;; 199 200 avr-*-*) fmt=elf bfd_gas=yes ;; 201 202 cris-*-*) fmt=multi bfd_gas=yes ;; 203 204 d10v-*-*) fmt=elf bfd_gas=yes ;; 205 d30v-*-*) fmt=elf bfd_gas=yes ;; 206 207 208 fr30-*-*) fmt=elf bfd_gas=yes ;; 209 210 hppa-*-linux-gnu*) case ${cpu} in 211 hppa*64*) 212 fmt=elf em=hppalinux64;; 213 hppa*) 214 fmt=elf em=linux;; 215 esac ;; 216 hppa-*-*elf*) fmt=elf em=hppa ;; 217 hppa-*-lites*) fmt=elf em=hppa ;; 218 hppa-*-osf*) fmt=som em=hppa ;; 219 hppa-*-rtems*) fmt=elf em=hppa ;; 220 hppa-*-hpux11*) case ${cpu} in 221 hppa*64*) 222 fmt=elf em=hppa64 ;; 223 hppa*) 224 fmt=som em=hppa ;; 225 esac ;; 226 hppa-*-hpux*) fmt=som em=hppa ;; 227 hppa-*-mpeix*) fmt=som em=hppa ;; 228 hppa-*-bsd*) fmt=som em=hppa ;; 229 hppa-*-hiux*) fmt=som em=hppa ;; 230 231 h8300-*-rtems*) fmt=coff ;; 232 h8300-*-coff) fmt=coff ;; 233 h8500-*-rtems*) fmt=coff ;; 234 h8500-*-coff) fmt=coff ;; 235 236 i370-*-elf* | i370-*-linux*) fmt=elf ;; 237 i386-ibm-aix*) fmt=coff em=i386aix ;; 238 i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;; 239 i386-*-beospe*) fmt=coff em=pe bfd_gas=yes ;; 240 i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;; 241 i386-*-bsd*) fmt=aout em=386bsd ;; 242 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 243 i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;; 244 i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; 245 i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;; 246 i386-*-linux*coff*) fmt=coff em=linux ;; 247 i386-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 248 x86_64-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 249 i386-*-lynxos*) fmt=coff em=lynx ;; 205 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 206 arm-*-riscix*) fmt=aout em=riscix ;; 207 arm-*-vxworks) fmt=coff ;; 208 209 avr-*-*) fmt=elf ;; 210 211 cris-*-*) fmt=multi bfd_gas=yes ;; 212 213 d10v-*-*) fmt=elf ;; 214 d30v-*-*) fmt=elf ;; 215 dlx-*-*) fmt=elf ;; 216 217 fr30-*-*) fmt=elf ;; 218 frv-*-*) fmt=elf ;; 219 220 hppa-*-linux*) case ${cpu} in 221 hppa*64*) fmt=elf em=hppalinux64;; 222 hppa*) fmt=elf em=linux;; 223 esac ;; 224 hppa-*-*elf*) fmt=elf em=hppa ;; 225 hppa-*-lites*) fmt=elf em=hppa ;; 226 hppa-*-netbsd*) fmt=elf em=nbsd ;; 227 hppa-*-openbsd*) fmt=elf em=hppa ;; 228 hppa-*-osf*) fmt=som em=hppa ;; 229 hppa-*-rtems*) fmt=elf em=hppa ;; 230 hppa-*-hpux11*) case ${cpu} in 231 hppa*64*) fmt=elf em=hppa64 ;; 232 hppa*) fmt=som em=hppa ;; 233 esac ;; 234 hppa-*-hpux*) fmt=som em=hppa ;; 235 hppa-*-mpeix*) fmt=som em=hppa ;; 236 hppa-*-bsd*) fmt=som em=hppa ;; 237 hppa-*-hiux*) fmt=som em=hppa ;; 238 239 h8300-*-rtems*) fmt=coff ;; 240 h8300-*-coff) fmt=coff ;; 241 h8300-*-elf) fmt=elf ;; 242 h8500-*-rtems*) fmt=coff ;; 243 h8500-*-coff) fmt=coff ;; 244 245 i370-*-elf* | i370-*-linux*) fmt=elf ;; 246 i386-ibm-aix*) fmt=coff em=i386aix ;; 247 i386-sequent-bsd*) fmt=aout em=dynix ;; 248 i386-*-beospe*) fmt=coff em=pe ;; 249 i386-*-beos*) fmt=elf ;; 250 i386-*-coff) fmt=coff ;; 251 i386-*-elf) fmt=elf ;; 252 i386-*-kaos*) fmt=elf ;; 253 i386-*-bsd*) fmt=aout em=386bsd ;; 254 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 255 i386-*-netbsdpe*) fmt=coff em=pe ;; 256 i386-*-netbsdelf*) fmt=elf em=nbsd ;; 257 i386-*-*n*bsd*) case ${cpu} in 258 x86_64) fmt=elf em=nbsd ;; 259 *) fmt=aout em=nbsd ;; 260 esac ;; 261 i386-*-linux*aout*) fmt=aout em=linux ;; 262 i386-*-linux*oldld) fmt=aout em=linux ;; 263 i386-*-linux*coff*) fmt=coff em=linux ;; 264 i386-*-linux-gnu*) fmt=elf em=linux ;; 265 x86_64-*-linux-gnu*) fmt=elf em=linux ;; 266 i386-*-lynxos*) fmt=coff em=lynx ;; 250 267 changequote(,)dnl 251 i386-*-sysv[45]* | i386-*-solaris* | i386-*-elf) 252 fmt=elf bfd_gas=yes ;; 253 i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12]) 254 fmt=aout em=386bsd ;; 268 i386-*-sysv[45]*) fmt=elf ;; 269 i386-*-solaris*) fmt=elf ;; 270 i386-*-freebsdaout*) fmt=aout em=386bsd ;; 271 i386-*-freebsd[12].*) fmt=aout em=386bsd ;; 272 i386-*-freebsd[12]) fmt=aout em=386bsd ;; 255 273 changequote([,])dnl 256 i386-*- coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*)257 258 i386-*- sco3.2v5*) fmt=elf259 if test ${this_target} = $target; then 260 AC_DEFINE(SCO_ELF, 1,261 262 fi263 264 i386-*- sco3.2*) fmt=coff;;265 i386-*- vsta) fmt=aout ;;266 i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*)267 fmt=coff em=go32 bfd_gas=yes 268 AC_DEFINE(STRICTCOFF, 1, [Using strict COFF?])269 270 i386-*-rtems elf*) fmt=elf ;;271 i386-*-rtems*) fmt=coff ;;272 i386-*-gnu*) 273 i386-*-mach*) 274 fmt=aout em=mach bfd_gas=yes;;275 i386-*-m sdos*) fmt=aout;;276 i386-*- moss*) fmt=elf;;277 i386-*- pe) fmt=coff em=pe bfd_gas=yes;;278 i386-*- cygwin*) fmt=coff em=pe bfd_gas=yes;;279 i386-*- interix*) fmt=coff em=interix bfd_gas=yes;;280 i386-*- mingw32*) fmt=coff em=pe bfd_gas=yes;;281 i386-*-*nt*) fmt=coff em=pe bfd_gas=yes;;274 i386-*-sysv*) fmt=coff ;; 275 i386-*-sco3.2v5*coff) fmt=coff ;; 276 i386-*-isc*) fmt=coff ;; 277 i386-*-sco3.2v5*) fmt=elf 278 if test ${this_target} = $target; then 279 AC_DEFINE(SCO_ELF, 1, [Define if defaulting to ELF on SCO 5.]) 280 fi ;; 281 i386-*-sco3.2*) fmt=coff ;; 282 i386-*-vsta) fmt=aout ;; 283 i386-*-msdosdjgpp* \ 284 | i386-*-go32* \ 285 | i386-go32-rtems*) fmt=coff em=go32 286 AC_DEFINE(STRICTCOFF, 1, [Using strict COFF?]) ;; 287 i386-*-rtemself*) fmt=elf ;; 288 i386-*-rtemscoff*) fmt=coff ;; 289 i386-*-rtems*) fmt=elf ;; 290 i386-*-gnu*) fmt=elf ;; 291 i386-*-mach*) fmt=aout em=mach ;; 292 i386-*-msdos*) fmt=aout ;; 293 i386-*-moss*) fmt=elf ;; 294 i386-*-pe) fmt=coff em=pe ;; 295 i386-*-cygwin*) fmt=coff em=pe ;; 296 i386-*-interix*) fmt=coff em=interix ;; 297 i386-*-mingw32*) fmt=coff em=pe ;; 298 i386-*-nto-qnx*) fmt=elf ;; 299 i386-*-*nt*) fmt=coff em=pe ;; 282 300 i386-*-os2*) fmt=aout em=emx bfd_gas=yes ;; 283 i386-*-vxworks*) fmt=aout ;; 284 i386-*-chaos) fmt=elf ;; 285 i860-stardent-sysv4* | i860-stardent-elf*) 286 fmt=elf bfd_gas=yes endian=little 287 AC_MSG_WARN(GAS support for ${generic_target} is preliminary and a work in progress) ;; 288 i960-*-bout) fmt=bout ;; 289 i960-*-coff) fmt=coff em=ic960 ;; 290 i960-*-rtems*) fmt=coff em=ic960 ;; 291 i960-*-nindy*) fmt=bout ;; 292 i960-*-vxworks4*) fmt=bout ;; 293 i960-*-vxworks5.0) fmt=bout ;; 294 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 295 i960-*-vxworks*) fmt=bout ;; 296 i960-*-elf*) fmt=elf ;; 297 298 ia64-*-elf*) fmt=elf ;; 299 ia64-*-linux-gnu*) fmt=elf em=linux ;; 300 ia64-*-hpux*) fmt=elf em=hpux ;; 301 302 m32r-*-*) fmt=elf bfd_gas=yes ;; 303 304 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)fmt=elf bfd_gas=yes ;; 305 306 m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*) 307 fmt=aout em=sun3 ;; 308 m68k-motorola-sysv*) fmt=coff em=delta ;; 309 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 310 m68k-apollo-*) fmt=coff em=apollo ;; 311 m68k-*-sysv4*) # must be before -sysv* 312 fmt=elf em=svr4 ;; 313 m68k-*-elf*) fmt=elf ;; 314 m68k-*-coff | m68k-*-sysv* | m68k-*-rtems*) 315 fmt=coff ;; 316 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 317 m68k-*-linux*aout*) fmt=aout em=linux ;; 318 m68k-*-linux-gnu*) fmt=elf em=linux ;; 319 m68k-*-gnu*) fmt=elf ;; 320 m68k-*-lynxos*) fmt=coff em=lynx ;; 321 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 322 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 323 m68k-apple-aux*) fmt=coff em=aux ;; 324 m68k-*-psos*) fmt=elf em=psos;; 325 326 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 327 m88k-*-coff*) fmt=coff ;; 328 329 mcore-*-elf) fmt=elf bfd_gas=yes ;; 330 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 301 i386-*-vxworks*) fmt=aout ;; 302 i386-*-chaos) fmt=elf ;; 303 304 i860-*-*) fmt=elf endian=little 305 AC_MSG_WARN(GAS support for ${generic_target} is preliminary and a work in progress) ;; 306 i960-*-bout) fmt=bout ;; 307 i960-*-coff) fmt=coff em=ic960 ;; 308 i960-*-rtems*) fmt=coff em=ic960 ;; 309 i960-*-nindy*) fmt=bout ;; 310 i960-*-vxworks5.0) fmt=bout ;; 311 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 312 i960-*-vxworks*) fmt=bout ;; 313 i960-*-elf*) fmt=elf ;; 314 315 ia64-*-elf*) fmt=elf ;; 316 ia64-*-aix*) fmt=elf em=ia64aix ;; 317 ia64-*-linux-gnu*) fmt=elf em=linux ;; 318 ia64-*-hpux*) fmt=elf em=hpux ;; 319 ia64-*-netbsd*) fmt=elf em=nbsd ;; 320 321 ip2k-*-*) fmt=elf ;; 322 323 iq2000-*-elf) fmt=elf bfd_gas=yes ;; 324 325 m32r-*-*) fmt=elf ;; 326 327 m68hc11-*-* | m6811-*-*) fmt=elf ;; 328 m68hc12-*-* | m6812-*-*) fmt=elf ;; 329 330 m68k-*-vxworks*) fmt=aout em=sun3 ;; 331 m68k-ericsson-ose) fmt=aout em=sun3 ;; 332 m68k-*-sunos*) fmt=aout em=sun3 ;; 333 m68k-motorola-sysv*) fmt=coff em=delta ;; 334 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 335 m68k-apollo-*) fmt=coff em=apollo ;; 336 m68k-*-elf*) fmt=elf ;; 337 m68k-*-sysv4*) fmt=elf em=svr4 ;; 338 m68k-*-sysv*) fmt=coff ;; 339 m68k-*-coff | m68k-*-rtemscoff*) fmt=coff ;; 340 m68k-*-rtems*) fmt=elf ;; 341 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 342 m68k-*-linux*aout*) fmt=aout em=linux ;; 343 m68k-*-linux-gnu*) fmt=elf em=linux ;; 344 m68k-*-gnu*) fmt=elf ;; 345 m68k-*-lynxos*) fmt=coff em=lynx ;; 346 m68k-*-netbsdelf*) fmt=elf em=nbsd ;; 347 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 348 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 349 m68k-apple-aux*) fmt=coff em=aux ;; 350 m68k-*-psos*) fmt=elf em=psos;; 351 352 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 353 m88k-*-coff*) fmt=coff ;; 354 355 mcore-*-elf) fmt=elf ;; 356 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 331 357 332 358 # don't change em like *-*-bsd does 333 mips-dec-netbsd*) fmt=elf endian=little ;; 334 mips-dec-openbsd*) fmt=elf endian=little ;; 335 mips-dec-bsd*) fmt=aout endian=little ;; 336 mips-sony-bsd*) fmt=ecoff ;; 337 mips-*-bsd*) AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.) ;; 338 mips-*-ultrix*) fmt=ecoff endian=little ;; 339 mips-*-osf*) fmt=ecoff endian=little ;; 340 mips-*-ecoff*) fmt=ecoff ;; 341 mips-*-pe*) fmt=coff endian=little em=pe ;; 342 mips-*-irix6*) fmt=elf ;; 343 mips-*-irix5*) fmt=elf ;; 344 mips-*-irix*) fmt=ecoff ;; 345 mips-*-lnews*) fmt=ecoff em=lnews ;; 346 mips-*-riscos*) fmt=ecoff ;; 347 mips-*-linux-gnu*) 348 fmt=elf em=tmips 349 AC_DEFINE(MIPS_STABS_ELF, 1, 350 [Use ELF stabs for MIPS, not ECOFF stabs]) 351 ;; 352 mips-*-sysv4*MP* | mips-*-gnu*) 353 fmt=elf em=tmips ;; 354 mips-*-sysv*) fmt=ecoff ;; 355 mips-*-elf* | mips-*-rtems* | mips-*-openbsd*) 356 fmt=elf ;; 357 mips-*-vxworks*) fmt=elf 358 AC_DEFINE(MIPS_STABS_ELF, 1, 359 [Use ELF stabs for MIPS, not ECOFF stabs]) 360 ;; 361 mn10200-*-*) fmt=elf bfd_gas=yes ;; 362 mn10300-*-*) fmt=elf bfd_gas=yes ;; 363 pj*) fmt=elf ;; 364 ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*) 365 fmt=coff em=pe ;; 366 ppc-*-aix*) fmt=coff ;; 367 ppc-*-beos*) fmt=coff ;; 368 ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) 369 fmt=elf ;; 370 ppc-*-linux-gnu*) fmt=elf 371 case "$endian" in 372 big) ;; 373 *) AC_MSG_ERROR(GNU/Linux must be configured big endian) ;; 374 esac 375 ;; 376 ppc-*-solaris*) fmt=elf 377 if test ${this_target} = $target; then 378 AC_DEFINE(TARGET_SOLARIS_COMMENT, 1, 379 [Define if default target is PowerPC Solaris.]) 380 fi 381 if test x${endian} = xbig; then 382 AC_MSG_ERROR(Solaris must be configured little endian) 383 fi 384 ;; 385 ppc-*-rtems*) fmt=elf ;; 386 ppc-*-macos* | ppc-*-mpw*) 387 fmt=coff em=macos ;; 388 ppc-*-netware*) fmt=elf em=ppcnw ;; 389 ppc-*-vxworks*) fmt=elf ;; 390 391 sh-*-linux*) fmt=elf em=linux ;; 392 sh-*-elf*) fmt=elf ;; 393 sh-*-coff*) fmt=coff ;; 394 sh-*-pe*) fmt=coff em=pe bfd_gas=yes;; 395 sh-*-rtemself*) fmt=elf ;; 396 sh-*-rtems*) fmt=coff ;; 397 398 ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 399 ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 400 ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; 401 402 sparc-*-rtemsaout*) fmt=aout ;; 403 sparc-*-rtemself*) fmt=elf ;; 404 sparc-*-rtems*) fmt=elf ;; 405 sparc-*-sunos4*) fmt=aout em=sun3 ;; 406 sparc-*-aout | sparc*-*-vxworks*) 407 fmt=aout em=sparcaout ;; 408 sparc-*-coff) fmt=coff ;; 409 sparc-*-linux*aout*) fmt=aout em=linux ;; 410 sparc-*-linux-gnu*) fmt=elf em=linux ;; 411 sparc-*-lynxos*) fmt=coff em=lynx ;; 412 sparc-fujitsu-none) fmt=aout ;; 413 sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*) 414 fmt=elf ;; 415 sparc-*-netbsd*) em=nbsd bfd_gas=yes 416 case ${cpu} in 417 sparc) case ${os} in 418 *elf*) fmt=elf ;; 419 *) fmt=aout ;; 420 esac ;; 421 sparc64) fmt=elf ;; 422 esac 423 ;; 424 sparc-*-openbsd*) fmt=aout em=nbsd ;; 425 426 strongarm-*-coff) fmt=coff ;; 427 strongarm-*-elf) fmt=elf ;; 428 xscale-*-coff) fmt=coff ;; 429 xscale-*-elf) fmt=elf ;; 430 431 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 432 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 433 tic54x-*-* | c54x*-*-*) 434 fmt=coff bfd_gas=yes need_libm=yes;; 435 tic80-*-*) fmt=coff ;; 436 437 v850-*-*) fmt=elf bfd_gas=yes ;; 438 v850e-*-*) fmt=elf bfd_gas=yes ;; 439 v850ea-*-*) fmt=elf bfd_gas=yes ;; 440 441 vax-*-bsd* | vax-*-ultrix*) 442 fmt=aout ;; 443 vax-*-vms) fmt=vms ;; 444 445 446 z8k-*-coff | z8k-*-sim) 447 fmt=coff ;; 448 449 w65-*-*) fmt=coff ;; 450 451 *-*-aout | *-*-scout) 452 fmt=aout ;; 453 *-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;; 454 *-*-nindy*) 455 fmt=bout ;; 456 *-*-bsd*) 457 fmt=aout em=sun3 ;; 458 *-*-generic) fmt=generic ;; 459 *-*-xray | *-*-hms) fmt=coff ;; 460 *-*-sim) fmt=coff ;; 461 *-*-elf | *-*-sysv4* | *-*-solaris*) 462 AC_MSG_WARN(GAS support for ${generic_target} is incomplete.) 463 fmt=elf dev=yes ;; 464 *-*-vxworks) fmt=aout ;; 465 *-*-netware) fmt=elf ;; 359 mips-dec-openbsd*) fmt=elf endian=little ;; 360 mips-dec-bsd*) fmt=aout endian=little ;; 361 mips-sony-bsd*) fmt=ecoff ;; 362 mips-*-bsd*) 363 AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.) ;; 364 mips-*-ultrix*) fmt=ecoff endian=little ;; 365 mips-*-osf*) fmt=ecoff endian=little ;; 366 mips-*-ecoff*) fmt=ecoff ;; 367 mips-*-pe*) fmt=coff endian=little em=pe ;; 368 mips-*-irix6*) fmt=elf em=irix ;; 369 mips-*-irix5*) fmt=elf em=irix ;; 370 mips-*-irix*) fmt=ecoff em=irix ;; 371 mips-*-lnews*) fmt=ecoff em=lnews ;; 372 mips-*-riscos*) fmt=ecoff ;; 373 mips*-*-linux*) fmt=elf em=tmips ;; 374 mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;; 375 mips-*-sysv*) fmt=ecoff ;; 376 mips-*-elf* | mips-*-rtems*) fmt=elf ;; 377 mips-*-netbsd*) fmt=elf ;; 378 mips-*-openbsd*) fmt=elf ;; 379 mips-*-vxworks*) fmt=elf ;; 380 381 mmix-*-*) fmt=elf ;; 382 mn10200-*-*) fmt=elf ;; 383 mn10300-*-*) fmt=elf ;; 384 msp430-*-*) fmt=elf ;; 385 openrisc-*-*) fmt=elf ;; 386 or32-*-rtems*) fmt=coff ;; 387 or32-*-coff) fmt=coff ;; 388 or32-*-elf) fmt=elf ;; 389 pj*) fmt=elf ;; 390 391 ppc-*-pe | ppc-*-cygwin*) fmt=coff em=pe ;; 392 ppc-*-winnt*) fmt=coff em=pe ;; 393 ppc-*-aix5*) fmt=coff em=aix5 ;; 394 ppc-*-aix*) fmt=coff ;; 395 ppc-*-beos*) fmt=coff ;; 396 ppc-*-*n*bsd* | ppc-*-elf*) fmt=elf ;; 397 ppc-*-eabi* | ppc-*-sysv4*) fmt=elf ;; 398 ppc-*-linux-gnu*) fmt=elf 399 case "$endian" in 400 big) ;; 401 *) AC_MSG_ERROR(GNU/Linux must be configured big endian) ;; 402 esac ;; 403 ppc-*-solaris*) fmt=elf 404 if test ${this_target} = $target; then 405 AC_DEFINE(TARGET_SOLARIS_COMMENT, 1, 406 [Define if default target is PowerPC Solaris.]) 407 fi 408 if test x${endian} = xbig; then 409 AC_MSG_ERROR(Solaris must be configured little endian) 410 fi ;; 411 ppc-*-rtems*) fmt=elf ;; 412 ppc-*-macos* | ppc-*-mpw*) fmt=coff em=macos ;; 413 ppc-*-netware*) fmt=elf em=ppcnw ;; 414 ppc-**-nto*) fmt=elf ;; 415 ppc-*-vxworks*) fmt=elf ;; 416 ppc-*-windiss*) fmt=elf ;; 417 ppc-*-kaos*) fmt=elf ;; 418 419 s390x-*-linux-gnu*) fmt=elf em=linux ;; 420 s390-*-linux-gnu*) fmt=elf em=linux ;; 421 422 sh*-*-linux*) fmt=elf em=linux 423 case ${cpu} in 424 sh*eb) endian=big ;; 425 *) endian=little ;; 426 esac ;; 427 sh5*-*-netbsd*) fmt=elf em=nbsd ;; 428 sh64*-*-netbsd*) fmt=elf em=nbsd ;; 429 sh*-*-netbsdelf*) fmt=elf em=nbsd ;; 430 sh-*-elf*) fmt=elf ;; 431 sh-*-coff*) fmt=coff ;; 432 sh-*-nto*) fmt=elf ;; 433 sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; 434 sh-*-rtemself*) fmt=elf ;; 435 sh-*-rtems*) fmt=coff ;; 436 sh-*-kaos*) fmt=elf ;; 437 shle*-*-kaos*) fmt=elf ;; 438 sh64-*-elf*) fmt=elf ;; 439 440 ns32k-pc532-mach*) fmt=aout em=pc532mach ;; 441 ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 442 ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 443 ns32k-*-*n*bsd*) fmt=aout em=nbsd532 ;; 444 445 sparc-*-rtemsaout*) fmt=aout ;; 446 sparc-*-rtemself*) fmt=elf ;; 447 sparc-*-rtems*) fmt=elf ;; 448 sparc-*-sunos4*) fmt=aout em=sun3 ;; 449 sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;; 450 sparc-*-coff) fmt=coff ;; 451 sparc-*-linux*aout*) fmt=aout em=linux ;; 452 sparc-*-linux-gnu*) fmt=elf em=linux ;; 453 sparc-*-lynxos*) fmt=coff em=lynx ;; 454 sparc-fujitsu-none) fmt=aout ;; 455 sparc-*-elf) fmt=elf ;; 456 sparc-*-sysv4*) fmt=elf ;; 457 sparc-*-solaris*) fmt=elf ;; 458 sparc-*-netbsdelf*) fmt=elf em=nbsd ;; 459 sparc-*-*n*bsd*) case ${cpu} in 460 sparc64) fmt=elf em=nbsd ;; 461 *) fmt=aout em=nbsd ;; 462 esac ;; 463 strongarm-*-coff) fmt=coff ;; 464 strongarm-*-elf) fmt=elf ;; 465 strongarm-*-kaos*) fmt=elf ;; 466 xscale-*-coff) fmt=coff ;; 467 xscale-*-elf) fmt=elf ;; 468 469 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 470 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 471 tic4x-*-* | c4x-*-*) fmt=coff bfd_gas=yes ;; 472 tic54x-*-* | c54x*-*-*) fmt=coff bfd_gas=yes need_libm=yes;; 473 tic80-*-*) fmt=coff ;; 474 475 v850-*-*) fmt=elf ;; 476 v850e-*-*) fmt=elf ;; 477 v850ea-*-*) fmt=elf ;; 478 479 vax-*-netbsdelf*) fmt=elf em=nbsd ;; 480 vax-*-netbsd*) fmt=aout em=nbsd ;; 481 vax-*-bsd* | vax-*-ultrix*) fmt=aout ;; 482 vax-*-vms) fmt=vms ;; 483 484 w65-*-*) fmt=coff ;; 485 486 xstormy16-*-*) fmt=elf ;; 487 488 xtensa-*-*) fmt=elf ;; 489 490 z8k-*-coff | z8k-*-sim) fmt=coff ;; 491 492 *-*-aout | *-*-scout) fmt=aout ;; 493 *-*-freebsd*) fmt=elf em=freebsd ;; 494 *-*-nindy*) fmt=bout ;; 495 *-*-bsd*) fmt=aout em=sun3 ;; 496 *-*-generic) fmt=generic ;; 497 *-*-xray | *-*-hms) fmt=coff ;; 498 *-*-sim) fmt=coff ;; 499 *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;; 500 *-*-aros*) fmt=elf em=linux bfd_gas=yes ;; 501 *-*-vxworks) fmt=aout ;; 502 *-*-netware) fmt=elf ;; 466 503 esac 467 504 … … 480 517 481 518 case ${cpu_type}-${fmt} in 482 alpha*-*) bfd_gas=yes ;; 483 arm-*) bfd_gas=yes ;; 484 # not yet 485 # i386-aout) bfd_gas=preferred ;; 486 ia64*-*) bfd_gas=yes ;; 487 mips-*) bfd_gas=yes ;; 488 ns32k-*) bfd_gas=yes ;; 489 ppc-*) bfd_gas=yes ;; 490 sparc-*) bfd_gas=yes ;; 491 strongarm-*) bfd_gas=yes ;; 492 xscale-*) bfd_gas=yes ;; 493 *-elf) bfd_gas=yes ;; 494 *-ecoff) bfd_gas=yes ;; 495 *-som) bfd_gas=yes ;; 496 #enable bfd for coff and aout to allow testing if a bfd target is 497 #the primary target, but not for coff or aout as the primary target 498 i386-coff) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 499 i386-aout) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 500 *) ;; 519 alpha*-* | arm-* | i386-* | ia64*-* | mips-* | ns32k-* \ 520 | pdp11-* | ppc-* | sparc-* | strongarm-* | xscale-* \ 521 | *-elf | *-ecoff | *-som) 522 bfd_gas=yes ;; 501 523 esac 502 524 503 525 # Other random stuff. 526 527 case ${cpu_type} in 528 mips) 529 # Set mips_cpu to the name of the default CPU. 530 case ${target_cpu} in 531 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el) 532 mips_cpu=from-abi 533 ;; 534 mipsisa32 | mipsisa32el) 535 mips_cpu=mips32 536 ;; 537 mipsisa32r2 | mipsisa32r2el) 538 mips_cpu=mips32r2 539 ;; 540 mipsisa64 | mipsisa64el) 541 mips_cpu=mips64 542 ;; 543 mipstx39 | mipstx39el) 544 mips_cpu=r3900 545 ;; 546 mips64vr | mips64vrel) 547 mips_cpu=vr4100 548 ;; 549 mipsisa32r2*) 550 changequote(,)dnl 551 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'` 552 changequote([,])dnl 553 ;; 554 mips64* | mipsisa64* | mipsisa32*) 555 changequote(,)dnl 556 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'` 557 changequote([,])dnl 558 ;; 559 *) 560 AC_ERROR($target_cpu isn't a supported MIPS CPU name) 561 ;; 562 esac 563 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32 564 # binaries. It's a GNU extension that some OSes don't understand. 565 # The value only matters on ELF targets. 566 case ${target} in 567 *-*-irix*) 568 use_e_mips_abi_o32=0 569 ;; 570 *) 571 use_e_mips_abi_o32=1 572 ;; 573 esac 574 # Decide whether to generate 32-bit or 64-bit code by default. 575 # Used to resolve -march=from-abi when an embedded ABI is selected. 576 case ${target} in 577 mips64*-*-* | mipsisa64*-*-*) 578 mips_default_64bit=1 579 ;; 580 *) 581 mips_default_64bit=0 582 ;; 583 esac 584 # Decide which ABI to target by default. 585 case ${target} in 586 mips64*-linux* | mips-sgi-irix6*) 587 mips_default_abi=N32_ABI 588 ;; 589 mips*-linux*) 590 mips_default_abi=O32_ABI 591 ;; 592 *) 593 mips_default_abi=NO_ABI 594 ;; 595 esac 596 AC_DEFINE_UNQUOTED(MIPS_CPU_STRING_DEFAULT, "$mips_cpu", 597 [Default CPU for MIPS targets. ]) 598 AC_DEFINE_UNQUOTED(USE_E_MIPS_ABI_O32, $use_e_mips_abi_o32, 599 [Allow use of E_MIPS_ABI_O32 on MIPS targets. ]) 600 AC_DEFINE_UNQUOTED(MIPS_DEFAULT_64BIT, $mips_default_64bit, 601 [Generate 64-bit code by default on MIPS targets. ]) 602 AC_DEFINE_UNQUOTED(MIPS_DEFAULT_ABI, $mips_default_abi, 603 [Choose a default ABI for MIPS targets. ]) 604 ;; 605 esac 504 606 505 607 # Do we need the opcodes library? … … 525 627 # Any other special object files needed ? 526 628 case ${cpu_type} in 527 fr30 | m32r)629 fr30 | ip2k | iq2000 | m32r | openrisc) 528 630 using_cgen=yes 529 631 ;; 530 632 633 frv) 634 using_cgen=yes 635 ;; 531 636 m68k) 532 637 case ${extra_objects} in … … 537 642 538 643 mips) 539 echo ${extra_objects} | grep -s "itbl-parse.o" 644 echo ${extra_objects} | grep -s "itbl-parse.o" 540 645 if test $? -ne 0 ; then 541 646 extra_objects="$extra_objects itbl-parse.o" 542 647 fi 543 648 544 echo ${extra_objects} | grep -s "itbl-lex.o" 649 echo ${extra_objects} | grep -s "itbl-lex.o" 545 650 if test $? -ne 0 ; then 546 651 extra_objects="$extra_objects itbl-lex.o" 547 652 fi 548 653 549 echo ${extra_objects} | grep -s "itbl-ops.o" 654 echo ${extra_objects} | grep -s "itbl-ops.o" 550 655 if test $? -ne 0 ; then 551 656 extra_objects="$extra_objects itbl-ops.o" … … 553 658 ;; 554 659 555 i386 )660 i386 | s390 | sparc) 556 661 if test $this_target = $target ; then 557 662 AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.]) 558 663 fi 559 664 ;; 560 sparc) 561 if test $this_target = $target ; then 562 AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.]) 665 666 xstormy16) 667 using_cgen=yes 668 ;; 669 670 xtensa) 671 echo ${extra_objects} | grep -s "xtensa-relax.o" 672 if test $? -ne 0 ; then 673 extra_objects="$extra_objects xtensa-relax.o" 563 674 fi 564 675 ;; 676 565 677 *) 566 678 ;; … … 594 706 case ${generic_target}-${fmt} in 595 707 mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;; 596 mips -*-linux-gnu*-*) case "$endian" in597 big) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;598 *) emulation="mipslelf mipsbelf mipself mipslecoff mipsbecoff mipsecoff" ;;708 mips*-*-linux*-*) case "$endian" in 709 big) emulation="mipsbelf mipslelf mipself" ;; 710 *) emulation="mipslelf mipsbelf mipself" ;; 599 711 esac ;; 600 712 mips-*-lnews*-ecoff) ;; … … 651 763 case ${target_cpu} in 652 764 vax | tahoe ) atof=${target_cpu} ;; 765 pdp11) atof=vax ;; 653 766 *) atof=ieee ;; 654 767 esac … … 818 931 yes) 819 932 BFDLIB=../bfd/libbfd.la 820 ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h" 933 BFDVER_H=../bfd/bfdver.h 934 ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h' 821 935 ;; 822 936 esac … … 825 939 AC_SUBST(OPCODES_LIB) 826 940 941 AC_SUBST(BFDVER_H) 827 942 AC_SUBST(ALL_OBJ_DEPS) 828 943 … … 838 953 AM_PROG_LEX 839 954 840 ALL_LINGUAS= 955 ALL_LINGUAS="fr tr es" 841 956 CY_GNU_GETTEXT 842 957 … … 870 985 # do we need the math library? 871 986 case "${need_libm}" in 872 yes) 987 yes) 873 988 AC_CHECK_LIBM 874 989 AC_SUBST(LIBM) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.