From: deraadt Date: Fri, 19 Dec 2014 14:30:44 +0000 (+0000) Subject: i386 unrolling blows up the media in a big way, due to -Os for X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b081a662695c5e2edc913b7436621dfe38326678;p=openbsd i386 unrolling blows up the media in a big way, due to -Os for ramdisk libc builds. there has to be a better way without #ifdef's in gross places, but I don't see it yet. --- diff --git a/lib/libc/hash/sha2.c b/lib/libc/hash/sha2.c index f77dc6b54fa..729895bb9f9 100644 --- a/lib/libc/hash/sha2.c +++ b/lib/libc/hash/sha2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sha2.c,v 1.20 2014/12/18 20:29:08 tedu Exp $ */ +/* $OpenBSD: sha2.c,v 1.21 2014/12/19 14:30:44 deraadt Exp $ */ /* * FILE: sha2.c @@ -52,7 +52,7 @@ * #define SHA2_UNROLL_TRANSFORM * */ -#if defined(__amd64__) || defined(__i386__) +#if defined(__amd64__) #define SHA2_UNROLL_TRANSFORM #endif