boringssl/crypto/sha
Adam Langley 16e38b2b8f Mark OPENSSL_armcap_P as hidden in ARM asm.
This is an import from ARM. Without this, one of the Android builds of
BoringSSL was failing with:
  (sha512-armv4.o): requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC

This is (I believe) a very misleading error message. The R_ARM_REL32
relocation type is the correct type for position independent code. But
unless the target symbol is hidden then the linker doesn't know that
it's not going to be overridden by a different ELF module.

Chromium probably gets away with this because of different default
compiler flags than Android.

Change-Id: I967eabc4d6b33d1e6635caaf6e7a306e4e77c101
Reviewed-on: https://boringssl-review.googlesource.com/3471
Reviewed-by: Adam Langley <agl@google.com>
2015-02-19 19:58:17 +00:00
..
asm Mark OPENSSL_armcap_P as hidden in ARM asm. 2015-02-19 19:58:17 +00:00
CMakeLists.txt Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
sha1.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
sha256.c aarch64 support. 2015-01-14 23:38:11 +00:00
sha512.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00