PR ld/14918
* ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
* ld-plugin/pr14918.c: New file.
* ld-plugin/pr14918.d: Likewise.
+2015-02-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/14918
+ * ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
+
+ * ld-plugin/pr14918.c: New file.
+ * ld-plugin/pr14918.d: Likewise.
+
2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
[list "PR ld/16746 (2)" \
"-O2 -flto -fuse-linker-plugin tmpdir/pr16746c.o tmpdir/pr16746a.o" "-O2 -flto" \
{dummy.c} {} "pr16746b.exe"] \
+ [list "PR ld/14918" \
+ "-flto" "-flto" \
+ {pr14918.c} {{"readelf" {-d --wide} "pr14918.d"}} "pr14918.exe" "c"] \
]
# Check final symbols in executables.
--- /dev/null
+int
+main ()
+{
+ return 0;
+}
--- /dev/null
+#failif
+#...
+ 0x0+1 \(NEEDED\) +Shared library: \[libgcc_s.so.[0-9]+\]
+#...