https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122516
--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Georg-Johann Lay <[email protected]>: https://gcc.gnu.org/g:d3efc2fcfd2de53380e29d7741f59cb6515155d3 commit r14-12141-gd3efc2fcfd2de53380e29d7741f59cb6515155d3 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. (cherry picked from commit d5ede6fff1ff19738d60350856ab852522809068)
