binutils-gdb/ld/testsuite/ld-elf/pr22269-1.rd
Alan Modra ef0cc92e9c Don't allow RELATIVE relocs in pr22269 testcase
At least, not in the GOT.  R_PPC64_RELATIVE is fine for powerpc64 in
the .opd section.

	PR 22269
	* testsuite/ld-elf/pr22269-1.rd: Look for GOT section NONE and
	RELATIVE relocs.
	* testsuite/ld-elf/shared.exp (pr22269-1): Give test a better
	name.  Use -z nocombreloc.
2019-10-22 11:46:53 +10:30

8 lines
182 B
R

# There should not be any NONE or RELATIVE relocs for foo
#failif
#...
Relocation section '\.rela?\.got' .*
Offset +Info +Type .*
[0-9a-f]+ +[0-9a-f]+ +R_.*_(NONE|RELATIVE).*
#pass