ld: Replace "-z textonly" with "-z separate-code"
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 12 Jan 2018 04:46:01 +0000 (20:46 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 12 Jan 2018 04:46:01 +0000 (20:46 -0800)
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
ld/testsuite/ld-elf/pr22393-2a.rd
ld/testsuite/ld-elf/pr22393-2b.rd
ld/testsuite/ld-x86-64/pr22393-3a.rd
ld/testsuite/ld-x86-64/pr22393-3b.rd

index 6002fbf..19e34da 100644 (file)
@@ -1,5 +1,13 @@
 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
        * testsuite/ld-x86-64/pr22393-3a.c: New file.
        * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
index b7ba110..0050f1b 100644 (file)
@@ -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*
 
index b7ba110..0050f1b 100644 (file)
@@ -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*
 
index b7ba110..0050f1b 100644 (file)
@@ -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*
 
index b7ba110..0050f1b 100644 (file)
@@ -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*