about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-07-315-201/+365
| | | | | | | | * configure.in: Add test for local label subtraction. * config.h.in: Ad HAVE_SUBTRACT_LOCAL_LABELS. * stdio-common/vfprintf.c (vfprintf): Use subtraction of local labels to reduce number of runtime relocations and move jump tables in read-only seciton.
* Update.Ulrich Drepper1999-07-312-1/+8
| | | | | | | 1999-07-30 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (ptmalloc_init): Correct last patch. The assignment cannot be moved.
* Update.Ulrich Drepper1999-07-309-10/+54
| | | | | | | | | | | | | | * malloc/malloc.c (ptmalloc_init): Also initialize __libc_pagesize if no threads are used. * libio/iofwrite.c: Add weak alias for _unlocked function if not _IO_MTSAFE_IO. * libio/iofread.c: Likewise. * libio/iofgets.c: Likewise. * libio/iofputs.c: Likewise. * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_end): New definition.
* Update.Ulrich Drepper1999-07-299-5/+21
| | | | | | | | | | | | 1999-07-29 H.J. Lu <hjl@gnu.org> * stdlib/mbtowc.c: Include <string.h>. * stdlib/wctomb.c: Likewise. * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Likewise. * misc/mntent_r.c: Include <alloca.h>. * elf/dl-runtime.c: Likewise.
* Update.Ulrich Drepper1999-07-296-9/+42
| | | | | | | | | | | 1999-07-29 Andreas Schwab <schwab@suse.de> * misc/efgcvt.c (NDIGIT_MAX): Provide precomputed constants for all floating point formats supported by gcc. Error out for unhandled precisions. * misc/efgcvt_r.c (NDIGIT_MAX): Likewise. * misc/qefgcvt.c (NDIGIT_MAX): Likewise. * misc/qefgcvt_r.c (NDIGIT_MAX): Likewise.
* Update.Ulrich Drepper1999-07-292-1/+2
| | | | * stdlib/Makefile (tests): Add tst-environ.
* Update.Ulrich Drepper1999-07-294-73/+96
| | | | | | | | | | | | * sysdeps/generic/setenv.c: Move setenv code in new function __add_to_environ. Add new parameter specifying already constructed string for the environment. (setenv): Call __add_to_environ with new parameter set to NULL. (unsetenv): Really test all elements for duplicated name. Missed those cases where the two are following each other. * sysdeps/generic/putenv.c: Use __add_to_environ instead of setenv. * include/stdlib.h: Add prototype of __add_to_environ. * stdlib/tst-environ.c: New file.
* Tests for setenv, unsetenv, putenv, etc.Ulrich Drepper1999-07-291-0/+141
|
* 1999-07-27 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-291-0/+9
| | | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline assembler code to switch stacks and call init1 outside this function. Inside `init' the code was optimized away by gcc 2.95 since it was "clearly" unreachable. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Do something similar for the trampoline code.
* Update.Ulrich Drepper1999-07-292-1/+3
| | | | * sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
* Update.Ulrich Drepper1999-07-293-4/+12
| | | | | | | | | | 1999-07-29 Ulrich Drepper <drepper@cygnus.com> * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size argument in realloc call. * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups): Likewise. Reported by Danny Braniss <danny@cs.huji.ac.il>.
* Update.Ulrich Drepper1999-07-292-1/+5
| | | | | | | 1999-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manager.c: Remove inclusion of <linux/tasks.h> since it's not needed anymore.
* Update.Ulrich Drepper1999-07-288-9/+43
| | | | | | | | | | | | 1999-07-28 Ulrich Drepper <drepper@cygnus.com> * misc/efgcvt.c: Use IEEE 854 formula to compute the number of digits to print. * misc/efgcvt_r.c: Likewise. * misc/qefgcvt.c: Likewise. * misc/qefgcvt_r.c: Likewise. * misc/tst-efgcvt.c: Remove one test which cannot reliably be run anymore.
* Update.Ulrich Drepper1999-07-282-0/+8
| | | | | | 1999-07-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/math.texi (FP Function Optimization): Mention drawbacks.
* Update.Ulrich Drepper1999-07-285-15/+34
| | | | | | | | | | | | | | 1999-07-28 Ulrich Drepper <drepper@cygnus.com> * stdlib/mblen.c: Use static state. Reported by Bruno Haible <haible@ilog.fr>. * stdlib/mbtowc.c: Reset state for s == NULL. * stdlib/wctomb.c: Likewise. Reported by Bruno Haible <haible@ilog.fr>. * stdlib/mbstowcs.c: Do not use global state. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper1999-07-284-0/+829
| | | | | | | 1999-07-28 Andeas Schwab <schwab@suse.de> * iconvdata/Makefile: Don't try to run iconv tests when cross compiling.
* Remove COPYING*.Ulrich Drepper1999-07-281-1/+1
|
* 1999-07-27 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-282-42/+49
| | | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init): Move the inline assembler code to switch stacks and call init1 outside this function. Inside `init' the code was optimized away by gcc 2.95 since it was "clearly" unreachable. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Do something similar for the trampoline code.
* Update.Ulrich Drepper1999-07-282-26/+36
| | | | | | | | | 1999-07-27 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return information for the hinted protocol. * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_Symndx
* Update.Ulrich Drepper1999-07-273-27/+38
| | | | | | 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> * time/Versions: Add POSIX.1b timer and clock functions to GLIBC_2.2.
* Update.Ulrich Drepper1999-07-279-10/+37
| | | | | | | | | | | | | 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * elf/link.h (struct link_map): Use Elf_Symndx instead of ElfXX_Symndx. * elf/dl-lookup.c (_dl_setup_hash): Likewise. * elf/dl-load.c (_dl_map_object): Likewise. * elf/do-lookup.h (do_lookup*): Likewise. * sysdeps/generic/bits/elfclass.h: Define Elf_Symndx as uint32_t. * sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Define Elf_symndx as uint64_t. * elf/elf.h: Remove Elf32_Symndx and Elf64_Symndx.
* Update.Ulrich Drepper1999-07-275-12/+17
| | | | | | | | * sysdeps/unix/sysv/sysv4/setsid.c: Correct types. * sysdeps/generic/getpgrp.c: Likewise. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. Patch by John Tobey <jtobey@banta-im.com>.
* Update.Ulrich Drepper1999-07-272-5/+7
| | | | | | | 1999-07-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/wait3.c: Help compiling in presence of __transparent_union__. Reported by John Tobey <jtobey@banta-im.com>.
* Update.Ulrich Drepper1999-07-2723-222/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc64/add_n.S: Avoid using %g2, %g3, %g7 registers as much as possible. Declare them using .register pseudo-op if they are still used. * sysdeps/sparc/sparc64/lshift.S: Likewise. * sysdeps/sparc/sparc64/memchr.S: Likewise. * sysdeps/sparc/sparc64/memcmp.S: Likewise. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/memset.S: Likewise. * sysdeps/sparc/sparc64/rawmemchr.S: Likewise. * sysdeps/sparc/sparc64/rshift.S: Likewise. * sysdeps/sparc/sparc64/stpcpy.S: Likewise. * sysdeps/sparc/sparc64/stpncpy.S: Likewise. * sysdeps/sparc/sparc64/strcat.S: Likewise. * sysdeps/sparc/sparc64/strchr.S: Likewise. * sysdeps/sparc/sparc64/strcmp.S: Likewise. * sysdeps/sparc/sparc64/strcpy.S: Likewise. * sysdeps/sparc/sparc64/strcspn.S: Likewise. * sysdeps/sparc/sparc64/strlen.S: Likewise. * sysdeps/sparc/sparc64/strncmp.S: Likewise. * sysdeps/sparc/sparc64/strncpy.S: Likewise. * sysdeps/sparc/sparc64/strpbrk.S: Likewise. * sysdeps/sparc/sparc64/strspn.S: Likewise. * sysdeps/sparc/sparc64/sub_n.S: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. Optimize trampoline code for .plt4-.plt32767. Fix trampolines for .plt32768+. 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz>
* Update.Ulrich Drepper1999-07-2710-29/+57
| | | | | | | | | | | | | | | | 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/sparc/sparc32/sparcv8/Makefile: -mv8 is deprecated, use -mcpu=v8. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. * sysdeps/sparc/sparc64/Makefile: Make %g7 register available for libc's private use (as assembly routine clobber it anyway). 1999-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> * README.template (configurations): The crypt add-on has a new ftp site. * manual/install.texi (Installation): Likewise.
* Update.Ulrich Drepper1999-07-272-0/+8
| | | | | | * time/time.h: Add forward for struct sigevent. Unix98 maybe requires to have a full definition but we wait for a bug report based on the test suite.
* Update.Ulrich Drepper1999-07-2719-3/+1071
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-07-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/clock_getres.c: New file. * sysdeps/generic/clock_gettime.c: New file. * sysdeps/generic/clock_settime.c: New file. * sysdeps/generic/timer_create.c: New file. * sysdeps/generic/timer_delete.c: New file. * sysdeps/generic/timer_getoverr.c: New file. * sysdeps/generic/timer_gettime.c: New file. * sysdeps/generic/timer_settime.c: New file. * sysdeps/generic/bits/time.h: Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. * sysdeps/mach/hurd/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_TIMERS. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define si_timer1 and si_timer2. * sysdeps/unix/sysv/linux/syscalls.list: Add clock and timer syscalls. * time/Makefile (routines): Add clock_getres, clock_gettime, clock_setres, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime. * time/time.h: Define clockid_t, timer_t, and struct itimerspec for POSIX.1b. Add prototypes for clock and timer functions.
* Stub implementation of clock_getres.Ulrich Drepper1999-07-271-0/+30
|
* 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-261-0/+5
| | | | | * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
* 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-261-2/+2
| | | | | * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
* Update.Ulrich Drepper1999-07-262-16/+9
| | | | | * stdlib/wcstombs.c: Do not use global state. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper1999-07-262-2/+5
| | | | | * wcsmbs/wctob.c: Avoid sign extension when returning character. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper1999-07-262-1/+8
| | | | | | | | | 1999-07-26 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wcsrtombs.c (__wcsrtombs): When computing maximum number of wide characters to convert do it right and don't overestimate by multiplying with MB_CUR_MAX. Reported by Bruno Haible <haible@ilog.fr>.
* Update.Ulrich Drepper1999-07-262-3/+9
| | | | | | | | 1999-07-26 Jakub Jelinek <jj@ultra.linux.jz> * string/bits/string2.h (__strcpy_small): Avoid compile time warning. (__stpcpy_small): Likewise. Union has no __uc member but __c.
* Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. ↵Ulrich Drepper1999-07-261-5/+5
| | | | Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32.
* 1999-07-26 Andreas Schwab <schwab@suse.de>Andreas Schwab1999-07-261-0/+4
| | | | * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.
* * sysdeps/m68k/dl-machine.h (RTLD_START): Call pre-init funtions.Andreas Schwab1999-07-261-0/+14
|
* Update.Ulrich Drepper1999-07-262-0/+5
| | | | | * libio/iofclose.c (_IO_new_fclose): Only fall back on _IO_old_fclose if doing versioning.
* Update.Ulrich Drepper1999-07-265-1/+52
| | | | | | * libio/iofclose.c (_IO_new_fclose): Detect new streams and handle them appropriately. * libio/oldiofclose.c (_IO_old_fclose): Likewise.
* Update.Ulrich Drepper1999-07-263-6/+62
| | | | * misc/tst-mntent.c: Add test case for addmntent and getmntent.
* Update.Ulrich Drepper1999-07-262-12/+114
| | | | | * misc/mntent_r.c: Allow spaces and tabs in entry names by encoding these characters.
* Update.Ulrich Drepper1999-07-258-240/+417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * string/bits/string2.h: Fix aliasing problems. * sysdeps/i386/i486/bits/string.h: Likewise. * sysdeps/i386/bits/string.h: Likewise. 1998-12-28 Geoff Keating <geoffk@ozemail.com.au> * sysdeps/powerpc/dl-machine.c: Handle shared library profiling. * elf/rtld.c (dl_main): Don't call malloc() between re-relocating the dynamic linker and running the application's crt0. 1999-07-21 Paul D. Smith <psmith@gnu.org> * sysdeps/generic/glob.c: Move getlogin{,_r} prototypes below glob.h to get __P() macro. * posix/fnmatch.c (internal_fnmatch): Use K&R definition syntax, not ANSI. (__strchrnul): This won't exist outside GLIBC, so create one. 1999-07-25 Jakub Jelinek <jj@ultra.linux.cz> * sysdeps/unix/sysv/linux/sparc/bits/types.h: Always define __qaddr_t. __ino64_t should be 32bit unsigned type on sparc32. Define __off64_t to __quad_t instead of __int64_t. Make __pic_pid_t unsigned on sparc32. 1999-07-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * localedata/tst-rpmatch.sh: Use "&" instead of "§" to avoid a bug in bash 2.03. 1999-07-25 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1999-07-252-0/+7
| | | | | | | 1999-07-25 Ulrich Drepper <drepper@cygnus.com> * iconvdata/euc-kr.c (euckr_from_ucs4): Set cp[0] to '\0' in case of an error. Patch by Changwoo Ryu <cwryu@debian.org>.
* Update.Ulrich Drepper1999-07-252-4/+9
| | | | | * iconvdata/ksc5601.h (ksc5601_to_ucs4): Avoid invalid memory accesses.
* Update.Ulrich Drepper1999-07-252-33/+59
| | | | * resolv/res_send.c: Add locks for res_send and res_close use.
* Update.Ulrich Drepper1999-07-247-1/+80
| | | | | | | | | * elf/Makefile (dl-routines): Add preinit. * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_preinit_next. * elf/link.h (struct link_map): Add new field l_preinitcount. * elf/dl-preinit.c: New file. * elf/dynamic-link.h: Initialize l_preinitcount. * sysdeps/i386/dl-machine.h (RTLD_START): Call pre-init functions.
* Update.Ulrich Drepper1999-07-248-81/+219
| | | | | | | | | | | | | | | | | | | | | | 1999-07-24 Ulrich Drepper <drepper@cygnus.com> * elf/dl-fini.c: Handle DT_FINI_ARRAY. * elf/link.h (struct link_map): Remove l_init_running. Add l_runcount and l_initcount. * elf/dl-init.c: Handle DT_INIT_ARRAY. * elf/dynamic-link.h: Change parameters. Now only get link_map pointer. Calculate l_initcount. * elf/link.h (struct link_map): Add l_runpath_dirs. * elf/dynamic-link.h: If RUNPATH is given, set RPATH to NULL. * elf/dl-load.c: Pretty print. (decompose_rpath): Take new parameter with info from where the path comes. Pass it the fillin_rpath. (_dl_init_paths): Initialize l_runpath_dirs. (_dl_map_object): Don't search using RPATHs if object has RUNPATH. Search using RUNPATH after LD_LIBRARY_PATH. * elf/dl-support.c: Adjust comment. * elf/rtld.c: Adjust help message.
* Update.Ulrich Drepper1999-07-241-0/+5
| | | | | | | 1999-07-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * elf/rtld.c (dl_main): Adopt to changed _dl_lookup_symbol interface.
* (dl_main): Adopt to changed _dl_lookup_symbol interface.Ulrich Drepper1999-07-241-7/+4
|
* (OLCUC): use 1<<9, since that's what hurd is already usingRoland McGrath1999-07-242-2/+2
|