aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-04-24 18:58:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-04-24 18:58:14 +0000
commit05567e3d0b0f3d8811997497aca9cde51100c9ec (patch)
tree91fafbf48956181bb734df237680b91bf85685c9 /gas
parent3cf62c1d5c6456a65214498f311bdb7d2a796567 (diff)
downloadgdb-05567e3d0b0f3d8811997497aca9cde51100c9ec.zip
gdb-05567e3d0b0f3d8811997497aca9cde51100c9ec.tar.gz
gdb-05567e3d0b0f3d8811997497aca9cde51100c9ec.tar.bz2
Enable x32 for x86_64-*-elf*
This patch enables x32 for x86_64-*-elf* for embedded target and disables rex tests since it uses '/' as prefix separator which is `\' for x86_64-*-elf*. bfd/ * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for x86_64-*-elf*. gas/testsuite/ * gas/i386/rex.d: Skip x86_64-*-elf*. * gas/i386/ilp32/rex.d: Likewise. ld/ * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for x86_64-*-elf*. (targ_extra_libpath): Likewise. (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/ilp32/rex.d1
-rw-r--r--gas/testsuite/gas/i386/rex.d1
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 546c2ab..48ef178 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/i386/rex.d: Skip x86_64-*-elf*.
+ * gas/i386/ilp32/rex.d: Likewise.
+
2013-04-15 Julian Brown <julian@codesourcery.com>
* gas/all/gas.exp (sleb128-7): Don't run for tic4x, tic54x.
diff --git a/gas/testsuite/gas/i386/ilp32/rex.d b/gas/testsuite/gas/i386/ilp32/rex.d
index 7c704c9..36241c1 100644
--- a/gas/testsuite/gas/i386/ilp32/rex.d
+++ b/gas/testsuite/gas/i386/ilp32/rex.d
@@ -1,6 +1,7 @@
#source: ../rex.s
#objdump: -dw
#name: x86-64 (ILP32) manual rex prefix use
+#not-target: x86_64-*-elf*
.*: +file format .*
diff --git a/gas/testsuite/gas/i386/rex.d b/gas/testsuite/gas/i386/rex.d
index bf783c6..3c52e16 100644
--- a/gas/testsuite/gas/i386/rex.d
+++ b/gas/testsuite/gas/i386/rex.d
@@ -1,5 +1,6 @@
#objdump: -dw
#name: x86-64 manual rex prefix use
+#not-target: x86_64-*-elf*
.*: +file format .*