This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[nios2, committed] Disable -shared support in nios2-elf-ld


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]