Skip to content

Commit 17ef2df

Browse files
committed
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>
1 parent 739b42e commit 17ef2df

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ports/nrf/boards/common.template.ld

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ SECTIONS
7070
_etext = .; /* define a global symbol at end of code */
7171
} >FLASH_FIRMWARE
7272

73-
/*
7473
.ARM.extab :
7574
{
7675
*(.ARM.extab* .gnu.linkonce.armextab.*)
@@ -82,7 +81,6 @@ SECTIONS
8281
*(.ARM.exidx*)
8382
__exidx_end = .;
8483
} >FLASH_FIRMWARE
85-
*/
8684

8785
/* used by the startup to initialize data */
8886
_sidata = .;

0 commit comments

Comments
 (0)