This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed, PATCH] Pass -m elf_x86_64 to ld for 64-bit test
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Wed, 30 Sep 2015 10:51:41 -0700
- Subject: [committed, PATCH] Pass -m elf_x86_64 to ld for 64-bit test
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
* ld-x86-64/pr19013.d (ld): Add -m elf_x86_64.
---
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*
--
2.4.3