Skip to content

Commit

Permalink
Add stackmarkings to stream_salsa20_amd64_xmm6.s
Browse files Browse the repository at this point in the history
I'm trying to package libsodium for gentoo and received
 * !WX --- --- usr/lib64/libsodium.a:stream_salsa20_amd64_xmm6.o

According to http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
this commit fixes it.
  • Loading branch information
mrueg committed Aug 4, 2013
1 parent 5cb2c0b commit 1f4b11d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#if defined(__amd64) || defined(__amd64__) || defined(__x86_64__)

.text
Expand Down Expand Up @@ -945,3 +944,7 @@ add $64,%rsi
jmp ._bytesbetween1and255

#endif

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

0 comments on commit 1f4b11d

Please sign in to comment.