From 931c97c81a55dffed31e20e0cd109aced62221e0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 7 Dec 2017 20:37:33 +1030 Subject: 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. --- ld/ChangeLog | 4 ++++ ld/emulparams/elf32mcore.sh | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 5d51420..f0121a7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,9 @@ 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 under test whether -shared is supported. diff --git a/ld/emulparams/elf32mcore.sh b/ld/emulparams/elf32mcore.sh index 512a9b0..9a83999 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. -- cgit v1.1