* 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:
Ulrich Drepper 2004-04-19 06:19:34 +00:00
parent f4f16fb139
commit e832919bd0
7 changed files with 18 additions and 7 deletions

View File

@ -1,5 +1,12 @@
2004-04-18 Ulrich Drepper <drepper@redhat.com> 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>. * rt/tst-timer4.c: Include <string.h>.
2004-04-17 Jakub Jelinek <jakub@redhat.com> 2004-04-17 Jakub Jelinek <jakub@redhat.com>

View File

@ -29,7 +29,7 @@
#define SEM_FAILED ((sem_t *) 0) #define SEM_FAILED ((sem_t *) 0)
/* Maximum value the semaphore can have. */ /* Maximum value the semaphore can have. */
#define SEM_VALUE_MAX ((int) (2147483647) #define SEM_VALUE_MAX (2147483647)
typedef union typedef union

View File

@ -34,7 +34,7 @@
#define SEM_FAILED ((sem_t *) 0) #define SEM_FAILED ((sem_t *) 0)
/* Maximum value the semaphore can have. */ /* Maximum value the semaphore can have. */
#define SEM_VALUE_MAX ((int) (2147483647) #define SEM_VALUE_MAX (2147483647)
typedef union typedef union

View File

@ -29,7 +29,7 @@
#define SEM_FAILED ((sem_t *) 0) #define SEM_FAILED ((sem_t *) 0)
/* Maximum value the semaphore can have. */ /* Maximum value the semaphore can have. */
#define SEM_VALUE_MAX ((int) (2147483647)) #define SEM_VALUE_MAX (2147483647)
typedef union typedef union

View File

@ -58,7 +58,7 @@ rtmin_handler (int sig, siginfo_t *info, void *ctx)
} }
#define mqsend(q) (mqsend) (q, __LINE__) #define mqsend(q) (mqsend) (q, __LINE__)
static inline int static int
(mqsend) (mqd_t q, int line) (mqsend) (mqd_t q, int line)
{ {
char c; char c;
@ -71,7 +71,7 @@ static inline int
} }
#define mqrecv(q) (mqrecv) (q, __LINE__) #define mqrecv(q) (mqrecv) (q, __LINE__)
static inline int static int
(mqrecv) (mqd_t q, int line) (mqrecv) (mqd_t q, int line)
{ {
char c; char c;

View File

@ -1 +1,4 @@
64bit-predefine = __powerpc64__ 64bit-predefine = __powerpc64__
ifeq ($(subdir),rt)
librt-routines += rt-sysdep
endif

View File

@ -0,0 +1 @@
#include <sysdep.c>