diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-01-11 19:17:46 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-01-11 19:18:37 -0800 |
commit | d346bb277c7f194ece73a7200d1ed6417b1194e5 (patch) | |
tree | c3af5663991aff9164495051d0eb3b6e7d1fc0f6 /ld/ChangeLog | |
parent | 2888249fc9eb38b6d6e4bd969ce63c26e3753d5e (diff) | |
download | gdb-d346bb277c7f194ece73a7200d1ed6417b1194e5.zip gdb-d346bb277c7f194ece73a7200d1ed6417b1194e5.tar.gz gdb-d346bb277c7f194ece73a7200d1ed6417b1194e5.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/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 28ce852..5b9e3b9e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,6 +1,23 @@ 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> 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. + +2018-01-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/22393 * NEWS: Mention "-z separate-code". * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get builtin linker scripts and return linker scripts from disk for |