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

--- Comment #20 from cqwrteur <euloanty at live dot com> ---
(In reply to Nick Clifton from comment #18)
> Created attachment 14652 [details]
> Proposed patch
> 
> Interesting.  The issue is the section itself: .rdata_r.  This is not a
> normal PE section name, and it is missing from the default script used by
> the linker.  So instead the orphan section handling code is activated, and
> this places the section into the .rdata section.  But in doing so, it also
> sets the vaddr for the .rdata section to 0.
> 
> The .rdata_r section is being created by the LTO plugin when it recompiles
> helloworld.cc.  I am not sure why this is happening.  But there is an easy
> fix - add the .rdata_r section to the default linker map.  So that is what
> this patch does.
> 
> Please try out the patch and let me know if it works for you.

Please merge the patch. It is important for me

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

Reply via email to