1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00

Linux: fix executable stack in resulting binary which was caused by crypto assembly files missing the GNU-stack note.

This commit is contained in:
Mounir IDRASSI
2017-06-13 01:23:54 +02:00
parent 95bf8f8574
commit ba1fbb688e
5 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
%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
%ifidn __OUTPUT_FORMAT__,elf64
section .note.GNU-stack noalloc noexec nowrite progbits
%endif