From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::344; helo=mail-wm1-x344.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (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 0A74C211982E0 for ; Tue, 11 Dec 2018 04:19:44 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id a62so1989786wmh.4 for ; Tue, 11 Dec 2018 04:19:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o7khGwbeEyO1B7sot6jPc0RedS1EjVvhKMaSCIbRdDQ=; b=bIosbFp6Bn7AXMbZAXNXWUPNtzCq0ILBwVDf9i/mOZ6+4gR688hyaj3MuONUU12ofU QEn6z6N8Lf+5kSHq+BIlm6NCuHrVscwHRaz8rZteevGiC8iQfpkn5AFkfe/VgCr1W+kP zl3eUYGnNGDyGbNBf6gIqjdFVdVMkZ/hQfKVQ= 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:mime-version :content-transfer-encoding; bh=o7khGwbeEyO1B7sot6jPc0RedS1EjVvhKMaSCIbRdDQ=; b=iTPDVCuSq90y/wbz/XcUYMcKpRCZf5Djue6kcVz2R8CS4VwamRTz1nK0pIYCvuKGnV YGStaiVRp47r6XvkwfvCkod91+1ok0RbCM3BpWf5JeKLahMIlwtkDZXo9ZROuOblIgVJ qWsZDzuUOQWbbH6dzjrY4IqIaP6q62nuTUTuKD89VEe/SDpH41IqNydOT+1eCZle4f96 vrEeKbgDoyBNIUqWxS75hylkMWKZfHNDe2dUuVmH2602BWb8dFR77EuQOb6Uv77GtVb+ sJK0Er+1+Hq01unSDWyfbuZ8pMxohBV3orSZDC+8iNSZpVeAo4WeTWIdH3lzukWFW/0p WdSw== X-Gm-Message-State: AA+aEWZPe6IUsRQaRHd8e6FLvEHZP4YRcAYRKqiOCk+H8J3AY3U2db7I A8FRlGOFv116Vg/Ju4i3OdR0oTafTWW83w== X-Google-Smtp-Source: AFSGD/Xe0qyW+ycaqIltbvVIGE5EhDJobmQsAp2AfHuGDsLxAkgXOtTcPe+YlRRw5PpKefGw2u/7EQ== X-Received: by 2002:a7b:c8d7:: with SMTP id f23mr2035864wml.121.1544530782662; Tue, 11 Dec 2018 04:19:42 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:8c3:6b9d:cbc9:58c6]) by smtp.gmail.com with ESMTPSA id n9sm14183017wrx.80.2018.12.11.04.19.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 04:19:41 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: lersek@redhat.com, leif.lindholm@linaro.org, philmd@redhat.com, Ard Biesheuvel Date: Tue, 11 Dec 2018 13:19:34 +0100 Message-Id: <20181211121936.3599-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [PATCH 0/2] ArmVirtPkg: fixes for ARM and CLANG38 builds X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2018 12:19:45 -0000 Content-Transfer-Encoding: 8bit Patch #1 reshuffles the .dsc contents of ArmVirtQemuKernel so that we can run on ARM targets as well. Patch #2 fixes the CLANG38 build for ArmVirtQemuKernel and ArmVirtXen, by tweaking the linker options passed to emit the self-relocating PrePi SEC module. Ard Biesheuvel (2): ArmVirtPkg/ArmVirtQemuKernel ARM: make some PCD settings apply to ARM ArmVirtPkg/PrePiUniCoreRelocatable CLANG38: work around build issues ArmVirtPkg/ArmVirtQemuKernel.dsc | 32 +++++++++++-------- ArmVirtPkg/ArmVirtXen.dsc | 12 +++++-- .../PrePi/ArmVirtPrePiUniCoreRelocatable.inf | 2 +- ArmVirtPkg/Include/Platform/Hidden.h | 23 +++++++++++++ 4 files changed, 53 insertions(+), 16 deletions(-) create mode 100644 ArmVirtPkg/Include/Platform/Hidden.h -- 2.19.2