summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/arm/vfork.S2
-rw-r--r--libc/sysdeps/linux/bfin/vfork.S4
-rw-r--r--libc/sysdeps/linux/common/vfork.c2
-rw-r--r--libc/sysdeps/linux/e1/vfork.c2
-rw-r--r--libc/sysdeps/linux/frv/vfork.S2
-rw-r--r--libc/sysdeps/linux/h8300/vfork.S4
-rw-r--r--libc/sysdeps/linux/i386/vfork.S2
-rw-r--r--libc/sysdeps/linux/i960/vfork.S4
-rw-r--r--libc/sysdeps/linux/m68k/vfork.S2
-rw-r--r--libc/sysdeps/linux/microblaze/vfork.S4
-rw-r--r--libc/sysdeps/linux/nios/vfork.S2
-rw-r--r--libc/sysdeps/linux/nios2/vfork.S2
-rw-r--r--libc/sysdeps/linux/powerpc/vfork.S2
-rw-r--r--libc/sysdeps/linux/sh/vfork.S2
-rw-r--r--libc/sysdeps/linux/sparc/vfork.S2
-rw-r--r--libc/sysdeps/linux/v850/vfork.S4
-rw-r--r--libc/sysdeps/linux/x86_64/vfork.S2
17 files changed, 22 insertions, 22 deletions
diff --git a/libc/sysdeps/linux/arm/vfork.S b/libc/sysdeps/linux/arm/vfork.S
index 607ffe5a6..5092023a8 100644
--- a/libc/sysdeps/linux/arm/vfork.S
+++ b/libc/sysdeps/linux/arm/vfork.S
@@ -54,5 +54,5 @@ __error:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
#endif
diff --git a/libc/sysdeps/linux/bfin/vfork.S b/libc/sysdeps/linux/bfin/vfork.S
index ccb80d1e8..014e5cfae 100644
--- a/libc/sysdeps/linux/bfin/vfork.S
+++ b/libc/sysdeps/linux/bfin/vfork.S
@@ -17,5 +17,5 @@ ___vfork:
excpt 0;
rts;
.size ___vfork,.-___vfork
-//weak_alias(___vfork,_vfork)
-//libc_hidden_def(_vfork)
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c
index 4586f2cd5..2b043d293 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/libc/sysdeps/linux/common/vfork.c
@@ -19,5 +19,5 @@ pid_t __vfork(void)
}
libc_hidden_proto(vfork)
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
#endif
diff --git a/libc/sysdeps/linux/e1/vfork.c b/libc/sysdeps/linux/e1/vfork.c
index ceb8d8263..34ae5833c 100644
--- a/libc/sysdeps/linux/e1/vfork.c
+++ b/libc/sysdeps/linux/e1/vfork.c
@@ -12,4 +12,4 @@
attribute_hidden _syscall0(pid_t, __vfork);
libc_hidden_proto(vfork)
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/frv/vfork.S b/libc/sysdeps/linux/frv/vfork.S
index fbd7fe05f..8935a12f8 100644
--- a/libc/sysdeps/linux/frv/vfork.S
+++ b/libc/sysdeps/linux/frv/vfork.S
@@ -44,4 +44,4 @@ __vfork:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/h8300/vfork.S b/libc/sysdeps/linux/h8300/vfork.S
index ce591bce1..35c04e559 100644
--- a/libc/sysdeps/linux/h8300/vfork.S
+++ b/libc/sysdeps/linux/h8300/vfork.S
@@ -37,5 +37,5 @@ fix_errno:
dec.l #1,er0
jmp @er1 /* don't return, just jmp directly */
-//weak_alias(___vfork,_vfork)
-//libc_hidden_def(_vfork)
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/i386/vfork.S b/libc/sysdeps/linux/i386/vfork.S
index bc7ccdb32..543da6e90 100644
--- a/libc/sysdeps/linux/i386/vfork.S
+++ b/libc/sysdeps/linux/i386/vfork.S
@@ -29,4 +29,4 @@ __vfork:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/i960/vfork.S b/libc/sysdeps/linux/i960/vfork.S
index c8b7f56cb..1646e1be4 100644
--- a/libc/sysdeps/linux/i960/vfork.S
+++ b/libc/sysdeps/linux/i960/vfork.S
@@ -29,5 +29,5 @@ ___vfork:
1:
ret
-//weak_alias(___vfork,_vfork)
-//libc_hidden_def(_vfork)
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/m68k/vfork.S b/libc/sysdeps/linux/m68k/vfork.S
index 1307597ee..56d57f73c 100644
--- a/libc/sysdeps/linux/m68k/vfork.S
+++ b/libc/sysdeps/linux/m68k/vfork.S
@@ -42,4 +42,4 @@ fix_errno:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/microblaze/vfork.S b/libc/sysdeps/linux/microblaze/vfork.S
index 8d96a51e3..1e802ae29 100644
--- a/libc/sysdeps/linux/microblaze/vfork.S
+++ b/libc/sysdeps/linux/microblaze/vfork.S
@@ -40,5 +40,5 @@ C_ENTRY (__vfork):
rtsd r15, 8 // error return
nop
C_END(__vfork)
-//weak_alias(__vfork,vfork)
-//libc_hidden_def(vfork)
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/nios/vfork.S b/libc/sysdeps/linux/nios/vfork.S
index dc8b7d445..f8a6d031c 100644
--- a/libc/sysdeps/linux/nios/vfork.S
+++ b/libc/sysdeps/linux/nios/vfork.S
@@ -51,4 +51,4 @@ fix_errno:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/nios2/vfork.S b/libc/sysdeps/linux/nios2/vfork.S
index c0e4a7703..ca8811a4f 100644
--- a/libc/sysdeps/linux/nios2/vfork.S
+++ b/libc/sysdeps/linux/nios2/vfork.S
@@ -53,4 +53,4 @@ fix_errno:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/powerpc/vfork.S b/libc/sysdeps/linux/powerpc/vfork.S
index a79cf9e39..600c980a8 100644
--- a/libc/sysdeps/linux/powerpc/vfork.S
+++ b/libc/sysdeps/linux/powerpc/vfork.S
@@ -26,4 +26,4 @@ __vfork:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/sh/vfork.S b/libc/sysdeps/linux/sh/vfork.S
index a53d04a0b..d9840946f 100644
--- a/libc/sysdeps/linux/sh/vfork.S
+++ b/libc/sysdeps/linux/sh/vfork.S
@@ -109,6 +109,6 @@ __vfork:
.size __vfork, .-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
#include "syscall_error.S"
diff --git a/libc/sysdeps/linux/sparc/vfork.S b/libc/sysdeps/linux/sparc/vfork.S
index 18c980031..35ca037d8 100644
--- a/libc/sysdeps/linux/sparc/vfork.S
+++ b/libc/sysdeps/linux/sparc/vfork.S
@@ -52,4 +52,4 @@ __vfork:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/v850/vfork.S b/libc/sysdeps/linux/v850/vfork.S
index db4c9f6f7..82d127079 100644
--- a/libc/sysdeps/linux/v850/vfork.S
+++ b/libc/sysdeps/linux/v850/vfork.S
@@ -38,5 +38,5 @@ C_ENTRY (__vfork):
st.w r10, 0[r11]
jmp [lp] // error return
C_END(__vfork)
-//weak_alias(__vfork,vfork)
-//libc_hidden_def(vfork)
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)
diff --git a/libc/sysdeps/linux/x86_64/vfork.S b/libc/sysdeps/linux/x86_64/vfork.S
index 41acfeec0..b22b7b422 100644
--- a/libc/sysdeps/linux/x86_64/vfork.S
+++ b/libc/sysdeps/linux/x86_64/vfork.S
@@ -56,4 +56,4 @@ __vfork:
.size __vfork,.-__vfork
weak_alias(__vfork,vfork)
-libc_hidden_def(vfork)
+libc_hidden_weak(vfork)