This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC Patch: Fix bad eh_frame data for MIPS.
- From: Richard Henderson <rth at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Sep 2003 19:27:42 -0700
- Subject: Re: RFC Patch: Fix bad eh_frame data for MIPS.
- References: <3F68D2B2.3060401@avtrex.com> <20030917224718.GB23340@redhat.com> <3F68FFA8.9070706@avtrex.com>
On Wed, Sep 17, 2003 at 05:43:20PM -0700, David Daney wrote:
> I don't quite understand. The main problem is when r31 is not being
> saved on the stack. The return address is in r31 and not saved anywhere
> else. That has to be communicated to eh_frame.
I know. But having mips.h claim that (gcc) r31 == (dw2) r64 without
having similar mappings in unwind-dw2.c or gdb is definitely wrong.
> Would this change cause binary compatibility problems with existing
> versions of libgcc_s.so.1 and libstdc++.so ?
No.
> If I do #2 and it works for me (unknown at this point), is it an
> acceptable solution and would it be applied to the gcc mainline?
Yes. Indeed, it is the solution that I prefer. That is the way things
are done on virtually all other gcc ports, so I do not expect problems.
r~