[PATCH] D18711: Change how we apply rellocations
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 04:41:19 PDT 2016
On 11 April 2016 at 18:23, Sean Silva <chisophugis at gmail.com> wrote:
> silvas added a subscriber: silvas.
>
> ================
> Comment at: ELF/Target.cpp:530
> @@ -543,1 +529,3 @@
> +void X86TargetInfo::relocateOne(uint8_t *Loc, uint32_t Type,
> + uint64_t Val) const {
> switch (Type) {
> ----------------
> `Val` is very generic. The previous names were based on computations in the psABI specs. Where is the documentation of the meaning of `Val`?
Depends on the expression. It can be "S + A", "S + A - P", "G - P", etc.
Cheers,
Rafael
More information about the llvm-commits
mailing list