This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Don't allow ia64 unwind section to point to section in different files
- From: "H. J. Lu" <hjl at lucon dot org>
- To: davidm at hpl dot hp dot com
- Cc: binutils at sources dot redhat dot com, linux-ia64 at vger dot kernel dot org
- Date: Mon, 16 May 2005 06:58:22 -0700
- Subject: Re: PATCH: Don't allow ia64 unwind section to point to section in different files
- References: <CBDB88BFD06F7F408399DBCF8776B3DC0424E404@scsmsx403.amr.corp.intel.com> <17029.3906.33841.302589@napali.hpl.hp.com> <20050513205004.GB30928@lucon.org> <17029.5402.827349.738563@napali.hpl.hp.com> <20050513210111.GB31069@lucon.org> <17029.5812.552722.635968@napali.hpl.hp.com> <20050513214612.GA31765@lucon.org> <20050513215815.GA32009@lucon.org> <17032.26444.573994.767580@napali.hpl.hp.com>
On Mon, May 16, 2005 at 02:26:36AM -0700, David Mosberger wrote:
> >>>>> On Fri, 13 May 2005 14:58:15 -0700, "H. J. Lu" <hjl@lucon.org> said:
>
> HJ> Well, it isn't very useful. The problem is libc.a has many weak
> HJ> functions and user can override them. My patch will make it
> HJ> impossible on ia64. I guess we may have to live with the
> HJ> imperfect unwind info when weak functions are used. The unwinder
> HJ> may have to deal with it.
>
> Huh? How do you propose it deal with it?
>
> Wrong unwind info will break exception handling. I don't think that's
> acceptable.
Since the weak function is still in the executable, its unwind info is
also there. That is what you see in kernel.
H.J.