From 6f86b3b00029344e8aebadf1bb10c9ee46d2d512 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Mon, 7 Jul 2014 17:30:58 +0100 Subject: [PATCH] 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 * ld-elfvers/vers.exp: Set pic to yes for ARM targets. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-elfvers/vers.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 8cafff0..c0ba501 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-07-10 Will Newton + + * ld-elfvers/vers.exp: Set pic to yes for ARM targets. + 2014-07-08 Will Newton * ld-arm/arm-lib.ld: Increase MAXPAGESIZE value to 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" -- 2.7.4