summaryrefslogtreecommitdiffstats
path: root/linux-x86_64/crypto/sha
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-03-06 11:08:23 -0800
committerAdam Langley <agl@google.com>2015-03-06 12:15:23 -0800
commita4fb56a4374ac52a0b1c23e3654d4426c2e4adb3 (patch)
treefc5be1795f1cb25893d1dda8f9f581ed8430dece /linux-x86_64/crypto/sha
parent73e611480396013cb4e059bb9e5ebb0db8e1ffce (diff)
downloadexternal_boringssl-a4fb56a4374ac52a0b1c23e3654d4426c2e4adb3.zip
external_boringssl-a4fb56a4374ac52a0b1c23e3654d4426c2e4adb3.tar.gz
external_boringssl-a4fb56a4374ac52a0b1c23e3654d4426c2e4adb3.tar.bz2
Include .extern and .hidden in x86-64 asm.
This is backport of BoringSSL's d216b71f909fe56255813dab0a8d052534bdcb91 and https://boringssl-review.googlesource.com/3810 and should allow asm on x86-64 to build correctly. Change-Id: Id321768930182951223dbf90c4c910e24d9b6798
Diffstat (limited to 'linux-x86_64/crypto/sha')
-rw-r--r--linux-x86_64/crypto/sha/sha1-x86_64.S3
-rw-r--r--linux-x86_64/crypto/sha/sha256-x86_64.S3
-rw-r--r--linux-x86_64/crypto/sha/sha512-x86_64.S3
3 files changed, 6 insertions, 3 deletions
diff --git a/linux-x86_64/crypto/sha/sha1-x86_64.S b/linux-x86_64/crypto/sha/sha1-x86_64.S
index ea2f403..7668c2b 100644
--- a/linux-x86_64/crypto/sha/sha1-x86_64.S
+++ b/linux-x86_64/crypto/sha/sha1-x86_64.S
@@ -1,6 +1,7 @@
#if defined(__x86_64__)
.text
-
+.extern OPENSSL_ia32cap_P
+.hidden OPENSSL_ia32cap_P
.globl sha1_block_data_order
.hidden sha1_block_data_order
diff --git a/linux-x86_64/crypto/sha/sha256-x86_64.S b/linux-x86_64/crypto/sha/sha256-x86_64.S
index 4649baf..f526de5 100644
--- a/linux-x86_64/crypto/sha/sha256-x86_64.S
+++ b/linux-x86_64/crypto/sha/sha256-x86_64.S
@@ -1,7 +1,8 @@
#if defined(__x86_64__)
.text
-
+.extern OPENSSL_ia32cap_P
+.hidden OPENSSL_ia32cap_P
.globl sha256_block_data_order
.hidden sha256_block_data_order
.type sha256_block_data_order,@function
diff --git a/linux-x86_64/crypto/sha/sha512-x86_64.S b/linux-x86_64/crypto/sha/sha512-x86_64.S
index 89fd5bf..ca3a3a1 100644
--- a/linux-x86_64/crypto/sha/sha512-x86_64.S
+++ b/linux-x86_64/crypto/sha/sha512-x86_64.S
@@ -1,7 +1,8 @@
#if defined(__x86_64__)
.text
-
+.extern OPENSSL_ia32cap_P
+.hidden OPENSSL_ia32cap_P
.globl sha512_block_data_order
.hidden sha512_block_data_order
.type sha512_block_data_order,@function