nuttx/arch
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
..
arm [nxstyle]: fix Inconsistency in function headers style 2025-05-19 20:20:46 +08:00
arm64 arch/arm64/imx9: Extend ELE API with RNG support 2025-05-16 06:30:18 -03:00
avr arch/avr: reworked eliminating unused sections with GCC 2025-05-19 22:29:58 +08:00
ceva libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
dummy
hc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
mips libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
misoc libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
or1k libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
renesas Revert "Use small lock to protect usbdev and endpoint in arch renesas." 2025-02-13 14:15:43 +08:00
risc-v Select SENSORS_QENCODER as dependency for Quadrature Encoder mode of PCNT unit 2025-05-16 11:10:29 -03:00
sim arch/sim/Kconfig: fix codespell issues 2025-05-14 21:50:15 +08:00
sparc libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
tricore libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
x86 libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
x86_64 x86_64: support for stack canaries 2025-04-30 13:42:56 +08:00
xtensa Select SENSORS_QENCODER as dependency for Quadrature Encoder mode of PCNT unit 2025-05-16 11:10:29 -03:00
z16 comments: update text typo pre-empted to preempted 2025-05-12 15:01:37 +08:00
z80 libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig libc/arm: optimize crc32/crc32c for arm 2025-04-04 09:51:50 -03:00