[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/21285] R_386_GOT32 for baseless case looks implemented incorre
georgerim at gmail dot com
[Bug gold/21285] R_386_GOT32 for baseless case looks implemented incorrectly.
Thu, 23 Mar 2017 07:56:58 +0000
--- Comment #1 from georgerim at gmail dot com ---
So gold implementation assumes that movl address@hidden, %eax is always encoded
0x8b, what is wrong, I think.
Because ABI says:
"mov address@hidden, %eax must be encoded with opcode 0x8b, not 0xa0, to allow
R_386_GOT32 is not supposed to be optimized, R_386_GOT32X is used for
optimizations. That I believe means that using 0xa1 for encoding mov 0x0,%eax
with R_386_GOT32 relocation is correct. And gold behavior is broken now.
You are receiving this mail because:
You are on the CC list for the bug.