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/sha512-x86-nayuki.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Crypto/sha512-x86-nayuki.S') diff --git a/src/Crypto/sha512-x86-nayuki.S b/src/Crypto/sha512-x86-nayuki.S index dcbebf7a..e1fce56e 100644 --- a/src/Crypto/sha512-x86-nayuki.S +++ b/src/Crypto/sha512-x86-nayuki.S @@ -173,7 +173,7 @@ .quad 0x28DB77F523047D84, 0x32CAAB7B40C72493, 0x3C9EBE0A15C9BEBC, 0x431D67C49C100D4C .quad 0x4CC5D4BECB3E42B6, 0x597F299CFC657E2A, 0x5FCB6FAB3AD6FAEC, 0x6C44198C4A475817 - .ifndef WINABI + .ifndef __YASM__ #if defined(__linux__) && defined(__ELF__) .section .note.GNU-stack,"",%progbits #endif -- cgit v1.2.3