Add -z noseparate-code to ld-elf tests

These tests fail due to one extra PT_LOAD segment with -z separate-code.

	* testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
	* testsuite/ld-elf/textaddr1.d: Likewise.
	* testsuite/ld-elf/textaddr2.d: Likewise.
	* testsuite/ld-elf/textaddr4.d: Likewise.
	* testsuite/ld-elf/textaddr6.d: Likewise.
This commit is contained in:
H.J. Lu 2018-02-16 06:25:36 -08:00
parent d00dd7dc5e
commit 75cdede099
6 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
* testsuite/ld-elf/textaddr1.d: Likewise.
* testsuite/ld-elf/textaddr2.d: Likewise.
* testsuite/ld-elf/textaddr4.d: Likewise.
* testsuite/ld-elf/textaddr6.d: Likewise.
2018-02-15 Jim Wilson <jimw@sifive.com>
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.

View File

@ -1,6 +1,6 @@
#source: pr19162a.s
#source: pr19162b.s
#ld: -shared -z max-page-size=0x200000
#ld: -shared -z max-page-size=0x200000 -z noseparate-code
#readelf: -l --wide
#target: *-*-linux* *-*-gnu* *-*-nacl*
#notarget: arc*-*-* hppa*-*-*

View File

@ -1,5 +1,5 @@
#source: maxpage1.s
#ld: -Ttext-segment 0x7000000 -z max-page-size=0x200000
#ld: -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu*

View File

@ -1,5 +1,5 @@
#source: maxpage1.s
#ld: -shared -Ttext-segment 0x7000000 -z max-page-size=0x200000
#ld: -shared -Ttext-segment 0x7000000 -z max-page-size=0x200000 -z noseparate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu*

View File

@ -1,5 +1,5 @@
#source: maxpage1.s
#ld: -z max-page-size=0x10000 -Ttext-segment 0x10000
#ld: -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu*

View File

@ -1,5 +1,5 @@
#source: maxpage1.s
#ld: -shared -z max-page-size=0x10000 -Ttext-segment 0x10000
#ld: -shared -z max-page-size=0x10000 -Ttext-segment 0x10000 -z noseparate-code
#readelf: -l --wide
#target: *-*-linux-gnu *-*-gnu*