Skip to content

Commit

Permalink
Avoid executable stack (#243)
Browse files Browse the repository at this point in the history
without this patch, the rpmlint check for executable stack
failed the build on openSUSE.
  • Loading branch information
Bernhard M. Wiedemann committed Apr 28, 2023
1 parent d713d86 commit 0c6f6b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lzma/ASM/x86/7zCrcOpt_asm.asm
Expand Up @@ -138,4 +138,10 @@ MY_ENDP
%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

0 comments on commit 0c6f6b5

Please sign in to comment.