aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-01-04 14:49:06 +0000
committerAndreas Jaeger <aj@suse.de>2002-01-04 14:49:06 +0000
commit8a8b2d4b4aeee0ab5ab6e19cbaa6999403585015 (patch)
treee2d18f71defe99c6d424a6debc0ddc67eb94d88d /gas/configure.in
parentf23631e4447c390d81cd0dcf027b34077d2125b9 (diff)
downloadgdb-8a8b2d4b4aeee0ab5ab6e19cbaa6999403585015.zip
gdb-8a8b2d4b4aeee0ab5ab6e19cbaa6999403585015.tar.gz
gdb-8a8b2d4b4aeee0ab5ab6e19cbaa6999403585015.tar.bz2
bfd:
* config.bfd (x86_64-*-netbsd*): New target. * configure.in (x86_64-*-netbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerated. gas: * configure.in (i386-*-netbsdelf*): Collapse target into... (i386-*-netbsd*): ...this. Add support for x86-64. * configure: Regenerated. ld: * configure.tgt (x86_64-*-netbsd*): New target.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 0448081..b73098e 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -246,8 +246,16 @@ changequote([,])dnl
i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;;
i386-*-bsd*) fmt=aout em=386bsd ;;
i386-*-netbsd0.8) fmt=aout em=386bsd ;;
- i386-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes ;;
- i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;;
+ i386-*-netbsd*) em=nbsd bfd_gas=yes
+ case ${cpu} in
+ x86_64) fmt=elf ;;
+ *) case ${os} in
+ *elf*) fmt=elf ;;
+ *) fmt=aout ;;
+ esac
+ ;;
+ esac
+ ;;
i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;;
i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;;
i386-*-linux*coff*) fmt=coff em=linux ;;