Fix pr17615 testcase

PR ld/17615
	* ld-elf/pr17615.d: Match .sbss too.
This commit is contained in:
Alan Modra
2015-01-20 11:11:38 +10:30
parent 1c9177d9a5
commit 10ab94ebf8
2 changed files with 6 additions and 1 deletions

View 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> 2015-01-19 H.J. Lu <hongjiu.lu@intel.com>
PR ld/17615 PR ld/17615

View File

@ -6,7 +6,7 @@
# generic linker targets don't support --gc-sections, nor do a bunch of others # 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 +[0-9]+: +[0-9a-f]+ +4 +OBJECT +GLOBAL +DEFAULT +[1-9]+ foo
#pass #pass