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

Message ID 30b6ecca-bcd7-d449-3421-e11ed98436a5@codesourcery.com
State New
Headers show
Series
  • [nios2,committed] Disable -shared support in nios2-elf-ld
Related show

Commit Message

Sandra Loosemore Feb. 3, 2018, 7:07 a.m.
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

Patch

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