diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 23:34:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 23:34:30 +0000 |
commit | e6961d10d80b83fe946759acfa722cdc2e425bc4 (patch) | |
tree | baf9575b32e39ff0b514695c161f74e2cd4f697f /ld/testsuite/ld-elfvers/vers.exp | |
parent | fbf5d25e086c877da5956088ce584b1bb78dfb42 (diff) | |
download | fsf-binutils-gdb-e6961d10d80b83fe946759acfa722cdc2e425bc4.zip fsf-binutils-gdb-e6961d10d80b83fe946759acfa722cdc2e425bc4.tar.gz fsf-binutils-gdb-e6961d10d80b83fe946759acfa722cdc2e425bc4.tar.bz2 |
ld: vers19 test: add -rpath-link
Using -Wl,-rpath,. isn't sufficient for cross-linkers to locate the
necessary libraries. So throw in -Wl,-rpath-link,. to make it work.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers.exp')
-rw-r--r-- | ld/testsuite/ld-elfvers/vers.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index d43c12e..d1c2228 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -893,7 +893,7 @@ build_exec "vers16" vers16.c vers16 "" vers16a.so "" vers16.dsym "" # Test a weak versioned symbol. build_vers_lib_pic "vers17" vers17.c vers17 "" vers17.map vers17.ver vers17.dsym "" build_vers_lib_pic "vers18" vers18.c vers18 vers17.so vers18.map vers18.ver vers18.dsym vers18.sym -build_exec "vers19" vers19.c vers19 "-Wl,-rpath,." vers18.so vers19.ver vers19.dsym "" +build_exec "vers19" vers19.c vers19 "-Wl,-rpath,. -Wl,-rpath-link,." vers18.so vers19.ver vers19.dsym "" build_vers_lib_no_pic "vers20a" vers20.c vers20a "" vers20.map vers20a.ver vers20.dsym "" exec cp $tmpdir/vers20a.so $tmpdir/vers20b.so |