diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-12 11:26:24 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-13 12:48:14 +0100 |
commit | 36deafb838d01fd3a82d33d4f038246647f1f0ab (patch) | |
tree | 25d14bb3246a8378aca3ee61495f9aaa4c423925 | |
parent | b048a2204db99c61784b5027c8ade18c4fe6be6d (diff) | |
download | edk2-36deafb838d01fd3a82d33d4f038246647f1f0ab.tar.gz edk2-36deafb838d01fd3a82d33d4f038246647f1f0ab.tar.bz2 edk2-36deafb838d01fd3a82d33d4f038246647f1f0ab.zip |
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 <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r-- | ArmVirtPkg/ArmVirtQemuKernel.dsc | 5 | ||||
-rw-r--r-- | ArmVirtPkg/ArmVirtXen.dsc | 5 |
2 files changed, 0 insertions, 10 deletions
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
|