From patchwork Wed Dec 12 10:33:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 153567 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1660960ljp; Wed, 12 Dec 2018 02:33:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/XldW16lPgnTwIlxBAmjV9sOLEndDkwOnx0zPwK0VEAFEdfMNZ/QL9R2a/xEVO3Sejqm8rC X-Received: by 2002:a63:2bc4:: with SMTP id r187mr17599504pgr.306.1544610802520; Wed, 12 Dec 2018 02:33:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544610802; cv=none; d=google.com; s=arc-20160816; b=Cupg/FKKQSIyGDfEAKupzM7cI+JJyj+vmBAtztX7m07RrCaFQMyM4OD7rA3aJyRTPE gXkrpMyeIk1oqAojRquhPmcSCqYaDFB77bjSnZcG/mSk+ELCDUkaiWIaADBDQqj+d6xN EtwM5W8Aqt7TnhUbfXhMuqzw+TcOBI4UKfoHdGJQzNlBt2AN+aI19j++VjqyHiE4Nu25 RRltOWf+tZ1YzXWengTODYj/mDW9lDrL5VQLo5pZUjH+ob8BzcL2JqlT5oE1ifoQdf9V eQyq737z4qw+jcsSkKgfPv+yXeLR0lsmV5zz0TxRQIR1yLeIyc4sWE/1R5h1ywsN6Pra 7otg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=HQ7cAuRSamDHixHsqYZnVAuMznI+JLnuIRCjRUPR4FY=; b=C16R4KU2rWtmTxIafs1RtECdOz6B0m6p8LfRAbG4Izd1qhQxUieKSM+M14GCCuH2PZ 9ADhu6TTgizvNudGfOBv+dwjGWeWhr96sVxBG71QVvk7n7XSXCN2RygqMPeZtWPd1hvz 0FKvhCbMiKTjl5sFcsJlWsTFgUJ9EZLsx9PWWum9XOPckcAZZ3wHGUu2DpgWe03FdPR7 f6KpE3abse68kg3klrW05mc1lFM4MZpp3LnH/FX6xj4fUHDKLbRnrTmhStbvcYA1G+uO IfZBuAHcKgeho4skjNm3MspFyC0hsc+vkYMxSiMq/qIBNCUnLionYyw7LUlOecbXbrpV gIZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="MZokcQ/a"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id s59si14832568plb.237.2018.12.12.02.33.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Dec 2018 02:33:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="MZokcQ/a"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 8B1352119C8A5; Wed, 12 Dec 2018 02:33:18 -0800 (PST) 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: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 125F62119C8A5 for ; Wed, 12 Dec 2018 02:33:17 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id s14so5224531wmh.1 for ; Wed, 12 Dec 2018 02:33:16 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=1tID2wl2QcHGCJB4hu6wKeq1K6sPq5i5V1WYPqXzztA=; b=MZokcQ/aXfiaGLH2OupJAI/RnWdjawbCHVEO/1NTMlf/vQbn+847pP+2PvgEaskMdJ plOHIUoqR8kDQmgJlw4LBLOhnD0cnF1XVqhJqPDjrCj6d9H+3WPz/8Bid71HPKqPaI/T 0DeWAFJwSoyNap4d0L/d8JEJtsZ/DIHcsX9EU= 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:mime-version:content-transfer-encoding; bh=1tID2wl2QcHGCJB4hu6wKeq1K6sPq5i5V1WYPqXzztA=; b=LvYl2KgAGSj5WGy3i8ozxklvUrr9A4UW7bU+vgT+K/A0w/3vPT94v9EmJUXuRXW59p Z6vFaDPq3z4AP8mE2Lex8sP45ex9gfeKpD53mu/DxYf0odKGxdDsaa3neB8bBGRI0Ywd PFxYttFCtG1y1Tjruaz+uw6Its6ZtY5JNmgcXKX8dQgM/qz840whB4PCCtsdIysIz0SN Jy/OIADYYXrnlp6QVCSsB4L+ygpllP3IPzuXifHPFPS5dWQKNAuaJ5kJAJJ/FEEl8zhW pqZ1C3N5h+1NgfIuPyPFdBEqs8Twt6Vp7a9fGCXbgeJ6E+6CzQI9DyVGgL9OWUMesMkl u/bg== X-Gm-Message-State: AA+aEWb8Ydw6aXBhZsNncKWJHPcfdSfIFvCbTHLul3HzO+Lbrlw23w6e VROCekQlA4xxC23Ll5iEZFDV/FeZcXosWQ== X-Received: by 2002:a1c:dd04:: with SMTP id u4mr5783564wmg.84.1544610795311; Wed, 12 Dec 2018 02:33:15 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:1db:abd7:f798:3277]) by smtp.gmail.com with ESMTPSA id r69sm3132789wmd.4.2018.12.12.02.33.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Dec 2018 02:33:14 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 12 Dec 2018 11:33:08 +0100 Message-Id: <20181212103308.8099-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181212103308.8099-1-ard.biesheuvel@linaro.org> References: <20181212103308.8099-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [edk2] [PATCH 3/3] ArmVirtPkg/PrePi ARM CLANG35: drop incompatible command line option 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: , Cc: Liming Gao , Michael D Kinney , Laszlo Ersek Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Drop the -mno-movt command line option override, which is no longer needed, and actually incompatible with versions of Clang before 3.6. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmVirtPkg/ArmVirtQemuKernel.dsc | 5 ----- ArmVirtPkg/ArmVirtXen.dsc | 5 ----- 2 files changed, 10 deletions(-) -- 2.19.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Acked-by: Laszlo Ersek diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index c4324a9e264b..df125cfef646 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -69,11 +69,6 @@ [LibraryClasses.common.UEFI_DRIVER] UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [BuildOptions.common.EDKII.SEC, BuildOptions.common.EDKII.BASE] - # Avoid MOVT/MOVW instruction pairs in code that may end up in the PIE - # executable we build for the relocatable PrePi. They are not runtime - # relocatable in ELF. - *_CLANG35_ARM_CC_FLAGS = -mno-movt - # # CLANG38 with LTO support enabled uses the GNU GOLD linker, which insists # on emitting GOT based symbol references when running in shared mode, unless diff --git a/ArmVirtPkg/ArmVirtXen.dsc b/ArmVirtPkg/ArmVirtXen.dsc index e083666f54ea..a29d8a4ae717 100644 --- a/ArmVirtPkg/ArmVirtXen.dsc +++ b/ArmVirtPkg/ArmVirtXen.dsc @@ -58,11 +58,6 @@ [LibraryClasses.common.UEFI_DRIVER] UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [BuildOptions.common.EDKII.SEC, BuildOptions.common.EDKII.BASE] - # Avoid MOVT/MOVW instruction pairs in code that may end up in the PIE - # executable we build for the relocatable PrePi. They are not runtime - # relocatable in ELF. - *_CLANG35_ARM_CC_FLAGS = -mno-movt - # # CLANG38 with LTO support enabled uses the GNU GOLD linker, which insists # on emitting GOT based symbol references when running in shared mode, unless