Skip to content

Commit

Permalink
Revert "Build correctly with IBT and Shadow Stack (#1289)"
Browse files Browse the repository at this point in the history
This reverts commit 5fe02c8.
  • Loading branch information
jedisct1 committed Jul 19, 2023
1 parent 5fe02c8 commit f3bd149
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
18 changes: 0 additions & 18 deletions src/libsodium/crypto_scalarmult/curve25519/sandy2x/sandy2x.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,6 @@
#include "ladder.S"

#if defined(__linux__) && defined(__ELF__)
#if defined(__CET__)
.section .note.gnu.property,"a"
.p2align 3
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.p2align 3
.long 0xc0000002
.long 3f - 2f
2:
.long __CET__
3:
.p2align 3
4:
#endif
.section .note.GNU-stack,"",%progbits
#endif

Expand Down
18 changes: 0 additions & 18 deletions src/libsodium/crypto_stream/salsa20/xmm6/salsa20_xmm6-asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -956,23 +956,5 @@ jmp ._bytesbetween1and255
#endif

#if defined(__linux__) && defined(__ELF__)
#if defined(__CET__)
.section .note.gnu.property,"a"
.p2align 3
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.p2align 3
.long 0xc0000002
.long 3f - 2f
2:
.long __CET__
3:
.p2align 3
4:
#endif
.section .note.GNU-stack,"",%progbits
#endif

0 comments on commit f3bd149

Please sign in to comment.