mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
cpu/cc2538: add eh_frame section to the linkerscript
Fixes linker errors on some toolchains, for example: ld: foo.elf section `.eh_frame' will not fit in region `cca' ld: region `cca' overflowed by 40 bytes
This commit is contained in:
parent
e6c808d5fa
commit
58e413afce
@ -96,6 +96,13 @@ SECTIONS
|
||||
} > rom
|
||||
PROVIDE_HIDDEN (__exidx_end = .);
|
||||
|
||||
/* exception handling */
|
||||
. = ALIGN(4);
|
||||
.eh_frame :
|
||||
{
|
||||
KEEP (*(.eh_frame))
|
||||
} > rom
|
||||
|
||||
. = ALIGN(4);
|
||||
_etext = .;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user