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

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Nick Clifton from comment #5)
> Hi H.J.
> 
> > The value will be wrong.  Linker can only resolve PC relative relocations> 
> > against local definition.
> But can't the linker assume that the object is located at address 0 and
> resolve the relocations using that ?  It does not matter that this address
> will not match the run-time address of the object, it is only going to be
> used when performing a static analysis of the binary.

How these relocation should be resolved must be spelled out, probably in
.gnu.build.attributes specification.

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