Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_call.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 | cf8134a20759 |
children | 3581366858a6 |
comparison
equal
deleted
inserted
replaced
267:f8fe0f87b7c1 | 268:03f0b683918a |
---|---|
75 # else | 75 # else |
76 # error Unsupported Architecture. | 76 # error Unsupported Architecture. |
77 # endif | 77 # endif |
78 #endif | 78 #endif |
79 | 79 |
80 | |
81 /* Use .note.GNU-stack to explicitly indicate a non-exec stack, b/c of bad */ | |
82 /* default behaviour when translating handwritten assembly files (needed on */ | |
83 /* GNU/* platforms, Android and FreeBSD, as tests have shown). */ | |
84 #if (defined(DC__C_CLANG) || defined(DC__C_GNU)) && defined(__ELF__) && (defined(DC__OS_Linux) || defined(DC__OS_FreeBSD)) | |
85 .section .note.GNU-stack,"",%progbits | |
86 #endif | |
87 |