This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Pass -m elf_x86_64 to ld for 64-bit test
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 30 Sep 2015 17:22:18 -0000
- Subject: [binutils-gdb] Pass -m elf_x86_64 to ld for 64-bit test
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b8836e409ea9619d9886bfa920b93392decf5be0
commit b8836e409ea9619d9886bfa920b93392decf5be0
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Sep 30 10:19:23 2015 -0700
Pass -m elf_x86_64 to ld for 64-bit test
* ld-x86-64/pr19013.d (ld): Add -m elf_x86_64.
Diff:
---
ld/testsuite/ChangeLog | 4 ++++
ld/testsuite/ld-x86-64/pr19013.d | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
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*