This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/3] bfd/dwarf: Improve use of previously loaded dwarf information


I should have waited for my test run to finish before committing the
last patch.  This change is for sparc64, which helpfully spits out
"Disabling relaxation: it will not work with multiple definitions"
after the first error.

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
 #...

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]