aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-03-15 14:14:08 +0000
committerNick Clifton <nickc@redhat.com>2005-03-15 14:14:08 +0000
commit34723071b54c6f1bcc8e705c978efa3ddb47f2b2 (patch)
treea97fb26590942f57185415dc7c1d326451f4b593
parent5862107c33031d3a5ec20582e3f55cd2b2d21675 (diff)
downloadgdb-34723071b54c6f1bcc8e705c978efa3ddb47f2b2.zip
gdb-34723071b54c6f1bcc8e705c978efa3ddb47f2b2.tar.gz
gdb-34723071b54c6f1bcc8e705c978efa3ddb47f2b2.tar.bz2
Add support for an x86_64-elf target
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/config.bfd4
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.tgt4
4 files changed, 16 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d099118..c69b076 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-15 Mikkel Krautz <krautz@gmail.com>
+
+ * config.bfd (x86_64-elf): Add target.
+
2005-03-15 Alan Modra <amodra@bigpond.net.au>
* po/es.po: Commit new Spanish translation.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 52abbc6..41b953c 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -535,6 +535,10 @@ case "${targ}" in
targ64_selvecs=bfd_elf64_x86_64_vec
;;
#ifdef BFD64
+ x86_64-*-elf*)
+ targ_defvec=bfd_elf64_x86_64_vec
+ targ_selvecs="bfd_elf32_i386_vec i386coff_vec"
+ ;;
x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec"
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 26ca890..c093dab 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-15 Mikkel Krautz <krautz@gmail.com>
+
+ * configure.tgt (x86_64-elf): Add target.
+
2005-03-15 Alan Modra <amodra@bigpond.net.au>
* po/es.po: Commit new Spanish translation.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 183445f..486e21f 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -202,6 +202,10 @@ x86_64-*-netbsd*) targ_emul=elf_x86_64
;;
i[3-7]86-*-netware) targ_emul=i386nw ;;
i[3-7]86-*-elf*) targ_emul=elf_i386 ;;
+x86_64-*-elf*)
+ targ_emul=elf_x86_64
+ targ_extra_emuls=elf_i386
+ ;;
i[3-7]86-*-kaos*) targ_emul=elf_i386 ;;
i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12])
targ_emul=i386bsd ;;