jrtc27 wrote:

The canonical PLT is for
```int main(void) {
  return compare(&ifp);
}```
in code models where the address is computed inline (absolute or PC-relative) 
rather than as an indirect load (whether from a global or a GOT entry).

I like to think of canonical PLTs as the function version of copy relocations.

https://github.com/llvm/llvm-project/pull/133531
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to