From 3d8260d3d3243ff5747b846cde296642156f51b0 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 26 Jun 2017 16:53:12 +0200 Subject: MacOSX: various changes for assembly files build. Don't use 32-bit assembly code of SHA-512 since it is not compatible with PIE configuration of OSX compiler (absolute addressing used) --- src/Crypto/sha256-x86-nayuki.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Crypto/sha256-x86-nayuki.S') diff --git a/src/Crypto/sha256-x86-nayuki.S b/src/Crypto/sha256-x86-nayuki.S index a8e25db7..067496b3 100644 --- a/src/Crypto/sha256-x86-nayuki.S +++ b/src/Crypto/sha256-x86-nayuki.S @@ -161,8 +161,8 @@ retl .endif - .ifndef WINABI + .ifndef __YASM__ #if defined(__linux__) && defined(__ELF__) - .section .note.GNU-stack,"",%progbits +.section .note.GNU-stack,"",%progbits #endif .endif \ No newline at end of file -- cgit v1.2.3