From nobody Fri Oct 18 06:14:19 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1528817035027113.29241811680595; Tue, 12 Jun 2018 08:23:55 -0700 (PDT) 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) 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 ; Tue, 12 Jun 2018 08:23:35 -0700 (PDT) Received: by mail-wm0-x241.google.com with SMTP id r15-v6so21282784wmc.1 for ; Tue, 12 Jun 2018 08:23:35 -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) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.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 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-Google-Smtp-Source: ADUXVKKS5/3LM4h/PXsUntYVBAROCLJg4HyNyhIh1Aob8rEZC5Wz5/nlm5YG0Z7F0Gy5x98Yj8hMtQ== X-Received: by 2002:a1c:f308:: with SMTP id q8-v6mr571391wmq.6.1528817014257; Tue, 12 Jun 2018 08:23:34 -0700 (PDT) From: Ard Biesheuvel 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ruiyu Ni , Eric Dong , Ard Biesheuvel , Hao Wu , Jordan Justen , Andrew Fish , Leif Lindholm , Liming Gao , Zenith432 , Michael D Kinney , Laszlo Ersek , Star Zeng MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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 --- MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c b/MdeModulePk= g/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 --=20 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel