binutils-gdb/ld/testsuite/ld-plugin
H.J. Lu fef75122c0 Add a testcase for PR ld/22751
Since dummy.o must be placed before

-Wl,--whole-archive tmpdir/pr22751.a -Wl,--no-whole-archive

to trigger the bug, this patch adds an optional trailing ld options to
run_ld_link_exec_tests.

	PR ld/22751
	* testsuite/config/default.exp (INT128_CFLAGS): New.
	* testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
	Run ld/22751 tests.
	* testsuite/ld-plugin/pr22751.c: New file.
	* testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
	ld trailing options.
2018-01-27 16:04:34 -08: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 Allow for __gnu_lto_slim prefixed with extra "_" 2017-10-25 15:32:52 +10:30
lto-5.d
lto-5.out
lto-5a.c
lto-5b.c
lto-5r.d Allow for __gnu_lto_slim prefixed with extra "_" 2017-10-25 15:32:52 +10: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 Add a testcase for PR ld/22751 2018-01-27 16:04:34 -08:00
main.c
pass.out PR ld/20276: Set non_ir_ref on common symbol 2016-06-20 11:26:13 +09:30
plugin-1.d
plugin-2.d
plugin-3.d
plugin-4.d
plugin-5.d
plugin-6.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-7.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-8.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-9.d
plugin-10.d
plugin-11.d
plugin-12.d
plugin-13.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-14.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-15.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-16.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-17.d
plugin-18.d
plugin-19.d
plugin-20.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-21.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-22.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-23.d PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
plugin-24.d
plugin-25.d
plugin-26.d
plugin-27.d
plugin-28.d
plugin-29.d
plugin-30.d ld: Restore file offset after a plugin fails to claim a file 2016-07-19 09:58:01 +01:00
plugin-vis-1.d
plugin.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pr12365a.c
pr12365b.c
pr12365c.c
pr12696-1.cc
pr12758a.s
pr12758b.c
pr12760a.c
pr12760b.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
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 PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
pr16746b.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
pr16746c.c
pr16746d.c
pr16846a.c
pr16846b.c
pr16846c.c
pr17973.d
pr17973.s
pr19317.c
pr19317.out
pr20070.d Handle symbols defined/referenced only within IR 2016-05-12 16:50:52 -07:00
pr20070a.c Handle symbols defined/referenced only within IR 2016-05-12 16:50:52 -07:00
pr20070b.c Handle symbols defined/referenced only within IR 2016-05-12 16:50:52 -07:00
pr20103a.c Skip an archive element if not added by linker 2016-05-25 08:41:05 -07:00
pr20103b.c Skip an archive element if not added by linker 2016-05-25 08:41:05 -07:00
pr20103c.c Skip an archive element if not added by linker 2016-05-25 08:41:05 -07:00
pr20267a.c Use the IR symbol table for the IR input object 2016-06-20 05:10:46 -07:00
pr20267b.c Use the IR symbol table for the IR input object 2016-06-20 05:10:46 -07:00
pr20276a.c PR ld/20276: Set non_ir_ref on common symbol 2016-06-20 11:26:13 +09:30
pr20276b.c PR ld/20276: Set non_ir_ref on common symbol 2016-06-20 11:26:13 +09:30
pr20321.c Warn and return for duplicated plugin 2016-07-04 08:55:20 -07:00
pr21382a.c Handle symbol defined in IR and referenced in DSO 2017-04-20 07:48:35 -07:00
pr21382b.c Handle symbol defined in IR and referenced in DSO 2017-04-20 07:48:35 -07:00
pr22220.h PR22220, BFD linker wrongly marks symbols as PREVAILING_DEF_IRONLY 2017-09-28 17:36:36 +09:30
pr22220lib.cc PR22220, BFD linker wrongly marks symbols as PREVAILING_DEF_IRONLY 2017-09-28 17:36:36 +09:30
pr22220lib.ver PR22220, BFD linker wrongly marks symbols as PREVAILING_DEF_IRONLY 2017-09-28 17:36:36 +09:30
pr22220main.cc PR22220, BFD linker wrongly marks symbols as PREVAILING_DEF_IRONLY 2017-09-28 17:36:36 +09:30
pr22502a.c ld: Set non_ir_ref_regular on symbols referenced in regular objects 2017-11-28 03:48:44 -08:00
pr22502b.c ld: Set non_ir_ref_regular on symbols referenced in regular objects 2017-11-28 03:48:44 -08:00
pr22721.t x86: Check the versioned __tls_get_addr symbol 2018-01-20 14:29:36 -08:00
pr22721a.s x86: Check the versioned __tls_get_addr symbol 2018-01-20 14:29:36 -08:00
pr22721b.c x86: Check the versioned __tls_get_addr symbol 2018-01-20 14:29:36 -08:00
pr22751.c Add a testcase for PR ld/22751 2018-01-27 16:04:34 -08:00
run-ie.c
run-ie.out
text.c