bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/23997] PLT32 relocation is off by 4


From: nruslan_devel at yahoo dot com
Subject: [Bug gas/23997] PLT32 relocation is off by 4
Date: Wed, 19 Dec 2018 03:14:23 +0000

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

--- Comment #6 from Ruslan Nikolaev <nruslan_devel at yahoo dot com> ---
BTW, I did some further testing with i386. It seems for i386, things are also
not consistent but the other way around.
.long address@hidden does not seem generate correct offset (even for PIC), but
address@hidden - . seems to always generate correct offset (even for PIC).

For both i386 and x86-64, clang/LLVM generated correct offset in either case.

So, I think, it may present some problem as i386 and x86_64 assembly code is
often (at least partially) shared.

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


reply via email to

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