PR22263 testcase
authorAlan Modra <amodra@gmail.com>
Fri, 13 Oct 2017 04:53:35 +0000 (15:23 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 13 Oct 2017 13:45:44 +0000 (00:15 +1030)
commit354bac403e9a19bbbfb676d854db5f11f0e84c27
treecf07f3f9f14767254c8abfbe908755030e749044
parent9e86da0760aa1e52178cc5b90cd92a7cd4a338f9
PR22263 testcase

A number of targets need dynamic relocs in PIEs for reasons other than
relocating thread variables.  The PR is about text relocations, and,
reading between the lines, unnecessary dynamic tprel relocations.
Change the test to check for those conditions rather than no dynamic
relocations

PR ld/22263
* testsuite/ld-elf/tls.exp: Link with -z text.
* testsuite/ld-elf/pr22263-1.rd: Test for tprel relocs.
ld/ChangeLog
ld/testsuite/ld-elf/pr22263-1.rd
ld/testsuite/ld-elf/tls.exp