Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2014-09-23 03:10:55 +0400
committerAdam Langley <agl@google.com>2014-09-27 02:07:45 +0400
commite7fa75b74fad263e56946df6067f3611d289d65b (patch)
tree081862f84ffb6fe04132a3f54517e926309b4aa3 /crypto/rc4
parent01fe820ab957514f6b83e511492de1b3c03649d5 (diff)
Remove use of GOTPCREL in asm.
Now that symbol visibility is done correctly, this shouldn't be needed. Change-Id: I608beed1de63c1309358ff17dd28e3191e87dbd4 Reviewed-on: https://boringssl-review.googlesource.com/1810 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/rc4')
-rw-r--r--crypto/rc4/asm/rc4-x86_64.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/rc4/asm/rc4-x86_64.pl b/crypto/rc4/asm/rc4-x86_64.pl
index c033a41b..2c52ac08 100644
--- a/crypto/rc4/asm/rc4-x86_64.pl
+++ b/crypto/rc4/asm/rc4-x86_64.pl
@@ -159,8 +159,7 @@ $code.=<<___;
mov -4($dat),$YY#b
cmpl \$-1,256($dat)
je .LRC4_CHAR
- mov OPENSSL_ia32cap_P\@GOTPCREL(%rip),%r8
- mov (%r8),%r8d
+ mov OPENSSL_ia32cap_P(%rip),%r8d
xor $TX[1],$TX[1]
inc $XX[0]#b
sub $XX[0],$TX[1]
@@ -445,8 +444,7 @@ asm_RC4_set_key:
xor %r10,%r10
xor %r11,%r11
- mov OPENSSL_ia32cap_P\@GOTPCREL(%rip),$idx
- mov ($idx),$idx#d
+ mov OPENSSL_ia32cap_P(%rip),$idx#d
bt \$20,$idx#d # RC4_CHAR?
jc .Lc1stloop
jmp .Lw1stloop