summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl.c4
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl64.c2
-rw-r--r--libc/sysdeps/linux/common/close.c2
-rw-r--r--libc/sysdeps/linux/common/getpid.c4
-rw-r--r--libc/sysdeps/linux/common/llseek.c2
-rw-r--r--libc/sysdeps/linux/common/lseek.c2
-rw-r--r--libc/sysdeps/linux/common/open.c2
-rw-r--r--libc/sysdeps/linux/common/open64.c2
-rw-r--r--libc/sysdeps/linux/common/read.c2
-rw-r--r--libc/sysdeps/linux/common/write.c2
10 files changed, 12 insertions, 12 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl.c b/libc/sysdeps/linux/common/__syscall_fcntl.c
index d24bd186a..54f99bd31 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl.c
@@ -50,10 +50,10 @@ libc_hidden_def(__libc_fcntl)
libc_hidden_proto(fcntl)
weak_alias(__libc_fcntl,fcntl)
-libc_hidden_def(fcntl)
+libc_hidden_weak(fcntl)
#if ! defined __NR_fcntl64 && defined __UCLIBC_HAS_LFS__
strong_alias(__libc_fcntl,__libc_fcntl64)
libc_hidden_proto(fcntl64)
weak_alias(__libc_fcntl,fcntl64)
-libc_hidden_def(fcntl64)
+libc_hidden_weak(fcntl64)
#endif
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c
index cadeb8470..a1daa7375 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl64.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c
@@ -32,5 +32,5 @@ libc_hidden_def(__libc_fcntl64)
libc_hidden_proto(fcntl64)
strong_alias(__libc_fcntl64,fcntl64)
-libc_hidden_def(fcntl64)
+libc_hidden_weak(fcntl64)
#endif
diff --git a/libc/sysdeps/linux/common/close.c b/libc/sysdeps/linux/common/close.c
index 52566acda..9bd11c028 100644
--- a/libc/sysdeps/linux/common/close.c
+++ b/libc/sysdeps/linux/common/close.c
@@ -15,4 +15,4 @@ extern __typeof(close) __libc_close;
_syscall1(int, __libc_close, int, fd);
libc_hidden_proto(close)
weak_alias(__libc_close,close)
-libc_hidden_def(close)
+libc_hidden_weak(close)
diff --git a/libc/sysdeps/linux/common/getpid.c b/libc/sysdeps/linux/common/getpid.c
index a966a531e..fd331bd62 100644
--- a/libc/sysdeps/linux/common/getpid.c
+++ b/libc/sysdeps/linux/common/getpid.c
@@ -17,5 +17,5 @@ extern __typeof(getpid) __libc_getpid;
#define __NR___libc_getpid __NR_getpid
_syscall0(pid_t, __libc_getpid);
libc_hidden_proto(getpid)
-strong_alias(__libc_getpid, getpid)
-libc_hidden_def(getpid)
+weak_alias(__libc_getpid, getpid)
+libc_hidden_weak(getpid)
diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c
index 6a8d000d2..76354fa15 100644
--- a/libc/sysdeps/linux/common/llseek.c
+++ b/libc/sysdeps/linux/common/llseek.c
@@ -38,5 +38,5 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence)
#endif
libc_hidden_proto(lseek64)
weak_alias(__libc_lseek64,lseek64)
-libc_hidden_def(lseek64)
+libc_hidden_weak(lseek64)
//strong_alias(__libc_lseek64,_llseek)
diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c
index bfe91e3bb..72833b81b 100644
--- a/libc/sysdeps/linux/common/lseek.c
+++ b/libc/sysdeps/linux/common/lseek.c
@@ -19,4 +19,4 @@ libc_hidden_def(__libc_lseek)
libc_hidden_proto(lseek)
weak_alias(__libc_lseek,lseek)
-libc_hidden_def(lseek)
+libc_hidden_weak(lseek)
diff --git a/libc/sysdeps/linux/common/open.c b/libc/sysdeps/linux/common/open.c
index e29280cc4..822ac4f63 100644
--- a/libc/sysdeps/linux/common/open.c
+++ b/libc/sysdeps/linux/common/open.c
@@ -40,7 +40,7 @@ libc_hidden_def(__libc_open)
libc_hidden_proto(open)
weak_alias(__libc_open,open)
-libc_hidden_def(open)
+libc_hidden_weak(open)
int creat(const char *file, mode_t mode)
{
diff --git a/libc/sysdeps/linux/common/open64.c b/libc/sysdeps/linux/common/open64.c
index cd4ce64ec..81480f88e 100644
--- a/libc/sysdeps/linux/common/open64.c
+++ b/libc/sysdeps/linux/common/open64.c
@@ -36,5 +36,5 @@ int __libc_open64 (const char *file, int oflag, ...)
}
libc_hidden_proto(open64)
weak_alias(__libc_open64,open64)
-libc_hidden_def(open64)
+libc_hidden_weak(open64)
#endif /* __UCLIBC_HAS_LFS__ */
diff --git a/libc/sysdeps/linux/common/read.c b/libc/sysdeps/linux/common/read.c
index 9dfac1939..236029ac6 100644
--- a/libc/sysdeps/linux/common/read.c
+++ b/libc/sysdeps/linux/common/read.c
@@ -15,4 +15,4 @@ extern __typeof(read) __libc_read;
_syscall3(ssize_t, __libc_read, int, fd, __ptr_t, buf, size_t, count);
libc_hidden_proto(read)
weak_alias(__libc_read,read)
-libc_hidden_def(read)
+libc_hidden_weak(read)
diff --git a/libc/sysdeps/linux/common/write.c b/libc/sysdeps/linux/common/write.c
index 680a5d130..c150808f0 100644
--- a/libc/sysdeps/linux/common/write.c
+++ b/libc/sysdeps/linux/common/write.c
@@ -15,7 +15,7 @@ extern __typeof(write) __libc_write;
_syscall3(ssize_t, __libc_write, int, fd, const __ptr_t, buf, size_t, count);
libc_hidden_proto(write)
weak_alias(__libc_write,write)
-libc_hidden_def(write)
+libc_hidden_weak(write)
#if 0
/* Stupid libgcc.a from gcc 2.95.x uses __write in pure.o
* which is a blatent GNU libc-ism... */