On 23 March 2017 at 14:18, H.J. Lu <
hjl....@gmail.com> wrote:
> On Tue, Jun 21, 2016 at 9:36 AM, H.J. Lu <
hjl....@gmail.com> wrote:
>> Hi,
>>
>> I updated Intel386 psABI to specify how to compute R_386_GOT32
>> and R_386_GOT32X relocations without base register and with PIC
>> disabled in
>>
>> op name@GOT, %reg
>> op %reg, name@GOT
>>
>> The updated psABI draft is at
>>
>>
https://github.com/hjl-tools/x86-psABI/wiki/intel386-psABI-draft.pdf
>>
>> and on hjl/x86/got32 branch.
>>
>
> "name@GOT" is a memory operand. It is usually computed as "G + A" to
> get the GOT address. When used with lea, "lea name@GOT, %reg", it is
> used to get the GOT index and should always be computed as G + A - GOT:
found in the object file. What was the rationale for not introducing a