aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-plugin/lto.exp6
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index a4b272f..869bb70 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2013-03-30 Alan Modra <amodra@gmail.com>
+
+ PR ld/15323
+ * ld-plugin/lto.exp (pr15323a.c): Compile without -flto rather
+ than using -r to effectively strip out lto info.
+
2013-03-29 H.J. Lu <hongjiu.lu@intel.com>
PR ld/15323
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index cf1ddf3..7ffe955 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -144,8 +144,8 @@ set lto_link_tests {
"-flto -fuse-linker-plugin -Wl,--as-needed" "-flto"
{pr13287.cc} {} "pr13287.exe" "c++"}
{"PR ld/15323"
- "-O2 -flto -fuse-linker-plugin -r -nostdlib" "-O2 -flto"
- {pr15323a.c} {} "pr15323a-r.o" "c"}
+ "" "-O2"
+ {pr15323a.c} {} "libdummy.a" "c"}
}
# Generate input files for complex LTO tests for ELF.
@@ -270,7 +270,7 @@ set lto_run_tests {
"-O2 -flto -fuse-linker-plugin -Wl,--as-needed tmpdir/pr13201.o -lm" ""
{dummy.c} "pr13201.exe" "pr13201.out" "" "c"}
{"PR ld/15323"
- "-O2 -flto -fuse-linker-plugin -Wl,--as-needed tmpdir/pr15323a-r.o" ""
+ "-O2 -flto -fuse-linker-plugin tmpdir/pr15323a.o" ""
{pr15323b.c} "pr15323.exe" "pr15323.out" "-flto -O2" "c"}
}