2ab52ca58f
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.
14 lines
199 B
Makefile
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 .*
|