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 6002fbfd10febc62b284b5a223bd617a834bd3fe..19e34dadc162053bcbbd00a3367ea1024a8e73d8 100644 (file)
@@ -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
index b7ba1100952eedb55be6ecc516a3b8b3b537560b..0050f1bdad25ec0bb0a66f1a412a0f67aa7c366f 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 b7ba1100952eedb55be6ecc516a3b8b3b537560b..0050f1bdad25ec0bb0a66f1a412a0f67aa7c366f 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 b7ba1100952eedb55be6ecc516a3b8b3b537560b..0050f1bdad25ec0bb0a66f1a412a0f67aa7c366f 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 b7ba1100952eedb55be6ecc516a3b8b3b537560b..0050f1bdad25ec0bb0a66f1a412a0f67aa7c366f 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*