From 6b1f8de38ac2303f071e2e8bf94fdc40be5ea47a Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 27 Jun 2006 18:28:33 +0000 Subject: [PATCH] Added _select() stub for select(). --- lib/posix/_select.c | 2 ++ lib/syscall/Makefile.in | 1 + lib/syscall/select.s | 7 +++++++ 3 files changed, 10 insertions(+) create mode 100755 lib/syscall/select.s diff --git a/lib/posix/_select.c b/lib/posix/_select.c index 7d46e6de7..9aeebca2c 100755 --- a/lib/posix/_select.c +++ b/lib/posix/_select.c @@ -1,4 +1,6 @@ +#define select _select + #include #include #include diff --git a/lib/syscall/Makefile.in b/lib/syscall/Makefile.in index 3bfbf2eb5..debbe2002 100644 --- a/lib/syscall/Makefile.in +++ b/lib/syscall/Makefile.in @@ -75,6 +75,7 @@ libc_FILES=" \ rewinddir.s \ rmdir.s \ sbrk.s \ + select.s \ seekdir.s \ setgid.s \ setsid.s \ diff --git a/lib/syscall/select.s b/lib/syscall/select.s new file mode 100755 index 000000000..4395e5600 --- /dev/null +++ b/lib/syscall/select.s @@ -0,0 +1,7 @@ +.sect .text +.extern __select +.define _select +.align 2 + +_select: + jmp __select -- 2.44.0