From: Ard Biesheuvel Date: Wed, 12 Dec 2018 10:26:24 +0000 (+0100) Subject: ArmVirtPkg/PrePi ARM CLANG35: drop incompatible command line option X-Git-Tag: edk2-stable201903~481 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=36deafb838d01fd3a82d33d4f038246647f1f0ab ArmVirtPkg/PrePi ARM CLANG35: drop incompatible command line option 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 Reviewed-by: Leif Lindholm Acked-by: Laszlo Ersek Reviewed-by: Liming Gao --- diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index c4324a9e26..df125cfef6 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -69,11 +69,6 @@ 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 e083666f54..a29d8a4ae7 100644 --- a/ArmVirtPkg/ArmVirtXen.dsc +++ b/ArmVirtPkg/ArmVirtXen.dsc @@ -58,11 +58,6 @@ 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