From: Ben Gras Date: Mon, 31 Oct 2005 14:33:12 +0000 (+0000) Subject: Giovanni's symlink patches. X-Git-Tag: v3.1.2a~535 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch05.html?a=commitdiff_plain;h=0604dc26a899c05b1dcb01877139a56c6a2f36ef;p=minix.git Giovanni's symlink patches. --- diff --git a/lib/syscall/Makefile b/lib/syscall/Makefile index 36c1890d2..db24d39b6 100755 --- a/lib/syscall/Makefile +++ b/lib/syscall/Makefile @@ -54,6 +54,7 @@ libc_OBJECTS = \ kill.o \ link.o \ lseek.o \ + lstat.o \ mkdir.o \ mkfifo.o \ mknod.o \ @@ -66,6 +67,7 @@ libc_OBJECTS = \ ptrace.o \ read.o \ readdir.o \ + readlink.o \ reboot.o \ rename.o \ rewinddir.o \ @@ -90,6 +92,7 @@ libc_OBJECTS = \ stime.o \ sync.o \ svrctl.o \ + symlink.o \ tcdrain.o \ tcflow.o \ tcflush.o \ diff --git a/lib/syscall/lstat.s b/lib/syscall/lstat.s new file mode 100644 index 000000000..8401ffa6f --- /dev/null +++ b/lib/syscall/lstat.s @@ -0,0 +1,7 @@ +.sect .text +.extern __lstat +.define _lstat +.align 2 + +_lstat: + jmp __lstat diff --git a/lib/syscall/readlink.s b/lib/syscall/readlink.s new file mode 100644 index 000000000..2695bb2b8 --- /dev/null +++ b/lib/syscall/readlink.s @@ -0,0 +1,7 @@ +.sect .text +.extern __readlink +.define _readlink +.align 2 + +_readlink: + jmp __readlink diff --git a/lib/syscall/symlink.s b/lib/syscall/symlink.s new file mode 100644 index 000000000..53c5e1018 --- /dev/null +++ b/lib/syscall/symlink.s @@ -0,0 +1,7 @@ +.sect .text +.extern __symlink +.define _symlink +.align 2 + +_symlink: + jmp __symlink