bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22929] x86_64 linker seg-faults when creating a shared object fr


From: nickc at redhat dot com
Subject: [Bug ld/22929] x86_64 linker seg-faults when creating a shared object from an input containg relocations against note section without SHF_ALLOC
Date: Tue, 06 Mar 2018 14:47:25 +0000

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

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]