old-cross-binutils/ld/testsuite/ld-powerpc/tocnovar.d
Alan Modra 2ab52ca58f Accept odd result in ld-powerpc/tocnovar testcase
I didn't commit this with the relro and powerpc .TOC. changes,
thinking that something should be done about the odd result of
.shstrtab appearing in PT_GNU_RELRO.  On looking at it further,
I think that changing readelf would be wrong, so let's just
accept the results.  Real binaries will always have other sections
past .got, so PT_GNU_RELRO won't finish past the end of loaded
sections.

	* ld-powerpc/tocnovar.d: Adjust.
2015-04-23 13:28:53 +09:30

14 lines
199 B
Makefile

#source: tocnovar.s
#as: -a64
#ld: -melf64ppc -z relro
#readelf: -l --wide
#target: powerpc64*-*-*
#...
+LOAD .*
+LOAD .*
+GNU_RELRO .*
#...
+00 +\.text
+01 +\.opd \.got
+02 +\.opd \.got .*