Re: [PATCH 0/2] ArmVirtPkg EmbeddedPkg: fix build for CLANG35/ARM

Ard Biesheuvel

On 3 August 2016 at 10:21, Ard Biesheuvel <> wrote:
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
Pushed as

f846969796d3 EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library
87ee6390cbeb ArmVirtPkg ARM: make relocatable PrePi users build with CLANG35

with Laszlo's suggested commit log change to #2

Thanks all

Join to automatically receive all group messages.