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

--- Comment #2 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
> (In reply to Rainer Orth from comment #0)

>> $ gas --32 -mrelax-relocations=no got32x.s -o got32x.o
>> $ readelf -r got32x.o
>> Relocation section '.rel.text' at offset 0xa8 contains 2 entries:
>>  Offset     Info    Type            Sym.Value  Sym. Name
>> 00000002  00000103 R_386_GOT32       00000000   bar
>> 00000009  0000022b R_386_GOT32X      00000000   _start
>>
>
> Originally "jmp *_start@GOT" wasn't supported.  It was added with R_386_GOT32X
> by
>
> commit 02a866936de7e63ad4962ccba56c8cd05c231275
> Author: H.J. Lu <[email protected]>
> Date:   Thu Oct 22 04:46:51 2015 -0700
>
>     Add R_386_GOT32X support to gas and ld

If so, why would both Solaris as (which never knew R_32_GOT32X) and
e.g. 2.20.1 (which didn't yet) assemble this just fine and produce the
same code?

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

Reply via email to