diff options
author | Alan Modra <amodra@gmail.com> | 2017-12-07 20:37:33 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-12-07 21:07:19 +1030 |
commit | 931c97c81a55dffed31e20e0cd109aced62221e0 (patch) | |
tree | 9a2ba3b778bf60d36ed066aa9b687c4f58ca0d47 /ld | |
parent | 05a5feafdd3869b81533993a23c344d60baa56de (diff) | |
download | gdb-931c97c81a55dffed31e20e0cd109aced62221e0.zip gdb-931c97c81a55dffed31e20e0cd109aced62221e0.tar.gz gdb-931c97c81a55dffed31e20e0cd109aced62221e0.tar.bz2 |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/emulparams/elf32mcore.sh | 1 |
2 files changed, 4 insertions, 1 deletions
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 <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. 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. |