aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/lto.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-plugin/lto.exp')
-rw-r--r--ld/testsuite/ld-plugin/lto.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index 7300f48..19aec3f 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -573,6 +573,16 @@ run_ld_link_exec_tests $lto_run_tests
if { [is_elf_format] } {
run_ld_link_exec_tests $lto_run_elf_tests
+ run_cc_link_tests [list \
+ [list \
+ "Build pr22983" \
+ "-Wl,--dynamic-list,pr22983.t" \
+ "-flto" \
+ {pr22983a.c pr22983b.c} \
+ {{readelf {--dyn-syms --wide} pr22983.d}} \
+ "pr22983" \
+ ] \
+ ]
}
if { [is_elf_format] && [check_lto_shared_available] } {