aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-04-22 11:31:18 +0930
committerAlan Modra <amodra@gmail.com>2015-04-23 13:28:53 +0930
commit2ab52ca58f97a5a852f63df16ac64cfe8534210f (patch)
tree4f30e89ff21fdc610a424d7457ca8e0ae8691db3 /ld
parenta27e685fa0a6480bdb07e3be359558524cec89b7 (diff)
downloadgdb-2ab52ca58f97a5a852f63df16ac64cfe8534210f.zip
gdb-2ab52ca58f97a5a852f63df16ac64cfe8534210f.tar.gz
gdb-2ab52ca58f97a5a852f63df16ac64cfe8534210f.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog1
-rw-r--r--ld/testsuite/ld-powerpc/tocnovar.d2
2 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 71c74fb..356a134 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 <amodra@gmail.com>
diff --git a/ld/testsuite/ld-powerpc/tocnovar.d b/ld/testsuite/ld-powerpc/tocnovar.d
index d1fd258..475617a 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 .*