diff options
author | pcc <peter@pcc.me.uk> | 2024-12-04 17:35:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-04 17:35:05 -0800 |
commit | 970d6d20967258528980c9b7feaaf3dd3acf9aa3 (patch) | |
tree | 1fe997d2f95f9cea172c473942c1205775ff7aff /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | af4ae12780099d3df0b89bccc80fd69b240f345e (diff) | |
download | llvm-970d6d20967258528980c9b7feaaf3dd3acf9aa3.zip llvm-970d6d20967258528980c9b7feaaf3dd3acf9aa3.tar.gz llvm-970d6d20967258528980c9b7feaaf3dd3acf9aa3.tar.bz2 |
ELF: Have __rela_iplt_{start,end} surround .rela.iplt with --pack-dyn-relocs=android.
In #86751 we moved the IRELATIVE relocations to .rela.plt when
--pack-dyn-relocs=android was enabled but we neglected to also move
the __rela_iplt_{start,end} symbols. As a result, static binaries
linked with this flag were unable to find their IRELATIVE relocations.
Fix it by having the symbols surround the correct section.
Reviewers: MaskRay, smithp35
Reviewed By: MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/118585
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions