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.

Cheers
  Nick



_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to