summaryrefslogtreecommitdiff
path: root/lib/alloca86_64-bt.S
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-02-21 23:16:20 +0000
committerThomas Preud'homme <robotux@celest.fr>2018-02-21 23:16:20 +0000
commite2ccf3981d78dfeb390d22c74625b60310100abb (patch)
treefc30b3b3fe20cc005634818512dab3514acf8ef4 /lib/alloca86_64-bt.S
parent3f2e65a51523fbb98a44b71c29ae3a3fcc13854b (diff)
New upstream version 0.9.27
Diffstat (limited to 'lib/alloca86_64-bt.S')
-rw-r--r--lib/alloca86_64-bt.S6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/alloca86_64-bt.S b/lib/alloca86_64-bt.S
index 1f196bb..4cbad90 100644
--- a/lib/alloca86_64-bt.S
+++ b/lib/alloca86_64-bt.S
@@ -4,7 +4,7 @@
.globl __bound_alloca
__bound_alloca:
-#ifdef TCC_TARGET_PE
+#ifdef _WIN32
# bound checking is not implemented
pop %rdx
mov %rcx,%rax
@@ -53,8 +53,4 @@ p3:
ret
#endif
-/* mark stack as nonexecutable */
-#if defined __ELF__ && defined __linux__
- .section .note.GNU-stack,"",@progbits
-#endif
/* ---------------------------------------------- */