This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Disable shared library tests for nios2-*-elf.
- From: Sandra Loosemore <sandra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 21 Mar 2017 20:28:48 -0000
- Subject: [binutils-gdb] Disable shared library tests for nios2-*-elf.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4c8798c9923de48c71430ce262d83042179232c6
commit 4c8798c9923de48c71430ce262d83042179232c6
Author: Sandra Loosemore <sandra@codesourcery.com>
Date: Tue Mar 21 13:25:09 2017 -0700
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.
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 e42df38..7d99c75 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-21 Sandra Loosemore <sandra@codesourcery.com>
+
+ * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
+ false for nios2-*-elf.
+
2017-03-21 gingold <gingold@gingold-Precision-7510>
* ldlang.c (lang_check_section_addresses): Check only for
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-*-*]