From 262a40a5406f0159353e04980bcaf8b26351afd2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 17 Feb 2017 17:58:17 +1030 Subject: [PATCH] Relax dwarf2 expected error match * testsuite/ld-elf/dwarf2.err: Accept other errors between the multiple definition errors. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-elf/dwarf2.err | 1 + 2 files changed, 6 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 1c17c17adea..59a3b0d391c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-02-17 Alan Modra + + * testsuite/ld-elf/dwarf2.err: Accept other errors between the + multiple definition errors. + 2017-02-17 Alan Modra * testsuite/ld-elf/dwarf2.err: Add missing newline at end. diff --git a/ld/testsuite/ld-elf/dwarf2.err b/ld/testsuite/ld-elf/dwarf2.err index 6b97ee61c3f..b3d301f33ec 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 #... -- 2.30.2