From 5785c39fd12a8f21059524bb60a80777aabb9ba1 Mon Sep 17 00:00:00 2001 From: Greg McGary Date: Fri, 30 Jun 2000 01:11:14 +0000 Subject: [PATCH] * 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. --- ChangeLog | 5 +++++ misc/sys/cdefs.h | 1 + sysdeps/generic/libc-start.c | 2 +- sysdeps/unix/make-syscalls.sh | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 162794a..ddaf019 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ 2000-06-29 Greg McGary + * 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 aaba8a4..dd06a66 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 a9517c3..bc02d5c 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 89bd3a3..9b05da9 100644 --- a/sysdeps/unix/make-syscalls.sh +++ b/sysdeps/unix/make-syscalls.sh @@ -59,6 +59,9 @@ eval `{ echo "#include "; ?:????) 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 -- 2.7.4