PR binutils/21978
* testsuite/ld-elf/pr21978.od: New file.
* testsuite/ld-elf/pr21978a.c: Likewise.
* testsuite/ld-elf/pr21978b.c: Likewise.
* testsuite/ld-elf/shared.exp: Run PR binutils/21978 test.
+2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/21978
+ * testsuite/ld-elf/pr21978.od: New file.
+ * testsuite/ld-elf/pr21978a.c: Likewise.
+ * testsuite/ld-elf/pr21978b.c: Likewise.
+ * testsuite/ld-elf/shared.exp: Run PR binutils/21978 test.
+
2017-09-28 Nick Clifton <nickc@redhat.com>
PR 14918
--- /dev/null
+#...
+.*/ld/testsuite/ld-elf/pr21978a.c:1
+void foo \(void\) {}
+#...
+.*/ld/testsuite/ld-elf/pr21978b.c:1
+void bar \(void\) {}
+#pass
--- /dev/null
+void foo (void) {}
--- /dev/null
+void bar (void) {}
{"Build pr21964-2b.so"
"-shared" "-fPIC"
{pr21964-2b.c} {} "pr21964-2b.so"}
+ {"Dump pr21978.so"
+ "-shared" "-fPIC -g -O2"
+ {pr21978a.c pr21978b.c} {{objdump {-Sl} pr21978.od}} "pr21978.so"}
}
run_cc_link_tests $build_tests