aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-libs/libs.exp
blob: 8609d652958974e52230841f141cc33162047eef (plain)
1
2
3
4
5
6
7
8
9
file mkdir tmpdir/libtmp

# Check that -l: works.  The first "test" just creates an object file
# for the second one.
run_ld_link_tests {
    {"-l: test (preparation)" "-r" "" {lib-1.s} {} "libtmp/anobject"}
    {"-l: test" "-r -Ltmpdir/libtmp -l:anobject" "" {lib-2.s}
     {{nm -C lib-2.d}} "lib-2"}
}