public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/85621] savms/resms have executable stack (lack GNU-stack marking)
       [not found] <bug-85621-4@http.gcc.gnu.org/bugzilla/>
@ 2021-02-06 11:59 ` slyfox at gcc dot gnu.org
  2021-02-06 12:01 ` slyfox at inbox dot ru
  1 sibling, 0 replies; 2+ messages in thread
From: slyfox at gcc dot gnu.org @ 2021-02-06 11:59 UTC (permalink / raw)
  To: gcc-bugs

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

Sergei Trofimovich <slyfox at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at redhat dot com
             Status|NEW                         |ASSIGNED
                 CC|                            |slyfox at gcc dot gnu.org

--- Comment #5 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
I think it was fixed with

commit 686b1cdfdc46a476056fe4df6e8186be8c889aca
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Wed Jan 27 11:49:23 2021 +0100

    libgcc, i386: Add .note.GNU-stack sections to the ms sse/avx sav/res

    On Linux, GCC emits .note.GNU-stack sections when compiling code to mark
    the code as not needing or needing executable stack, missing section means
    unknown.  But assembly files need to be marked manually.  We already
    mark various *.S files in libgcc manually, but the
    avx_resms64f.o
    avx_resms64fx.o
    avx_resms64.o
    avx_resms64x.o
    avx_savms64f.o
    avx_savms64.o
    sse_resms64f.o
    sse_resms64fx.o
    sse_resms64.o
    sse_resms64x.o
    sse_savms64f.o
    sse_savms64.o
    files aren't marked, so when something links it in, it will require
    executable stack.  Nothing in the assembly requires executable stack
though.

    2021-01-27  Jakub Jelinek  <jakub@redhat.com>

            * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
            * config/i386/savms64f.h: Likewise.
            * config/i386/resms64.h: Likewise.
            * config/i386/resms64f.h: Likewise.
            * config/i386/resms64x.h: Likewise.
            * config/i386/resms64fx.h: Likewise.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libgcc/85621] savms/resms have executable stack (lack GNU-stack marking)
       [not found] <bug-85621-4@http.gcc.gnu.org/bugzilla/>
  2021-02-06 11:59 ` [Bug libgcc/85621] savms/resms have executable stack (lack GNU-stack marking) slyfox at gcc dot gnu.org
@ 2021-02-06 12:01 ` slyfox at inbox dot ru
  1 sibling, 0 replies; 2+ messages in thread
From: slyfox at inbox dot ru @ 2021-02-06 12:01 UTC (permalink / raw)
  To: gcc-bugs

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

Sergei Trofimovich <slyfox at inbox dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Sergei Trofimovich <slyfox at inbox dot ru> ---
FIXED in gcc-11.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-06 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-85621-4@http.gcc.gnu.org/bugzilla/>
2021-02-06 11:59 ` [Bug libgcc/85621] savms/resms have executable stack (lack GNU-stack marking) slyfox at gcc dot gnu.org
2021-02-06 12:01 ` slyfox at inbox dot ru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).