+2013-04-03 Alan Modra <amodra@gmail.com>
+
+ PR ld/15227
+ * ld-plugin/lto.exp (PR ld/12942 (3)): Remove file name and
+ line number from regexp.
+ (PR ld/15146 (2)): Similarly.
+ * ld-plugin/pr12942a.cc (main): Use __builtin_abort.
+
2013-03-30 Alan Modra <amodra@gmail.com>
PR ld/15323
run_cc_link_tests $lto_link_elf_tests
set testname "PR ld/15146 (2)"
set exec_output [run_host_cmd "$CC" "$gcc_gas_flag $gcc_ld_flag -O2 -flto -fuse-linker-plugin -Wl,-rpath-link,. -Wl,--no-copy-dt-needed-entries -Wl,--no-as-needed tmpdir/pr15146d.o tmpdir/pr15146c.so"]
- if { [ regexp "ltrans.o: undefined reference to symbol 'xxx'" $exec_output ] } {
+ if { [ regexp "undefined reference to symbol 'xxx'" $exec_output ] } {
pass $testname
} {
fail $testname
# Check expected LTO linker errors.
set testname "PR ld/12942 (3)"
set exec_output [run_host_cmd "$CXX" "$gcc_gas_flag $gcc_ld_flag -O2 -flto -fuse-linker-plugin tmpdir/pr12942b.o tmpdir/pr12942a.o"]
-if { [ regexp "pr12942a.h:7: undefined reference to `link_error\\(\\)'" $exec_output ] } {
+if { [ regexp "undefined reference to `link_error\\(\\)'" $exec_output ] } {
pass $testname
} {
fail $testname