aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/lib
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2016-10-30 08:11:30 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2016-11-04 12:04:10 +0000
commitb709ef7ca12d963678c6f73b10a20bea60cfb0df (patch)
treeb3fb9b2bb7af1a5b800a2aeb1091b6f091e457c5 /ld/testsuite/lib
parent6b211b9cc3c61f514423869af51a17e4c2bc7531 (diff)
downloadfsf-binutils-gdb-b709ef7ca12d963678c6f73b10a20bea60cfb0df.zip
fsf-binutils-gdb-b709ef7ca12d963678c6f73b10a20bea60cfb0df.tar.gz
fsf-binutils-gdb-b709ef7ca12d963678c6f73b10a20bea60cfb0df.tar.bz2
ld/xc16x: This target does not support -shared
Add the xc16x-elf target to the list of targets that do not support the -shared option. Being missing from this list was causing the linker to add '-z norelro' to the link line of many tests, which in turn caused these tests to fail. ld/ChangeLog: * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add xc16x-*-elf to the list of targets that don't support -shared.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r--ld/testsuite/lib/ld-lib.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 49c1fb1..0f86fe6 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1764,6 +1764,7 @@ proc check_shared_lib_support { } {
&& ![istarget spu-*-*]
&& ![istarget v850*-*-*]
&& ![istarget visium-*-*]
+ && ![istarget xc16x-*-elf]
&& ![istarget xgate-*-*]
&& ![istarget xstormy16-*-*]
&& ![istarget *-*-irix*]