This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


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

Re: [PATCH]: Make Sparc Target Multi-Arch


On May 2,  2:54pm, Michael Snyder wrote:

> > As the problematic calls are rare (Sun cc compiled 32 bit ABI functions,
> > returning structs), I think that we could live with a warning and returning
> > garbage in the return value. Personally I'd prefer that over AT_ENTRY
> > hacking.
> 
> Ah!  So you're saying this is a concern for Sparc32, but not for
> Sparc64?
> Then I have a solution.  I can easily use ON_STACK for Sparc32, and
> AT_ENTRY_POINT for Sparc64.  That's the beauty of multi-arch!  ;-)
> 
> Then the only losers will be people who activate C2 security on Sparc32.
> 
> What do you think?

I think it would be best to figure out how to use AT_ENTRY_POINT for
both.

Kevin
(who still doesn't understand the problem with AT_ENTRY_POINT on
Sparc32)

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