This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed, PATCH] ld: Replace "-z textonly" with "-z separate-code"
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Thu, 11 Jan 2018 20:48:06 -0800
- Subject: [committed, PATCH] ld: Replace "-z textonly" with "-z separate-code"
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Although they aren't passed to linker, we should get it right.
* testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
"-z separate-code".
* testsuite/ld-elf/pr22393-2b.rd: Likewise.
* testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
* testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
---
ld/ChangeLog | 8 ++++++++
ld/testsuite/ld-elf/pr22393-2a.rd | 2 +-
ld/testsuite/ld-elf/pr22393-2b.rd | 2 +-
ld/testsuite/ld-x86-64/pr22393-3a.rd | 2 +-
ld/testsuite/ld-x86-64/pr22393-3b.rd | 2 +-
5 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 6002fbfd10..19e34dadc1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
+ "-z separate-code".
+ * testsuite/ld-elf/pr22393-2b.rd: Likewise.
+ * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
+ * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
+
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
PR ld/22393
diff --git a/ld/testsuite/ld-elf/pr22393-2a.rd b/ld/testsuite/ld-elf/pr22393-2a.rd
index b7ba110095..0050f1bdad 100644
--- a/ld/testsuite/ld-elf/pr22393-2a.rd
+++ b/ld/testsuite/ld-elf/pr22393-2a.rd
@@ -1,5 +1,5 @@
#source: pr22393-1.s
-#ld: -shared -z textonly
+#ld: -shared -z separate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu* *-*-nacl*
diff --git a/ld/testsuite/ld-elf/pr22393-2b.rd b/ld/testsuite/ld-elf/pr22393-2b.rd
index b7ba110095..0050f1bdad 100644
--- a/ld/testsuite/ld-elf/pr22393-2b.rd
+++ b/ld/testsuite/ld-elf/pr22393-2b.rd
@@ -1,5 +1,5 @@
#source: pr22393-1.s
-#ld: -shared -z textonly
+#ld: -shared -z separate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu* *-*-nacl*
diff --git a/ld/testsuite/ld-x86-64/pr22393-3a.rd b/ld/testsuite/ld-x86-64/pr22393-3a.rd
index b7ba110095..0050f1bdad 100644
--- a/ld/testsuite/ld-x86-64/pr22393-3a.rd
+++ b/ld/testsuite/ld-x86-64/pr22393-3a.rd
@@ -1,5 +1,5 @@
#source: pr22393-1.s
-#ld: -shared -z textonly
+#ld: -shared -z separate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu* *-*-nacl*
diff --git a/ld/testsuite/ld-x86-64/pr22393-3b.rd b/ld/testsuite/ld-x86-64/pr22393-3b.rd
index b7ba110095..0050f1bdad 100644
--- a/ld/testsuite/ld-x86-64/pr22393-3b.rd
+++ b/ld/testsuite/ld-x86-64/pr22393-3b.rd
@@ -1,5 +1,5 @@
#source: pr22393-1.s
-#ld: -shared -z textonly
+#ld: -shared -z separate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu* *-*-nacl*
--
2.14.3