Message ID | 20180612152306.25998-8-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-v6csp5491215lji; Tue, 12 Jun 2018 08:24:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJD/ZgfvouUbfv+wgS3VgrEgX6gQAOIYWRMW6NIoJb+eOq9iuTbB8f+lRPB3v80GRdXaFpu X-Received: by 2002:a17:902:b786:: with SMTP id e6-v6mr908400pls.260.1528817045256; Tue, 12 Jun 2018 08:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528817045; cv=none; d=google.com; s=arc-20160816; b=HGzpeo0aFguO79Kg0YZCFx2xGQQWHVIEeECK4h27+jHwWcQkNIkUqydE4azr9wDhTe 0Z5mSSjZxpju/iB3nEJtmtFhtElCWnNxa5CPbtqhDx1QVWWq8jcj+pcSANlxcU0xHPd0 Z/jMWKuiEHtBPIo2XdQ42YSxwHDi75kGQ0sIsgISw6L06C8ZW/3wFgeUGp6JTCV9kRWM CZF0xC0b1PUyX+J9Jgp1yj0BxBy2hjcDBGnTBcRa6my4i5JtO8XhAN9UH+umyDBQEB8J DhVy3IRgosBigqiOVnzTIfFzYZkTpz79wRnebIu8r2KbA6rHfbfKkFDsxKcsC6twDaQ0 PQeQ== 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=2IPedqpZnQEaFkzOlja99bqbntb1kmskhJ21RCZWpgE=; b=t5ylU1my0hjLagJJpXNJT/zEgF2/eDGq3Sfn62rVQYrsnVnG1IrqZv7lrm/O71Vyon wlsSMN6RN4DTnwvhTZVcHsicJ2BmFpADjWOvig4/O+qBxZ6/taQlKgfIit4g6gvx+imd l8pr/oTlEnAUFGYYAaBgruIUZVCbTp0Xh8JtNIlQkqA3oSW+6qp8JfQwRmlTES5Lr/jD jtfCLiBmxZsSqVSICj6BqoPBoRNKOglTAV0ltarempyhwEGWkoLhxQV/sPwGsxPqQuIz WhYghiKjt+xoyFpHQRGTx9Z5jnVmkFfGfzBbfhczPKiJkHw7wy0lt3p0chdFsNlRePh4 q2Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jqppZbB2; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id m37-v6si344114plg.491.2018.06.12.08.23.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:24:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jqppZbB2; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 B12F121295C90; Tue, 12 Jun 2018 08:23:37 -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:c09::241; helo=mail-wm0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::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 DD5DD21295B26 for <edk2-devel@lists.01.org>; Tue, 12 Jun 2018 08:23:35 -0700 (PDT) Received: by mail-wm0-x241.google.com with SMTP id r15-v6so21282784wmc.1 for <edk2-devel@lists.01.org>; Tue, 12 Jun 2018 08:23:35 -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=KH5jXmkGz7Ya7rjB2YYm57uCuW0S70cBFyR8BBzDVRM=; b=jqppZbB2Yu0hjCMrYyXrfGInUQo37izumnMOJmqXcticABLvPvaglMKuRjI+i2Y5EX tUVxhetKvQV0fQwzVop5QhVwBSr7YQijqI8ZZgu/gBxCk9glPKlp2nCf8HvtjIklw1E6 Jywxkhtm4eUos00Gw0JBD1JLr1oJpvFw7iwWk= 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=KH5jXmkGz7Ya7rjB2YYm57uCuW0S70cBFyR8BBzDVRM=; b=AvZ3D2E5Tyo84ay49V/ItP8lBA5BN65srhUjbiqsiNVaXk5icsoNsv4iCd892L0lI2 Qi0XrT4mBGzGSGPFHP1BsWqBnFgTob5Xsu8TF4XZUlo8d1i9sI9ib8lfzYBjYmkh4e6C /Wh+KD5MpFXlHyqDppn8SlwyUVCQU62wJrilHnYrOjEbwfM+ia1ZPA3F1ASTscvHxERW MPLMTk4zaAtdobQ5YgaFU7136gMSFJsm7nTh6cFxsDjxAydCWOZikhB0JvWnhy+jYcNq /bauR2i2lBS2Sjo3MRw/no8IMYib4qyUSR/c9GFVG/bj0K5UEp7vCA3ha25uAKurteeU /lQg== X-Gm-Message-State: APt69E1JbQnnrdYmpSIhkpST/0upfxdKr6oja9dZ0CFhF3qHkDK9TaiF rTUXAoVftAF4ZuG06+E/h6RjyzqlqNY= X-Received: by 2002:a1c:f308:: with SMTP id q8-v6mr571391wmq.6.1528817014257; Tue, 12 Jun 2018 08:23:34 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:33 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: edk2-devel@lists.01.org Date: Tue, 12 Jun 2018 17:23:02 +0200 Message-Id: <20180612152306.25998-8-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 07/11] MdeModulePkg: 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/MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c b/MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c index e1871c3c2ad5..0dc0b819e57e 100644 --- a/MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c +++ b/MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c @@ -219,6 +219,7 @@ PageFaultHandler ( **/ EFI_STATUS EFIAPI +EFI_ENTRYPOINT _ModuleEntryPoint ( SWITCH_32_TO_64_CONTEXT *EntrypointContext, SWITCH_64_TO_32_CONTEXT *ReturnContext
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> --- MdeModulePkg/Universal/CapsulePei/X64/X64Entry.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