1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/arch
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
..
avr8.inc.mk build system: use -std=gnu11 for avr8 2023-02-27 12:06:29 +01:00
cortexm.inc.mk makefiles/arch/cortexm.inc.mk: fix ASMFLAGS 2022-11-11 23:11:07 +01:00
msp430.inc.mk cpu/msp430_common: Fix linking with binutils 2.40 2023-05-08 15:40:26 +02:00
riscv.inc.mk makefiles/arch/riscv.inc.mk: Fix with BUILD_IN_DOCKER 2022-09-27 10:43:39 +02:00