Message ID | 20180612152306.25998-6-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5490973lji; Tue, 12 Jun 2018 08:23:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIzovJuxLM846DEvOajiQwQptu1WtYLa8DBOE0CNamvwLOyML1vw6EJmE9Sk+tLVCoUxjDy X-Received: by 2002:a62:d146:: with SMTP id t6-v6mr856321pfl.127.1528817034655; Tue, 12 Jun 2018 08:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528817034; cv=none; d=google.com; s=arc-20160816; b=aQi+GdFAe0SMwmuqpxXIv1wyMyCaTtMBdnCjnKIjuRWtyPFCXLFeqBV0O4bhct73Cg a3D+MQpiMr3yxCugmXO9zQ4sf55/2/W6Gw7wFFPUqYB8IQEylzKdXnlzMaMR1C8FLQM0 S7RSLkXd91oTYF9aNTE+GNsDf+2go9Qg4Rw3NilUYHas7qW0cuUhwbqODwoavqg1upoo WCgldjKxivUf02mtZHKb1b/X+PqDTcfqEM8bd/KjFyam+TMQ/DIV09tV3e/XXCxGxrOH Xy1DPz9M9gEAyOiY804ObAjXcOjh8oZU6P73ChAegdS7YygrVvYsKZkuJVTfFxHZ2dxg 9cug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=GoHqH0wXMliJlnQVTFMLPes85yONwhL2/ax4UpEiEJc=; b=y2imW1DEB55+fXYMNjTeUzLOs/qHFgZ1kx9siiQTSdPj3JKgKSTU5nWVO6uCeWe38x Bf0md9weAyKI8yXIC+bi1fmwi8AIYNutpyjMrapqJ8pUgSNw2ZrRz3FvuIuowPKYJeVt 4Zi0Su3sFdZZkW/47fgMF1fESj11CNsLPf6rDdCp9mLalxopp+6F/bAVJBa5znLo8S8b BTEEiO4QwGOXaCM8ehSX/HkONVyOpHQCRRxr7zLEtpvU4fvi2F2EUKkwn2O0VK4iE6mE /zN4WW3VTdkqvv4JnYrv6lF6QUwKbMCi7d4gUC+g6ANdXr8NHOfvrCEugRI7fPC99cum 1Q8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Tzzmx94F; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <edk2-devel-bounces@lists.01.org> Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id 6-v6si365054pfb.204.2018.06.12.08.23.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Tzzmx94F; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5B81321295C85; Tue, 12 Jun 2018 08:23:34 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3840621295B3B for <edk2-devel@lists.01.org>; Tue, 12 Jun 2018 08:23:33 -0700 (PDT) Received: by mail-wr0-x241.google.com with SMTP id e18-v6so16278320wrs.5 for <edk2-devel@lists.01.org>; Tue, 12 Jun 2018 08:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lr6aMwKMhKn8qLUIw0YtfWMfsosTF1hWxllVMgSV1xw=; b=Tzzmx94F8Mhkrni3cKRCkGOC9xusEITpkkmq8O69yEplghvrEO9k3jvB/BvPfJdjHO KLJ25dP40iF9+YFJ0/Q/lJeVXH5QKzSxuKCoWUtIk9jPqULCRTnV97C0yBEZKE/6bQAu rxjjLGOnOgQotSshwpgZd0pbrt2CaKket6dE0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lr6aMwKMhKn8qLUIw0YtfWMfsosTF1hWxllVMgSV1xw=; b=becI5FxCGqvUlFVAfGMzGPZC71FHx5b5bHB5zKYcKdxsKy92jj5hxfwxBtFvPD0xBs JF6PUIj7DHj5v88xRTTrqTjYXjMXIKeeY/AfHE/Av8Fn2HwCtka0CWgS0PimkT8c6RyU YMz8A413EyF9sFbnyvnUEFguxXYa1g0GRsN/9pWlSddqRd7Tbr5XwCgLItT0NUq4naHc 5+t9YYm3z9YjoTNTN3WpT5t1H4MSz3icdKGbonLSKk62k/EyvVMZ9j9BovgpONeW2BkP 63JAWbwNBV+WGq/bXIlCOnSyQtnbkjClQYdkX+qwjzMMXXSwzNkN/w7opgRAmJeMElIF f8yQ== X-Gm-Message-State: APt69E15FkJbxD3uuwdSAn4kz4ChYBkk3C1I3/dBlX1vtAXF9hU98Xwh wT9R5spPXwri89uG8Kyg49EWAPAN/zA= X-Received: by 2002:adf:8023:: with SMTP id 32-v6mr666733wrk.243.1528817011635; Tue, 12 Jun 2018 08:23:31 -0700 (PDT) Received: from dogfood.home ([2a01:cb1d:112:6f00:3c84:18ae:27f2:d03]) by smtp.gmail.com with ESMTPSA id e2-v6sm500983wro.97.2018.06.12.08.23.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:30 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: edk2-devel@lists.01.org Date: Tue, 12 Jun 2018 17:23:00 +0200 Message-Id: <20180612152306.25998-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180612152306.25998-1-ard.biesheuvel@linaro.org> References: <20180612152306.25998-1-ard.biesheuvel@linaro.org> Subject: [edk2] [RFC PATCH 05/11] EmulatorPkg: annotate module entry points with EFI_ENTRYPOINT X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development <edk2-devel.lists.01.org> List-Unsubscribe: <https://lists.01.org/mailman/options/edk2-devel>, <mailto:edk2-devel-request@lists.01.org?subject=unsubscribe> List-Archive: <http://lists.01.org/pipermail/edk2-devel/> List-Post: <mailto:edk2-devel@lists.01.org> List-Help: <mailto:edk2-devel-request@lists.01.org?subject=help> List-Subscribe: <https://lists.01.org/mailman/listinfo/edk2-devel>, <mailto:edk2-devel-request@lists.01.org?subject=subscribe> Cc: Ruiyu Ni <ruiyu.ni@intel.com>, Eric Dong <eric.dong@intel.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Hao Wu <hao.a.wu@intel.com>, Jordan Justen <jordan.l.justen@intel.com>, Andrew Fish <afish@apple.com>, Leif Lindholm <leif.lindholm@linaro.org>, Liming Gao <liming.gao@intel.com>, Zenith432 <zenith432@users.sourceforge.net>, Michael D Kinney <michael.d.kinney@intel.com>, Laszlo Ersek <lersek@redhat.com>, Star Zeng <star.zeng@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" <edk2-devel-bounces@lists.01.org> |
Series |
GCC/X64: use hidden visibility for LTO PIE code
|
expand
|
diff --git a/EmulatorPkg/Sec/Sec.c b/EmulatorPkg/Sec/Sec.c index 8a015682ddd0..266e57240a87 100644 --- a/EmulatorPkg/Sec/Sec.c +++ b/EmulatorPkg/Sec/Sec.c @@ -67,6 +67,7 @@ EFI_PEI_PPI_DESCRIPTOR gPrivateDispatchTable[] = { **/ VOID EFIAPI +EFI_ENTRYPOINT _ModuleEntryPoint ( IN EFI_SEC_PEI_HAND_OFF *SecCoreData, IN EFI_PEI_PPI_DESCRIPTOR *PpiList
Annotate module entry points with EFI_ENTRYPOINT so we can classify the resulting symbol as global explicitly at link time. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- EmulatorPkg/Sec/Sec.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel