about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-06-30 01:11:14 +0000
committerGreg McGary <greg@mcgary.org>2000-06-30 01:11:14 +0000
commit5785c39fd12a8f21059524bb60a80777aabb9ba1 (patch)
tree057f45fb19124d7ce2aa0bef637102cac53ae0e6 /sysdeps
parentf175216dbf9354a73441b54f5135fe673f536c20 (diff)
downloadglibc-5785c39fd12a8f21059524bb60a80777aabb9ba1.tar.gz
glibc-5785c39fd12a8f21059524bb60a80777aabb9ba1.tar.xz
glibc-5785c39fd12a8f21059524bb60a80777aabb9ba1.zip
* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
* sysdeps/unix/make-syscalls.sh: Handle signatures of 
length 7..9, just in case... 
* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
	* sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
	* sysdeps/unix/make-syscalls.sh: Handle signatures of
	length 7..9, just in case...
	* misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/libc-start.c2
-rw-r--r--sysdeps/unix/make-syscalls.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c
index a9517c3218..bc02d5ce27 100644
--- a/sysdeps/generic/libc-start.c
+++ b/sysdeps/generic/libc-start.c
@@ -27,7 +27,7 @@ extern void __libc_init_first (int argc, char **argv, char **envp);
 extern int _dl_starting_up;
 weak_extern (_dl_starting_up)
 extern int __libc_multiple_libcs;
-extern void *__unbounded __libc_stack_end;
+extern void *__libc_stack_end;
 
 /* Prototype for local function.  */
 extern void __libc_check_standard_fds (void);
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 89bd3a3e42..9b05da9cc7 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -59,6 +59,9 @@ eval `{ echo "#include <sysdep.h>";
   ?:????) nargs=4;;
   ?:?????) nargs=5;;
   ?:??????) nargs=6;;
+  ?:???????) nargs=7;;
+  ?:????????) nargs=8;;
+  ?:?????????) nargs=9;;
   esac
 
   # Make sure only the first syscall rule is used, if multiple dirs