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 /gdb/testsuite/gdb.ada | |
parent | 75f88a3cce479cad61b460efe2273997acb6b474 (diff) | |
download | binutils-gdb-37c28ba4dc86613d510cd8fafc16f2993a11254e.tar.gz |
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 'gdb/testsuite/gdb.ada')
0 files changed, 0 insertions, 0 deletions