From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 38FD71A1E00 for ; Wed, 3 Aug 2016 01:21:13 -0700 (PDT) Received: by mail-wm0-x22b.google.com with SMTP id p129so63457579wmp.0 for ; Wed, 03 Aug 2016 01:21:13 -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; bh=XHcchpaX71zl8DaVGaG2jdLk2rV2KgE7FOfwsVAEJXM=; b=Rhiu3wIYSqBXZ1TsCyR554z1hLwkzvHuCtsg8Emf4V5alKagh2eba0BQxh8vsegD5Y Am87RWRfCaMq6A9pao4hi0DTtBgWP7OWuL7p9hfFGxRVyxBEyJy2SEIg70To/tNre6fy fO8aX0eNuJUwl6qOjws9GU0fXa6a1x5krcqIY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XHcchpaX71zl8DaVGaG2jdLk2rV2KgE7FOfwsVAEJXM=; b=hhisMTHL/cNAi2mrV9qwOjn/G/2jOmPYXztTZo48gjDrikhkW4BnM+tjunyTCzXDnL 2fNg8nf2DdSKP98t5IC+3p3fR3XMQsFQo2aFef8zPx4utsqKfm53e6SE9ehiGlgav1wg OGOvRcsnBQJUUdDeBy+doG2702pibLbNIzIjK71at0u6kiGK6T3zI5zSR6xLcnOFxQbH DqpqaCSJZ7LkkbNXEQbukUL4piloeg6tlNYKCGJjM2PVl/dowaVglZ7GX23tNNmKoKQU OQELIrkYFH0BgrYaq+TWFD4goRReRev8cvzUw/AyeSIIc2cZpdtpOBfxLrZXaoUi9/Au YOIA== X-Gm-Message-State: AEkoous6g/kJn7rlTzrYSGH7PIjLJzvdalV7GrmarFVyqECso9GUJYzMfGFiJGiGj0xjVn5Q X-Received: by 10.28.104.137 with SMTP id d131mr23269431wmc.7.1470212471447; Wed, 03 Aug 2016 01:21:11 -0700 (PDT) Received: from localhost.localdomain (3.red-81-34-118.dynamicip.rima-tde.net. [81.34.118.3]) by smtp.gmail.com with ESMTPSA id kq2sm6434685wjc.41.2016.08.03.01.21.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Aug 2016 01:21:10 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, lersek@redhat.com Cc: Ard Biesheuvel Date: Wed, 3 Aug 2016 10:21:02 +0200 Message-Id: <1470212464-28071-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 0/2] ArmVirtPkg EmbeddedPkg: fix build for CLANG35/ARM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 08:21:13 -0000 Currently, the ArmVirtQemuKernel and ArmVirtXen platforms will not build for ARM when using CLANG35, due to the fact that the compiler emits MOVT/MOVW pairs into objects that are used by the relocatable PrePi, and such instruction pairs are not runtime relocatable in ELF (i.e., there are no dynamic relocation types to describe them) So fix this by selectively inhibiting the use of these pairs when building these platforms for ARM using CLANG35 Ard Biesheuvel (2): EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library ArmVirtPkg ARM: make relocatable PrePi users build with CLANG35 ArmVirtPkg/ArmVirtQemuKernel.dsc | 8 ++++++++ ArmVirtPkg/ArmVirtXen.dsc | 9 +++++++++ EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) -- 2.7.4