aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-02-17 17:58:17 +1030
committerAlan Modra <amodra@gmail.com>2017-02-17 18:02:40 +1030
commit262a40a5406f0159353e04980bcaf8b26351afd2 (patch)
tree75f1689304315a76cbd2dc506a6feafb9fd46298 /ld
parent002a5d4e5881ea0fbcd7f9382b20b833ad6bf9d5 (diff)
downloadgdb-262a40a5406f0159353e04980bcaf8b26351afd2.zip
gdb-262a40a5406f0159353e04980bcaf8b26351afd2.tar.gz
gdb-262a40a5406f0159353e04980bcaf8b26351afd2.tar.bz2
Relax dwarf2 expected error match
* testsuite/ld-elf/dwarf2.err: Accept other errors between the multiple definition errors.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/dwarf2.err1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1c17c17..59a3b0d 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2017-02-17 Alan Modra <amodra@gmail.com>
+ * testsuite/ld-elf/dwarf2.err: Accept other errors between the
+ multiple definition errors.
+
+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.
diff --git a/ld/testsuite/ld-elf/dwarf2.err b/ld/testsuite/ld-elf/dwarf2.err
index 6b97ee6..b3d301f 100644
--- a/ld/testsuite/ld-elf/dwarf2.err
+++ b/ld/testsuite/ld-elf/dwarf2.err
@@ -1,5 +1,6 @@
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
#...