diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-12 13:11:04 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-12-19 18:33:05 +0100 |
commit | d05d5f6c85e926a0a21da4bd6d5afe766345d6a5 (patch) | |
tree | 16f662cacaef476493a7f8628005af4d056a63c9 /ArmPkg | |
parent | 3bdc111178e11a9a9a3e77cad3f8d61122557d46 (diff) | |
download | edk2-d05d5f6c85e926a0a21da4bd6d5afe766345d6a5.tar.gz edk2-d05d5f6c85e926a0a21da4bd6d5afe766345d6a5.tar.bz2 edk2-d05d5f6c85e926a0a21da4bd6d5afe766345d6a5.zip |
BaseTools/tools_def ARM: emit PIC veneers
The ARM linker may emit veneers, i.e., trampolines, when ordinary
direct relative branches cannot be used, e.g., for Thumb interworking
or branch targets that are out of range.
Usually, such veneers carry an absolute reference to the branch
target, which is problematic for us, since these absolute references
are not covered by annotations that are visible to GenFw in the
PE/COFF conversion, and so these absolute references are not fixed
up by the PE/COFF loader at runtime.
So switch to all ARM GNU ld toolchains to position independent veneers.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'ArmPkg')
0 files changed, 0 insertions, 0 deletions