about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--misc/sys/cdefs.h1
-rw-r--r--sysdeps/generic/libc-start.c2
-rw-r--r--sysdeps/unix/make-syscalls.sh3
4 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 162794ac3a..ddaf019d7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
 
 2000-06-29  Greg McGary  <greg@mcgary.org>
 
+	* 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/i386/bp-asm.h (PCOFF): New constant.
 	(POP_ERRNO_LOCATION_RETURN): Fold insns.
 	* sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index aaba8a47f8..dd06a6653a 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -88,6 +88,7 @@
 #ifndef __BOUNDED_POINTERS__
 # define __bounded	/* nothing */
 # define __unbounded	/* nothing */
+# define __ptrvalue	/* nothing */
 #endif
 
 
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