This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] mcore-elf lacks shared lib support


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=931c97c81a55dffed31e20e0cd109aced62221e0

commit 931c97c81a55dffed31e20e0cd109aced62221e0
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Dec 7 20:37:33 2017 +1030

    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:
---
 ld/ChangeLog                | 4 ++++
 ld/emulparams/elf32mcore.sh | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]