Mercurial > pub > dyncall > dyncall
comparison dyncallback/dyncall_callback_arch.S @ 268:03f0b683918a
- reintroduced .note.GNU-stack section, as mentioned in prev commit
author | Tassilo Philipp |
---|---|
date | Sat, 27 May 2017 19:57:34 +0200 |
parents | b11b0735b09f |
children | 3581366858a6 |
comparison
equal
deleted
inserted
replaced
267:f8fe0f87b7c1 | 268:03f0b683918a |
---|---|
77 # elif defined(DC__Arch_ARM64) | 77 # elif defined(DC__Arch_ARM64) |
78 # include "dyncall_callback_arm64.S" | 78 # include "dyncall_callback_arm64.S" |
79 # endif | 79 # endif |
80 #endif | 80 #endif |
81 | 81 |
82 | |
83 /* Use .note.GNU-stack to explicitly indicate a non-exec stack, b/c of bad */ | |
84 /* default behaviour when translating handwritten assembly files (needed on */ | |
85 /* GNU/* platforms, Android and FreeBSD, as tests have shown). */ | |
86 #if (defined(DC__C_CLANG) || defined(DC__C_GNU)) && defined(__ELF__) && (defined(DC__OS_Linux) || defined(DC__OS_FreeBSD)) | |
87 .section .note.GNU-stack,"",%progbits | |
88 #endif | |
89 |