From: Thomas Garnier Subject: [PATCH v3 16/27] compiler: Option to add PROVIDE_HIDDEN replacement for weak symbols Date: Wed, 23 May 2018 12:54:10 -0700 Message-ID: <20180523195421.180248-17-thgarnie@google.com> References: <20180523195421.180248-1-thgarnie@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: linux-arch@vger.kernel.org, kvm@vger.kernel.org, linux-pm@vger.kernel.org, x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-sparse@vger.kernel.org, linux-crypto@vger.kernel.org, kernel-hardening@lists.openwall.com, xen-devel@lists.xenproject.org To: Herbert Xu , "David S . Miller" , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Peter Zijlstra , Josh Poimboeuf , Greg Kroah-Hartman , Thomas Garnier , Philippe Ombredanne , Kate Stewart , Arnaldo Carvalho de Melo , Yonghong Song , Andrey Ryabinin , Kees Cook , Tom Lendacky , "Kirill A . Shutemov" , Andy Lutomirski , Dominik Brodowski , Borislav Petkov , Borislav Petkov , "Rafael J . Wysocki" , Len Return-path: In-Reply-To: <20180523195421.180248-1-thgarnie@google.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" List-Id: linux-crypto.vger.kernel.org UHJvdmlkZSBhbiBvcHRpb24gdG8gaGF2ZSBhIFBST1ZJREVfSElEREVOIChsaW5rZXIgc2NyaXB0 KSBlbnRyeSBmb3IKZWFjaCB3ZWFrIHN5bWJvbC4gVGhpcyBvcHRpb24gc29sdmUgYW4gZXJyb3Ig aW4geDg2XzY0IHdoZXJlIHRoZSBsaW5rZXIKb3B0aW1pemVzIHBpZSBnZW5lcmF0ZSBjb2RlIHRv IGJlIG5vbi1waWUgYmVjYXVzZSAtLWVtaXQtcmVsb2NzIHdhcyB1c2VkCmluc3RlYWQgb2YgLXBp ZSAodG8gcmVkdWNlIGR5bmFta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luay12bWxpbnV4LnNoIGIvc2NyaXB0 cy9saW5rLXZtbGludXguc2gKaW5kZXggNGJmODExYzA5ZjU5Li5mNWQzMTExOWI5ZDcgMTAwNzU1 Ci0tLSBhL3NjcmlwdHMvbGluay12bWxpbnV4LnNoCisrKyBiL3NjcmlwdHMvbGluay12bWxpbnV4 LnNoCkBAIC0xNDIsNiArMTQyLDE3IEBAIGthbGxzeW1zKCkKIAkke0NDfSAke2FmbGFnc30gLWMg LW8gJHsyfSAke2FmaWxlfQogfQogCitnZW5fd2Vha19wcm92aWRlX2hpZGRlbigpCit7CisgICAg ICAgIGlmIFsgLW4gIiR7Q09ORklHX1dFQUtfUFJPVklERV9ISURERU59IiBdOyB0aGVuCisgICAg ICAgICAgICAgICAgbG9jYWwgcGF0dGVybj0icy9eXHNcKyB3IFwoXHdcK1wpJC9QUk9WSURFX0hJ RERFTihcMSA9IC4pOy9ncCIKKyAgICAgICAgICAgICAgICBlY2hvIC1lICJTRUNUSU9OUyB7XG4u ID0gX2VuZDsiID4gLnRtcF92bWxpbnV4X2hpZGRlbmxkCisgICAgICAgICAgICAgICAgJHtOTX0g JHsxfSB8IHNlZCAtbiAiJHtwYXR0ZXJufSIgPj4gLnRtcF92bWxpbnV4X2hpZGRlbmxkCisgICAg ICAgICAgICAgICAgZWNobyAifSIgPj4gLnRtcF92bWxpbnV4X2hpZGRlbmxkCisgICAgICAgICAg ICAgICAgTERGTEFHU192bWxpbnV4PSIke0xERkxBR1Nfdm1saW51eH0gLVQgLnRtcF92bWxpbnV4 X2hpZGRlbmxkIgorICAgICAgICBmaQorfQorCiAjIENyZWF0ZSBtYXAgZmlsZSB3aXRoIGFsbCBz eW1ib2xzIGZyb20gJHsxfQogIyBTZWUgbWtzeW1hcCBmb3IgYWRkaXRpb25hbCBkZXRhaWxzCiBt a3N5c21hcCgpCkBAIC0yMjYsNiArMjM3LDkgQEAgbW9kcG9zdF9saW5rIHZtbGludXgubwogIyBt b2Rwb3N0IHZtbGludXgubyB0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