diff options
author | Keith Packard <keithp@keithp.com> | 2018-09-11 18:50:45 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:23:25 -0700 |
commit | bb9d3d3bb1ae6223a7b910bc49ea8af5544a64d7 (patch) | |
tree | f0187c20ec11cc9d8b70875c245d4412787f25d1 /src | |
parent | cd151a622537e1436362bd71229c6ce22a3957d0 (diff) |
altos/stm32f4: Place ARM.exidx sections after .text
This makes the linker happy about not attempting to merge unordered
and ordered stuff (whatever that means...)
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/stm32f4/altos-raw.ld | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stm32f4/altos-raw.ld b/src/stm32f4/altos-raw.ld index 21da5af5..82d33c09 100644 --- a/src/stm32f4/altos-raw.ld +++ b/src/stm32f4/altos-raw.ld @@ -38,9 +38,13 @@ SECTIONS { .text : { *(.text*) /* Executable code */ - *(.ARM.exidx* .gnu.linkonce.armexidx.*) *(.rodata*) /* Constants */ } > rom + + .exidx : { + *(.ARM.exidx* .gnu.linkonce.armexidx.*) + } > rom + __text_end__ = .; /* Data -- relocated to RAM, but written to ROM |