binutils-gdb/ld/testsuite/ld-plugin
H.J. Lu 3d98c46092 plugin: Don't invoke LTO-wrapper
Don't invoke LTO-wrapper since the LTO wrapper approach is not only
slow but also unreliable.  For GCC 10 or newer, LDPT_ADD_SYMBOLS_V2
will be used.

bfd/

	* configure.ac (HAVE_EXECUTABLE_SUFFIX): Removed.
	(EXECUTABLE_SUFFIX): Likewise.
	* config.in: Regenerated.
	* configure: Likewise.
	* plugin.c (bfd_plugin_close_and_cleanup): Defined as
	_bfd_generic_close_and_cleanup.
	(plugin_list_entry): Remove resolution_file, resolution_option,
	real_bfd, real_nsyms, real_syms, lto_nsyms, lto_syms, gcc,
	lto_wrapper, gcc_env and initialized,
	(need_lto_wrapper_p): Removed.
	(get_lto_wrapper): Likewise.
	(setup_lto_wrapper_env): Likewise.
	(register_all_symbols_read): Likewise.
	(egister_cleanup): Likewise.
	(get_symbols): Likewise.
	(add_input_file): Likewise.
	(bfd_plugin_set_program_name): Remove need_lto_wrapper.
	(add_symbols): Updated.
	(try_claim): Likewise.
	(try_load_plugin): Likewise.
	(bfd_plugin_canonicalize_symtab): Likewise.
	* plugin.h (bfd_plugin_set_program_name): Remove int argument.
	(plugin_data_struct): Remove real_bfd, real_nsyms and real_syms.

binutils/

	* ar.c (main): Update bfd_plugin_set_program_name call.
	* nm.c (main): Likewise.

ld/

	* testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
	test only for GCC 10 or newer.
