mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Update.
* sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add rt-sysdep. * rt/tst-mqueue5.c (mqsend): Don't inline. (mqrecv): Likewise.
This commit is contained in:
parent
f4f16fb139
commit
e832919bd0
@ -1,5 +1,12 @@
|
||||
2004-04-18 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file.
|
||||
* sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add
|
||||
rt-sysdep.
|
||||
|
||||
* rt/tst-mqueue5.c (mqsend): Don't inline.
|
||||
(mqrecv): Likewise.
|
||||
|
||||
* rt/tst-timer4.c: Include <string.h>.
|
||||
|
||||
2004-04-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define SEM_FAILED ((sem_t *) 0)
|
||||
|
||||
/* Maximum value the semaphore can have. */
|
||||
#define SEM_VALUE_MAX ((int) (2147483647)
|
||||
#define SEM_VALUE_MAX (2147483647)
|
||||
|
||||
|
||||
typedef union
|
||||
|
@ -34,7 +34,7 @@
|
||||
#define SEM_FAILED ((sem_t *) 0)
|
||||
|
||||
/* Maximum value the semaphore can have. */
|
||||
#define SEM_VALUE_MAX ((int) (2147483647)
|
||||
#define SEM_VALUE_MAX (2147483647)
|
||||
|
||||
|
||||
typedef union
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define SEM_FAILED ((sem_t *) 0)
|
||||
|
||||
/* Maximum value the semaphore can have. */
|
||||
#define SEM_VALUE_MAX ((int) (2147483647))
|
||||
#define SEM_VALUE_MAX (2147483647)
|
||||
|
||||
|
||||
typedef union
|
||||
|
@ -58,7 +58,7 @@ rtmin_handler (int sig, siginfo_t *info, void *ctx)
|
||||
}
|
||||
|
||||
#define mqsend(q) (mqsend) (q, __LINE__)
|
||||
static inline int
|
||||
static int
|
||||
(mqsend) (mqd_t q, int line)
|
||||
{
|
||||
char c;
|
||||
@ -71,7 +71,7 @@ static inline int
|
||||
}
|
||||
|
||||
#define mqrecv(q) (mqrecv) (q, __LINE__)
|
||||
static inline int
|
||||
static int
|
||||
(mqrecv) (mqd_t q, int line)
|
||||
{
|
||||
char c;
|
||||
@ -472,7 +472,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3,
|
||||
/* Thread opens a new O_RDONLY mqd_t (q4). */
|
||||
/* Thread calls mq_notify (q4, NULL), which should unregister the above
|
||||
notification. */
|
||||
/* Thread calls mq_close (q4). */
|
||||
/* Thread calls mq_close (q4). */
|
||||
|
||||
(void) pthread_barrier_wait (b3);
|
||||
|
||||
@ -501,7 +501,7 @@ do_child (const char *name, pthread_barrier_t *b2, pthread_barrier_t *b3,
|
||||
/* Thread opens a new O_WRONLY mqd_t (q5). */
|
||||
/* Thread calls mq_notify (q5, NULL), which should unregister the above
|
||||
notification. */
|
||||
/* Thread calls mq_close (q5). */
|
||||
/* Thread calls mq_close (q5). */
|
||||
|
||||
(void) pthread_barrier_wait (b3);
|
||||
|
||||
|
@ -1 +1,4 @@
|
||||
64bit-predefine = __powerpc64__
|
||||
ifeq ($(subdir),rt)
|
||||
librt-routines += rt-sysdep
|
||||
endif
|
||||
|
1
sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c
Normal file
1
sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c
Normal file
@ -0,0 +1 @@
|
||||
#include <sysdep.c>
|
Loading…
Reference in New Issue
Block a user