[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] aespipe - fix build issues
In the mean time, now that I know that I need to build a special target...
There is executable stack issue...
Please consider to fix it.
Thanks!
---
diff -urNp aespipe-v2.3d/aes-amd64.S aespipe-v2.3d.stack/aes-amd64.S
--- aespipe-v2.3d/aes-amd64.S 2004-06-12 17:31:41.000000000 +0300
+++ aespipe-v2.3d.stack/aes-amd64.S 2008-11-03 08:41:56.000000000 +0200
@@ -891,3 +891,7 @@ aes_im_tab:
im_data5(v3)
im_data6(v3)
im_data7(v3)
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
diff -urNp aespipe-v2.3d/aes-x86.S aespipe-v2.3d.stack/aes-x86.S
--- aespipe-v2.3d/aes-x86.S 2006-02-22 14:22:34.000000000 +0200
+++ aespipe-v2.3d.stack/aes-x86.S 2008-11-03 08:42:01.000000000 +0200
@@ -921,3 +921,7 @@ aes_im_tab:
im_data5(v3)
im_data6(v3)
im_data7(v3)
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
diff -urNp aespipe-v2.3d/md5-amd64.S aespipe-v2.3d.stack/md5-amd64.S
--- aespipe-v2.3d/md5-amd64.S 2004-06-12 17:31:41.000000000 +0300
+++ aespipe-v2.3d.stack/md5-amd64.S 2008-11-03 08:42:05.000000000 +0200
@@ -198,3 +198,7 @@ md5_transform_CPUbyteorder:
addl %ecx,8(%rdi)
addl %edx,12(%rdi)
ret
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
diff -urNp aespipe-v2.3d/md5-x86.S aespipe-v2.3d.stack/md5-x86.S
--- aespipe-v2.3d/md5-x86.S 2004-06-12 17:31:41.000000000 +0300
+++ aespipe-v2.3d.stack/md5-x86.S 2008-11-03 08:42:13.000000000 +0200
@@ -205,3 +205,7 @@ md5_transform_CPUbyteorder:
pop %ebx
pop %ebp
ret
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/