aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-01-20 11:11:38 +1030
committerAlan Modra <amodra@gmail.com>2015-01-20 11:12:35 +1030
commit10ab94ebf8fdabf14954f53f1d060fd470658512 (patch)
tree0ad1bd272dec3e56271825754a089c0e2f3cd261 /ld
parent1c9177d9a5c3e06d3344347c8068acfb7d8ecc8b (diff)
downloadgdb-10ab94ebf8fdabf14954f53f1d060fd470658512.zip
gdb-10ab94ebf8fdabf14954f53f1d060fd470658512.tar.gz
gdb-10ab94ebf8fdabf14954f53f1d060fd470658512.tar.bz2
Fix pr17615 testcase
PR ld/17615 * ld-elf/pr17615.d: Match .sbss too.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/pr17615.d2
2 files changed, 6 insertions, 1 deletions
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