summaryrefslogtreecommitdiff
path: root/ports/nrf
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-05-20 20:06:36 +0800
committerSean Cross <sean@xobs.io>2020-05-27 11:28:48 +0800
commit17ef2df2cacc234e98f729ab60c3af9ec02dd08d (patch)
tree212f28e8f2ad6f0ca9bae8f050ebeabace75a696 /ports/nrf
parent739b42e3e0cde489a5deadb945ad4e754fa75baf (diff)
nrf: ld: add ARM.exidx to output image
With the WDT changes, building Circuit Python results in the following error: /opt/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: section .ARM.exidx LMA [00000000000621c8,00000000000621cf] overlaps section .data LMA [00000000000621c8,0000000000062383] This is because unwinding data is getting generated, but has nowhere to go. Re-enable this data in the linker script so it is saved. Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'ports/nrf')
-rw-r--r--ports/nrf/boards/common.template.ld2
1 files changed, 0 insertions, 2 deletions
diff --git a/ports/nrf/boards/common.template.ld b/ports/nrf/boards/common.template.ld
index 9a7df69a4..334a3506e 100644
--- a/ports/nrf/boards/common.template.ld
+++ b/ports/nrf/boards/common.template.ld
@@ -70,7 +70,6 @@ SECTIONS
_etext = .; /* define a global symbol at end of code */
} >FLASH_FIRMWARE
- /*
.ARM.extab :
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
@@ -82,7 +81,6 @@ SECTIONS
*(.ARM.exidx*)
__exidx_end = .;
} >FLASH_FIRMWARE
- */
/* used by the startup to initialize data */
_sidata = .;