svn commit: r376440 - head/security/nettle/files

Johan van Selst johans at FreeBSD.org
Tue Jan 6 20:54:56 UTC 2015


Author: johans
Date: Tue Jan  6 20:54:55 2015
New Revision: 376440
URL: https://svnweb.freebsd.org/changeset/ports/376440
QAT: https://qat.redports.org/buildarchive/r376440/

Log:
  Fix build on arm, by correcting asm code for clang
  
  PR:		196505
  Submitted by:	sbruno

Added:
  head/security/nettle/files/
  head/security/nettle/files/patch-arm__v6__sha256-compress.asm   (contents, props changed)

Added: head/security/nettle/files/patch-arm__v6__sha256-compress.asm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/nettle/files/patch-arm__v6__sha256-compress.asm	Tue Jan  6 20:54:55 2015	(r376440)
@@ -0,0 +1,20 @@
+--- arm/v6/sha256-compress.asm.orig	2013-05-28 16:21:54.000000000 +0200
++++ arm/v6/sha256-compress.asm	2015-01-04 00:39:14.000000000 +0100
+@@ -112,7 +112,7 @@ define(<NOEXPN>, <
+ PROLOGUE(_nettle_sha256_compress)
+ 	push	{r4,r5,r6,r7,r8,r10,r11,r14}
+ 	sub	sp, sp, #68
+-	str	STATE, [sp, +#64]
++	str	STATE, [sp, #+64]
+ 
+ 	C Load data up front, since we don't have enough registers
+ 	C to load and shift on-the-fly
+@@ -185,7 +185,7 @@ PROLOGUE(_nettle_sha256_compress)
+ 	EXPN(15) ROUND(SB,SC,SD,SE,SF,SG,SH,SA)
+ 	bne	.Loop2
+ 
+-	ldr	STATE, [sp, +#64]
++	ldr	STATE, [sp, #+64]
+ 	C No longer needed registers
+ 	ldm	STATE, {r1,r2,r12,r14}
+ 	add	SA, SA, r1


More information about the svn-ports-all mailing list