about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * elf/tst-array1.c (preinit_array, init_array, fini_array):Roland McGrath2002-12-101-0/+4
| | | | | Explicitly align the array to sizeof (void *). * elf/tst-array2dep.c (init_array, fini_array): Likewise.
* 2002-12-10 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-12-102-5/+9
| | | | | | * elf/tst-array1.c (preinit_array, init_array, fini_array): Explicitly align the array to sizeof (void *). * elf/tst-array2dep.c (init_array, fini_array): Likewise.
* Update.Ulrich Drepper2002-12-1012-5/+36
| | | | | | | | | | | | | | | | | | 2002-12-10 Jakub Jelinek <jakub@redhat.com> * include/libc-symbols.h: Fix a comment typo. * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend): Likewise. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c (__libc_sigsuspend): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c (__libc_sigsuspend): Likewise. * sysdeps/generic/creat.c (__libc_creat): Renamed from creat. (creat): New weak alias.
* Update.Ulrich Drepper2002-12-101-0/+2
| | | | * Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2.
* No new symbols in 2.3.1, but some new ones in 2.3.2.Ulrich Drepper2002-12-101-1/+1
|
* * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON thatRoland McGrath2002-12-103-2/+16
| | | | | | contributes a manual chapter. * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads around xref to it.
* * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer toRoland McGrath2002-12-102-0/+25
| | | | | | | | | | | | | | | | | | | | and move contents to ... (EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use it instead of duplicating its contents. (EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch. 2002-12-09 Jakub Jelinek <jakub@redhat.com> * elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if defined. * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New function. (EXTRA_LD_ENVVARS): Use it. (DL_OSVERSION_INIT): Define. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux dl-librecon.h. (EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init.
* 2002-12-10 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-102-51/+40
| | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to and move contents to ... (EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use it instead of duplicating its contents. (EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch. 2002-12-09 Jakub Jelinek <jakub@redhat.com> * elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if defined. * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New function. (EXTRA_LD_ENVVARS): Use it. (DL_OSVERSION_INIT): Define. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux dl-librecon.h. (EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init.
* Update.Ulrich Drepper2002-12-101-0/+7
| | | | | | | | | 2002-12-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/closedir.c (__closedir): Remove __libc_lock_lock call. It is not allowed to destroy pthread mutexes which are still in use even though it is safe for our implementations. If somebody still uses the descriptor it is a bug.
* (__closedir): Remove __libc_lock_lock call. It is not allowed to destroy ↵Ulrich Drepper2002-12-101-2/+4
| | | | pthread mutexes which are still in use even though it is safe for our implementations. If somebody still uses the descriptor it is a bug.
* * csu/abi-note.S: Use .p2align, not .align.Roland McGrath2002-12-101-0/+4
|
* 2002-12-09 Richard Henderson <rth@redhat.com>Roland McGrath2002-12-101-7/+7
| | | | * csu/abi-note.S: Use .p2align, not .align.
* Update.Ulrich Drepper2002-12-1018-50/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and __libc_select aliases. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo alias. * sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias. * sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias. * sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias. * sysdeps/unix/syscalls.list: Define __libc_select alias. * sysdeps/posix/waitid.c: Define __libc_waitid alias. * sysdeps/posix/sigpause.c: Define __libc_sigpause and __libc___xpg_sigpause aliases. * sysdeps/generic/pselect.c: Define __libc_pselect alias. * misc/error.c: Remove use of USE_IN_LIBIO.
* (Tools for Compilation): Require binutils 2.13.Ulrich Drepper2002-12-091-13/+4
|
* * elf/Makefile (tests): Uncomment tst-array[123].Roland McGrath2002-12-0922-78/+193
| | | | | | | | | | | | | | | | | | | | | | | | * Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1. * csu/elf-init.c: New file. * csu/Makefile (routines, static-only-routines): Add elf-init. * sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init and __libc_csu_fini in place of _fini. * sysdeps/arm/elf/start.S: Likewise. * sysdeps/cris/elf/start.S: Likewise. * sysdeps/hppa/elf/start.S: Likewise. * sysdeps/i386/elf/start.S: Likewise. * sysdeps/ia64/elf/start.S: Likewise. * sysdeps/m68k/elf/start.S: Likewise. * sysdeps/mach/hurd/powerpc/static-start.S: Likewise. * sysdeps/mips/elf/start.S: Likewise. * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/s390/s390-32/elf/start.S: Likewise. * sysdeps/s390/s390-64/elf/start.S: Likewise. * sysdeps/sh/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/x86_64/elf/start.S: Likewise.
* * td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointerRoland McGrath2002-12-092-4/+12
| | | | | | into the inferior's __pthread_last_event variable, not a word from an inferior address used in the parent. Pass the address of a null word to ps_pdwrite, not a null pointer.
* * sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'dRoland McGrath2002-12-092-3/+37
| | | | | | struct containing function ptr and value, free it. (__aio_notify_only): Allocate that and copy values from SIGEV into it. It's not safe to let the new thread use the SIGEV pointer.
* * misc/error.c (strerror_r): Do not declare unless [!_LIBC].Roland McGrath2002-12-091-0/+12
| | | | | | | | | | | Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. Use strerror_r that is only a macro, even if it is not a function. (strerror): Check for HAVE_DECL_STRERROR before declaring. (private_strerror): Use prototypes, not old-style function definition. (print_errno_message): New function. Support the POSIX 'int'-flavored strerror_r, as well as the traditional char*-flavored one. (error_tail, error, error_at_line): Use it.
* 2001-10-20 Paul Eggert <eggert@twinsun.com>Roland McGrath2002-12-091-23/+53
| | | | | | | | | | | | * misc/error.c (strerror_r): Do not declare unless [!_LIBC]. Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P. Use strerror_r that is only a macro, even if it is not a function. (strerror): Check for HAVE_DECL_STRERROR before declaring. (private_strerror): Use prototypes, not old-style function definition. (print_errno_message): New function. Support the POSIX 'int'-flavored strerror_r, as well as the traditional char*-flavored one. (error_tail, error, error_at_line): Use it.
* Update.Ulrich Drepper2002-12-082-1/+7
| | | | | | 2002-12-07 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.
* Update.Ulrich Drepper2002-12-082-4/+9
| | | | | * pthreadP.h: Enable pthread_cleanup_{push,pop} optimizations only inside libpthread.
* Update.Ulrich Drepper2002-12-084-5/+7
| | | | | | | * pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning. * pthread_join.c: Likewise. * pthread_timedjoin.c: Likewise.
* Update.Ulrich Drepper2002-12-0849-247/+288
| | | | | * scripts/output-format.sed: Fix bug in one of the s expressions which used / for one too many things.
* Update.Ulrich Drepper2002-12-084-2/+7
| | | | | | 2002-12-08 Ulrich Drepper <drepper@redhat.com> * include/unistd.h: Declare __libc_close.
* Update.Ulrich Drepper2002-12-0820-28/+101
| | | | | | 2002-12-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
* Update.Ulrich Drepper2002-12-081-0/+4
| | | | | | 2002-12-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/raise.c: Use libc_hidden_def for raise.
* Use libc_hidden_def for raise.Ulrich Drepper2002-12-081-0/+1
|
* * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changesRoland McGrath2002-12-072-7/+23
| | | | | | | | | | | | | from 2002-12-06, but remove unnecessary memset call without removing necessary copy of initialization image. * Makerules ($(common-objpfx)format.lds): New target. (common-generated): Add it. ($(inst_libdir)/libc.so): Depend on that, and cat it into the result. * scripts/output-format.sed: New file. * Makefile (distribute): Add it. 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>
* 2002-12-07 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-073-1251/+1302
| | | | | | | | * Makerules ($(common-objpfx)format.lds): New target. (common-generated): Add it. ($(inst_libdir)/libc.so): Depend on that, and cat it into the result. * scripts/output-format.sed: New file. * Makefile (distribute): Add it.
* Update.Ulrich Drepper2002-12-072-1/+7
| | | | | | | | | 2002-12-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-tls.c: Include <sys/param.h>. Reported by Art Haas <ahaas@airmail.net>. 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>.
* Update.Ulrich Drepper2002-12-073-18/+55
| | | | | | | | | | 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>. * sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec. Fix .recovery4. 2002-12-07 Jakub Jelinek <jakub@redhat.com> * string/test-strncpy.c (do_random_tests): Improve test coverage.
* Update.Ulrich Drepper2002-12-076-0/+153
| | | | | * test-skeleton.c (timeout_handler): Allow expected signal to be SIGALRM.
* Update.Ulrich Drepper2002-12-073-0/+8
| | | | | | | | 2002-12-06 Ulrich Drepper <drepper@redhat.com> * wctype/wcfuncs.c: Add libc_hidden_def for iswalnum. * sysdeps/posix/raise.c: Add libc_hidden_def for raise.
* Update.Ulrich Drepper2002-12-072-2/+8
| | | | | | | | 2002-12-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Fix a pasto. Reported by Jeff Bailey <jbailey@nisa.net>.
* Update.Ulrich Drepper2002-12-072-9/+6
| | | | * sysdeps/generic/libc-tls.c: Undo last patch.
* Update.Ulrich Drepper2002-12-064-2/+12
| | | | | | | | | * include/wctype.h: Define iswalnum with libc_hidden_proto. * include/signal.h: Define raise with libc_hidden_proto. * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and __execve instead of snprintf and execve.
* Update.Ulrich Drepper2002-12-061-0/+5
| | | | | | | 2002-12-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double again a bit.
* Relax errors for flaot and double again a bit.Ulrich Drepper2002-12-061-6/+39
|
* * posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.Roland McGrath2002-12-061-0/+5
| | | | * posix/annexc.c (fmt, testfmt): Remove -D_LIBC.
* (fmt, testfmt): Remove -D_LIBC.Ulrich Drepper2002-12-062-4/+4
|
* Update.Ulrich Drepper2002-12-062-1/+3
| | | | * init.c (__pthread_initialize_minimal): Correct INIT_LIST_HEAD use.
* Update.Ulrich Drepper2002-12-0622-47/+236
| | | | | | | | | | | | | | | | | | | | | | 2002-12-06 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (log_cleanup): New function. (openlog): Use log_cleanup instead of __libc_mutex_unlock. (closelog): Likewise. * elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*. * elf/dl-iteratephdr.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-misc.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-support.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros. * sysdeps/mach/bits/libc-lock.h: Likewise. * sysdeps/mach/hurd/bits/libc-lock.h: Likewise. * dirent/bug-readdir1.c (main): Don't call closedir, just close
* (log_cleanup): New function. (openlog): Use log_cleanup instead of ↵Ulrich Drepper2002-12-061-6/+9
| | | | __libc_mutex_unlock. (closelog): Likewise.
* * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.Roland McGrath2002-12-0619-68/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))] (malloc_starter, memalign_starter, free_starter): Don't define these. * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]: Don't declare them either. * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call __pthread_initialize, so no need to set hooks to *_starter. (ptmalloc_init_minimal): New function, broken out of ptmalloc_init. [_LIBC && SHARED && USE_TLS && !USE___THREAD] (__libc_malloc_pthread_startup): New function. * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function. * malloc/hooks.c (memalign_starter): New function. * malloc/malloc.c: Declare it. * malloc/arena.c (save_memalign_hook): New variable. (ptmalloc_init): Set __memalign_hook to memalign_starter. * elf/dl-minimal.c (free): Clear the memory. (calloc): Just call malloc, knowing all memory it returns is cleared. * sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of malloc and memset; calloc can avoid the zeroing when redundant. (_dl_tls_setup): Likewise. * elf/dl-load.c (decompose_rpath): Likewise. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset call, since memory from sbrk at startup is already zero. * elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an error string for failure, null for success. Update callers. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise. * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* 2002-12-06 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-061-0/+4
| | | | | | | | | | | | | * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))] (malloc_starter, memalign_starter, free_starter): Don't define these. * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]: Don't declare them either. * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call __pthread_initialize, so no need to set hooks to *_starter. (ptmalloc_init_minimal): New function, broken out of ptmalloc_init. [_LIBC && SHARED && USE_TLS && !USE___THREAD] (__libc_malloc_pthread_startup): New function. * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.
* Also ignore names such as autom4te-2.53.cache.Ulrich Drepper2002-12-061-1/+1
|
* * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): ChangeRoland McGrath2002-12-054-4/+14
| | | | | | | | | args to i:iipi. (readahead): Change args to i:iii. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead): Change args to i:iii. * sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change args to i:iiii.
* * stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument,Roland McGrath2002-12-052-4/+7
| | | | | call all functions rather than none. Reported by Mark P. Mitchell <mark@codesourcery.com>.
* * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): AddRoland McGrath2002-12-051-0/+5
| | | | missing & here too.
* 2002-12-05 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-051-1/+1
| | | | | * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add missing & here too.