This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch for broken thunk on sparc
- From: Alexey Starovoytov <alexey dot starovoytov at sun dot com>
- To: "David S. Miller" <davem at davemloft dot net>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 6 Apr 2006 12:10:34 -0700 (PDT)
- Subject: Re: patch for broken thunk on sparc
On Tue, 4 Apr 2006, David S. Miller wrote:
> From: Alexey Starovoytov <alexey.starovoytov@sun.com>
> Date: Tue, 4 Apr 2006 13:49:31 -0700 (PDT)
>
> > Here is the proposed patch:
> >
> > * config/sparc/sparc.c (emit_and_preserve): Use
> > correct slot offset to preserve registers
>
> This looks good to me, nice catch Alexey.
I don't have a write access, so if somebody can check it in it would be great.
btw the patch was tested on sparc-sun-solaris2.9, sparc-sun-solaris2.10
and sparc64-unknown-linux-gnu. Both -m32 and -m64. No failures.