From: Alan Modra Date: Wed, 22 Apr 2015 02:01:18 +0000 (+0930) Subject: Accept odd result in ld-powerpc/tocnovar testcase X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ab52ca58f97a5a852f63df16ac64cfe8534210f;hp=a27e685fa0a6480bdb07e3be359558524cec89b7;p=binutils-gdb.git 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. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 71c74fbc67e..356a134ec05 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -25,6 +25,7 @@ * ld-powerpc/tocopt3.d: Likewise. * ld-powerpc/tocopt4.d: Likewise. * ld-powerpc/tocopt5.d: Likewise. + * ld-powerpc/tocnovar.d: Adjust. 2015-04-22 Alan Modra diff --git a/ld/testsuite/ld-powerpc/tocnovar.d b/ld/testsuite/ld-powerpc/tocnovar.d index d1fd258b4fe..475617a2777 100644 --- a/ld/testsuite/ld-powerpc/tocnovar.d +++ b/ld/testsuite/ld-powerpc/tocnovar.d @@ -11,4 +11,4 @@ #... +00 +\.text +01 +\.opd \.got - +02 +\.opd \.got + +02 +\.opd \.got .*