x86-64: Add -z max-page-size=0x200000 -z noseparate-code to IFUNC tests

Add -z max-page-size=0x200000 -z noseparate-code since these tests
check for exact addresses.

	* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
	 -z max-page-size=0x200000 -z noseparate-code.
	* testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
This commit is contained in:
H.J. Lu 2018-02-16 09:39:07 -08:00
parent 62e2b91b9a
commit 679a5bc862
8 changed files with 18 additions and 7 deletions

View file

@ -1,3 +1,14 @@
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
-z max-page-size=0x200000 -z noseparate-code.
* testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
* testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
* testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.

View file

@ -1,6 +1,6 @@
#source: ifunc-2-local-x86-64.s
#as: --64
#ld: -z now -shared -melf_x86_64 --hash-style=sysv
#ld: -z now -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
#objdump: -dw
#target: x86_64-*-*
#notarget: x86_64-*-nacl*

View file

@ -1,6 +1,6 @@
#source: ifunc-2-x86-64.s
#as: --64
#ld: -z now -shared -melf_x86_64 --hash-style=sysv
#ld: -z now -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
#objdump: -dw
#target: x86_64-*-*
#notarget: x86_64-*-nacl*

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 max-page-size=0x200000 -z noseparate-code
#objdump: -dw
#target: x86_64-*-*

View file

@ -1,5 +1,5 @@
#as: --64 -mrelax-relocations=yes
#ld: -melf_x86_64
#ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
#objdump: -dw
#target: x86_64-*-*

View file

@ -1,5 +1,5 @@
#as: --64 -mrelax-relocations=yes
#ld: -melf_x86_64
#ld: -melf_x86_64 -z max-page-size=0x200000 -z noseparate-code
#objdump: -dw
#target: x86_64-*-*

View file

@ -1,6 +1,6 @@
#source: pr17154-x86.s
#as: --64
#ld: -z now -shared -melf_x86_64 --hash-style=sysv
#ld: -z now -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
#objdump: -dw
#target: x86_64-*-*
#notarget: x86_64-*-nacl*

View file

@ -1,6 +1,6 @@
#source: pr17154-x86.s
#as: --64
#ld: -shared -melf_x86_64 --hash-style=sysv
#ld: -shared -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
#objdump: -dw
#target: x86_64-*-*