Message ID | 20180612152306.25998-5-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-v6csp5490773lji; Tue, 12 Jun 2018 08:23:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLGbiKNKDd+qk6vXnOEjbo0iGAfKQjI+3f8wQIRu8XoKHb4Rj1xMbmf73npZ4pp2YBglSXA X-Received: by 2002:a65:644f:: with SMTP id s15-v6mr733696pgv.228.1528817022658; Tue, 12 Jun 2018 08:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528817022; cv=none; d=google.com; s=arc-20160816; b=yMYlWN488ZZfKtlbmO+u+1ys830eMtMf/uG7yxt1FbOXUqvsoH5zGl+leFlL3ke0YV 7L7gsIVwRp00++vzFIDdear1BglNbS45lSnaxo8b7GBpfyqxjKZtH0EAXFKyPk+y5EjR OSz9Id0cXiJuS9IrTlbgbOcSnTC6kFxUX0i0K94WCqyDGml5Q/LQ71szniQXmpDWwmwa xkZrVKQ9FihL3rIfARkX377uklbkH6NqpG+PqUyvSTYlP7hBvFrVKpe2NTBAxuz8kuOo iMJzt7iWUJFpygmuag/xJs6N/COJGg6OnPygOX1+Dg+CyR5LVyCqUefhCLe+sj/9qlvC V8Jw== 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=QZqRaPR8MPd7XzGl5Fw9il7qjWIKvKw/oUomzGPr0oI=; b=KXWRsD+d5M2jxuyVMSW77bg+8jtOi6Dc2GXHQS9VqmSxlGTYVHjyvmnyWgx5mojZPu 7KZvw2ovXtPPS68Lnjd7dLbZXKTtabOwj8tyDiNip0hz/4SPHJmG9Df8Xvx6uzcHCJxs /j8vLBzu5XX3P0NV6/ARqJ4QjnGJX2ceCrtsNUY0dqv78wMELxG9k90PjAuMze2+d74b XLUT1L+bDjabszPm5lkgL7KDNi+xzf/7/LG+ZlZRLbn22z9NT5/NQo9DuGgXCO2y/Mcd EStzIzPESnQCh5nmWAr50NVQDl9e38tWOL9lqCe9dIP45Niuy8qbE8cL+dDNEkT43oRG W9tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eWfdcZjZ; 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 g1-v6si381856pld.11.2018.06.12.08.23.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:42 -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=eWfdcZjZ; 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 3375A21295B27; Tue, 12 Jun 2018 08:23:33 -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::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 <edk2-devel@lists.01.org>; Tue, 12 Jun 2018 08:23:31 -0700 (PDT) Received: by mail-wr0-x244.google.com with SMTP id e18-v6so16278222wrs.5 for <edk2-devel@lists.01.org>; 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-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 <ard.biesheuvel@linaro.org> To: edk2-devel@lists.01.org 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: [edk2] [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 <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/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 <Ppi/GuidedSectionExtraction.h> VOID +EFI_ENTRYPOINT _ModuleEntryPoint ( VOID )
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> --- EmbeddedPkg/TemplateSec/TemplateSec.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