Relax dwarf3 expected error match

* testsuite/ld-elf/dwarf2.err: Add missing newline at end.
	* testsuite/ld-elf/dwarf3.err: Likewise.  Allow match without filename.
This commit is contained in:
Alan Modra 2017-02-17 17:24:02 +10:30
parent 4bc26c6959
commit 002a5d4e58
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2017-02-17 Alan Modra <amodra@gmail.com>
* testsuite/ld-elf/dwarf2.err: Add missing newline at end.
* testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
* testsuite/ld-elf/shared.exp: Update expected results.

View File

@ -2,4 +2,4 @@ tmpdir/dwarf2b\.o:.*dwarf2b\.c:1: multiple definition of `global_var'
tmpdir/dwarf2a\.o:.*dwarf2a\.c:1: first defined here
tmpdir/dwarf2b\.o:.*dwarf2b\.c:2: multiple definition of `other_var'
tmpdir/dwarf2a\.o:.*dwarf2a\.c:2: first defined here
#...
#...

View File

@ -1,4 +1,4 @@
.*/dwarf3\.o: In function `main':
.*dwarf3.c:\(\.text.*\+0x[0-9a-f]+\): undefined reference to `bar'
.*dwarf3.c:\(\.text.*\+0x[0-9a-f]+\): undefined reference to `bar'
#...
.*\(\.text.*\+0x[0-9a-f]+\): undefined reference to `bar'
.*\(\.text.*\+0x[0-9a-f]+\): undefined reference to `bar'
#...