2008-02-15 Anthony Green <green@redhat.com>

* configure.ac: Bump version to 3.0.1.
        * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
        * libtool-version: Increment revision.
        * README: Update for new release.

2008-02-15  David Daney  <ddaney@avtrex.com>

        * src/mips/ffi.c: Remove extra '>' from include directive.
        (ffi_prep_closure_loc): Use clear_location instead of tramp.
This commit is contained in:
green
2008-02-16 01:02:00 +00:00
parent 59aa6bb1bf
commit f7942975fe
8 changed files with 37 additions and 21 deletions

View File

@@ -1,5 +1,6 @@
/* -----------------------------------------------------------------------
ffi.c - Copyright (c) 1996, 2007 Red Hat, Inc.
Copyright (c) 2008 David Daney
MIPS Foreign Function Interface
@@ -36,7 +37,7 @@
#endif
#ifndef USE__BUILTIN___CLEAR_CACHE
#include <sys/cachectl.h>>
#include <sys/cachectl.h>
#endif
#ifdef FFI_DEBUG
@@ -629,7 +630,7 @@ ffi_prep_closure_loc (ffi_closure *closure,
#ifdef USE__BUILTIN___CLEAR_CACHE
__builtin___clear_cache(clear_location, clear_location + FFI_TRAMPOLINE_SIZE);
#else
cacheflush (tramp, FFI_TRAMPOLINE_SIZE, ICACHE);
cacheflush (clear_location, FFI_TRAMPOLINE_SIZE, ICACHE);
#endif
return FFI_OK;
}