1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-10 04:31:03 +00:00

Merge pull request #128 from luke-jr/bugfix_nx

Bugfix: allow no-exec (NX) stack
This commit is contained in:
Con Kolivas 2012-02-21 19:44:25 -08:00
commit 89c04cfe27
3 changed files with 21 additions and 0 deletions

View File

@ -250,3 +250,10 @@ LAB_RET:
pop edi
pop esi
retn 4
%ifidn __OUTPUT_FORMAT__,elf
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
%ifidn __OUTPUT_FORMAT__,elf32
section .note.GNU-stack noalloc noexec nowrite progbits
%endif

View File

@ -256,3 +256,10 @@ LAB_LOOP:
LAB_RET:
pop rbx
ret
%ifidn __OUTPUT_FORMAT__,elf
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
%ifidn __OUTPUT_FORMAT__,elf64
section .note.GNU-stack noalloc noexec nowrite progbits
%endif

View File

@ -320,3 +320,10 @@ sha256_sse2_64_new:
LAB_RET:
pop rbx
ret
%ifidn __OUTPUT_FORMAT__,elf
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
%ifidn __OUTPUT_FORMAT__,elf64
section .note.GNU-stack noalloc noexec nowrite progbits
%endif