diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-02-16 09:39:07 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-02-16 09:39:22 -0800 |
commit | 679a5bc8624a8d4bd96ca62c27f7ac8c4342bf20 (patch) | |
tree | cdaef6f63c5191381926861a6c472cfee4634af7 /ld/testsuite/ld-ifunc | |
parent | 62e2b91b9ae508a9f875fb7f15c2173dbbfa6f25 (diff) | |
download | gdb-679a5bc8624a8d4bd96ca62c27f7ac8c4342bf20.zip gdb-679a5bc8624a8d4bd96ca62c27f7ac8c4342bf20.tar.gz gdb-679a5bc8624a8d4bd96ca62c27f7ac8c4342bf20.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-ifunc')
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-2-x86-64.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-21-x86-64.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-22-x86-64.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/pr17154-x86-64-now.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/pr17154-x86-64.d | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d b/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d index d93709c..e466ef6 100644 --- a/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d +++ b/ld/testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d @@ -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* diff --git a/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d b/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d index 2328679..261f056 100644 --- a/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d +++ b/ld/testsuite/ld-ifunc/ifunc-2-x86-64-now.d @@ -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* diff --git a/ld/testsuite/ld-ifunc/ifunc-2-x86-64.d b/ld/testsuite/ld-ifunc/ifunc-2-x86-64.d index b776b33..673b832 100644 --- a/ld/testsuite/ld-ifunc/ifunc-2-x86-64.d +++ b/ld/testsuite/ld-ifunc/ifunc-2-x86-64.d @@ -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-*-* diff --git a/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d b/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d index fd42acc..dbddc55 100644 --- a/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d +++ b/ld/testsuite/ld-ifunc/ifunc-21-x86-64.d @@ -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-*-* diff --git a/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d b/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d index fd42acc..dbddc55 100644 --- a/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d +++ b/ld/testsuite/ld-ifunc/ifunc-22-x86-64.d @@ -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-*-* diff --git a/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d b/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d index 60edb9e..da5d7ce 100644 --- a/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d +++ b/ld/testsuite/ld-ifunc/pr17154-x86-64-now.d @@ -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* diff --git a/ld/testsuite/ld-ifunc/pr17154-x86-64.d b/ld/testsuite/ld-ifunc/pr17154-x86-64.d index b3d7ed0..737fb25 100644 --- a/ld/testsuite/ld-ifunc/pr17154-x86-64.d +++ b/ld/testsuite/ld-ifunc/pr17154-x86-64.d @@ -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-*-* |