make-syscalls.sh broken?
Greg McGary
greg@kayak.mcgary.org
Thu Jun 15 10:12:00 GMT 2000
Try this patch. Let me know if it helps.
Index: make-syscalls.sh
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/make-syscalls.sh,v
retrieving revision 1.14
diff -u -p -r1.14 make-syscalls.sh
--- make-syscalls.sh 2000/06/13 07:27:11 1.14
+++ make-syscalls.sh 2000/06/15 17:10:22
@@ -63,7 +63,7 @@ eval `{ echo "#include <sysdep.h>";
# Make sure only the first syscall rule is used, if multiple dirs
# define the same syscall.
echo "#### CALL=$file NUMBER=$callnum ARGS=$args SOURCE=$srcfile"
- case x$srcfile$callnum in
+ case x$srcfile"$callnum" in
x*-) ;; ### Do nothing for undefined callnum
x-*)
echo "ifeq (,\$(filter $file,\$(unix-syscalls)))"
@@ -151,8 +151,8 @@ shared-only-routines += $file
;;
esac
- case x$callnum,$srcfile,$args in
- x[0-9]*,-,*[sp]* | x*,*.[sS],*[sp]*)
+ case x"$callnum",$srcfile,$args in
+ x[(0-9]*,-,*[sp]* | x*,*.[sS],*[sp]*)
echo "ifeq (,\$(filter $file,\$(bp-thunks)))"
echo "bp-thunks += $file";
echo "\
More information about the Libc-alpha
mailing list