diff mbox

[1/4] ld/testsuite: Disable non-PIC shared library tests on ARM

Message ID 1404828845-20737-1-git-send-email-will.newton@linaro.org
State Accepted
Headers show

Commit Message

Will Newton July 8, 2014, 2:14 p.m. UTC
ARM doesn't support non-PIC shared libraries so don't run those
tests.

ld/testsuite/ChangeLog:

2014-07-08  Will Newton  <will.newton@linaro.org>

	* ld-elfvers/vers.exp: Set pic to yes for ARM targets.
---
 ld/testsuite/ld-elfvers/vers.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Nick Clifton July 9, 2014, 8:21 a.m. UTC | #1
Hi Will,

> ld/testsuite/ChangeLog:
>
> 2014-07-08  Will Newton  <will.newton@linaro.org>
>
> 	* ld-elfvers/vers.exp: Set pic to yes for ARM targets.

Approved - please apply.
diff mbox

Patch

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"