]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Added note.GNU-stack to prevent marking the library as using an executable stack...
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 8 Aug 2011 18:02:47 +0000 (20:02 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 8 Aug 2011 18:02:47 +0000 (20:02 +0200)
lib/accelerated/intel/asm/appro-aes-gcm-x86-64.s
lib/accelerated/intel/asm/appro-aes-x86-64.s
lib/accelerated/intel/asm/appro-aes-x86.s

index 009ec3d5d892f41dcb537c759c446dc1d14fe713..7e3c40737e9443450b9d84594fc8174ffcf7ca27 100644 (file)
@@ -1062,3 +1062,7 @@ gcm_ghash_clmul:
 
 .byte  71,72,65,83,72,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
 .align 64
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
index f286fb12bdfba3784a223f4788c3b38dc93f9bed..675e112ac9833991626bce97700004a716e1b11e 100644 (file)
@@ -2571,3 +2571,8 @@ __aesni_set_encrypt_key:
 
 .byte  65,69,83,32,102,111,114,32,73,110,116,101,108,32,65,69,83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
 .align 64
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
+
index 2084749838a647ed903099ef9c39ba2e7e14575f..f095a63d87f88812d2c6282f5bfa20d75d72128f 100644 (file)
@@ -2179,3 +2179,8 @@ aesni_set_decrypt_key:
 .byte  83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83
 .byte  32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115
 .byte  115,108,46,111,114,103,62,0
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
+