2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE. * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
This commit is contained in:
parent
b0a9d0fcc9
commit
ec475b0967
|
@ -1,3 +1,10 @@
|
||||||
|
2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
|
||||||
|
defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
|
||||||
|
* libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
|
||||||
|
to be __LOCK_INIT_RECURSIVE.
|
||||||
|
|
||||||
2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
|
2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
|
* libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
|
||||||
|
|
|
@ -112,7 +112,7 @@ hp_timing_t _dl_cpuclock_offset;
|
||||||
This must be a recursive lock since the initializer function of
|
This must be a recursive lock since the initializer function of
|
||||||
the loaded object might as well require a call to this function.
|
the loaded object might as well require a call to this function.
|
||||||
At this time it is not anymore a problem to modify the tables. */
|
At this time it is not anymore a problem to modify the tables. */
|
||||||
__LOCK_RECURSIVE_INIT (, _dl_load_lock)
|
__LOCK_INIT_RECURSIVE(, _dl_load_lock)
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_AUX_VECTOR
|
#ifdef HAVE_AUX_VECTOR
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
#define _LIBC 1
|
#define _LIBC 1
|
||||||
#define NOT_IN_libc 1
|
#define NOT_IN_libc 1
|
||||||
|
|
||||||
|
#ifndef __USE_GNU
|
||||||
|
#define __USE_GNU 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <bits/libc-lock.h>
|
#include <bits/libc-lock.h>
|
||||||
|
|
||||||
typedef __libc_lock_t _LOCK_T;
|
typedef __libc_lock_t _LOCK_T;
|
||||||
|
@ -14,7 +18,7 @@ typedef __libc_lock_recursive_t _LOCK_RECURSIVE_T;
|
||||||
|
|
||||||
#define __LOCK_INIT(class,lock) \
|
#define __LOCK_INIT(class,lock) \
|
||||||
__libc_lock_define_initialized(class, lock)
|
__libc_lock_define_initialized(class, lock)
|
||||||
#define __LOCK_RECURSIVE_INIT(class, lock) \
|
#define __LOCK_INIT_RECURSIVE(class, lock) \
|
||||||
__libc_lock_define_initialized_recursive(class, lock)
|
__libc_lock_define_initialized_recursive(class, lock)
|
||||||
|
|
||||||
#define __lock_init(__lock) __libc_lock_init(__lock)
|
#define __lock_init(__lock) __libc_lock_init(__lock)
|
||||||
|
|
Loading…
Reference in New Issue