This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFC Patch: Fix bad eh_frame data for MIPS.


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~


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