binutils/ld: Add missing __exidx_* to fix arm bootstrap

Change-Id: I3771b54ca5a397950df822f17256ccfb882393d0
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/3547
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Alexander von Gluck IV 2020-12-23 12:06:40 -06:00 committed by Alex von Gluck IV
parent c8ecfce34c
commit f4963fa33e

View File

@ -17,6 +17,13 @@ OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'
OTHER_END_SYMBOLS='__end__ = . ;'
OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
# Use the ARM ABI-compliant exception-handling sections.
OTHER_READONLY_SECTIONS="
.ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); }
.ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }"
TEXT_START_ADDR=0x00008000
TARGET2_TYPE=got-rel