nrf: discard arm exception sections
Since these exceptions are unused, don't include them in the output binary. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
87737fb50a
commit
0169ea5155
@ -70,18 +70,6 @@ SECTIONS
|
||||
_etext = .; /* define a global symbol at end of code */
|
||||
} >FLASH_FIRMWARE
|
||||
|
||||
.ARM.extab :
|
||||
{
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
} >FLASH_FIRMWARE
|
||||
|
||||
.ARM :
|
||||
{
|
||||
__exidx_start = .;
|
||||
*(.ARM.exidx*)
|
||||
__exidx_end = .;
|
||||
} >FLASH_FIRMWARE
|
||||
|
||||
/* used by the startup to initialize data */
|
||||
_sidata = .;
|
||||
|
||||
@ -145,6 +133,14 @@ SECTIONS
|
||||
. = ALIGN(4);
|
||||
} >RAM
|
||||
|
||||
/* Remove exception unwinding information, since Circuit Python
|
||||
does not support this GCC feature. */
|
||||
/DISCARD/ :
|
||||
{
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
*(.ARM.exidx*)
|
||||
}
|
||||
|
||||
/* Remove information from the standard libraries */
|
||||
/*
|
||||
/DISCARD/ :
|
||||
|
Loading…
x
Reference in New Issue
Block a user