1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430_common/ldscripts
Marian Buschsieweke b123f1071a
cpu/msp430_common: Fix linking with binutils 2.40
An `INSERT AFTER` directive no longer can refer to a different linker
script included with `-T path/to/script.ld`. Instead, this adds wrapper
linker scripts that just `INCLUDE` the three individual linker scripts.
This way, the xfa.ld can safely refer back to sections defined in
the vendor linker script.

For some reason, this approach cause the exact issue it fixes for
binutils 2.40 with the binutils in the CI. We stick with the old
linker flags with binutils prior 2.40 to be compatible with both
conflicting behaviors.

The best approach would be to come up with something that works across
different versions of binutils; but no such solution materialized.
2023-05-08 15:40:26 +02:00
..
msp430_common.ld cpu/msp430_common: add flash_writable section to linker script 2022-03-07 11:24:39 +01:00
riot-msp430f1611.ld cpu/msp430_common: Fix linking with binutils 2.40 2023-05-08 15:40:26 +02:00
riot-msp430f1612.ld cpu/msp430_common: Fix linking with binutils 2.40 2023-05-08 15:40:26 +02:00
riot-msp430f1617.ld cpu/msp430_common: Fix linking with binutils 2.40 2023-05-08 15:40:26 +02:00
riot-msp430f2617.ld cpu/msp430_common: Fix linking with binutils 2.40 2023-05-08 15:40:26 +02:00
xfa.ld cpu/msp430_common: add XFA support 2021-02-18 10:46:08 +01:00