From bba18ee5e997b39a19003f94f419d7fad10e7f76 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 7 May 2016 09:39:28 -0700 Subject: Cygwin and MinGW exception for GNU stack section. * jmp.S: Don't generate the .note.GNU-stack section on MinGW or Cygwin either. --- jmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmp.S b/jmp.S index 8e8af12f..fcb67ddd 100644 --- a/jmp.S +++ b/jmp.S @@ -245,7 +245,7 @@ DEFUN(jmp_restore) #error port me! #endif -#ifndef __APPLE__ +#if !defined(__APPLE__) && !defined(__MINGW32__) && !defined(__CYGWIN__) /* This is needed so our assembly code doesn't cause the program to require an executable stack! */ .section .note.GNU-stack,"",SIGIL()progbits -- cgit v1.2.3