aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-20 22:23:34 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-20 22:23:34 +0000
commit0585697658a4f4afd4b9811b7a3f73ff820a20d8 (patch)
treed8b46217cefa61586a014dafb6bb4f87a09224c0 /sysdeps/powerpc
parenta592f998bb64e8760f9e67170341793cf70ada12 (diff)
downloadglibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.tar
glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.tar.gz
glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.tar.bz2
glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.zip
Update.
2002-07-24 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV on unknown systems. 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl if possible. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short interprocedure branches. * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... * sysdeps/powerpc/nofpu/Dist: ...here. * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/nofpu/Dist2
-rw-r--r--sysdeps/powerpc/powerpc32/atomicity.h16
-rw-r--r--sysdeps/powerpc/soft-fp/Dist2
3 files changed, 7 insertions, 13 deletions
diff --git a/sysdeps/powerpc/nofpu/Dist b/sysdeps/powerpc/nofpu/Dist
new file mode 100644
index 0000000000..cd155fdf5a
--- /dev/null
+++ b/sysdeps/powerpc/nofpu/Dist
@@ -0,0 +1,2 @@
+sim-full.c
+fenv_const.c
diff --git a/sysdeps/powerpc/powerpc32/atomicity.h b/sysdeps/powerpc/powerpc32/atomicity.h
index a3f672e5ec..253bd32673 100644
--- a/sysdeps/powerpc/powerpc32/atomicity.h
+++ b/sysdeps/powerpc/powerpc32/atomicity.h
@@ -22,13 +22,7 @@
#include <inttypes.h>
-#if BROKEN_PPC_ASM_CR0
-# define __ATOMICITY_INLINE /* nothing */
-#else
-# define __ATOMICITY_INLINE inline
-#endif
-
-static __ATOMICITY_INLINE int
+static inline int
__attribute__ ((unused))
exchange_and_add (volatile uint32_t *mem, int val)
{
@@ -42,7 +36,7 @@ exchange_and_add (volatile uint32_t *mem, int val)
return result;
}
-static __ATOMICITY_INLINE void
+static inline void
__attribute__ ((unused))
atomic_add (volatile uint32_t *mem, int val)
{
@@ -55,7 +49,7 @@ atomic_add (volatile uint32_t *mem, int val)
" : "=&b"(tmp) : "r" (mem), "Ir"(val) : "cr0", "memory");
}
-static __ATOMICITY_INLINE int
+static inline int
__attribute__ ((unused))
compare_and_swap (volatile long int *p, long int oldval, long int newval)
{
@@ -72,7 +66,7 @@ compare_and_swap (volatile long int *p, long int oldval, long int newval)
return result >> 5;
}
-static __ATOMICITY_INLINE long int
+static inline long int
__attribute__ ((unused))
always_swap (volatile long int *p, long int newval)
{
@@ -85,7 +79,7 @@ always_swap (volatile long int *p, long int newval)
return result;
}
-static __ATOMICITY_INLINE int
+static inline int
__attribute__ ((unused))
test_and_set (volatile long int *p, long int newval)
{
diff --git a/sysdeps/powerpc/soft-fp/Dist b/sysdeps/powerpc/soft-fp/Dist
index 9e4152a77f..a917524129 100644
--- a/sysdeps/powerpc/soft-fp/Dist
+++ b/sysdeps/powerpc/soft-fp/Dist
@@ -25,6 +25,4 @@ q_sub.c
q_ulltoq.c
q_util.c
q_utoq.c
-sim-full.c
-fenv_const.c
sfp-machine.h