llvm-project
970d6d20 - ELF: Have __rela_iplt_{start,end} surround .rela.iplt with --pack-dyn-relocs=android.

Commit
1 year ago
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
Author
pcc pcc
Parents
Loading