x86: Adjust linker tests for --disable-separate-code
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 13 Dec 2021 20:09:39 +0000 (12:09 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 13 Dec 2021 20:13:34 +0000 (12:13 -0800)
commit14aa4ee440f85a0e4d86b7adb50c93bbf0b7fc5b
treebdacc899d360e4ac32cf5d54dd5413dceebbaf7b
parent408db576c98b232de0b1a1ee3495bad0d1c704cf
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.
ld/testsuite/ld-i386/report-reloc-1.l
ld/testsuite/ld-x86-64/pe-x86-64.exp
ld/testsuite/ld-x86-64/pr19609-4e.d
ld/testsuite/ld-x86-64/pr19609-6a.d
ld/testsuite/ld-x86-64/pr19609-6b.d
ld/testsuite/ld-x86-64/pr19609-7b.d
ld/testsuite/ld-x86-64/pr19609-7d.d
ld/testsuite/ld-x86-64/report-reloc-1.l