This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: some small cleanups


OK?

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.

Index: sysdeps/generic/libc-start.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/generic/libc-start.c,v
retrieving revision 1.18
diff -u -p -r1.18 libc-start.c
--- libc-start.c	2000/06/13 07:27:33	1.18
+++ libc-start.c	2000/06/29 23:14:50
@@ -27,7 +27,7 @@ extern void __libc_init_first (int argc,
 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);
Index: sysdeps/unix/make-syscalls.sh
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/make-syscalls.sh,v
retrieving revision 1.15
diff -u -p -r1.15 make-syscalls.sh
--- make-syscalls.sh	2000/06/15 19:05:23	1.15
+++ make-syscalls.sh	2000/06/29 23:14:50
@@ -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
Index: misc/sys/cdefs.h
===================================================================
RCS file: /cvs/glibc/libc/misc/sys/cdefs.h,v
retrieving revision 1.36
diff -u -p -r1.36 cdefs.h
--- cdefs.h	2000/06/13 07:31:31	1.36
+++ cdefs.h	2000/06/29 23:14:48
@@ -88,6 +88,7 @@
 #ifndef __BOUNDED_POINTERS__
 # define __bounded	/* nothing */
 # define __unbounded	/* nothing */
+# define __ptrvalue	/* nothing */
 #endif
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]