aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/configure.tgt5
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8ea8296..d33b434 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
+ * configure.tgt: Support x86_64-*-linux-gnux32.
+
+2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
+
* config/tc-i386.c (match_template): Add `instruction' to
unsupported error message.
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 ;;