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,9 +1,21 @@
2008-02-15 Anthony Green <green@redhat.com> 2008-02-15 Anthony Green <green@redhat.com>
* configure.ac: Bump version to 3.0.0, * 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.
2008-02-15 Anthony Green <green@redhat.com>
* configure.ac: Bump version to 3.0.0.
* configure, doc/stamp-vti, doc/version.texi: Rebuilt. * configure, doc/stamp-vti, doc/version.texi: Rebuilt.
2008-02-15 David Daney <ddaney@avtrex.com> 2008-02-15 David Daney <ddaney@avtrex.com>
* src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE): * src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE):
Define (conditionally), and use it to include cachectl.h. Define (conditionally), and use it to include cachectl.h.

View File

@@ -1,7 +1,7 @@
Status Status
====== ======
libffi-3.0.0 was released on February 15, 2008. Check the libffi web libffi-3.0.1 was released on February 15, 2008. Check the libffi web
page for updates: <URL:http://sourceware.org/libffi/>. page for updates: <URL:http://sourceware.org/libffi/>.
@@ -152,6 +152,9 @@ arguments' test).
History History
======= =======
3.0.1 Feb-15-08
Fix instruction cache flushing bug on MIPS.
3.0.0 Feb-15-08 3.0.0 Feb-15-08
Many changes, mostly thanks to the GCC project. Many changes, mostly thanks to the GCC project.
Cygnus Solutions is now Red Hat. Cygnus Solutions is now Red Hat.

20
libffi/configure vendored
View File

@@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for libffi 3.0.0. # Generated by GNU Autoconf 2.61 for libffi 3.0.1.
# #
# Report bugs to <http://gcc.gnu.org/bugs.html>. # Report bugs to <http://gcc.gnu.org/bugs.html>.
# #
@@ -728,8 +728,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='libffi' PACKAGE_NAME='libffi'
PACKAGE_TARNAME='libffi' PACKAGE_TARNAME='libffi'
PACKAGE_VERSION='3.0.0' PACKAGE_VERSION='3.0.1'
PACKAGE_STRING='libffi 3.0.0' PACKAGE_STRING='libffi 3.0.1'
PACKAGE_BUGREPORT='http://gcc.gnu.org/bugs.html' PACKAGE_BUGREPORT='http://gcc.gnu.org/bugs.html'
# Factoring default headers for most tests. # Factoring default headers for most tests.
@@ -1457,7 +1457,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures libffi 3.0.0 to adapt to many kinds of systems. \`configure' configures libffi 3.0.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1528,7 +1528,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of libffi 3.0.0:";; short | recursive ) echo "Configuration of libffi 3.0.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -1638,7 +1638,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
libffi configure 3.0.0 libffi configure 3.0.1
generated by GNU Autoconf 2.61 generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1652,7 +1652,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by libffi $as_me 3.0.0, which was It was created by libffi $as_me 3.0.1, which was
generated by GNU Autoconf 2.61. Invocation command line was generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@ $ $0 $@
@@ -2475,7 +2475,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='libffi' PACKAGE='libffi'
VERSION='3.0.0' VERSION='3.0.1'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@@ -23297,7 +23297,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by libffi $as_me 3.0.0, which was This file was extended by libffi $as_me 3.0.1, which was
generated by GNU Autoconf 2.61. Invocation command line was generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -23354,7 +23354,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
libffi config.status 3.0.0 libffi config.status 3.0.1
configured by $0, generated by GNU Autoconf 2.61, configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"

View File

@@ -2,7 +2,7 @@ dnl Process this with autoconf to create configure
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_INIT([libffi], [3.0.0], [http://gcc.gnu.org/bugs.html]) AC_INIT([libffi], [3.0.1], [http://gcc.gnu.org/bugs.html])
AC_CONFIG_HEADERS([fficonfig.h]) AC_CONFIG_HEADERS([fficonfig.h])
AC_CANONICAL_SYSTEM AC_CANONICAL_SYSTEM

View File

@@ -1,4 +1,4 @@
@set UPDATED 14 February 2008 @set UPDATED 14 February 2008
@set UPDATED-MONTH February 2008 @set UPDATED-MONTH February 2008
@set EDITION 3.0.0 @set EDITION 3.0.1
@set VERSION 3.0.0 @set VERSION 3.0.1

View File

@@ -1,4 +1,4 @@
@set UPDATED 14 February 2008 @set UPDATED 14 February 2008
@set UPDATED-MONTH February 2008 @set UPDATED-MONTH February 2008
@set EDITION 3.0.0 @set EDITION 3.0.1
@set VERSION 3.0.0 @set VERSION 3.0.1

View File

@@ -3,4 +3,4 @@
# a separate file so that version updates don't involve re-running # a separate file so that version updates don't involve re-running
# automake. # automake.
# CURRENT:REVISION:AGE # CURRENT:REVISION:AGE
5:1:0 5:2:0

View File

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