This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]