ld: Replace "-z textonly" with "-z separate-code"

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.
This commit is contained in:
H.J. Lu 2018-01-11 20:46:01 -08:00
parent cf9e7f1f07
commit 33eff4ce18
5 changed files with 12 additions and 4 deletions

View 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

View 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*

View 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*

View 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*

View 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*