From: Tony Breeds <hidden> Date: 2013-02-26 02:20:05
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 <redacted>
---
arch/powerpc/crypto/sha1-powerpc-asm.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
FWIW the SHA1_PPC makes about a 20% difference on my 32bit board
From: Christian Kujau <hidden> Date: 2013-03-05 01:23:24
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 <redacted>
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 <redacted>
$ grep -A10 sha1 /proc/crypto
name : sha1
driver : sha1-powerpc
module : kernel
priority : 0
refcnt : 1
selftest : passed
type : shash
blocksize : 64
digestsize : 20
quoted hunk
---
arch/powerpc/crypto/sha1-powerpc-asm.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
FWIW the SHA1_PPC makes about a 20% difference on my 32bit board
From: Michael Ellerman <hidden> Date: 2013-03-06 04:09:50
On Mon, Mar 04, 2013 at 05:23:14PM -0800, Christian Kujau wrote:
On Tue, 26 Feb 2013 at 13:20, Tony Breeds wrote:
quoted
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 <redacted>
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 <redacted>
$ 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