https://sourceware.org/bugzilla/show_bug.cgi?id=33552

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
Before I added R_386_GOT32X, R_386_GOT32 was calculated as

G + A - P (GOT)

When I added R_386_GOT32X whose calculation is

G + A - GOT or G + A (without base register)

So for

jmp *_start@GOT

which doesn't have base register,

G + A - GOT

is simply unsupported/wrong.  BTW, I also changed R_386_GOT32 calculation to

G + A - GOT or G + A (without base register)

R_386_GOT32X is generated on purpose. Linkers with R_386_GOT32X support can
handle it properly and older linkers will issue an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to