mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
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>
This commit is contained in:
parent
fbf5d25e08
commit
e6961d10d8
@ -1,3 +1,7 @@
|
||||
2011-03-15 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* ld-elfvers/vers.exp (vers19): Add -Wl,-rpath-link,. to linker flags.
|
||||
|
||||
2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
* ld-arm/ifunc-1.s, ld-arm/ifunc-1.dd, ld-arm/ifunc-1.gd,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user