This is the mail archive of the binutils@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]

Re: Enable shared lib tests for frv, lm32, m32r, microblaze, nds32 and or1k


On Thu, Dec 07, 2017 at 08:20:40PM +1030, Alan Modra wrote:
> 	* testsuite/lib/ld-lib.exp (check_shared_lib_support): Ask ld
> 	under test whether -shared is supported.

And of course that exposed a whole lot of test failures.  The majority
being mcore-elf and mipstx39-elf.  mcore-elf is obviously a configury
problem:  The backend doesn't provide necessary functions to support
shared libs, so shouldn't be advertising -shared support.  I'm not
sure what to do about the mips fails.

	* emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Don't define.

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.


-- 
Alan Modra
Australia Development Lab, IBM


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