Hi The *_resms64*.S files in libgcc don't have section to remove the executable stack marking. Can this be added to Gcc 8.0 Rc?
gcc/ChangeLog: 2018-05-01 Magnus Granberg <zo...@gentoo.org> * config/i386/cet.h: Add section to remove executable stack marking. ---
--- a/gcc/config/i386/cet.h 2018-04-20 15:30:13.000000000 +0200 +++ b/gcc/config/i386/cet.h 2018-05-01 11:45:53.762906162 +0200 @@ -87,6 +87,9 @@ 4: .popsection # endif /* __CET__ */ +# ifdef __linux__ + .section .note.GNU-stack,"",%progbits +# endif # endif /* __ELF__ */ #endif /* __ASSEMBLER__ */