diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-12-13 12:09:39 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-12-13 12:13:34 -0800 |
commit | 14aa4ee440f85a0e4d86b7adb50c93bbf0b7fc5b (patch) | |
tree | bdacc899d360e4ac32cf5d54dd5413dceebbaf7b /ld/testsuite/ld-x86-64/pr19609-6b.d | |
parent | 408db576c98b232de0b1a1ee3495bad0d1c704cf (diff) | |
download | gdb-14aa4ee440f85a0e4d86b7adb50c93bbf0b7fc5b.zip gdb-14aa4ee440f85a0e4d86b7adb50c93bbf0b7fc5b.tar.gz gdb-14aa4ee440f85a0e4d86b7adb50c93bbf0b7fc5b.tar.bz2 |
x86: Adjust linker tests for --disable-separate-code
Adjust linker tests for linker configured with --disable-separate-code:
1. Update expected outputs.
2. Pass -z max-page-size=0x1000 -z separate-code" to linker.
* testsuite/ld-i386/report-reloc-1.l: Updated.
* testsuite/ld-x86-64/report-reloc-1.l: Likewise.
* testsuite/ld-x86-64/pe-x86-64.exp: Pass
"-z max-page-size=0x1000 -z separate-code" to linker.
* testsuite/ld-x86-64/pr19609-4e.d: Likewise.
* testsuite/ld-x86-64/pr19609-6a.d: Likewise.
* testsuite/ld-x86-64/pr19609-6b.d: Likewise.
* testsuite/ld-x86-64/pr19609-7b.d: Likewise.
* testsuite/ld-x86-64/pr19609-7d.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19609-6b.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr19609-6b.d | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19609-6b.d b/ld/testsuite/ld-x86-64/pr19609-6b.d index 1f769ef..2723fb1 100644 --- a/ld/testsuite/ld-x86-64/pr19609-6b.d +++ b/ld/testsuite/ld-x86-64/pr19609-6b.d @@ -1,6 +1,6 @@ #source: pr19609-6.s #as: --64 -mrelax-relocations=yes -#ld: -melf_x86_64 --defsym foobar=0x80000000 --no-relax +#ld: -melf_x86_64 --defsym foobar=0x80000000 --no-relax -z max-page-size=0x1000 -z separate-code #objdump: -dw .*: +file format .* |