diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-12 14:41:22 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-12 14:55:01 -0700 |
commit | 74ffa566739c7e98568a9aa8b5ab8d8f3730d30d (patch) | |
tree | 5c0589c5e2a8bd184a02a867740062666d005964 /ld/testplug4.c | |
parent | a900ff724a725ea951ba8b17232577e1a4b4866e (diff) | |
download | gdb-74ffa566739c7e98568a9aa8b5ab8d8f3730d30d.zip gdb-74ffa566739c7e98568a9aa8b5ab8d8f3730d30d.tar.gz gdb-74ffa566739c7e98568a9aa8b5ab8d8f3730d30d.tar.bz2 |
Add a compile-time test for PR ld/22263
This compile-time test requires a target C compiler to run. It fails
on many targets where ELF backend linkers incorrectly check bfd_link_pic
for TLS relocations, which should check bfd_link_executable instead.
PR ld/22263
* testsuite/ld-elf/pr22263-1.rd: New file.
* testsuite/ld-elf/pr22263-1a.c: Likewise.
* testsuite/ld-elf/pr22263-1b.c: Likewise.
* testsuite/ld-elf/tls.exp: Likewise.
Diffstat (limited to 'ld/testplug4.c')
0 files changed, 0 insertions, 0 deletions