aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-01-27 11:49:23 +0100
committerJakub Jelinek <jakub@redhat.com>2021-01-27 11:50:13 +0100
commit686b1cdfdc46a476056fe4df6e8186be8c889aca (patch)
tree54e80c05d7ddd8255a5f59820d4e750f70f54673 /gcc/fortran/trans-expr.c
parent530b1d688761db46b33d26864d3a0684cc82e0f9 (diff)
downloadgcc-686b1cdfdc46a476056fe4df6e8186be8c889aca.zip
gcc-686b1cdfdc46a476056fe4df6e8186be8c889aca.tar.gz
gcc-686b1cdfdc46a476056fe4df6e8186be8c889aca.tar.bz2
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.
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions