summaryrefslogtreecommitdiffstats
path: root/jmp.S
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-07 09:39:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-07 09:39:28 -0700
commit8f1e467559024433853e6ec0a862752c9a546104 (patch)
treecd01f336d97580dfe9315484dbb1cfa863a243c9 /jmp.S
parent30f4f57e6f17dc1550cb751e5df0f30f47deb97b (diff)
downloadtxr-8f1e467559024433853e6ec0a862752c9a546104.tar.gz
txr-8f1e467559024433853e6ec0a862752c9a546104.tar.bz2
txr-8f1e467559024433853e6ec0a862752c9a546104.zip
Cygwin and MinGW exception for GNU stack section.
* jmp.S: Don't generate the .note.GNU-stack section on MinGW or Cygwin either.
Diffstat (limited to 'jmp.S')
-rw-r--r--jmp.S2
1 files changed, 1 insertions, 1 deletions
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