summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorYufeng Zhang <yufeng.zhang@arm.com>2012-12-14 11:58:59 +0000
committerYufeng Zhang <yufeng.zhang@arm.com>2012-12-14 11:58:59 +0000
commite654f38d82a9f925a699b1129040435ff590fdef (patch)
tree82c860557d8fc26a817002d0f343cdf71f3204f1 /ld/testsuite/ld-elf
parente59e12e97da58822ea1605306757600e63755cfb (diff)
downloadbinutils-redhat-e654f38d82a9f925a699b1129040435ff590fdef.tar.gz
ld/testsuite/
2012-12-13 Yufeng Zhang <yufeng.zhang@arm.com> * ld-elf/indirect.exp: Disable if -shared is not supported. * lib/ld-lib.exp (check_shared_lib_support): Add aarch64*-*-elf and arm*-*-elf to the exclude list.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/indirect.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/indirect.exp b/ld/testsuite/ld-elf/indirect.exp
index 165f89ac5a..07df2ccd5e 100644
--- a/ld/testsuite/ld-elf/indirect.exp
+++ b/ld/testsuite/ld-elf/indirect.exp
@@ -26,6 +26,12 @@ if ![is_elf_format] {
return
}
+# Skip target where -shared is not supported
+
+if ![check_shared_lib_support] {
+ return
+}
+
# Check if compiler works
if { [which $CC] == 0 } {
return