bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27119] ld improperly relocates function address, creating an inv


From: hjl.tools at gmail dot com
Subject: [Bug ld/27119] ld improperly relocates function address, creating an invalid pointer
Date: Tue, 29 Dec 2020 14:30:54 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NOTABUG                     |WONTFIX

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alexander Monakov from comment #4)
> (In reply to H.J. Lu from comment #3)
> > Don't use
> > 
> > OUTPUT_FORMAT("binary")
> > 
> > with backend specific relocations, like R_X86_64_GOTPCRELX, since the
> > generic binary linker can't process them properly.
> 
> If some part of the linker cannot process a particular relocation, why is it
> emitting random nonsense instead of issuing a diagnostic message and
> stopping with an error?
> 
> How is this "Not a bug"? This is a valid quality-of-implementation issue.

Changed it to WONTFIX.  BTW, patches are welcome.

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