aboutsummaryrefslogtreecommitdiff
path: root/gas/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 /gas/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 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 99de3d7..e07bc55 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -205,7 +205,10 @@ case ${generic_target} in
i386-*-linux*aout*) fmt=aout em=linux ;;
i386-*-linux*oldld) fmt=aout em=linux ;;
i386-*-linux*coff*) fmt=coff em=linux ;;
- i386-*-linux-*) fmt=elf em=linux ;;
+ i386-*-linux-*) fmt=elf em=linux
+ case ${cpu}-${os} in
+ x86_64*-linux-gnux32) arch=x86_64:32 ;;
+ esac ;;
i386-*-lynxos*) fmt=elf em=lynx ;;
i386-*-sysv[45]*) fmt=elf ;;
i386-*-solaris*) fmt=elf em=solaris ;;