ffi.c: Avoid clobbering cr3 and cr4, which are supposed to be callee-saved.
authorWim Lewis <wiml@hhhh.org>
Tue, 16 Jun 2009 17:55:39 +0000 (17:55 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Tue, 16 Jun 2009 17:55:39 +0000 (19:55 +0200)
commit6975f17fe7593bccab74d0404f8f3abe53e69c68
treed45c3919a861936258fab6cda27c873f7c0a187d
parent7bbcc28642a8821ad5a5281ac914d49184a8af21
ffi.c: Avoid clobbering cr3 and cr4, which are supposed to be callee-saved.

2009-06-16  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.

From-SVN: r148543
libffi/ChangeLog
libffi/src/powerpc/ffi.c
libffi/src/powerpc/sysv.S