aboutsummaryrefslogtreecommitdiff
path: root/gold/resolve.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-11-13 12:47:38 -0800
committerH.J. Lu <hjl.tools@gmail.com>2018-01-11 05:29:05 -0800
commit57b3b752a9bcbcb8e2d707334f0b8e328049d0f2 (patch)
treec216598574ca5c60f03307beaa717668a2c26ba8 /gold/resolve.cc
parent007a829fe13389c1f1e7db8259ec18ba30d07089 (diff)
downloadgdb-57b3b752a9bcbcb8e2d707334f0b8e328049d0f2.zip
gdb-57b3b752a9bcbcb8e2d707334f0b8e328049d0f2.tar.gz
gdb-57b3b752a9bcbcb8e2d707334f0b8e328049d0f2.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 'gold/resolve.cc')
0 files changed, 0 insertions, 0 deletions