mcore-elf lacks shared lib support
authorAlan Modra <amodra@gmail.com>
Thu, 7 Dec 2017 10:07:33 +0000 (20:37 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 7 Dec 2017 10:37:19 +0000 (21:07 +1030)
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
ld/emulparams/elf32mcore.sh

index 5d51420..f0121a7 100644 (file)
@@ -1,5 +1,9 @@
 2017-12-07  Alan Modra  <amodra@gmail.com>
 
+       * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Don't define.
+
+2017-12-07  Alan Modra  <amodra@gmail.com>
+
        * testsuite/lib/ld-lib.exp (check_shared_lib_support): Ask ld
        under test whether -shared is supported.
 
index 512a9b0..9a83999 100644 (file)
@@ -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.