2020-03-20 03:55:30 -07:00
..
dummy.c
dummy.s
func1p.c
func2i.c
func3h.c
func.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 Ajdust lto-3r and lto-5r tests for powerpc64 2019-07-26 10:02:34 +09:30
lto-5.d
lto-5.out
lto-5a.c
lto-5b.c
lto-5r.d Ajdust lto-3r and lto-5r tests for powerpc64 2019-07-26 10:02:34 +09:30
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 plugin: Don't invoke LTO-wrapper 2020-03-20 03:55:30 -07:00
main.c
pass.out
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 Provide string description of definition, visibility and resolution in LTO plug-in. 2019-03-26 15:22:01 +01:00
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-27.d
plugin-28.d
plugin-29.d
plugin-30.d
plugin-vis-1.d
plugin.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
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 Disable the PR12982 test for HPPA targets. 2018-08-02 16:37:12 +01:00
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
pr17973.d
pr17973.s
pr19317.c
pr19317.out
pr20070.d
pr20070a.c
pr20070b.c
pr20103a.c
pr20103b.c
pr20103c.c
pr20267a.c
pr20267b.c
pr20276a.c
pr20276b.c
pr20321.c
pr21382a.c
pr21382b.c
pr22220.h
pr22220lib.cc
pr22220lib.ver
pr22220main.cc
pr22502a.c
pr22502b.c
pr22721.t
pr22721a.s
pr22721b.c
pr22751.c
pr22983.1.d Fix the PR22983 test so that it will work regardless of the order of the symbols in the dynamic symbol table. 2018-06-12 13:22:24 +01:00
pr22983.2.d Fix the PR22983 test so that it will work regardless of the order of the symbols in the dynamic symbol table. 2018-06-12 13:22:24 +01:00
pr22983.3.d Fix the PR22983 test so that it will work regardless of the order of the symbols in the dynamic symbol table. 2018-06-12 13:22:24 +01:00
pr22983.4.d Fix the PR22983 test so that it will work regardless of the order of the symbols in the dynamic symbol table. 2018-06-12 13:22:24 +01:00
pr22983.d Adjust testsuite/ld-plugin/pr22983.d 2018-03-20 09:21:35 -07:00
pr22983.t
pr22983a.c
pr22983b.c
pr23309.c ld: Set non_ir_ref_regular for --undefined SYMBOL 2018-07-04 06:29:13 -07:00
pr23309.d ld: Set non_ir_ref_regular for --undefined SYMBOL 2018-07-04 06:29:13 -07:00
pr23460a.c Add a testcase for PR binutils/23460 2018-08-02 05:00:59 -07:00
pr23460b.c Add a testcase for PR binutils/23460 2018-08-02 05:00:59 -07:00
pr23460c.c Add a testcase for PR binutils/23460 2018-08-02 05:00:59 -07:00
pr23460d.c Add a testcase for PR binutils/23460 2018-08-02 05:00:59 -07:00
pr23460e.c Add a testcase for PR binutils/23460 2018-08-02 05:00:59 -07:00
pr23460f.c Add a testcase for PR binutils/23460 2018-08-02 05:00:59 -07:00
pr23818.d ELF: Hide symbols defined in discarded input sections 2018-10-24 18:08:24 -07:00
pr23818.t ELF: Hide symbols defined in discarded input sections 2018-10-24 18:08:24 -07:00
pr23818a.c ELF: Hide symbols defined in discarded input sections 2018-10-24 18:08:24 -07:00
pr23818b.c ELF: Hide symbols defined in discarded input sections 2018-10-24 18:08:24 -07:00
pr23958.c Override the previous definition from IR object 2018-12-07 15:40:02 -08:00
pr23958.t Override the previous definition from IR object 2018-12-07 15:40:02 -08:00
pr24406-1.c ld-plugin/pr24406-1.c: Correct buffer size to read 2019-09-23 08:51:36 -07:00
pr24406-2a.c LTO: Properly handle wrapper symbols in IR 2019-04-25 07:54:00 -07:00
pr24406-2b.c LTO: Properly handle wrapper symbols in IR 2019-04-25 07:54:00 -07:00
pr24486a.c Don't complain undefined weak dynamic reference 2019-04-26 07:52:09 -07:00
pr24486b.c Don't complain undefined weak dynamic reference 2019-04-26 07:52:09 -07:00
pr24486c.c Don't complain undefined weak dynamic reference 2019-04-26 07:52:09 -07:00
pr25355.c Use GCC LTO wrapper to get real symbols from LTO IR objects 2020-02-10 19:01:53 -08:00
pr25355.d Adjust PR25355 testcase 2020-02-19 13:10:47 +10:30
pr25593.d ld: Add PR ld/25593 tests 2020-02-26 03:58:47 -08:00
pr25593a-1.c ld: Add PR ld/25593 tests 2020-02-26 03:58:47 -08:00
pr25593a-2.c ld: Add PR ld/25593 tests 2020-02-26 03:58:47 -08:00
pr25593b.c ld: Add PR ld/25593 tests 2020-02-26 03:58:47 -08:00
pr25593c.c ld: Add PR ld/25593 tests 2020-02-26 03:58:47 -08:00
pr25593d.c ld: Add PR ld/25593 tests 2020-02-26 03:58:47 -08:00
pr25593e.c ld: Add PR ld/25593 tests 2020-02-26 03:58:47 -08:00
pr25618.d plugin: Copy the no_export field to the IR dummy object 2020-03-01 17:10:49 -08:00
pr25618a.cc plugin: Copy the no_export field to the IR dummy object 2020-03-01 17:10:49 -08:00
pr25618a.h plugin: Copy the no_export field to the IR dummy object 2020-03-01 17:10:49 -08:00
pr25618b.cc plugin: Copy the no_export field to the IR dummy object 2020-03-01 17:10:49 -08:00
pr25618b.h plugin: Copy the no_export field to the IR dummy object 2020-03-01 17:10:49 -08:00
run-ie.c
run-ie.out
text.c