From patchwork Tue Jun 12 15:23:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 138369 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5491383lji; Tue, 12 Jun 2018 08:24:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIULlpr4GaxklZHwOjF+ap1clI7d7Rf7nkyqfp/MiG5x/W3urOAiFaUbi9XW3GL3+JQjeEz X-Received: by 2002:a62:cd82:: with SMTP id o124-v6mr868479pfg.250.1528817054728; Tue, 12 Jun 2018 08:24:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528817054; cv=none; d=google.com; s=arc-20160816; b=WQxILgXwV5L8R5jXUOBmi8g3t5MxjIxVUaFwQYJQfqKcCkBrUcaUfaEKICqsTs3VNI TkaUekEoTSN3y/hSwZmPXdMvh3hxOyA/0C2zXxeaI0UrBos8hkuNomgkn8TzB6UMVwsG TQydfQRgMgXBdKOEoPSDAJPQSch7Z4WWO7hTEAaRSLsjue8kif3xg2egcqTnkhTJwaBa f504+MP5MY061wWNZmARWv+d5YXjdCDaUzV+WZ32AtuYNyWQkNRggowW5oNOyOWzIEzz htVeMUyDoVWmXiJf0Cy19vBWo8LEp0ZXkRlyvltuT6tjwea42wxc9RgPItbTOsGHEmJz OETA== 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=MsncIHqZ2CLsWl7ChmR9jvhUmIre60LcdzpCHBwM1YI=; b=HsC65+kllIQ0Za/JYtEUl1qoOBXvo2CHyypbgnC6G+x9QmMLkeD7WKjkOhWmI42agq MDFkYEVPb7qXzLepwnaCgtZm497fA7jKsRiPDoEscPKNVQgiZh5qyrUzwzjy9vaLqiFX WiQdhipzySEl03unKfsMZWdIBM8WYocmBnMeoiSjJj+myqATUyZqmjd2TnmsIDoFN/sW vM0SoFbE41DXXjnZpECQ3x3G1eLXhw4KBqs+xAtc6VyuRMQBxyiWsgX/RfEFcgaeyxjY sGUaDr+W3C84Rsfc4gQyXeH7HxFAc7gHrMj8UbKRNMdjv7rTMJiFimJmiWW6w0k8JxqY xIBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="XiioxAQ/"; 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: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id y10-v6si332986pgq.54.2018.06.12.08.24.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:24:14 -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="XiioxAQ/"; 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 3E06421295CAD; Tue, 12 Jun 2018 08:23:41 -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::242; helo=mail-wr0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (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 DA07721295C8D for ; Tue, 12 Jun 2018 08:23:38 -0700 (PDT) Received: by mail-wr0-x242.google.com with SMTP id d2-v6so24512315wrm.10 for ; Tue, 12 Jun 2018 08:23:38 -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=FSIDWkGN5EBSSHIo2LI7ekK0kzVs8rHKoszgLSOpSNo=; b=XiioxAQ/vz546X4Nt2IIsO/oaF9RUJTDbBkl9yIdUr6Eq1rmYIMlucSVJqJBlznqnB htvir9ADIzfDzxSyPth8MmQov8ZkUkrg7CwILCIcP+M73aRsHssB7SwX5jMiqhDQw0Zj 4C+CBY+EpTMjUub9s+zX7YJwwz7qWyuxr85Q8= 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=FSIDWkGN5EBSSHIo2LI7ekK0kzVs8rHKoszgLSOpSNo=; b=IcuPju10Nc6gzlhBIttr3iKWbIvvD8sOtsNY1t5m2KT3uWPHEH2CWyLBscwqNsYSHD aaCGFILN5gfHXGhCtIRHPKhRrHEK4JPZ5BovaYkj+Py92BmSOrTqqPneDl6pUKaJPsOG 7t6Kbl+VVaSaRyI+J590eEiHr6+Afqu0mNWPnxL4HgT9i2TVf7EoBSRcOQ6aCYRtMMY/ z+iAUkjpp5kIaYsLEKGMlog3Chihopo1RCHE9ivbqkcdad3q2G2tV671HGMqDWhFQYYo JFGDI1rmL5o18Gz4wTmJ5iYoD7SOnDWfL0BIv7ck5WwjSY3wZYL+0K4hPYOHCcGCZJDI zEvA== X-Gm-Message-State: APt69E1H7eksJDYkj4t7e3gsGvxPH8YFVeG82ouj19EDe2S6UW0l1W8c w/DCrmR1T8eNrF0vU+wkvALO60mhxd4= X-Received: by 2002:adf:b053:: with SMTP id g19-v6mr678647wra.128.1528817017051; Tue, 12 Jun 2018 08:23:37 -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.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:36 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 12 Jun 2018 17:23:04 +0200 Message-Id: <20180612152306.25998-10-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 09/11] Nt32Pkg: 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 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 --- Nt32Pkg/Sec/SecMain.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 diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c index 74871a67c8ca..e9583504d153 100644 --- a/Nt32Pkg/Sec/SecMain.c +++ b/Nt32Pkg/Sec/SecMain.c @@ -1087,6 +1087,7 @@ SecNt32PeCoffRelocateImage ( VOID +EFI_ENTRYPOINT _ModuleEntryPoint ( VOID )