[binutils-gdb] ld/xc16x: This target does not support -shared
Andrew Burgess
aburgess@sourceware.org
Fri Nov 4 12:05:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b709ef7ca12d963678c6f73b10a20bea60cfb0df
commit b709ef7ca12d963678c6f73b10a20bea60cfb0df
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Sun Oct 30 08:11:30 2016 +0000
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.
Diff:
---
ld/ChangeLog | 5 +++++
ld/testsuite/lib/ld-lib.exp | 1 +
2 files changed, 6 insertions(+)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1fb55c7..2d3bf34 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
+ * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
+ xc16x-*-elf to the list of targets that don't support -shared.
+
+2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
* ldgram.y: Rename file_NAME_list to section_NAME_list
throughout.
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*]
More information about the Binutils-cvs
mailing list