]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/testsuite/ld-elfvers/vers.exp
Add -rpath-link to various tests
authorAlan Modra <amodra@gmail.com>
Tue, 3 Jan 2017 01:57:19 +0000 (12:27 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Jan 2017 02:06:02 +0000 (12:36 +1030)
commit8cfc7cf8c273677b5c83290cd1b143f18eeeb9c4
tree44385d19831c833ee20364a2459be6e7ffb8cb74
parent4ce6ca2c78c12931c31f46b9390e00a012eaa466
Add -rpath-link to various tests

Needed for cross-builds without --sysroot, where USE_LIBPATH isn't
set.  See elf32.em after_open.  Perhap ld ought to look at -rpath in
this case?

* testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
to various tests.
* testsuite/ld-elfweak/elfweak.exp: Likewise.
* testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
ld/ChangeLog
ld/testsuite/ld-elf/shared.exp
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-elfweak/elfweak.exp