aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2022-12-25 20:20:58 -0500
committerAlan Modra <amodra@gmail.com>2022-12-26 22:50:24 +1030
commitaac7ae599a19c80cafb0eba4a52d2500aabcbaeb (patch)
treeb77b956ae3368840d5621ec4ea78103ef8a53445 /ld
parent13cca0074bea87660276e8b9b9d54e7f2dd5c959 (diff)
downloadgdb-aac7ae599a19c80cafb0eba4a52d2500aabcbaeb.zip
gdb-aac7ae599a19c80cafb0eba4a52d2500aabcbaeb.tar.gz
gdb-aac7ae599a19c80cafb0eba4a52d2500aabcbaeb.tar.bz2
Add support for x86_64-*-gnu-* targets to build x86_64 gnumach/hurd
Diffstat (limited to 'ld')
-rw-r--r--ld/configure.tgt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 5971866..c2f3ede 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -1058,6 +1058,11 @@ x86_64-*-mingw*) targ_emul=i386pep ;
targ_extra_emuls=i386pe
targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o"
;;
+x86_64-*-gnu*) targ_emul=elf_x86_64
+ targ_extra_emuls="elf32_x86_64 elf_iamcu elf_i386"
+ targ_extra_libpath="elf_i386 elf32_x86_64"
+ tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
+ ;;
xgate-*-*) targ_emul=xgateelf
targ_extra_ofiles=ldelfgen.o
;;