439b7f41b5
This patch adds linker, nm and ar tests for non-object IR file, including archive with non-object IR member. ld/ PR ld/17878 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and libldtestplug3.la. (libldtestplug2_la_SOURCES): New. (libldtestplug2_la_CFLAGS): Likewise. (libldtestplug2_la_LDFLAGS): Likewise. (libldtestplug3_la_SOURCES): New. (libldtestplug3_la_CFLAGS): Likewise. (libldtestplug3_la_LDFLAGS): Likewise. * Makefile.in: Regenerated. * testplug2.c: New file. * testplug3.c: Likewise. ld/testsuite/ PR ld/17878 * ld-plugin/func.c: Add some comments. * ld-plugin/plugin-13.d: New file. * ld-plugin/plugin-14.d: Likewise. * ld-plugin/plugin-15.d: Likewise. * ld-plugin/plugin-16.d: Likewise. * ld-plugin/plugin-17.d: Likewise. * ld-plugin/plugin-18.d: Likewise. * ld-plugin/plugin-19.d: Likewise. * ld-plugin/plugin-20.d: Likewise. * ld-plugin/plugin-21.d: Likewise. * ld-plugin/plugin-22.d: Likewise. * ld-plugin/plugin-23.d: Likewise. * ld-plugin/plugin-24.d: Likewise. * ld-plugin/plugin-25.d: Likewise. * ld-plugin/plugin-26.d: Likewise. * ld-plugin/plugin.exp (plugin2_name): New. (plugin3_name): Likewise. (plugin2_path): Likewise. (plugin3_path): Likewise. (testsrcfiles): Likewise. (testsrcfiles_notext): Likewise. (plugin_tests): Add tests for non-object IR file. (plugin_lib_tests): Likewise. (plugin_extra_elf_tests): Likewise. (plugin_src_tests): New tests for non-object IR file. Run nm --plugin test. Run ar --plugin test. Run plugin_src_tests. |
||
---|---|---|
.. | ||
dummy.c | ||
dummy.s | ||
func.c | ||
func1p.c | ||
func2i.c | ||
func3h.c | ||
lto-1a.c | ||
lto-1b.c | ||
lto-2.c | ||
lto-3.d | ||
lto-3.out | ||
lto-3a.c | ||
lto-3b.c | ||
lto-3c.c | ||
lto-3r.d | ||
lto-5.d | ||
lto-5.out | ||
lto-5a.c | ||
lto-5b.c | ||
lto-5r.d | ||
lto-6.c | ||
lto-7.out | ||
lto-7a.c | ||
lto-7b.c | ||
lto-7c.c | ||
lto-7d.c | ||
lto-8.out | ||
lto-8a.c | ||
lto-8b.c | ||
lto-9.cc | ||
lto-9.d | ||
lto-11.out | ||
lto-11a.c | ||
lto-11b.c | ||
lto-11c.c | ||
lto-12.out | ||
lto-12a.c | ||
lto-12b.c | ||
lto-12c.c | ||
lto-13.out | ||
lto-13a.c | ||
lto-13b.c | ||
lto-13c.c | ||
lto-14.out | ||
lto-14a.c | ||
lto-14b.c | ||
lto-14c.c | ||
lto-15.out | ||
lto-15a.c | ||
lto-15b.c | ||
lto-16a.c | ||
lto-16a.d | ||
lto-16b.c | ||
lto-16b.d | ||
lto-17a.c | ||
lto-17a.d | ||
lto-17b-1.d | ||
lto-17b-2.d | ||
lto-17b.c | ||
lto.exp | ||
main.c | ||
plugin-1.d | ||
plugin-2.d | ||
plugin-3.d | ||
plugin-4.d | ||
plugin-5.d | ||
plugin-6.d | ||
plugin-7.d | ||
plugin-8.d | ||
plugin-9.d | ||
plugin-10.d | ||
plugin-11.d | ||
plugin-12.d | ||
plugin-13.d | ||
plugin-14.d | ||
plugin-15.d | ||
plugin-16.d | ||
plugin-17.d | ||
plugin-18.d | ||
plugin-19.d | ||
plugin-20.d | ||
plugin-21.d | ||
plugin-22.d | ||
plugin-23.d | ||
plugin-24.d | ||
plugin-25.d | ||
plugin-26.d | ||
plugin-vis-1.d | ||
plugin.exp | ||
pr12365a.c | ||
pr12365b.c | ||
pr12365c.c | ||
pr12696-1.cc | ||
pr12758a.s | ||
pr12758b.c | ||
pr12760a.c | ||
pr12760b.c | ||
pr12942.out | ||
pr12942a.cc | ||
pr12942a.h | ||
pr12942b.cc | ||
pr12942c.cc | ||
pr12975.c | ||
pr12975.d | ||
pr12975.t | ||
pr12982.c | ||
pr12982.d | ||
pr13066.cc | ||
pr13066.out | ||
pr13183.d | ||
pr13183a.c | ||
pr13183b.c | ||
pr13201.c | ||
pr13201.out | ||
pr13229.cc | ||
pr13229.d | ||
pr13244.c | ||
pr13244.d | ||
pr13287.cc | ||
pr14918.c | ||
pr14918.d | ||
pr15146.d | ||
pr15146a.c | ||
pr15146b.c | ||
pr15146c.c | ||
pr15146d.c | ||
pr15323.out | ||
pr15323a.c | ||
pr15323b.c | ||
pr16746a.c | ||
pr16746b.c | ||
pr16746c.c | ||
pr16746d.c | ||
pr16846a.c | ||
pr16846b.c | ||
pr16846c.c | ||
run-ie.c | ||
run-ie.out | ||
text.c |