[haiku-commits] buildtools: btrev43165 - binutils/ld/emulparams

  • From: Alex von Gluck IV <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 24 Dec 2020 08:52:37 -0500 (EST)

btrev43165 adds 1 changeset to branch 'master'
old head: c8ecfce34c4db7b94581e365377aea88e862d00f
new head: f4963fa33e01d7801cbc621cd3afa9bb2e630b17
overview: 
https://git.haiku-os.org/buildtools/log/?qt=range&q=f4963fa33e01+%5Ec8ecfce34c4d

----------------------------------------------------------------------------

f4963fa33e01: 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@xxxxxxxxx>
  Reviewed-by: Adrien Destugues <pulkomandy@xxxxxxxxx>

                          [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    btrev43165
Commit:      f4963fa33e01d7801cbc621cd3afa9bb2e630b17
URL:         https://git.haiku-os.org/buildtools/commit/?id=f4963fa33e01
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Wed Dec 23 18:06:40 2020 UTC
Committer:   Alex von Gluck IV <kallisti5@xxxxxxxxxxx>
Commit-Date: Thu Dec 24 13:52:35 2020 UTC

----------------------------------------------------------------------------

1 file changed, 7 insertions(+)
binutils/ld/emulparams/armelf_haiku.sh | 7 +++++++

----------------------------------------------------------------------------

diff --git a/binutils/ld/emulparams/armelf_haiku.sh 
b/binutils/ld/emulparams/armelf_haiku.sh
index 9dcdf54baa..cfff82df66 100644
--- a/binutils/ld/emulparams/armelf_haiku.sh
+++ b/binutils/ld/emulparams/armelf_haiku.sh
@@ -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
 


Other related posts:

  • » [haiku-commits] buildtools: btrev43165 - binutils/ld/emulparams - Alex von Gluck IV