[PATCH] D79664: [ELF] Support --pack-dyn-relocs=rel+relr

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 23:25:36 PDT 2020


mcgrathr added a comment.

Also note that compatible dynamic linkers support not just either, but both in the same executable (though the format requires that only one or the other be the format for PLT relocs, but those never need addends anyway).  So for the large model case one could theoretically produce RELA for any relocs whose addend is too large for the bits available in the relocated entity while still producing REL for everything that fits.  (The need ever to support large addends in the real world seems unlikely, but just saying.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79664/new/

https://reviews.llvm.org/D79664





More information about the llvm-commits mailing list