[lld] r249340 - Create R_X86_64_RELATIVE when needed.
Rafael EspĂndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 13:57:19 PDT 2015
On 15 October 2015 at 10:13, Hal Finkel <hfinkel at anl.gov> wrote:
> Hi Rafael,
>
> Could you please better comment the semantics of isRelRelative?
In the way people normally write psabis, it should return true for any
relocation that has a " - P" in the calculation. Would that be a
reasonable comment to add?
> Is it true that, for -shared and any relocation for which isRelRelative returns false, getRelativeReloc() is generated? If not, what other conditions affect when getRelativeReloc() is generated?
I don't think the mapping is that direct.
Cheers,
Rafael
More information about the llvm-commits
mailing list