From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 6 Mar 2013 15:09:50 +1100 From: Michael Ellerman To: Christian Kujau Subject: Re: [PATCH] ppc32: Fix compile of sha1-powerpc-asm.S Message-ID: <20130306040950.GC3493@concordia> References: <1361845205-30606-1-git-send-email-tony@bakeyournoodle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: LinuxPPC-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Mar 04, 2013 at 05:23:14PM -0800, Christian Kujau wrote: > On Tue, 26 Feb 2013 at 13:20, Tony Breeds wrote: > > When building with CRYPTO_SHA1_PPC enabled we fail with: > > --- > > powerpc/crypto/sha1-powerpc-asm.S: Assembler messages: > > powerpc/crypto/sha1-powerpc-asm.S:116: Error: can't resolve `0' {*ABS* section} - `STACKFRAMESIZE' {*UND* section} > > powerpc/crypto/sha1-powerpc-asm.S:116: Error: expression too complex > > powerpc/crypto/sha1-powerpc-asm.S:178: Error: unsupported relocation against STACKFRAMESIZE > > --- > > > > Use INT_FRAME_SIZE instead. > > > > Signed-off-by: Tony Breeds > > Thanks for the fix! Ran into this as well, with your patch 3.9-rc1 > compiles again (and it even boots :-)) > > Tested-by: Christian Kujau > > $ grep -A10 sha1 /proc/crypto > name : sha1 > driver : sha1-powerpc > module : kernel > priority : 0 > refcnt : 1 > selftest : passed > type : shash > blocksize : 64 > digestsize : 20 Thanks Christian. What hardware are you on? cheers