binutils-gdb/ld/testsuite/ld-elf/pr22263-1.rd
Alan Modra 354bac403e 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.
2017-10-14 00:15:44 +10:30

6 lines
71 B
R

# tprel relocs are not needed in a PIE
#failif
#...
.* R_.*_TP.*
#pass