aboutsummaryrefslogtreecommitdiff
path: root/ld
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 /ld
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 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/configure.tgt12
2 files changed, 17 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3f6c7fe..d8e21b9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,6 +1,10 @@
+2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * configure.tgt (x86_64-*-netbsd*): New target.
+
2001-12-21 Tom Rix <trix@redhat.com>
- (gld*_create_output_section_statements): New function.
+ (gld*_create_output_section_statements): New function.
For -binitfini support.
* emultempl/aix.em (gld*_before_parse): Fix comment.
* emultempl/aix.em (gld*_parse_args): Fix comment.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index d8a1e30..3522d16 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -159,6 +159,18 @@ i[3456]86-*-netbsdelf*) targ_emul=elf_i386
i[3456]86-*-netbsd*) targ_emul=i386nbsd
targ_extra_emuls=elf_i386
;;
+x86_64-*-netbsd*) targ_emul=elf_x86_64
+ targ_extra_emuls="elf_i386 i386nbsd"
+ tdir_elf_i386=`echo ${targ_alias} | \
+ sed -e 's/x86_64/i386/'`
+ case "${tdir_elf_i386}" in
+ *-netbsdelf*) ;;
+ *)
+ tdir_elf_i386=`echo ${tdir_elf_i386} | \
+ sed -e 's/netbsd/netbsdelf/'`
+ ;;
+ esac
+ ;;
i[3456]86-*-netware) targ_emul=i386nw ;;
i[3456]86-*-elf*) targ_emul=elf_i386 ;;
i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12])