Share mingw fset-stack-executable with cygwin
authorJonathan Yong <10walls@gmail.com>
Mon, 7 Aug 2017 11:40:08 +0000 (11:40 +0000)
committerJonathan Yong <jyong@gcc.gnu.org>
Mon, 7 Aug 2017 11:40:08 +0000 (11:40 +0000)
commitc8f34527b1c941f81e41df66e5d7cc2aedb453df
tree29c6f2d9190db98aa9783ebf47a8f4c11067f070
parentd5e2c91a26b85184400e3881baaeda27ade84ef9
Share mingw fset-stack-executable with cygwin

This patch is in use by Cygwin for years, upstream to GCC.

* gcc/config/i386/mingw.opt (fset-stack-executable): Removed.
* gcc/config/i386/cygming.opt (fset-stack-executable): Moved
from mingw.opt.
* gcc/config/i386/cygwin.h: Define CHECK_EXECUTE_STACK_ENABLED.
* ligcc/config.host (*-cygwin): Include file from mingw
config/i386/enable-execute-stack-mingw32.c

From-SVN: r250914
gcc/ChangeLog
gcc/config/i386/cygming.opt
gcc/config/i386/cygwin.h
gcc/config/i386/mingw.opt
libgcc/ChangeLog
libgcc/config.host