Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_call_x86_nasm.asm @ 256:7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
- since no-execstack handling is now in build, remove .note.GNU-stack section markers (were of limites use, anyways, b/c unportable or implemented inconsistently across platforms)
- some ToDo, etc. updates
author | Tassilo Philipp |
---|---|
date | Sat, 20 May 2017 00:02:59 +0200 |
parents | 3e629dc19168 |
children |
comparison
equal
deleted
inserted
replaced
255:704c28fd9428 | 256:7520e2260097 |
---|---|
224 mov esp, ebp ; epilog | 224 mov esp, ebp ; epilog |
225 pop ebp | 225 pop ebp |
226 | 226 |
227 ret | 227 ret |
228 | 228 |
229 ; Stack markings for ELF/GNU to specify no executable stack */ | 229 ;; Stack markings for ELF/GNU to specify no executable stack */ |
230 | 230 ; |
231 %ifidn __OUTPUT_FORMAT__,elf | 231 ;%ifidn __OUTPUT_FORMAT__,elf |
232 section .note.GNU-stack noalloc noexec nowrite progbits | 232 ;section .note.GNU-stack noalloc noexec nowrite progbits |
233 %endif | 233 ;%endif |
234 | 234 |