From: Alan Modra Date: Wed, 20 Mar 2019 22:09:18 +0000 (+1030) Subject: lm32-linux ld testsuite fails X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=980a2e42f7439015defdcedad89a13a72749bdb0;p=binutils-gdb.git lm32-linux ld testsuite fails A number of the fails are due to ld supporting the creation of shared libraries but not allowing linking against them without using an option like -Bdynamic. FAIL: Symbol export class test (final shared object) FAIL: PROVIDE_HIDDEN test 4 FAIL: PROVIDE_HIDDEN test 6 FAIL: PROVIDE_HIDDEN test 10 FAIL: PROVIDE_HIDDEN test 12 FAIL: Build pr22471b.so FAIL: Build pr22649-2b.so FAIL: Build pr22649-2d.so FAIL: PR ld/20828 dynamic symbols with section GC (plain) FAIL: PR ld/20828 dynamic symbols with section GC (version script) FAIL: PR ld/20828 dynamic symbols with section GC (versioned) FAIL: PR ld/21233 dynamic symbols with section GC (--undefined) FAIL: PR ld/21233 dynamic symbols with section GC (--require-defined) FAIL: PR ld/21233 dynamic symbols with section GC (EXTERN) FAIL: Build pr22150 FAIL: PR ld/14170 FAIL: Link using broken linker script FAIL: pr17068 link --as-needed lib in group FAIL: ld-gc/pr20022 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 4fe6889efab..37688808c92 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2019-03-21 Alan Modra + + * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef. + 2019-03-21 Alan Modra * ldlang.c (lang_size_sections_1): Set SEC_KEEP on diff --git a/ld/emulparams/elf32lm32fd.sh b/ld/emulparams/elf32lm32fd.sh index 32a4d588c98..52e0822b622 100644 --- a/ld/emulparams/elf32lm32fd.sh +++ b/ld/emulparams/elf32lm32fd.sh @@ -1,5 +1,6 @@ . ${srcdir}/emulparams/elf32lm32.sh unset STACK_ADDR +unset DYNAMIC_LINK OUTPUT_FORMAT="elf32-lm32fdpic" MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" TEMPLATE_NAME=elf32