This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] i386/x86-64: adjust unwind information register encodings
- From: Daniel Jacobowitz <drow at false dot org>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Jan Beulich <JBeulich at novell dot com>, binutils at sources dot redhat dot com
- Date: Fri, 6 May 2005 11:37:22 -0400
- Subject: Re: [PATCH] i386/x86-64: adjust unwind information register encodings
- References: <s27b95cc.095@emea1-mh.id2.novell.com> <20050506153326.GA18041@lucon.org>
On Fri, May 06, 2005 at 08:33:26AM -0700, H. J. Lu wrote:
> On Fri, May 06, 2005 at 05:05:48PM +0200, Jan Beulich wrote:
> > >>> "H. J. Lu" <hjl@lucon.org> 06.05.05 16:00:38 >>>
> > >On Fri, May 06, 2005 at 02:01:21PM +0200, Jan Beulich wrote:
> > >> The register numbers used in x86-64's .eh_frame entries neither matched the
> > >> ABI nor the gcc implementation. Additionally, a significant amount of
> > >> registers were missing in both 32- and 64-bit modes (even now there are, but
> > >> only those for which there don't appear to be register numbers assigned in
> > >> the respective ABI).
> > >>
> > >
> > >Have we been generating wrong unwind info up to now?
> >
> > Yes, it looks like that.
>
> How has it ever worked with glibc and gdb?
Take a look at the changes in Jan's patch. The errors only affect a
couple of GPRs, in 64-bit mode, when using gas's .cfi operators.
--
Daniel Jacobowitz
CodeSourcery, LLC