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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
As elsewhere, the .note should be guarded on Linux or so, either
#ifdef __linux__
or something similar.  And the second thing is that @progbits is only
recognized on some platforms, others need %progbits, but ARM isn't the only
one, e.g. AArch64, SH, microblaze, and I believe SPARC Solaris as need that
too.  Maybe PA too?
Maybe %progbits works everywhere, e.g.
libphobos/libdruntime/config/common/threadasm.S
uses
#if (__linux__ || __FreeBSD__ || __NetBSD__ || __DragonFly__) && __ELF__
    .section .note.GNU-stack,"",%progbits
#endif

Reply via email to