diff options
author | Justin Hibbits <chmeeedalf@gmail.com> | 2019-11-21 16:33:24 -0600 |
---|---|---|
committer | Justin Hibbits <chmeeedalf@gmail.com> | 2019-12-19 09:27:13 -0600 |
commit | d3aeac8e20fb3714eb69d6ed5838d57c7ddcd8e8 (patch) | |
tree | 3f35681e2c780634c94d2f3d600e6ad6b82fbd28 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dcb48f50bdfa0fa47b62d089b6ed999d857fc9f8 (diff) | |
download | llvm-d3aeac8e20fb3714eb69d6ed5838d57c7ddcd8e8.zip llvm-d3aeac8e20fb3714eb69d6ed5838d57c7ddcd8e8.tar.gz llvm-d3aeac8e20fb3714eb69d6ed5838d57c7ddcd8e8.tar.bz2 |
[PowerPC] Only use PLT annotations if using PIC relocation model
Summary:
The default static (non-PIC, non-PIE) model for 32-bit powerpc does not
use @PLT annotations and relocations in GCC. LLVM shouldn't use @PLT
annotations either, because it breaks secure-PLT linking with (some
versions of?) GNU LD.
Update the available-externally.ll test to reflect that default mode should be
the same as the static relocation, by using the same check prefix.
Reviewed by: sfertile
Differential Revision: https://reviews.llvm.org/D70570
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions