mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Fix haiku ld dependencies
I noticed after commit 8ad93045ed
, "ld, gold: remove support for -z
bndplt (MPX prefix)", that some of my builds were failing with
eelf_x86_64_haiku.c:650:9: error: no member named 'bndplt' in 'struct elf_linker_x86_params'
params.bndplt = true;
~~~~~~ ^
* emulparams/aarch64haiku.sh: Use "source_sh" rather than ".".
* emulparams/armelf_haiku.sh: Likewise.
* emulparams/elf32ppchaiku.sh: Likewise.
* emulparams/elf_mipsel_haiku.sh: Likewise.
* emulparams/elf_x86_64_haiku.sh: Likewise.
This commit is contained in:
parent
2698da268b
commit
d1da8dd5bd
@ -36,4 +36,4 @@ ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.att
|
||||
# Ensure each PLT entry is aligned to a cache line.
|
||||
PLT=".plt ${RELOCATING-0} : ALIGN(16) { *(.plt)${RELOCATING+${IREL_IN_PLT+ *(.iplt)}} }"
|
||||
|
||||
. ${srcdir}/emulparams/elf_haiku.sh
|
||||
source_sh ${srcdir}/emulparams/elf_haiku.sh
|
||||
|
@ -30,4 +30,4 @@ TARGET2_TYPE=got-rel
|
||||
# ARM does not support .s* sections.
|
||||
NO_SMALL_DATA=yes
|
||||
|
||||
. ${srcdir}/emulparams/elf_haiku.sh
|
||||
source_sh ${srcdir}/emulparams/elf_haiku.sh
|
||||
|
@ -1,5 +1,5 @@
|
||||
. ${srcdir}/emulparams/elf32ppc.sh
|
||||
. ${srcdir}/emulparams/elf_haiku.sh
|
||||
source_sh ${srcdir}/emulparams/elf32ppc.sh
|
||||
source_sh ${srcdir}/emulparams/elf_haiku.sh
|
||||
TEXT_START_ADDR=0x200000
|
||||
MAXPAGESIZE=0x1000
|
||||
GENERATE_SHLIB_SCRIPT=yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
. ${srcdir}/emulparams/elf32lmip.sh
|
||||
. ${srcdir}/emulparams/elf_haiku.sh
|
||||
source_sh ${srcdir}/emulparams/elf32lmip.sh
|
||||
source_sh ${srcdir}/emulparams/elf_haiku.sh
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
. ${srcdir}/emulparams/elf_x86_64.sh
|
||||
. ${srcdir}/emulparams/elf_haiku.sh
|
||||
source_sh ${srcdir}/emulparams/elf_x86_64.sh
|
||||
source_sh ${srcdir}/emulparams/elf_haiku.sh
|
||||
|
Loading…
Reference in New Issue
Block a user