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.
This commit is contained in:
Sandra Loosemore 2017-03-21 13:25:09 -07:00
parent 3de88e9afb
commit 4c8798c992
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -1820,6 +1820,7 @@ proc check_shared_lib_support { } {
&& ![istarget msp430-*-*]
&& ![istarget mt-*-*]
&& ![istarget nds32*-*-*]
&& ![istarget nios2-*-elf]
&& ![istarget or1k*-*-*]
&& ![istarget pj-*-*]
&& ![istarget pru-*-*]