[patch] powerpc libffi Net/FreeBSD

Andreas Tobler andreast-list@fgznet.ch
Tue Jun 2 18:22:00 GMT 2009


Hello,

I'd like to commit the attached patch to gcc-head.

The patch comes from:
http://sourceware.org/ml/libffi-discuss/2009/msg00069.html

I tested the patch on gcc-head, FreeBSD:

http://gcc.gnu.org/ml/gcc-testresults/2009-06/msg00132.html

I also tested it on ppc-linux to see that there is no impact on non BSD 
targets.

Ok for trunk?

Andrew, I will wait until you did the merge.

Thanks,

Andreas

2009-06-02  Wim Lewis  <wiml@hhhh.org>

	* src/powerpc/ffi.c: Avoid clobbering cr3 and cr4, which are
	supposed to be callee-saved.
	* src/powerpc/sysv.S (small_struct_return_value): Fix overrun of
	return buffer for odd-size structs.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: small_struct_ppc.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20090602/f17e62bb/attachment.ksh>


More information about the Java-patches mailing list