This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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] |
An alternative would be to call the __clear_cache() function provided by libgcc, or even better implement __builtin___clear_cache for arm and use that.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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |