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


Is there a PR for this bug?

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

-cary


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