aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-04 20:01:03 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-04 20:01:03 +0000
commit3c99554527e111da0d70113852cad436c9a9d688 (patch)
tree860b44bc88c8859f412d2e3f921ad2afc60d2ce6 /ld/configure.tgt
parent35262a230c8965864f39e160f901bece95f853c2 (diff)
downloadgdb-3c99554527e111da0d70113852cad436c9a9d688.zip
gdb-3c99554527e111da0d70113852cad436c9a9d688.tar.gz
gdb-3c99554527e111da0d70113852cad436c9a9d688.tar.bz2
Support x86_64-*-linux-gnux32
gas/ * configure.tgt: Support x86_64-*-linux-gnux32. ld/ * configure.tgt: Support x86_64-*-linux-gnux32. ld/testsuite/ * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32. * ld-shared/shared.exp: Likewise. * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index d7ad3ba..4171d8c 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -204,6 +204,11 @@ i[3-7]86-*-linux-*) targ_emul=elf_i386
targ64_extra_libpath=elf_x86_64
targ_extra_libpath=elf32_x86_64
tdir_i386linux=${targ_alias}aout ;;
+x86_64-*-linux-gnux32) targ_emul=elf32_x86_64
+ targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om"
+ targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om"
+ tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'`
+ tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;;
x86_64-*-linux-*) targ_emul=elf_x86_64
targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om"
targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om"