This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[nios2, committed] Disable -shared support in nios2-elf-ld
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: <binutils at sourceware dot org>
- Date: Sat, 3 Feb 2018 00:07:10 -0700
- Subject: [nios2, committed] Disable -shared support in nios2-elf-ld
- Authentication-results: sourceware.org; auth=none
I've checked in this patch to deal with more fallout from the "Rewrite
check_shared_lib_support" patch. nios2-elf doesn't support shared
libraries and that change caused a lot of bogus failures and errors on
this target.
-Sandra
2018-02-03 Sandra Loosemore <sandra@codesourcery.com>
* emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
diff --git a/ld/emulparams/nios2elf.sh b/ld/emulparams/nios2elf.sh
index 7ccde97..ed70748 100644
--- a/ld/emulparams/nios2elf.sh
+++ b/ld/emulparams/nios2elf.sh
@@ -16,5 +16,4 @@ COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
ENTRY=_start
NOP=0x0001883a
-GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes