x86: Add -z noseparate-code to IFUNC tests

Add -z noseparate-code since these tests check for exact addresses.

	* testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
	* testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
	* testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-i386.d: Likewise.
This commit is contained in:
H.J. Lu 2018-02-16 09:45:02 -08:00
parent 679a5bc862
commit c9d3eb5f61
8 changed files with 17 additions and 7 deletions

View file

@ -1,3 +1,13 @@
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
* testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
* testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
* testsuite/ld-ifunc/pr17154-i386.d: Likewise.
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add

View file

@ -1,5 +1,5 @@
#source: ifunc-2-i386.s
#ld: -z now -m elf_i386 -shared --hash-style=sysv
#ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*

View file

@ -1,5 +1,5 @@
#source: ifunc-2-local-i386.s
#ld: -z now -m elf_i386 -shared --hash-style=sysv
#ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*

View file

@ -1,5 +1,5 @@
#as: --64
#ld: -shared -melf_x86_64 --hash-style=sysv
#ld: -shared -melf_x86_64 --hash-style=sysv -z noseparate-code
#objdump: -dw
#target: x86_64-*-*

View file

@ -1,4 +1,4 @@
#ld: -m elf_i386
#ld: -m elf_i386 -z noseparate-code
#as: --32 -mrelax-relocations=yes
#objdump: -dw
#target: x86_64-*-* i?86-*-*

View file

@ -1,4 +1,4 @@
#ld: -m elf_i386
#ld: -m elf_i386 -z noseparate-code
#as: --32 -mrelax-relocations=yes
#objdump: -dw
#target: x86_64-*-* i?86-*-*

View file

@ -1,5 +1,5 @@
#source: pr17154-x86.s
#ld: -z now -m elf_i386 -shared --hash-style=sysv
#ld: -z now -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*

View file

@ -1,5 +1,5 @@
#source: pr17154-x86.s
#ld: -m elf_i386 -shared --hash-style=sysv
#ld: -m elf_i386 -shared --hash-style=sysv -z noseparate-code
#as: --32
#objdump: -dw
#target: x86_64-*-* i?86-*-*