summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-25 06:49:08 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-25 06:49:08 +0000
commit14efb6d73e80201aa866c7a6795c370079c232ce (patch)
tree1251ccea736471d30699cac7b3e47b602e850921 /libc
parent81e8f981a857ecf00975eab46b72e3d24690e9d6 (diff)
Stupid libgcc.a from gcc 2.95.x uses __write in pure.o
which is a blatent GNU libc-ism... Cope. -Erik
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 4c623264b..a8aed2ba1 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -65,6 +65,9 @@ weak_alias(__libc_read, read)
#define __NR___libc_write __NR_write
_syscall3(ssize_t, __libc_write, int, fd, const __ptr_t, buf, size_t, count);
weak_alias(__libc_write, write)
+/* Stupid libgcc.a from gcc 2.95.x uses __write in pure.o
+ * which is a blatent GNU libc-ism... */
+weak_alias (__libc_write, __write)
#endif
//#define __NR_open 5