From patchwork Mon Jul 6 16:39:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 50769 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 39398229FC for ; Mon, 6 Jul 2015 16:40:06 +0000 (UTC) Received: by wifm2 with SMTP id m2sf12410069wif.1 for ; Mon, 06 Jul 2015 09:40:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:reply-to:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=sU70dCNnUTA19Pp4fEwpYlWz7T8IFoAx1nFoVPZtP1U=; b=M8pgwbF3Tc6HTwTWHvIdleA0aXuJ6o1m/YJYGrFLgvRg+CbMmiMTsfIi/PBOxR2eUd M7Jqtkda8nOytMqj8bq0QzXBtiNaCr2KDHL283GM5Fh05ld0d1eCQLxLyr+oeWiKOh8a xUIQCpQItqWtTlF8fpWKtBixbswmYpWm2QK5yeHzucOJkO3QNgtuvecVLy9FGp6dOIUg K9vWnaL8nsegcUw8FrxDTCekfCj+n5NswbVLLBKFnAoozw3wFYGBSLPb/f5htn+Z4Wy+ NMQf8vDzE7ntIDH7IuKUP40G6HKzZHRU8/MneJjJPUL9ZndojaPgA8eISJSEUK1RHaCm zB6w== X-Gm-Message-State: ALoCoQkXHwUOML7zYntSSZBElF91xWpgrGTjyH2VdgoonP1Fg3wnW4owducVzZQQKCVvOTGHRCKs X-Received: by 10.112.138.2 with SMTP id qm2mr30917408lbb.19.1436200805501; Mon, 06 Jul 2015 09:40:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.163.65 with SMTP id yg1ls649990lab.26.gmail; Mon, 06 Jul 2015 09:40:05 -0700 (PDT) X-Received: by 10.152.203.233 with SMTP id kt9mr44473732lac.99.1436200805094; Mon, 06 Jul 2015 09:40:05 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id oh3si15688529lbb.45.2015.07.06.09.40.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 09:40:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by laar3 with SMTP id r3so162958110laa.0 for ; Mon, 06 Jul 2015 09:40:04 -0700 (PDT) X-Received: by 10.112.93.37 with SMTP id cr5mr50217785lbb.106.1436200804794; Mon, 06 Jul 2015 09:40:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1835851lbb; Mon, 6 Jul 2015 09:40:03 -0700 (PDT) X-Received: by 10.50.56.104 with SMTP id z8mr44238211igp.45.1436200801732; Mon, 06 Jul 2015 09:40:01 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id j65si17228737ioi.48.2015.07.06.09.40.01 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Jul 2015 09:40:01 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZC9Qu-0007x1-1N; Mon, 06 Jul 2015 16:39:52 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZC9Qs-0007wv-Ou for edk2-devel@lists.sourceforge.net; Mon, 06 Jul 2015 16:39:50 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.47 as permitted sender) client-ip=74.125.82.47; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wg0-f47.google.com; Received: from mail-wg0-f47.google.com ([74.125.82.47]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZC9Qr-0004s2-WD for edk2-devel@lists.sourceforge.net; Mon, 06 Jul 2015 16:39:50 +0000 Received: by wgqq4 with SMTP id q4so145545325wgq.1 for ; Mon, 06 Jul 2015 09:39:44 -0700 (PDT) X-Received: by 10.194.201.71 with SMTP id jy7mr7855635wjc.93.1436200783992; Mon, 06 Jul 2015 09:39:43 -0700 (PDT) Received: from ards-macbook-pro.arnhem.chello.nl (dhcp-077-250-063-167.chello.nl. [77.250.63.167]) by mx.google.com with ESMTPSA id d3sm29513965wic.1.2015.07.06.09.39.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jul 2015 09:39:43 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.sourceforge.net, olivier.martin@arm.com Date: Mon, 6 Jul 2015 18:39:38 +0200 Message-Id: <1436200778-4817-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1ZC9Qr-0004s2-WD Subject: [edk2] [PATCH] ArmPlatformPkg/ArmVExpressPkg: use 64 KB section alignment for runtime drivers X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This adds the 64 KB alignment overlay linker script to the linker command line of DXE_RUNTIME_DRIVER modules built for AARCH64. This makes these modules compatible with the new Properties Table feature by aligning the .text and .data sections to 64 KB. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index 4d8adcc3e348..1ca9b2de6550 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -12,6 +12,9 @@ # # +[BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER] + *_*_AARCH64_DLINK_FLAGS = --script=$(EDK_TOOLS_PATH)/Scripts/gcc-aarch64-64K-align-ld-script + [LibraryClasses.common] !if $(TARGET) == RELEASE DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf