about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/sparcv9
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-09-15 11:21:52 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-09-15 16:31:50 -0300
commit09cb278539d6ebb30a4de89a6bfd8bda1b085c07 (patch)
treeb3380b0de0a9eed5c55792a6057515fd368d3582 /sysdeps/sparc/sparc32/sparcv9
parentfbc994921b459d57b681a926780933a20745edf5 (diff)
downloadglibc-09cb278539d6ebb30a4de89a6bfd8bda1b085c07.tar.gz
glibc-09cb278539d6ebb30a4de89a6bfd8bda1b085c07.tar.xz
glibc-09cb278539d6ebb30a4de89a6bfd8bda1b085c07.zip
nptl: Consolidate sem_init implementations
Current sparc32 sem_init and default one only differ on sem.newsem.pad
initialization.  This patch removes sparc32 and sparc32v9 sem_init arch
specific implementation and set sparc32 to use nptl default one.
The default implementation sets the required sem.newsem.pad to 0 (which
is ununsed in other architectures).

I checked on i686 and a sparc32v9 build.

        * nptl/sem_init.c (sem_init): Init pad value to 0.
        * sysdeps/sparc/sparc32/sem_init.c: Remove file.
        * sysdeps/sparc/sparc32/sparcv9/sem_init.c: Likewise.
Diffstat (limited to 'sysdeps/sparc/sparc32/sparcv9')
-rw-r--r--sysdeps/sparc/sparc32/sparcv9/sem_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv9/sem_init.c b/sysdeps/sparc/sparc32/sparcv9/sem_init.c
deleted file mode 100644
index c90d1b599a..0000000000
--- a/sysdeps/sparc/sparc32/sparcv9/sem_init.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <nptl/sem_init.c>