[patch] libffi EABI sys_cacheflush

Steven Newbury s_j_newbury@yahoo.co.uk
Fri Aug 3 15:31:00 GMT 2007


The existing code in FFI_INIT_TRAMPOLINE calls sys_cacheflush using only the
OABI syscall interface ie. the syscall number is encoded in the swi
instruction.

This patch passes the syscall number in r7 and calls "swi 0" as is needed by
the EABI Linux syscall ABI.

2007-08-03  Steven Newbury  <s_j_newbury@yahoo.co.uk>

	* src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Use EABI syscall ABI for 
          sys_cacheflush.

Steve


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libffi-eabi-cacheflush.patch
Type: text/x-patch
Size: 793 bytes
Desc: 1892550461-libffi-eabi-cacheflush.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070803/8203fda4/attachment.bin>


More information about the Java-patches mailing list