From a9ddb79305d6346fdf2bcb1772213987d53c0bc5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 20 Jul 1998 17:25:48 +0000 Subject: Update. 1998-07-20 17:09 Ulrich Drepper * shlib-versions: Remove definition for libSegFault. * memory.texi: Comment out the relocating allocator description. * manual/signal.texi: Remove reference to relocating allocator. * manual/top-menu.texi: Regenerated. * posix/fnmatch.c: Implement [: :] and change to recognize ^ as negation only when not _POSIXLY_CORRECT. * sysdeps/generic/glob.c: Add several optimizations. * posix/glob.h: Undefine __PMT to prevent warnings. Reported by Roland McGrath. * posix/regex.c: Define namespace macros only for _LIBC. * sysdeps/arm/dl-machine.h: Fix typo. * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file. * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file. * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file. * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack, sigpending, sigqueue, and sigtimedwait. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file. * timezone/leapseconds: Update from tzdata1998f. 1998-07-18 Mark Kettenis * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked. * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked. * libio/stdio.h: Fix typo. 1998-07-19 Roland McGrath * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the magic memobj port arg parsing stuff. Fix it someday when we are ready to really use it. (_dl_sysdep_output): New function, modified from _dl_sysdep_error. (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed. 1998-07-19 Roland McGrath * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs. 1998-07-19 Roland McGrath * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as a weak alias. * sysdeps/mach/hurd/sigsuspend.c: Likewise. * sysdeps/generic/sigsuspend.c: Likewise. 1998-07-19 Roland McGrath * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file. 1998-07-19 Andreas Schwab * Makerules (map-file): Don't use $(wildcard) to find the generated version script, instead look in $(version-maps). ($(common-objpfx)libc.so): Only depend on libc.map if versioning is used. * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script if versioning is used. Don't use $(wildcard) to find the generated version script, instead look in $(verson-maps). 1998-07-17 Andreas Schwab * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove unused function handle. * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC. * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise. * debug/catchsegv.sh: Fix argument processing, quoting and various typos. Put the crash info always in the current directory. Find program in $PATH if it contains no directory component. * Makerules (install-lib.so-versioned, install-lib.so-unversioned): New variables. (install-lib-nosubdir): Depend on unversioned libs in slibdir, not libdir. 1998-07-19 Andreas Schwab * Make-dist (+tsrcs): Remove references to %-map variables and *.map files. Add Versions in subdirs. * Makerules (distinfo-vars): Don't write out %-map variables. 1998-07-20 13:55 Ulrich Drepper * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR. Include instead. * sysdeps/generic/paths.h: Define _PATH_RWHODIR. * sysdeps/unix/sysv/linux/paths.h: Likewise. Reported by Dale Scheetz . 1998-07-17 21:44 Ulrich Drepper * catgets/open_catalog.c: Strictly check whether catalog file is larger enough for the data. Reported by Andries.Brouwer@cwi.nl. --- manual/memory.texi | 20 ++++++++++---------- manual/signal.texi | 3 +++ manual/top-menu.texi | 7 ------- 3 files changed, 13 insertions(+), 17 deletions(-) (limited to 'manual') diff --git a/manual/memory.texi b/manual/memory.texi index b87bc3f160..a3cf3724b3 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -38,8 +38,6 @@ will be freed automatically. @xref{Variable Size Automatic}. * Variable Size Automatic:: Allocation of variable-sized blocks of automatic storage that are freed when the calling function returns. -* Relocating Allocator:: Waste less memory, if you can tolerate - automatic relocation of the blocks you get. @end menu @node Memory Concepts @@ -2030,7 +2028,8 @@ within one function, exiting a scope in which a variable-sized array was declared frees all blocks allocated with @code{alloca} during the execution of that scope. - +@ignore +@c This was never actually implemented. -zw @node Relocating Allocator @section Relocating Allocator @@ -2040,10 +2039,10 @@ space it uses is more than the amount the program asks for. The @dfn{relocating memory allocator} achieves very low overhead by moving blocks in memory as necessary, on its own initiative. -@menu -* Relocator Concepts:: How to understand relocating allocation. -* Using Relocator:: Functions for relocating allocation. -@end menu +@c @menu +@c * Relocator Concepts:: How to understand relocating allocation. +@c * Using Relocator:: Functions for relocating allocation. +@c @end menu @node Relocator Concepts @subsection Concepts of Relocating Allocation @@ -2085,7 +2084,7 @@ extensions. @comment malloc.h @comment GNU -@deftypefun {void *} r_alloc (void **@var{handleptr}, size_t @var{size}) +@c @deftypefun {void *} r_alloc (void **@var{handleptr}, size_t @var{size}) This function allocates a relocatable block of size @var{size}. It stores the block's address in @code{*@var{handleptr}} and returns a non-null pointer to indicate success. @@ -2096,7 +2095,7 @@ in @code{*@var{handleptr}}, and returns a null pointer. @comment malloc.h @comment GNU -@deftypefun void r_alloc_free (void **@var{handleptr}) +@c @deftypefun void r_alloc_free (void **@var{handleptr}) This function is the way to free a relocatable block. It frees the block that @code{*@var{handleptr}} points to, and stores a null pointer in @code{*@var{handleptr}} to show it doesn't point to an allocated @@ -2105,7 +2104,7 @@ block any more. @comment malloc.h @comment GNU -@deftypefun {void *} r_re_alloc (void **@var{handleptr}, size_t @var{size}) +@c @deftypefun {void *} r_re_alloc (void **@var{handleptr}, size_t @var{size}) The function @code{r_re_alloc} adjusts the size of the block that @code{*@var{handleptr}} points to, making it @var{size} bytes long. It stores the address of the resized block in @code{*@var{handleptr}} and @@ -2114,6 +2113,7 @@ returns a non-null pointer to indicate success. If enough memory is not available, this function returns a null pointer and does not modify @code{*@var{handleptr}}. @end deftypefun +@end ignore @ignore @comment No longer available... diff --git a/manual/signal.texi b/manual/signal.texi index 029485c8e0..b3f67b6685 100644 --- a/manual/signal.texi +++ b/manual/signal.texi @@ -1900,8 +1900,11 @@ handlers. The obstack allocation functions are safe as long as you don't use the same obstack both inside and outside of a signal handler. @end ignore +@ignore +@comment Once we have r_alloc again add this paragraph. The relocating allocation functions (@pxref{Relocating Allocator}) are certainly not safe to use in a signal handler. +@end ignore @item Any function that modifies @code{errno} is non-reentrant, but you can diff --git a/manual/top-menu.texi b/manual/top-menu.texi index 6ff8bd64d1..05a8ed680e 100644 --- a/manual/top-menu.texi +++ b/manual/top-menu.texi @@ -116,8 +116,6 @@ Memory Allocation * Variable Size Automatic:: Allocation of variable-sized blocks of automatic storage that are freed when the calling function returns. -* Relocating Allocator:: Waste less memory, if you can tolerate - automatic relocation of the blocks you get. Unconstrained Allocation @@ -176,11 +174,6 @@ Variable Size Automatic method of allocating dynamically and freeing automatically. -Relocating Allocator - -* Relocator Concepts:: How to understand relocating allocation. -* Using Relocator:: Functions for relocating allocation. - Character Handling * Classification of Characters:: Testing whether characters are -- cgit 1.4.1