From b081a662695c5e2edc913b7436621dfe38326678 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 19 Dec 2014 14:30:44 +0000 Subject: [PATCH] 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. --- lib/libc/hash/sha2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1