Skip to content

Commit

Permalink
Update to more compatible syntax & protect stack
Browse files Browse the repository at this point in the history
By attempting to include `x86.S` from Openwall crypt other hardware
architectures are attempting to use a source file that does not apply.

Update the stack protection to use a more compatible syntax and allow for inclusion of the assembly file to all compilers.
  • Loading branch information
jmartin-tech committed Dec 10, 2019
1 parent 69f2941 commit eed596f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/mri/x86.S
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ BF_die:

#endif

#ifdef __i386__
#if defined(__ELF__) && defined(__linux__)
.section .note.GNU-stack,"",@progbits
#endif
.section .note.GNU-stack,"",%progbits
#endif

0 comments on commit eed596f

Please sign in to comment.