https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122516

--- Comment #19 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Georg-Johann Lay
<[email protected]>:

https://gcc.gnu.org/g:70be268cd45fd836f3606afc66d5c83f9c4b5e74

commit r15-10486-g70be268cd45fd836f3606afc66d5c83f9c4b5e74
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)

Reply via email to