walnux/boards/avr
Kerogit 8126a8119f arch/avr: reworked eliminating unused sections with GCC
After a mailing list suggestion, the indirection that enabled
ARCH_TOOLCHAIN_GCC only when user requested it is removed.

The indirection was a safety measure for chips and boards with linker
scripts that (possibly) do not handle keeping for example .vectors
section even if the linker considers it unreferenced.

Instead, all existing configurations now disable
CONFIG_DEBUG_OPT_UNUSED_SECTIONS to prevent the linker from removing
any code. (Preserving previous behaviour.) This can be removed again
at some point after making sure that corresponding linker script
only removes code that is truly unused.

Signed-off-by: Kerogit <kr.git@kerogit.eu>
2025-05-19 22:29:58 +08:00
..
at32uc3 boards: Replace CONFIG_NSH_LINELEN with CONFIG_LINE_MAX 2025-01-15 00:07:58 +08:00
at90usb arch/avr: reworked eliminating unused sections with GCC 2025-05-19 22:29:58 +08:00
atmega arch/avr: reworked eliminating unused sections with GCC 2025-05-19 22:29:58 +08:00
avrdx/breadxavr boards/avr/avrdx/breadxavr: fix dependency in Kconfig 2025-05-19 22:29:58 +08:00