Fix pr17615 testcase
authorAlan Modra <amodra@gmail.com>
Tue, 20 Jan 2015 00:41:38 +0000 (11:11 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Jan 2015 00:42:35 +0000 (11:12 +1030)
PR ld/17615
* ld-elf/pr17615.d: Match .sbss too.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr17615.d

index 10f109c..8e5bda9 100644 (file)
@@ -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
index a2a2f70..1b7a59b 100644 (file)
@@ -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