summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-04-18 21:45:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-04-18 21:45:37 +0000
commit72aac6d8a5f0b5451fa762823aba995562b9ee6f (patch)
treeba183611b1558cea873b838b578233f883c91338 /ld/testsuite/ld-plugin
parent675d2e735b2efd3ed23c122e877e6aa635fc2cf7 (diff)
downloadbinutils-redhat-72aac6d8a5f0b5451fa762823aba995562b9ee6f.tar.gz
Update expected LTO linker errors for GCC 4.6.
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.
Diffstat (limited to 'ld/testsuite/ld-plugin')
-rw-r--r--ld/testsuite/ld-plugin/plugin-7.d2
-rw-r--r--ld/testsuite/ld-plugin/plugin-8.d2
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-plugin/plugin-7.d b/ld/testsuite/ld-plugin/plugin-7.d
index ba0ed94664..04f41392ca 100644
--- a/ld/testsuite/ld-plugin/plugin-7.d
+++ b/ld/testsuite/ld-plugin/plugin-7.d
@@ -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.
#...
diff --git a/ld/testsuite/ld-plugin/plugin-8.d b/ld/testsuite/ld-plugin/plugin-8.d
index 8411c313e9..003537c94f 100644
--- a/ld/testsuite/ld-plugin/plugin-8.d
+++ b/ld/testsuite/ld-plugin/plugin-8.d
@@ -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.
#...