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]

[PATCH] PPC32: Fix libffi closure relocations


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?

Franz.


	* src/powerpc/ppc_closure.S: Recode to fit shared libs.

Attachment: gcc-ppc-libffi-1.patch
Description: Text document


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