aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-07-07 17:30:58 +0100
committerWill Newton <will.newton@linaro.org>2014-07-10 09:32:42 +0100
commit6f86b3b00029344e8aebadf1bb10c9ee46d2d512 (patch)
tree89c8df8bf9c3c5159e7ade23e78ef69735606b6d /ld/testsuite/ld-elfvers
parent2d6f0de676f46ebd8bb7d98a0093aa081e17e94b (diff)
downloadgdb-6f86b3b00029344e8aebadf1bb10c9ee46d2d512.zip
gdb-6f86b3b00029344e8aebadf1bb10c9ee46d2d512.tar.gz
gdb-6f86b3b00029344e8aebadf1bb10c9ee46d2d512.tar.bz2
ld/testsuite: Disable non-PIC shared library tests on ARM
ARM doesn't support non-PIC shared libraries so don't run those tests. ld/testsuite/ChangeLog: 2014-07-10 Will Newton <will.newton@linaro.org> * ld-elfvers/vers.exp: Set pic to yes for ARM targets.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-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"