diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2017-03-21 13:25:09 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2017-03-21 13:25:09 -0700 |
commit | 4c8798c9923de48c71430ce262d83042179232c6 (patch) | |
tree | e986fcb043f9076748d3f499aaa0a8bcb4280716 /ld/testsuite/lib | |
parent | 3de88e9afbf0d8d10a8c4ce1415c219120e0a0c1 (diff) | |
download | fsf-binutils-gdb-4c8798c9923de48c71430ce262d83042179232c6.zip fsf-binutils-gdb-4c8798c9923de48c71430ce262d83042179232c6.tar.gz fsf-binutils-gdb-4c8798c9923de48c71430ce262d83042179232c6.tar.bz2 |
Disable shared library tests for nios2-*-elf.
The Nios II processor documentation defines relocations for PIC and
shared libraries as part of the GNU/Linux ABI only; GCC rejects -fpic
on bare-metal.
2017-03-21 Sandra Loosemore <sandra@codesourcery.com>
ld/
* testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
false for nios2-*-elf.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 42cfe1c..bdce739 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -1820,6 +1820,7 @@ proc check_shared_lib_support { } { && ![istarget msp430-*-*] && ![istarget mt-*-*] && ![istarget nds32*-*-*] + && ![istarget nios2-*-elf] && ![istarget or1k*-*-*] && ![istarget pj-*-*] && ![istarget pru-*-*] |