From: Alan Modra Date: Thu, 7 Dec 2017 10:07:33 +0000 (+1030) Subject: mcore-elf lacks shared lib support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=931c97c81a55dffed31e20e0cd109aced62221e0;p=binutils-gdb.git mcore-elf lacks shared lib support elf32-mcore.c has no backend create_dynamic_sections function so can't support shared libs. * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Don't define. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 5d51420e4a8..f0121a7721c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2017-12-07 Alan Modra + + * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Don't define. + 2017-12-07 Alan Modra * testsuite/lib/ld-lib.exp (check_shared_lib_support): Ask ld diff --git a/ld/emulparams/elf32mcore.sh b/ld/emulparams/elf32mcore.sh index 512a9b0f3a7..9a83999e503 100644 --- a/ld/emulparams/elf32mcore.sh +++ b/ld/emulparams/elf32mcore.sh @@ -28,7 +28,6 @@ OTHER_BSS_END_SYMBOLS="__bss_end__ = . ;" STACK_ADDR=0x80000 TEMPLATE_NAME=elf32 -GENERATE_SHLIB_SCRIPT=yes # This code gets inserted into the generic elf32.sc linker script # and allows us to define our own command line switches.