From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; Tue, 12 Jun 2018 08:23:33 -0700 (PDT) Received: by mail-wr0-x241.google.com with SMTP id e18-v6so16278320wrs.5 for ; 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-Google-Smtp-Source: ADUXVKJkgBIqTCdU5/IRahXG2tS3NmA/NGEGTX9iuwAepL/XSkWSsT7DcO11roHgjfvQruEAMrk+UQ== 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 To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Michael D Kinney , Liming Gao , Ruiyu Ni , Hao Wu , Leif Lindholm , Jordan Justen , Andrew Fish , Star Zeng , Eric Dong , Laszlo Ersek , Zenith432 , "Shi, Steven" 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: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 15:23:33 -0000 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 --- EmulatorPkg/Sec/Sec.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.17.1