From Alex von Gluck IV <kallisti5@xxxxxxxxxxx>:
Alex von Gluck IV has uploaded this change for review. (
https://review.haiku-os.org/c/buildtools/+/3547 ;)
Change subject: binutils/ld: Add missing __exidx_* to fix arm bootstrap
......................................................................
binutils/ld: Add missing __exidx_* to fix arm bootstrap
---
M binutils/ld/emulparams/armelf_haiku.sh
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://git.haiku-os.org:22/buildtools refs/changes/47/3547/1
diff --git a/binutils/ld/emulparams/armelf_haiku.sh
b/binutils/ld/emulparams/armelf_haiku.sh
index 9dcdf54..cfff82d 100644
--- a/binutils/ld/emulparams/armelf_haiku.sh
+++ b/binutils/ld/emulparams/armelf_haiku.sh
@@ -17,6 +17,13 @@
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
--
To view, visit https://review.haiku-os.org/c/buildtools/+/3547
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: buildtools
Gerrit-Branch: master
Gerrit-Change-Id: I3771b54ca5a397950df822f17256ccfb882393d0
Gerrit-Change-Number: 3547
Gerrit-PatchSet: 1
Gerrit-Owner: Alex von Gluck IV <kallisti5@xxxxxxxxxxx>
Gerrit-MessageType: newchange