diff options
| author | Sean Cross <sean@xobs.io> | 2020-05-20 20:06:36 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2020-05-27 11:28:48 +0800 |
| commit | 17ef2df2cacc234e98f729ab60c3af9ec02dd08d (patch) | |
| tree | 212f28e8f2ad6f0ca9bae8f050ebeabace75a696 | |
| parent | 739b42e3e0cde489a5deadb945ad4e754fa75baf (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>
| -rw-r--r-- | ports/nrf/boards/common.template.ld | 2 |
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 = .; |
