Previously we were setting it to the GotPlt output section, which is
incorrect on ARM where this section is in .got. In static binaries
this can lead to sh_link being set to -1 (because there is no .got.plt)
which results in various tools rejecting the output file.
Details
Details
- Reviewers
ruiu peter.smith • espindola - Commits
- rGbe5f5b31c4fd: Merging r352413: --------------------------------------------------------------…
rGff35dbac4711: ELF: Set sh_info on RelaIplt to point to the IgotPlt output section.
rL352489: Merging r352413:
rL352413: ELF: Set sh_info on RelaIplt to point to the IgotPlt output section.
rLLD352413: ELF: Set sh_info on RelaIplt to point to the IgotPlt output section.
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker