]> Zhao Yanbai Git Server - minix.git/commitdiff
Giovanni's symlink patches.
authorBen Gras <ben@minix3.org>
Mon, 31 Oct 2005 14:33:12 +0000 (14:33 +0000)
committerBen Gras <ben@minix3.org>
Mon, 31 Oct 2005 14:33:12 +0000 (14:33 +0000)
lib/syscall/Makefile
lib/syscall/lstat.s [new file with mode: 0644]
lib/syscall/readlink.s [new file with mode: 0644]
lib/syscall/symlink.s [new file with mode: 0644]

index 36c1890d24425a6173717ae0cab5949ab90c9436..db24d39b6ba9eb2f7c7771eb7b89b4eb29255996 100755 (executable)
@@ -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 (file)
index 0000000..8401ffa
--- /dev/null
@@ -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 (file)
index 0000000..2695bb2
--- /dev/null
@@ -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 (file)
index 0000000..53c5e10
--- /dev/null
@@ -0,0 +1,7 @@
+.sect .text
+.extern        __symlink
+.define        _symlink
+.align 2
+
+_symlink:
+       jmp     __symlink