--- a/libgcc/config/i386/resms64.h 2018-01-03 11:03:58.000000000 +0100 +++ b/libgcc/config/i386/resms64.h 2018-05-01 12:59:48.942833419 +0200 @@ -57,3 +57,6 @@ MS2SYSV_STUB_END(resms64_17) MS2SYSV_STUB_END(resms64_18) #endif /* __x86_64__ */ +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif --- a/libgcc/config/i386/resms64f.h 2018-01-03 11:03:58.000000000 +0100 +++ b/libgcc/config/i386/resms64f.h 2018-05-01 13:00:23.422832853 +0200 @@ -55,3 +55,6 @@ MS2SYSV_STUB_END(resms64f_16) MS2SYSV_STUB_END(resms64f_17) #endif /* __x86_64__ */ +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif --- a/libgcc/config/i386/resms64fx.h 2018-02-26 20:46:34.000000000 +0100 +++ b/libgcc/config/i386/resms64fx.h 2018-05-01 13:06:49.682826518 +0200 @@ -62,3 +62,6 @@ MS2SYSV_STUB_END(resms64fx_16) MS2SYSV_STUB_END(resms64fx_17) #endif /* __x86_64__ */ +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif --- a/libgcc/config/i386/resms64x.h 2018-02-26 20:46:34.000000000 +0100 +++ b/libgcc/config/i386/resms64x.h 2018-05-01 13:07:21.702825993 +0200 @@ -63,3 +63,6 @@ MS2SYSV_STUB_END(resms64x_17) MS2SYSV_STUB_END(resms64x_18) #endif /* __x86_64__ */ +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif --- a/libgcc/config/i386/savms64.h 2018-01-03 11:03:58.000000000 +0100 +++ b/libgcc/config/i386/savms64.h 2018-05-01 13:07:48.952825546 +0200 @@ -57,3 +57,6 @@ MS2SYSV_STUB_END(savms64_17) MS2SYSV_STUB_END(savms64_18) #endif /* __x86_64__ */ +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif --- a/libgcc/config/i386/savms64f.h 2018-01-03 11:03:58.000000000 +0100 +++ b/libgcc/config/i386/savms64f.h 2018-05-01 13:08:30.082824871 +0200 @@ -55,3 +55,6 @@ MS2SYSV_STUB_END(savms64f_16) MS2SYSV_STUB_END(savms64f_17) #endif /* __x86_64__ */ +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif