aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-02-17 17:24:02 +1030
committerAlan Modra <amodra@gmail.com>2017-02-17 17:41:03 +1030
commit002a5d4e5881ea0fbcd7f9382b20b833ad6bf9d5 (patch)
tree1c7bd53daa3be320adb87d883194a79e6c0911fd /ld
parent4bc26c69597fea658dc9ce020b27e8d2ecdbe1a3 (diff)
downloadgdb-002a5d4e5881ea0fbcd7f9382b20b833ad6bf9d5.zip
gdb-002a5d4e5881ea0fbcd7f9382b20b833ad6bf9d5.tar.gz
gdb-002a5d4e5881ea0fbcd7f9382b20b833ad6bf9d5.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/dwarf2.err2
-rw-r--r--ld/testsuite/ld-elf/dwarf3.err6
3 files changed, 9 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7d47397..1c17c17 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/testsuite/ld-elf/dwarf2.err b/ld/testsuite/ld-elf/dwarf2.err
index b4ea67f..6b97ee6 100644
--- a/ld/testsuite/ld-elf/dwarf2.err
+++ b/ld/testsuite/ld-elf/dwarf2.err
@@ -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
-#... \ No newline at end of file
+#...
diff --git a/ld/testsuite/ld-elf/dwarf3.err b/ld/testsuite/ld-elf/dwarf3.err
index 6027431..6f5a8cc 100644
--- a/ld/testsuite/ld-elf/dwarf3.err
+++ b/ld/testsuite/ld-elf/dwarf3.err
@@ -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'
-#... \ No newline at end of file
+.*\(\.text.*\+0x[0-9a-f]+\): undefined reference to `bar'
+.*\(\.text.*\+0x[0-9a-f]+\): undefined reference to `bar'
+#...