Line 155... |
Line 155... |
"-shared -Wl,--version-script=pr11138-1.map" "-fPIC"
|
"-shared -Wl,--version-script=pr11138-1.map" "-fPIC"
|
{pr11138-1.c} {} "libpr11138-1.so"}
|
{pr11138-1.c} {} "libpr11138-1.so"}
|
{"Build libpr11138-2.o"
|
{"Build libpr11138-2.o"
|
"-r -nostdlib" ""
|
"-r -nostdlib" ""
|
{pr11138-2.c} {} "libpr11138-2.o"}
|
{pr11138-2.c} {} "libpr11138-2.o"}
|
|
{"Build pr13250-1.so"
|
|
"-shared" "-fPIC"
|
|
{pr13250-1.c} {} "libpr13250-1.so"}
|
|
{"Build pr13250-2.so with libpr13250-1.so"
|
|
"-shared tmpdir/libpr13250-1.so" "-fPIC"
|
|
{pr13250-2.c} {} "libpr13250-2.so"}
|
|
{"Build libpr13250-3.o"
|
|
"-r -nostdlib" ""
|
|
{pr13250-3.c} {} "libpr13250-3.o"}
|
}
|
}
|
|
|
run_cc_link_tests $build_tests
|
run_cc_link_tests $build_tests
|
|
|
set run_tests {
|
set run_tests {
|
Line 281... |
Line 290... |
"--version-script=pr11138-2.map tmpdir/pr11138-2.o tmpdir/libpr11138-1.so" ""
|
"--version-script=pr11138-2.map tmpdir/pr11138-2.o tmpdir/libpr11138-1.so" ""
|
{dummy.c} "pr11138a" "pr11138.out"}
|
{dummy.c} "pr11138a" "pr11138.out"}
|
{"Run with libpr11138-1.so pr11138-2.c"
|
{"Run with libpr11138-1.so pr11138-2.c"
|
"--version-script=pr11138-2.map tmpdir/libpr11138-1.so tmpdir/pr11138-2.o" ""
|
"--version-script=pr11138-2.map tmpdir/libpr11138-1.so tmpdir/pr11138-2.o" ""
|
{dummy.c} "pr11138b" "pr11138.out"}
|
{dummy.c} "pr11138b" "pr11138.out"}
|
|
{"Run with pr13250-3.c, libpr13250-1.so and libpr13250-2.so"
|
|
"--as-needed tmpdir/pr13250-3.o tmpdir/libpr13250-1.so tmpdir/libpr13250-2.so" ""
|
|
{dummy.c} "pr13250" "pass.out"}
|
}
|
}
|
|
|
# NetBSD ELF systems do not currently support the .*_array sections.
|
# NetBSD ELF systems do not currently support the .*_array sections.
|
run_ld_link_exec_tests [list "*-*-netbsdelf*"] $run_tests
|
run_ld_link_exec_tests [list "*-*-netbsdelf*"] $run_tests
|
|
|