Add a compile-time test for PR ld/22263
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Oct 2017 21:41:22 +0000 (14:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Oct 2017 21:55:01 +0000 (14:55 -0700)
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.


No differences found
This page took 0.023258 seconds and 4 git commands to generate.