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

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

https://gcc.gnu.org/g:1aa2fc950597e367101d4530789473f68c252254

commit r13-9956-g1aa2fc950597e367101d4530789473f68c252254
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