1
0
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:
Ian Martin 2014-12-03 11:41:59 -05:00
parent e6c808d5fa
commit 58e413afce

View File

@ -96,6 +96,13 @@ SECTIONS
} > rom
PROVIDE_HIDDEN (__exidx_end = .);
/* exception handling */
. = ALIGN(4);
.eh_frame :
{
KEEP (*(.eh_frame))
} > rom
. = ALIGN(4);
_etext = .;