aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-09-30 10:19:23 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-09-30 10:20:34 -0700
commitb8836e409ea9619d9886bfa920b93392decf5be0 (patch)
tree0b57012befbcc1ce96fcd1018561da7284d3ec15 /ld
parent6ab24463cb63af792c958ab4455d630b5936f1b1 (diff)
downloadgdb-b8836e409ea9619d9886bfa920b93392decf5be0.zip
gdb-b8836e409ea9619d9886bfa920b93392decf5be0.tar.gz
gdb-b8836e409ea9619d9886bfa920b93392decf5be0.tar.bz2
Pass -m elf_x86_64 to ld for 64-bit test
* ld-x86-64/pr19013.d (ld): Add -m elf_x86_64.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-x86-64/pr19013.d2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9c77301..e73d09f 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
+ * ld-x86-64/pr19013.d (ld): Add -m elf_x86_64.
+
+2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/19031
* ld-i386/i386.exp: Run PR ld/19031 test.
* ld/testsuite/ld-i386/pr19031.out: New file.
diff --git a/ld/testsuite/ld-x86-64/pr19013.d b/ld/testsuite/ld-x86-64/pr19013.d
index 9b1473a..554e6e8 100644
--- a/ld/testsuite/ld-x86-64/pr19013.d
+++ b/ld/testsuite/ld-x86-64/pr19013.d
@@ -1,5 +1,5 @@
#as: --64
-#ld: --oformat elf32-i386
+#ld: --oformat elf32-i386 -m elf_x86_64
#objdump: -s -j .rodata
#notarget: x86_64-*-nacl*