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 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-Google-Smtp-Source: AFSGD/VRSvPsA+2D6fXlzoZOuk91hr6yRAD/EJp3PbLQirTfSXHeLpDRjsOSU+UnM3IdJ5Qbx1TaDQ== 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 Cc: Ard Biesheuvel , Michael D Kinney , Liming Gao , Bob Feng , Leif Lindholm , Laszlo Ersek 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: [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: , X-List-Received-Date: Wed, 12 Dec 2018 10:33:17 -0000 Content-Transfer-Encoding: 8bit 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(-) 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 -- 2.19.2