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 b86366e34e
makefiles/toolchain: Fix incorrect assumptions on address space layout
GCC 12 gives out of bounds warnings when the resulting address is out
of bounds of what GCC assumes to be the valid address space. It seems
that by default the address 0x0 is not considered valid (which would
be a NULL pointer and typically not mapped in a userspace behind an MMU
scenario), but in fact is valid on bare metal hardware. At least on
AVR and MSP430 this needs to be set. On many Cortex M MCUs 0x0 is also
a valid address (e.g. often the flash is mapped there), but seemingly
for them `--param=min-pagesize=0` is already the default. In any case,
it won't hurt to set it explicit for them as well.
2023-05-08 15:42:40 +02:00
..
avr8.inc.mk makefiles/toolchain: Fix incorrect assumptions on address space layout 2023-05-08 15:42:40 +02: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