about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2002-12-12 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-131-0/+10
| | | | | * td_ta_thr_iter.c (iterate_thread_list): Handle special case of uninitialized __stack_user (zeros), hard-wire just the main thread.
* Update.Ulrich Drepper2002-12-133-2/+16
| | | | | | | * iconvdata/Makefile: iconv-rules: Add definition to use gconv.map linker map for all iconv modules. (distribute): Add gconv.map. * iconvdata/gconv.map: New file.
* Update.Ulrich Drepper2002-12-132-1/+4
| | | | * elf/Makefile: Also check all iconv modules for text relocations.
* Update.Ulrich Drepper2002-12-133-56/+28
| | | | * stdlib/Makefile: Remove code to automatically import GMP.
* Update.Ulrich Drepper2002-12-124-12/+189
| | | | | * elf/Makefile (tests): Add rules to build and run check-textrel. * elf/check-textrel.c: New file.
* Update.Ulrich Drepper2002-12-124-2/+11
| | | | | | | 2002-12-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size directive.
* Update.Ulrich Drepper2002-12-123-0/+27
| | | | | | | 2002-12-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Correct access to __libc_locking_needed for PIC.
* Update.Ulrich Drepper2002-12-122-2/+12
| | | | | | | | | | | | 2002-12-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_locking_needed): Only declare for libc.so. (__libc_lock_init, __libc_lock_init_recursive): Change into comma expression. (__libc_lock_lock): Put into statement expression. (__libc_lock_unlock): Remove trailing semicolon. * sysdeps/unix/sysv/linux/fork.h (__libc_pthread_init): Fix typo.
* (__libc_locking_needed): Only declare for libc.so. (__libc_lock_init, ↵Ulrich Drepper2002-12-121-4/+6
| | | | __libc_lock_init_recursive): Change into comma expression. (__libc_lock_lock): Put into statement expression. (__libc_lock_unlock): Remove trailing semicolon.
* * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand withRoland McGrath2002-12-121-0/+5
| | | | "m" constraint to refer to __libc_locking_needed. Declare it here.
* 2002-12-12 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-121-6/+11
| | | | | * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand with "m" constraint to refer to __libc_locking_needed. Declare it here.
* Update.Ulrich Drepper2002-12-129-10/+279
| | | | | | | | | | | | | | | | | | | | 2002-12-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork-gen.c: Renamed to... * sysdeps/unix/sysv/linux/libc_pthread_init.c: ...this. Initialize __libc_locking_needed. * init.c (__pthread_initialize_minimal): Call __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/pthread/bits/libc-lock.h: Declare __libc_locking_needed. * sysdeps/unix/sysv/linux/Makefile (sysdep_routimes): Replace fork-gen with libc_pthread_init. * sysdeps/unix/sysv/linux/Versions: Use __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/unix/sysv/linux/fork.h: Declare __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use __libc_locking_needed to determine whether lock prefix can be avoided. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise.
* Update.Ulrich Drepper2002-12-122-3/+8
| | | | | | | 2002-12-11 Jakub Jelinek <jakub@redhat.com> * io/test-utime (main): If stnow.st[am]time is wrong, print it and not st.st[am]time.
* Update.Ulrich Drepper2002-12-122-8/+17
| | | | | | | | 2002-04-30 Bruno Haible <bruno@clisp.org> * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to the encoding if it already has slashes. Reported by Perry Rapp <prapp@erols.com>.
* Update.Ulrich Drepper2002-12-124-43/+7
| | | | | | | | * Makefile (tests): Add tst-cleanup1. * tst-cleanup1.c: New file. * cancellation.c (__cleanup_thread): Removed. (__do_cancel): Remove call to __cleanup_thread. * pthreadP.h: Remove __cleanup_thread prorotype.
* Test for cancelation handler order.Ulrich Drepper2002-12-121-0/+99
|
* * csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.Roland McGrath2002-12-121-0/+6
| | | | | (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables. Turn off PIC for compiling this file.
* 2002-12-11 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-121-5/+5
| | | | | | * csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino. (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables. Turn off PIC for compiling this file.
* Update.Ulrich Drepper2002-12-122-3/+15
| | | | | | | | | * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start): Remember function and argument even if cancellation handler function is not available. (__libc_cleanup_region_end): Execute registered function directly if pthread functions are not available. (__libc_cleanup_end): Likewise.
* Update.Ulrich Drepper2002-12-122-26/+15
| | | | | | | | | | | | 2002-12-11 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER definitions. Not needed. [_LIBC]: Use definitions from libc-lock.h instead of referencing pthread routines directly. * malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to mutex_init calls. (arena_get2): Don't look at return value of mutex_lock.
* (ptmalloc_unlock_all2): Don't add (void) to mutex_init calls. (arena_get2): ↵Ulrich Drepper2002-12-121-8/+4
| | | | Don't look at return value of mutex_lock.
* * csu/Makefile ($(objpfx)elf-init.oS): New target, just cloneRoland McGrath2002-12-112-0/+10
| | | | elf-init.o instead of compiling a PIC version.
* * intl/gettext.h: Renamed to ...Roland McGrath2002-12-1115-61/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * intl/gmo.h: ... here. * intl/Makefile (distribute): Add gmo.h, remove gettext.h. * intl/gettextP.h: Update. * intl/loadmsgcat.c: Update. * intl/gettextP.h (PARAMS): Make more portable. (attribute_hidden): Define as empty macro if not already defined. * intl/hash-string.h (PARAMS): Make more portable. * intl/loadinfo.h (PARAMS): Likewise. * intl/plural-exp.h (PARAMS): Likewise. (attribute_hidden): Move definition near the definition of internal_function. * intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration. * intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration. 2002-07-13 Bruno Haible <bruno@clisp.org> * intl/dcigettext.c (freea): New macro. (FREE_BLOCKS): Free also the registered blocks. (DCIGETTEXT): Free the 'search' variable. Reported by Andreas Fischer <a.fischer@asentics.de>. 2002-04-27 Bruno Haible <bruno@clisp.org> * intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __. * intl/dcigettext.c: Likewise. * intl/dcgettext.c: Likewise. * intl/dgettext.c: Likewise. * intl/gettext.c: Likewise. * intl/dcngettext.c: Likewise. * intl/dngettext.c: Likewise. * intl/ngettext.c: Likewise. * intl/textdomain.c: Likewise. * intl/bindtextdom.c: Likewise. * intl/plural-exp.h: Likewise. 2002-01-02 Bruno Haible <bruno@clisp.org> * intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl. 2001-04-30 Bruno Haible <bruno@clisp.org> * intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide default macro definitions. Needed for mingw32.
* 2002-12-11 Bruno Haible <bruno@clisp.org>Roland McGrath2002-12-112-1/+1
| | | | | | | | * intl/gettext.h: Renamed to ... * intl/gmo.h: ... here. * intl/Makefile (distribute): Add gmo.h, remove gettext.h. * intl/gettextP.h: Update. * intl/loadmsgcat.c: Update.
* Update.Ulrich Drepper2002-12-112-0/+11
| | | | | | | 2002-12-11 Ulrich Drepper <drepper@redhat.com> * init.c (__pthread_initialize_minimal): Fix initialization in static lib by preventing gcc from being too clever.
* Update.Ulrich Drepper2002-12-112-3/+6
| | | | | * sysdeps/i386/bits/byteswap.h (__bswap_64): Apply __builtin_constant_p to macro parameter.
* Update.Ulrich Drepper2002-12-114-2/+10
| | | | | * sysdeps/generic/sigpause.c: Define all functions as weak. * sysdeps/posix/sigpause.c: Likewise.
* Update.Ulrich Drepper2002-12-112-2/+9
| | | | | | | | | 2002-12-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sigpause.c: Define all functions as weak. * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of type size_t.
* (__pthread_initialize_minimal): Remove unneccesary sigaddset call.Ulrich Drepper2002-12-101-10/+3
|
* * 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.