From 86942c28f60782652ce1e1ddbf2ac31b73de480a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 18 Apr 2011 21:45:37 +0000 Subject: [PATCH] Update expected LTO linker errors for GCC 4.6. 2011-04-18 H.J. Lu * ld-plugin/plugin-7.d: Update expected LTO linker errors for GCC 4.6. * ld-plugin/plugin-8.d: Likewise. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-plugin/plugin-7.d | 2 +- ld/testsuite/ld-plugin/plugin-8.d | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 2eb37c5..538d8b1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-04-18 H.J. Lu + + * 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 * ld-plugin/plugin-7.d: Adjust for plugin changes. diff --git a/ld/testsuite/ld-plugin/plugin-7.d b/ld/testsuite/ld-plugin/plugin-7.d index ba0ed94..04f4139 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 8411c31..003537c 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. #... -- 2.7.4