summaryrefslogtreecommitdiffstats
path: root/sys/crypto
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-10-13 17:55:53 +0000
committerdim <dim@FreeBSD.org>2010-10-13 17:55:53 +0000
commit2cbf038dc71689887efb1e732aae09e942689250 (patch)
treefc5ef5fb47c7ed65810bf5b0af431ed26da2d818 /sys/crypto
parent1fd90b0565ab7c81a95bb2b3c668374c884c8280 (diff)
downloadFreeBSD-src-2cbf038dc71689887efb1e732aae09e942689250.zip
FreeBSD-src-2cbf038dc71689887efb1e732aae09e942689250.tar.gz
Change two missed instances of 'retq' in aeskeys_i386.S to 'retl', which
makes it possible to assemble this file with gas from newer binutils. Reviewed by: kib
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/aesni/aeskeys_i386.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/aesni/aeskeys_i386.S b/sys/crypto/aesni/aeskeys_i386.S
index 60a6a43..f575512 100644
--- a/sys/crypto/aesni/aeskeys_i386.S
+++ b/sys/crypto/aesni/aeskeys_i386.S
@@ -52,7 +52,7 @@ _key_expansion_256a:
pxor %xmm1,%xmm0
movaps %xmm0,(%edx)
addl $0x10,%edx
- retq
+ retl
.cfi_endproc
END(_key_expansion_128)
@@ -76,7 +76,7 @@ ENTRY(_key_expansion_192a)
shufps $0b01001110,%xmm2,%xmm1
movaps %xmm1,0x10(%edx)
addl $0x20,%edx
- retq
+ retl
.cfi_endproc
END(_key_expansion_192a)
OpenPOWER on IntegriCloud