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] Fix pr17615 testcase


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

commit 10ab94ebf8fdabf14954f53f1d060fd470658512
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Jan 20 11:11:38 2015 +1030

    Fix pr17615 testcase
    
    	PR ld/17615
    	* ld-elf/pr17615.d: Match .sbss too.

Diff:
---
 ld/testsuite/ChangeLog        | 5 +++++
 ld/testsuite/ld-elf/pr17615.d | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 10f109c..8e5bda9 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-20  Alan Modra  <amodra@gmail.com>
+
+	PR ld/17615
+	* ld-elf/pr17615.d: Match .sbss too.
+
 2015-01-19  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR ld/17615
diff --git a/ld/testsuite/ld-elf/pr17615.d b/ld/testsuite/ld-elf/pr17615.d
index a2a2f70..1b7a59b 100644
--- a/ld/testsuite/ld-elf/pr17615.d
+++ b/ld/testsuite/ld-elf/pr17615.d
@@ -6,7 +6,7 @@
 # generic linker targets don't support --gc-sections, nor do a bunch of others
 
 #...
-  \[[ 0-9]+\] \.bss[ \t]+NOBITS[ \t0-9a-f]+WA.*
+  \[[ 0-9]+\] \.s?bss[ \t]+NOBITS[ \t0-9a-f]+WA.*
 #...
  +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9]+ foo
 #pass


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