This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PPC32: Fix libffi closure relocations
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>, gcc-patches at gcc dot gnu dot org
- Date: 29 Jan 2003 15:33:46 -0800
- Subject: Re: [PATCH] PPC32: Fix libffi closure relocations
- References: <200301300004.25691@enzo.bigblue.local>
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
> Hi,
>
> after getting complaints from users and HJL about TEXTRELs in libgcj I digged
> into this issue. It turned out that the coding style used in ppc_closure.S
> simply is wrong in the shared lib case. Fortunately the solution is simple
> and works for both static and shared case.
>
> Regtested on powerpc-linux-gnu, running ffitest passed too.
>
> OK to commit to mainline, 3.3 and 3.2?
OK. I wouldn't recommend this coding style in general, but it'll do
for this case.
--
- Geoffrey Keating <geoffk@geoffk.org>