bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gas: i386 leal _GLOBAL_OFFSET_TABLE_


From: Kevin Ryde
Subject: gas: i386 leal _GLOBAL_OFFSET_TABLE_
Date: 07 May 2001 10:15:30 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

In a debian packaged i386 gas 2.11.90.0.1, or I think in the current
cvs, a file foo.s containing

        leal  _GLOBAL_OFFSET_TABLE_(%edi), %ebx

is assembled to (looking with objdump)

   0:   8d 9f 00 00 00 00       lea    0x0(%edi),%ebx
                        2: R_386_GOTPC  _GLOBAL_OFFSET_TABLE_

I think the offset in that relocation should be 2 not 0, certainly
that would make it match the basic "addl" usually used.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]