diff options
author | Joao Moreira <joao.moreira@intel.com> | 2022-02-26 03:55:39 +0000 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-02-26 03:55:40 +0000 |
commit | 9d7001eba9c4cb311e03cd8cdc231f9e579f2d0f (patch) | |
tree | 9b75870e1e083d977d930fb1c34abffcb0815754 /libcxx/include/__algorithm/max.h | |
parent | 2dc6e906b09deb092c15a726c06d0ecbeec1eb18 (diff) | |
download | llvm-9d7001eba9c4cb311e03cd8cdc231f9e579f2d0f.zip llvm-9d7001eba9c4cb311e03cd8cdc231f9e579f2d0f.tar.gz llvm-9d7001eba9c4cb311e03cd8cdc231f9e579f2d0f.tar.bz2 |
[ELF][X86] Don't create IBT .plt if there is no PLT entry
https://github.com/ClangBuiltLinux/linux/issues/1606
When GNU_PROPERTY_X86_FEATURE_1_IBT is enabled, ld.lld will create .plt output
section even if there is no PLT entry. Fix this by implementing
IBTPltSection::isNeeded instead of using the default code path (which always
returns true).
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D120600
Diffstat (limited to 'libcxx/include/__algorithm/max.h')
0 files changed, 0 insertions, 0 deletions