diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 19 | ||||
-rw-r--r-- | include/demangle.h | 4 | ||||
-rw-r--r-- | include/libiberty.h | 24 |
3 files changed, 46 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index da3aaa2f7c0..aed7bc9657b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,22 @@ +2005-07-07 Release Manager + + * GCC 4.0.1 released. + +2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * libiberty.h (unlock_std_streams): New. + +2005-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked): + Provide prototypes for new functions. + + * libiberty.h (unlock_stream): New. + +2005-04-20 Release Manager + + * GCC 4.0.0 released. + 2005-02-14 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/19818 diff --git a/include/demangle.h b/include/demangle.h index b3b8c58c517..83c0d1f3293 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -141,6 +141,8 @@ enum gnu_v3_ctor_kinds { gnu_v3_complete_object_ctor = 1, gnu_v3_base_object_ctor, gnu_v3_complete_object_allocating_ctor + /* APPLE LOCAL decloning */ + , gnu_v3_unified_ctor }; /* Return non-zero iff NAME is the mangled form of a constructor name @@ -155,6 +157,8 @@ enum gnu_v3_dtor_kinds { gnu_v3_deleting_dtor = 1, gnu_v3_complete_object_dtor, gnu_v3_base_object_dtor + /* APPLE LOCAL decloning */ + , gnu_v3_unified_dtor }; /* Return non-zero iff NAME is the mangled form of a destructor name diff --git a/include/libiberty.h b/include/libiberty.h index c9f480aaf69..8078a4933e4 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -1,6 +1,6 @@ /* Function declarations for libiberty. - Copyright 2001, 2002 Free Software Foundation, Inc. + Copyright 2001, 2002, 2005 Free Software Foundation, Inc. Note - certain prototypes declared in this header file are for functions whoes implementation copyright does not belong to the @@ -48,6 +48,28 @@ extern "C" { #include <stdarg.h> #endif +#include <stdio.h> + +/* If the OS supports it, ensure that the supplied stream is setup to + avoid any multi-threaded locking. Otherwise leave the FILE pointer + unchanged. If the stream is NULL do nothing. */ + +extern void unlock_stream PARAMS ((FILE *)); + +/* If the OS supports it, ensure that the standard I/O streams, stdin, + stdout and stderr are setup to avoid any multi-threaded locking. + Otherwise do nothing. */ + +extern void unlock_std_streams PARAMS ((void)); + +/* Open and return a FILE pointer. If the OS supports it, ensure that + the stream is setup to avoid any multi-threaded locking. Otherwise + return the FILE pointer unchanged. */ + +extern FILE *fopen_unlocked PARAMS ((const char *, const char *)); +extern FILE *fdopen_unlocked PARAMS ((int, const char *)); +extern FILE *freopen_unlocked PARAMS ((const char *, const char *, FILE *)); + /* Build an argument vector from a string. Allocates memory using malloc. Use freeargv to free the vector. */ |