rjmccall added a comment.

There's two independently-useful things here for the relocation, right?  First, 
it's useful to be able to express a relocation to a symbol that has the 
semantics of a particular function but doesn't necessarily have its address, 
and that concept could be used across many "physical" relocations; and second, 
it's potentially useful to have a shifted-by-two relative address relocation, 
at least on AArch64 where instructions (and v-table entries under this ABI) are 
always four-byte-aligned anyway.  Is it possible to separate these concerns in 
ELF, e.g. by having a "symbol" that can be the target of any other relocation 
but which actually represents a function of unspecified address with the 
semantics of another function?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72959



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to