This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Accept odd result in ld-powerpc/tocnovar testcase


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2ab52ca58f97a5a852f63df16ac64cfe8534210f

commit 2ab52ca58f97a5a852f63df16ac64cfe8534210f
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Apr 22 11:31:18 2015 +0930

    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:
---
 ld/testsuite/ChangeLog             | 1 +
 ld/testsuite/ld-powerpc/tocnovar.d | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

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 .*


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]