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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Rhys Rustad-Elliott from comment #2)

> 
> Confirming that linking to an ELF and then using objcopy to convert it to a
> flat binary works around this issue for me as described here.
> 
> I assume regardless that this behavior should still be considered a bug in
> ld though right?

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.

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

Reply via email to