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 func@plt does not seem generate correct offset (even for PIC), but
func@plt - . 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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to