1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430_common
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
..
include cpu: cpu_print_last_instruction() -> cpu_get_caller_pc() 2022-09-15 10:49:56 +02:00
ldscripts cpu/msp430_common: Fix linking with binutils 2.40 2023-05-08 15:40:26 +02:00
periph cpu/msp430_common: extend flashpage API 2021-10-25 15:03:50 +02:00
vendor cpu/msp430_common/vendor/README.md: add some explanation 2020-08-05 14:32:58 +02:00
cpu.c cpu: call early_init() 2023-01-08 22:26:12 +01:00
irq.c cpu/msp430_common: use __stack for ISR stacks 2020-08-05 14:32:58 +02:00
Kconfig periph/flashpage: Add _in_address_space feature 2022-03-17 19:45:54 +01:00
Makefile cpu/msp430-common: moved pm_reboot to periph/pm.c 2017-01-19 11:07:59 +01:00
Makefile.default cpu/msp430: move default module to Makefile.default 2021-01-25 09:17:00 +01:00
Makefile.dep cpu/msp430: add Kconfig 2021-12-02 16:33:19 +01:00
Makefile.features periph/flashpage: Add _in_address_space feature 2022-03-17 19:45:54 +01:00
Makefile.include makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
msp430-main.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
mspgcc-supplement.c msp430_common: Add supplemental __clzhi2, __ctzhi2, for old MSPGCC 2017-02-08 16:23:48 +01:00
startup.c cpu: call early_init() 2023-01-08 22:26:12 +01:00