llvm-project
9dffcd27 - [PAC][lld] Properly handle `.relr.auth.dyn` -> `.rela.dyn` movement (#195649)

Commit
77 days ago
[PAC][lld] Properly handle `.relr.auth.dyn` -> `.rela.dyn` movement (#195649) Address the following issues reported in #171475: 1. Proper adjustment of `__rela_iplt_end` address if a move from `.relr.auth.dyn` to `.rela.dyn` took place 2. Set `__rela_iplt_start` properly if prior to such movement from `.relr.auth.dyn`, the `.rela.dyn` was empty 3. Allocate enough space for both RELA* and AARCH64_AUTH_RELR* tags in the `.dynamic` section in case we end up with both `.relr.auth.dyn` and `.rela.dyn`. If one of the sections becomes empty - just pad the `.dynamic` section with null tags in the end. Resolves #171475 --------- Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
Author
Parents
Loading