aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers.exp')
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp
index 0743309..45a004b 100644
--- a/ld/testsuite/ld-elfvers/vers.exp
+++ b/ld/testsuite/ld-elfvers/vers.exp
@@ -773,8 +773,9 @@ proc build_exec { test source execname flags solibname verexp versymexp symexp }
}
if { [istarget x86_64-*-linux*] \
+ || [istarget arm*-*-*] \
|| ( [istarget mips*-*-linux*] && [at_least_gcc_version 4 3] ) } {
- # x86_64 and newer MIPS toolchains do not like non-pic shared libraries
+ # x86_64, ARM and newer MIPS toolchains do not like non-pic shared libraries
set pic "yes"
} else {
set pic "no"