]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r316607 (andrew)
authorjkim <jkim@FreeBSD.org>
Thu, 2 Nov 2017 18:20:05 +0000 (18:20 +0000)
committerjkim <jkim@FreeBSD.org>
Thu, 2 Nov 2017 18:20:05 +0000 (18:20 +0000)
commitd0f679d19590dcf57d36d384f51bc880d17d1b0c
treeae4eb904fdbec6311cc62904a76bde4178dcd57b
parent0517887e7b0c526d672bf895c4b1e763b9dda0d1
MFC: r316607 (andrew)

Fix linking with lld by marking OPENSSL_armcap_P as hidden.

Linking with lld fails as it contains a relative address, however the data
this address is for may be relocated from the shared object to the main
executable.

Fix this by adding the hidden attribute. This stops moving this value to
the main executable. It seems this is implicit upstream as it uses a
version script.
crypto/openssl/crypto/armcap.c