summaryrefslogtreecommitdiffstats
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
commitbba18ee5e997b39a19003f94f419d7fad10e7f76 (patch)
treecd01f336d97580dfe9315484dbb1cfa863a243c9
parente33ff1fd6641e569ad9fd1f3bb2b4c085fed7f29 (diff)
downloadtxr-bba18ee5e997b39a19003f94f419d7fad10e7f76.tar.gz
txr-bba18ee5e997b39a19003f94f419d7fad10e7f76.tar.bz2
txr-bba18ee5e997b39a19003f94f419d7fad10e7f76.zip
Cygwin and MinGW exception for GNU stack section.
* jmp.S: Don't generate the .note.GNU-stack section on MinGW or Cygwin either.
-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