ld/xc16x: This target does not support -shared
authorAndrew Burgess <andrew.burgess@embecosm.com>
Sun, 30 Oct 2016 08:11:30 +0000 (08:11 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 4 Nov 2016 12:04:10 +0000 (12:04 +0000)
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.

ld/ChangeLog
ld/testsuite/lib/ld-lib.exp

index 1fb55c7bfd8f6e5c71028444e9037ef000a33291..2d3bf34f3c7d2b409fce3a829fdc944f774e403c 100644 (file)
@@ -1,3 +1,8 @@
+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
index 49c1fb162bbfd46ee37f3e928f3f77f63c8f3bbc..0f86fe63e452211dcefcf14fc0ac4f2765ae773b 100644 (file)
@@ -1764,6 +1764,7 @@ proc check_shared_lib_support { } {
         && ![istarget spu-*-*]
         && ![istarget v850*-*-*]
         && ![istarget visium-*-*]
+        && ![istarget xc16x-*-elf]
         && ![istarget xgate-*-*]
         && ![istarget xstormy16-*-*]
         && ![istarget *-*-irix*]