[PATCH] gold: fix merging of non-section symbols

Xiao Jia xiaoj@google.com
Mon Mar 21 22:34:00 GMT 2016


Sorry for the late reply, I spent time on something else.

On Thu, Mar 3, 2016 at 11:30 AM, Cary Coutant <ccoutant@gmail.com> wrote:
> Is there a PR for this bug?

I'm not familiar with the workflow.  What is a PR?

>
>> os->output_address() returns a virtual address, while what we actually
>> want is an offset starting from the section.
>
> I don't think that's right, unless we're doing a relocatable link. See
> the use of relocatable_link_adjustment in the "else if" block
> immediately following this one.

Yes in my case it's a relocatable symbol IIRC.  I'll take a look at
the code you mentioned.  Thanks!

Xiao



More information about the Binutils mailing list