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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Ruslan Nikolaev from comment #2)
> Sometimes when the assembly code is for both PIC and non-PIC code, you may

>From x86-64 psAB:

name@PLT: specifies the offset to the PLT entry of symbol name from the current
code
location.

"name@PLT - ." has undefined behavior.  Can you just use name@PLT for both
PIC and non-PIC codes?

> want to use this construction. I checked LLVM/clang; it compiles correct
> output in both cases.

This isn't relevant.

-- 
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