This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: Make Sparc Target Multi-Arch
- To: msnyder at cygnus dot com
- Subject: Re: [PATCH]: Make Sparc Target Multi-Arch
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Date: Wed, 3 May 2000 10:43:32 MET DST
- Cc: gdb-patches at sourceware dot cygnus dot com
> > 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 don't have access to a v9 ABI, but looking at the generated v9 code this
seems to be a problem with Sparc32 only.
How hard would it be to default to AT_ENTRY for Sparc32 and make ON_STACK
a user selectable option ?
--
Peter Schauer pes@regent.e-technik.tu-muenchen.de