summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-22 03:05:06 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-22 03:05:06 +0000
commit55f313d4e2479e7edbc64c7537023f47c44a81c3 (patch)
treeaf88be2144ff3b52e3b6e55de595f39b962c8267 /libc/sysdeps/linux/mips/Makefile
parentf9c09888823fa659fcfe43eaa816a7a9ddbd04eb (diff)
Patch from Atsushi Nemoto, who writes:
I found that current pread/pwrite is broken on mips. On mips, kernel needs 6 arguments for pread/pwrite system call. (3 words for first 3 arguments + 1 padding word + 2 words for last 64bit argument). Also, mips64 kernel needs just 4 arguments so no wrapper will be required. This is a patch against 0.9.20.
Diffstat (limited to 'libc/sysdeps/linux/mips/Makefile')
-rw-r--r--libc/sysdeps/linux/mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile
index 85c605aa8..eaeff33b7 100644
--- a/libc/sysdeps/linux/mips/Makefile
+++ b/libc/sysdeps/linux/mips/Makefile
@@ -26,7 +26,7 @@ CRT0_OBJ = crt0.o crt1.o
SSRC=bsd-_setjmp.S bsd-setjmp.S setjmp.S clone.S fork.S syscall.S pipe.S
SOBJS=$(patsubst %.S,%.o, $(SSRC))
-CSRC=__longjmp.c brk.c vfork.c setjmp_aux.c _mmap.c __syscall_error.c cacheflush.c
+CSRC=__longjmp.c brk.c vfork.c setjmp_aux.c _mmap.c __syscall_error.c cacheflush.c pread_write.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(MOBJ) $(COBJS)