686b1cdfdc
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. |
||
---|---|---|
.. | ||
32 | ||
64 | ||
avx_resms64.S | ||
avx_resms64f.S | ||
avx_resms64fx.S | ||
avx_resms64x.S | ||
avx_savms64.S | ||
avx_savms64f.S | ||
cpuinfo.c | ||
crtfastmath.c | ||
crti.S | ||
crtn.S | ||
crtprec.c | ||
cygming-crtbegin.c | ||
cygming-crtend.c | ||
cygwin.S | ||
darwin-lib.h | ||
dragonfly-unwind.h | ||
elf-lib.h | ||
enable-execute-stack-mingw32.c | ||
freebsd-unwind.h | ||
gnu-unwind.h | ||
gthr-win32.c | ||
gthr-win32.h | ||
i386-asm.h | ||
libgcc-bsd.ver | ||
libgcc-cygming.ver | ||
libgcc-darwin.10.4.ver | ||
libgcc-darwin.10.5.ver | ||
libgcc-glibc.ver | ||
libgcc-sol2.ver | ||
linux-unwind.h | ||
morestack.S | ||
resms64.h | ||
resms64f.h | ||
resms64fx.h | ||
resms64x.h | ||
savms64.h | ||
savms64f.h | ||
sfp-exceptions.c | ||
sfp-machine.h | ||
shadow-stack-unwind.h | ||
sol2-c1.S | ||
sol2-unwind.h | ||
sse_resms64.S | ||
sse_resms64f.S | ||
sse_resms64fx.S | ||
sse_resms64x.S | ||
sse_savms64.S | ||
sse_savms64f.S | ||
t-chkstk | ||
t-cpuinfo | ||
t-cpuinfo-static | ||
t-crtpc | ||
t-crtstuff | ||
t-cygming | ||
t-cygwin | ||
t-darwin | ||
t-dlldir | ||
t-dlldir-x | ||
t-dragonfly | ||
t-dw2-eh | ||
t-freebsd | ||
t-gthr-win32 | ||
t-linux | ||
t-mingw32 | ||
t-mingw-pthread | ||
t-msabi | ||
t-nto | ||
t-seh-eh | ||
t-sjlj-eh | ||
t-slibgcc-cygming | ||
t-softfp | ||
t-sol2 | ||
t-stack-i386 | ||
value-unwind.h | ||
w32-unwind.h |