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::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 E82FF21295B27 for ; Tue, 12 Jun 2018 08:23:31 -0700 (PDT) Received: by mail-wr0-x244.google.com with SMTP id e18-v6so16278222wrs.5 for ; Tue, 12 Jun 2018 08:23:31 -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=uCUSvnYbpvB+1807pyzZSzWI/7cLC748ThevsgRP4Vg=; b=eWfdcZjZ+iwgp9m8/KFbGCQHxDTT4p/W6VGKqvr2pkXyOv9PCczASpE+4STFngM1od jAbSoIfr4UNFRftxhXdbTng2qt+J/L3QBguJBMcPKfAjWqnSWrFrJB5lzKztzEWJd7a5 cwn1ICylreejCtDn+yuSWOn9HXdrUP05B9xbE= 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=uCUSvnYbpvB+1807pyzZSzWI/7cLC748ThevsgRP4Vg=; b=BsLNSTFABbXRFBuXC2+HxjZWS0DTRVwXu4EFw8c+nubnlqoP82Vw6/YtRyyyuK833z fTctcbk+jAQw+fcIyIOWMSozS67O2wBniDeNks6tEriRjMy+AkwXeo4WfDiMnD5aSpA3 +XYamqJovAT92EBTTHrqLzax/GVCbtZRf+etYFckH53VjW8+gG7warQeNZLXCZQFHPmf /2QTNn0cn+s3fHgJTvKwwdO7u/bMhboANklqxHXOmZba6sA3RqQ3pP0s3rOc6ISV1ITO DAIhRBKag7HRKtP8E8vUD1YKTVXK8663m3GswUQypTNAEY2pdeXfVgZcgZxT+BnP1qwC xhTw== X-Gm-Message-State: APt69E1tLHRxLjRz5u+LA878y0QE0rKQZpe3VCSNCJP1AvSzHjr+0OHS dwc6HhvqZp5qFMVhgHYyI+HovcBI9Qg= X-Google-Smtp-Source: ADUXVKLm3L8xMjBfXwlXzl26tLRf8tlwBqym+nWPjV3xWegyiTNuID68wh5dUjBt83JTQdC89EeCfA== X-Received: by 2002:adf:8af5:: with SMTP id z50-v6mr671724wrz.22.1528817010204; Tue, 12 Jun 2018 08:23:30 -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.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:29 -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:22:59 +0200 Message-Id: <20180612152306.25998-5-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 04/11] EmbeddedPkg: 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:32 -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 --- EmbeddedPkg/TemplateSec/TemplateSec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/EmbeddedPkg/TemplateSec/TemplateSec.c b/EmbeddedPkg/TemplateSec/TemplateSec.c index c63adbb6f90f..09bc779aced3 100644 --- a/EmbeddedPkg/TemplateSec/TemplateSec.c +++ b/EmbeddedPkg/TemplateSec/TemplateSec.c @@ -21,6 +21,7 @@ #include VOID +EFI_ENTRYPOINT _ModuleEntryPoint ( VOID ) -- 2.17.1