https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122516
--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Georg-Johann Lay <[email protected]>: https://gcc.gnu.org/g:d5ede6fff1ff19738d60350856ab852522809068 commit r16-5064-gd5ede6fff1ff19738d60350856ab852522809068 Author: Georg-Johann Lay <[email protected]> Date: Thu Nov 6 20:20:49 2025 +0100 AVR: target/122516: Make attribute "retain" work. Due to some quirks in crtstuff.c, attribute "retain" requires some features that avr doesn't implement -- even though it doesnt't even use crtstuff. This patch works around that. PR target/122516 gcc/ * config/avr/elf.h (SUPPORTS_SHF_GNU_RETAIN): Define if HAVE_GAS_SHF_GNU_RETAIN.
