This is the mail archive of the binutils@sources.redhat.com 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: Reject sh_link pointing to discarded section


On Thu, Mar 31, 2005 at 04:29:06PM -0800, H. J. Lu wrote:
> I got 2 ia64 .o files with the same linkonce text section, one with
> unwind section and the other without. I think the one without unwind
> section is bad. When linker sees the one without unwind section first,
> the linkonce text section in the other one will be discarded. But
> its unwind section still points to the discarded section and linker
> will crash when trying to set sh_link. This patch will try to use the
> kept section if they have the same size, otherwise, reject it.

OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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