[llvm] r267378 - [Support/ELFRelocs] Add R_386_GOT32X.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 11:42:54 PDT 2016


On Mon, Apr 25, 2016 at 10:39 AM, H.J. Lu <hjl.tools at gmail.com> wrote:
> On Mon, Apr 25, 2016 at 10:19 AM, Davide Italiano via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> On Mon, Apr 25, 2016 at 10:10 AM, Rafael EspĂ­ndola
>> <rafael.espindola at gmail.com> wrote:
>>>> +ELF_RELOC(R_386_GOT32X,         43)
>>>> +ELF_RELOC(R_386_NUM,            44)
>>>
>>> We don't have a _NUM for the other architectures. We should probably
>>> delete this one.
>>>
>>> Cheers,
>>> Rafael
>>
>> r267428
>>
>> Thanks!
>
> FYI, linker optimization section has been updated in i386 psABI:
>
> https://github.com/hjl-tools/x86-psABI/wiki/intel386-psABI-draft.pdf
>
> and x86-64 psABI:
>
> https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-r252.pdf
>
> The updated optimization has been implemented in BFD linker on
> master branch.
>
> --
> H.J.


Thanks H.J.,I plan to implement the optimizations for GOTPC32X (and
GOTPCRELX) hopefully this week.


-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list