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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Nick Clifton from comment #2)
> Hi H.J.
> 
> > Since these relocations
> > are in non-allocatable sections, should linker treat them as in
> > debug section?
> 
> Ideally not.  If I understand the code correctly the debug relocations
> are just silently ignored.  They are not actually processed.  What I 
> would really like, if possible, is for the linker to resolve the
> relocations against the note section and update the section contents
> appropriately.  (I think that the linker can assume a base address of 0
> for these relocations).
> 

The value will be wrong.  Linker can only resolve PC relative relocations
against local definition.

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