https://sourceware.org/bugzilla/show_bug.cgi?id=22883
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Cary Coutant from comment #1)
> I don't see how the Gnu linker is making this work. All your PLT32
> relocations are missing the "-4" bias for a pc-relative reference. As far as
> I can see, gold is doing the right thing, and the assembler is emitting bad
> relocations.
The clue is in
% objdump -dr pscopyca.o
[...]
2d1: e8 fc ff ff ff callq 2d2 <mx_ippsZero_16s+0x14>
^^^^^^^^^^^^^^^^^^^^^^ Herr is -4.
2d2: R_X86_64_PLT32 mx_ownsZero_8u
[...]
Yes, the object file is bad. It uses RELA, but stores relocations
like REL. Which assembler generates it?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils