Update expected LTO linker errors for GCC 4.6.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 18 Apr 2011 21:45:37 +0000 (21:45 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 18 Apr 2011 21:45:37 +0000 (21:45 +0000)
2011-04-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-plugin/plugin-7.d: Update expected LTO linker errors for
GCC 4.6.
* ld-plugin/plugin-8.d: Likewise.

ld/testsuite/ChangeLog
ld/testsuite/ld-plugin/plugin-7.d
ld/testsuite/ld-plugin/plugin-8.d

index 2eb37c5..538d8b1 100644 (file)
@@ -1,3 +1,9 @@
+2011-04-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-plugin/plugin-7.d: Update expected LTO linker errors for
+       GCC 4.6.
+       * ld-plugin/plugin-8.d: Likewise.
+
 2011-04-18  Alan Modra  <amodra@gmail.com>
 
        * ld-plugin/plugin-7.d: Adjust for plugin changes.
index ba0ed94..04f4139 100644 (file)
@@ -26,6 +26,6 @@ hook called: claim_file tmpdir/func.o \[@0/.* CLAIMED
 hook called: claim_file tmpdir/text.o \[@0/.* not claimed
 #...
 hook called: all symbols read.
-`func' referenced in section `\.text' of tmpdir/main.o: defined in discarded section .*
+`func' referenced in section `\.text.*' of tmpdir/main.o: defined in discarded section .*
 hook called: cleanup.
 #...
index 8411c31..003537c 100644 (file)
@@ -30,6 +30,6 @@ hook called: claim_file tmpdir/text.o \[@0/.* not claimed
 hook called: all symbols read.
 Sym: '_?func' Resolution: LDPR_PREVAILING_DEF
 Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
-`func' referenced in section `\.text' of tmpdir/main.o: defined in discarded section .*
+`func' referenced in section `\.text.*' of tmpdir/main.o: defined in discarded section .*
 hook called: cleanup.
 #...