]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/tools_def AARCH64 ARM: disable PIE linking
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 25 Oct 2017 09:52:17 +0000 (10:52 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 27 Oct 2017 12:49:40 +0000 (13:49 +0100)
commit1894a7c64c0a417e76788ca297603f9c9dac1192
tree470bcf6a4081834353a30293fb81f244b6d01b6e
parent5e146cd9796ab5b79e5d426fed91f7864e3280c7
BaseTools/tools_def AARCH64 ARM: disable PIE linking

Some prebuilt GCC toolchains targeting aarch64 (e.g., the Debian Stretch
one) will default to building PIE executables. This has been observed to
corrupt ACPI tables built from .aslc sources, so disable PIE linking
altogether when using the GCC toolchain to build for AARCH64 or ARM.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template