diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-11-13 12:47:38 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-01-09 09:28:59 -0800 |
commit | 37c28ba4dc86613d510cd8fafc16f2993a11254e (patch) | |
tree | 6bfe547d94ed9fb4ead76d48bd0a5430e16fcf48 /ld/testsuite/ld-elf/pr17068e.s | |
parent | 75f88a3cce479cad61b460efe2273997acb6b474 (diff) | |
download | gdb-37c28ba4dc86613d510cd8fafc16f2993a11254e.zip gdb-37c28ba4dc86613d510cd8fafc16f2993a11254e.tar.gz gdb-37c28ba4dc86613d510cd8fafc16f2993a11254e.tar.bz2 |
ld: Add tests for -z separate-code and -z noseparate-code
Verify that -z separate-code works and -z noseparate-code doesn't disable
-z relro.
PR ld/22393
* testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
* testsuite/ld-elf/pr22393-1.s: New file.
* testsuite/ld-elf/pr22393-1a.d: Likewise.
* testsuite/ld-elf/pr22393-1b.d: Likewise.
* testsuite/ld-elf/pr22393-1c.d: Likewise.
* testsuite/ld-elf/pr22393-1d.d: Likewise.
* testsuite/ld-elf/pr22393-1e.d: Likewise.
* testsuite/ld-elf/pr22393-1f.d: Likewise.
* testsuite/ld-elf/pr22393-2a.c: Likewise.
* testsuite/ld-elf/pr22393-2a.rd: Likewise.
* testsuite/ld-elf/pr22393-2b.c: Likewise.
* testsuite/ld-elf/pr22393-2b.rd: Likewise.
* testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
Diffstat (limited to 'ld/testsuite/ld-elf/pr17068e.s')
0 files changed, 0 insertions, 0 deletions