about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2003-03-17 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-1726-0/+1683
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PowerPC port contributed by Paul Mackerras <paulus@samba.org>. * sysdeps/pthread/pthread_spin_init.c: New file. * sysdeps/pthread/pthread_spin_unlock.c: New file. * sysdeps/powerpc/Makefile: New file. * sysdeps/powerpc/pthread_spin_lock.c: New file. * sysdeps/powerpc/pthread_spin_trylock.c: New file. * sysdeps/powerpc/pthreaddef.h: New file. * sysdeps/powerpc/tcb-offsets.sym: New file. * sysdeps/powerpc/td_ta_map_lwp2thr.c: New file. * sysdeps/powerpc/tls.h: New file. * sysdeps/powerpc/bits/atomic.h: New file. * sysdeps/unix/sysv/linux/libc-lowlevelmutex.c: New file. * sysdeps/unix/sysv/linux/libc-lowlevellock.c: New file. * sysdeps/unix/sysv/linux/lowlevellock.c: New file. * sysdeps/unix/sysv/linux/sem_post.c: New file. * sysdeps/unix/sysv/linux/sem_timedwait.c: New file. * sysdeps/unix/sysv/linux/sem_trywait.c: New file. * sysdeps/unix/sysv/linux/powerpc/Makefile: New file. * sysdeps/unix/sysv/linux/powerpc/createthread.c: New file. * sysdeps/unix/sysv/linux/powerpc/fork.c: New file. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/powerpc/pt-vfork.S: New file. * sysdeps/unix/sysv/linux/powerpc/pthread_once.c: New file. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: New file. * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: New file.
* Update.Ulrich Drepper2003-03-173-2/+14
| | | | * localedata/en_ZA: Changed %x for LC_TIME to use dd/mm/ccyy.
* Update.Ulrich Drepper2003-03-1714-77/+89
| | | | | | | | | | | 2003-03-17 Ulrich Drepper <drepper@redhat.com> * localedata/en_ZA: hanged %x for LC_TIME to use dd/mm/ccyy. Added ^ to LC_MESSAGES regex "^[yY].*". Confirmed LC_PAPER adn LC_MEASUREMENT settings. Added country and language names to LC_ADDRESS. Added missing info for LC_TELEPHONE. Patch by Dwayne Bailey <dwayne@obsidian.co.za>.
* Load correct registers.Ulrich Drepper2003-03-171-5/+5
|
* * tst-fork4.c: Include <string.h>.Roland McGrath2003-03-171-0/+7
| | | | | | * tst-signal2.c: Likewise. * tst-mutex5.c (do_test): exit -> return. * tst-mutex2.c: Include <stdlib.h>.
* 2003-03-16 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-174-2/+5
| | | | | | | * tst-fork4.c: Include <string.h>. * tst-signal2.c: Likewise. * tst-mutex5.c (do_test): exit -> return. * tst-mutex2.c: Include <stdlib.h>.
* (__lll_lock_wait): Remove jump prediction suffix.Ulrich Drepper2003-03-174-14/+17
|
* Update.Ulrich Drepper2003-03-165-9/+32
| | | | | | | | 2003-03-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here, not at function level. * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
* Update.Ulrich Drepper2003-03-164-9/+36
| | | | | | 2003-03-16 Ulrich Drepper <drepper@redhat.com> * tst-rwlock6.c: Add some more status output.
* Really use R12 and r13.Ulrich Drepper2003-03-161-6/+6
|
* * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_tRoland McGrath2003-03-166-5/+15
| | | | | | * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. * nis/nis_table.c (__create_ib_request): Likewise.
* * nss/nss_files/files-hosts.c: Likewise.Roland McGrath2003-03-162-1/+2
|
* * posix/fnmatch_loop.c: Add casts for signedness.Roland McGrath2003-03-167-7/+28
| | | | | | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN. * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
* * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND,Roland McGrath2003-03-161-0/+11
| | | | | | | | | | | | get errors into the log file. (libc_cv_broken_visibility_attribute): Likewise. (libc_cv_broken_alias_attribute): Likewise. (libc_cv_asm_weak_directive): Likewise. (libc_cv_need_minus_P): Likewise. (libc_cv_dot_text): Likewise. (libc_cv_asm_global_directive): Likewise. (libc_cv_asm_type_prefix): Likewise. * configure: Regenerated.
* 2003-03-15 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-162-22/+67
| | | | | | | | | | | | | * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND, get errors into the log file. (libc_cv_broken_visibility_attribute): Likewise. (libc_cv_broken_alias_attribute): Likewise. (libc_cv_asm_weak_directive): Likewise. (libc_cv_need_minus_P): Likewise. (libc_cv_dot_text): Likewise. (libc_cv_asm_global_directive): Likewise. (libc_cv_asm_type_prefix): Likewise. * configure: Regenerated.
* Update.Ulrich Drepper2003-03-161-0/+5
| | | | | | | 2003-03-15 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): Store the exact stack size of user allocated stacks.
* (allocate_stack): Store the exact stack size of user allocated stacks.Ulrich Drepper2003-03-161-1/+1
|
* * nscd/cache.c (cache_search): Give first arg type `request_type'.Roland McGrath2003-03-1613-33/+50
| | | | | | | | | | | | | | | | | | * nscd/nscd.h: Update decl. * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * elf/dl-close.c (_dl_close): Likewise. * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t * io/fts.c (fts_build): Likewise. * elf/cache.c (add_to_cache): Likewise. * locale/programs/locarchive.c (show_archive_content): Likewise. * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use. * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3 happy. (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
* typoRoland McGrath2003-03-151-1/+1
| | | | * Versions.def (libthread_db): Add GLIBC_2.3.3 set.
* * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER.Roland McGrath2003-03-152-0/+18
| | | | | | | | (td_thr_tlsbase): Declare it. * td_thr_tlsbase.c: New file. * Makefile (libthread_db-routines): Add it. * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
* 2003-03-15 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-1510-87/+178
| | | | | | | | | * thread_db.h (td_err_e): Add TD_NOTLS and TD_TLSDEFER. (td_thr_tlsbase): Declare it. * td_thr_tlsbase.c: New file. * Makefile (libthread_db-routines): Add it. * Versions (libthread_db: GLIBC_2.3.3): New set, add td_thr_tlsbase. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Use td_thr_tlsbase.
* Update.Ulrich Drepper2003-03-151-0/+5
| | | | | | | 2003-03-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux code for most parts.
* Use the generic Linux code for most parts.Ulrich Drepper2003-03-151-40/+1
|
* * sysdeps/unix/sysv/linux/i386/system.c: Moved to ...Roland McGrath2003-03-156-77/+81
| | | | | | | | * sysdeps/unix/sysv/linux/system.c: ... here. (FORK): Don't #define if already #define'd. * sysdeps/unix/sysv/linux/s390/system.c: File removed. * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]: (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
* * dlfcn/tst-dlinfo.c: New file.Roland McGrath2003-03-1510-61/+396
| | | | | | | | | | | | | | | | | * dlfcn/Makefile (tests): Add tst-dlinfo. ($(objpfx)tst-dlinfo): New target. * dlfcn/dlinfo.c: New file. * dlfcn/Makefile (libdl-routines): Add it. * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo. * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo. [__USE_GNU] (RTLD_DI_*): New enum constants. [__USE_GNU] (Dl_serpath, Dl_serinfo): New types. * elf/dl-load.c (cache_rpath): New inline function. (_dl_map_object): Use it. (_dl_rtld_di_serinfo): New function. * sysdeps/generic/ldsodefs.h: Declare it. * elf/Versions (ld: GLIBC_PRIVATE): Add it.
* * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.Roland McGrath2003-03-157-194/+128
| | | | | | | | | | | | | | | | | | | | | | | | (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG) (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>. (__libc_start_main): Just call the generic one for most of the work. * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a static function by that name instead of BP_SYM (__libc_start_main). [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument. [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN. [INIT_MAIN_ARGS]: Give INIT the same args as MAIN. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]: Use this macro for extra AT_* cases. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV): New macro, guts from ... (__aux_init_cache): ... here, function removed. (DL_PLATFORM_INIT): Don't define this. * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss. * sysdeps/powerpc/powerpc64/memset.S: Likewise. * Versions.def (libthread_db): Add GLICB_2.3.3 set.
* 2003-03-15 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-151-21/+67
| | | | | | | | * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a static function by that name instead of BP_SYM (__libc_start_main). [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument. [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN. [INIT_MAIN_ARGS]: Give INIT the same args as MAIN.
* More random patches.Ulrich Drepper2003-03-155-14/+48
|
* * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.Roland McGrath2003-03-151-0/+4
|
* 2003-03-14 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-151-4/+14
| | | | * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.
* * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.hJakub Jelinek2003-03-155-3/+15
| | | | | | | | | (SINGLE_THREAD): Use `header' prefix instead of `header.data'. * sysdeps/sh/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise. * sysdeps/sh/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (SINGLE_THREAD_P): Use `header.' prefix. * sysdeps/ia64/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise.
* (SINGLE_THREAD): Use `header' prefix instead of `header.data'.Jakub Jelinek2003-03-151-1/+1
|
* Use 64-bit loading.Ulrich Drepper2003-03-151-1/+1
|
* Update.Ulrich Drepper2003-03-154-4/+26
| | | | | | | | | | 2003-03-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/pthreaddef.h (CURRENT_STACK_FRAME): Don't use __builtin_frame_address, use stack pointer. * sysdeps/unix/sysv/linux/jmp-unwind.c: Use CURRENT_STACK_FRAME instead of __builtin_frame_pointer.
* Update.Ulrich Drepper2003-03-1515-147/+183
| | | | | * tst-basic1.c (do_test): Add cast to avoid warning. * tst-basic2.c (do_test): Likewise.
* Update.Ulrich Drepper2003-03-141-0/+3
| | | | | * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Use correct amount of stack correction.
* Use correct amount of stack correction.Ulrich Drepper2003-03-141-1/+1
|
* * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.Roland McGrath2003-03-144-2/+15
| | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
* 2003-03-14 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-03-142-1/+6
| | | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file. * sysdeps/unix/sysv/linux/sparc/Makefile ($(objpfx)specs): Use full path for crt[in].o.
* Update.Ulrich Drepper2003-03-143-2/+27
| | | | | | | | | 2003-03-14 Ulrich Drepper <drepper@redhat.com> * tst-fork4.c: Use test-skeleton.c. * pthread_create.c (start_thread): Use CALL_THREAD_FCT if defined. * sysdeps/i386/tls.h: Define CALL_THREAD_FCT.
* (start_thread): Use CALL_THREAD_FCT if defined.Ulrich Drepper2003-03-141-0/+4
|
* * init.c: Fix typo "#eli" for "#else".Roland McGrath2003-03-143-1/+9
|
* * allocatestack.c (__stack_user): Use hidden_data_def.Roland McGrath2003-03-146-4/+76
| | | | | | | | | * pthread_create.c (__pthread_keys): Likewise. * init.c [__powerpc__] (__NR_set_tid_address): Define it. * tst-fork4.c: New file. * Makefile (tests): Add it.
* * descr.h (struct pthread): Move the union out of [!TLS_DTV_AT_TP], soRoland McGrath2003-03-143-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | we always define the padding space. [!TLS_DTV_AT_TP]: Give tcbhead_t field a name, `header', since GCC stopped supporting its own extensions fully. [TLS_MULTIPLE_THREADS_IN_TCB]: Put `multiple_threads' inside a wrapper struct also called `header', so `header.multiple_threads' is the field name to use on all machines. * allocatestack.c (allocate_stack): Use `header.' prefix. * sysdeps/pthread/createthread.c (create_thread): Likewise. * pthread_create.c (__pthread_create_2_1): Likewise. * sysdeps/i386/tls.h (INSTALL_NEW_DTV, THREAD_DTV): Likewise. (THREAD_SELF): Likewise. * sysdeps/x86_64/tls.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/s390/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Use REGS[18] value directly.
* 2003-03-14 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-149-25/+35
| | | | | | | | | | | | | | | | | | | | | | * descr.h (struct pthread): Move the union out of [!TLS_DTV_AT_TP], so we always define the padding space. [!TLS_DTV_AT_TP]: Give tcbhead_t field a name, `header', since GCC stopped supporting its own extensions fully. [TLS_MULTIPLE_THREADS_IN_TCB]: Put `multiple_threads' inside a wrapper struct also called `header', so `header.multiple_threads' is the field name to use on all machines. * allocatestack.c (allocate_stack): Use `header.' prefix. * sysdeps/pthread/createthread.c (create_thread): Likewise. * pthread_create.c (__pthread_create_2_1): Likewise. * sysdeps/i386/tls.h (INSTALL_NEW_DTV, THREAD_DTV): Likewise. (THREAD_SELF): Likewise. * sysdeps/x86_64/tls.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (SINGLE_THREAD_P): Likewise.
* Update.Ulrich Drepper2003-03-143-1/+8
| | | | | | | 2003-03-14 Ulrich Drepper <drepper@redhat.com> * localedata/mn_MN: New file. Contributed by Sanlig Badral <badral@chinggis.com>.
* Mongolian language locale for Mongolia.Ulrich Drepper2003-03-141-0/+196
|
* * sysdeps/mips/fpu/bits/mathdef.h: New. (__NO_LONG_DOUBLE_MATH): Define for o32.Alexandre Oliva2003-03-142-0/+51
| | | | | * sysdeps/mips/fpu/bits/mathdef.h: New. (__NO_LONG_DOUBLE_MATH): Define for o32.
* * sysdeps/mips/sys/asm.h: Formatting changes. (PTR, PTRSIZE, PTRLOG): Adjust ↵Alexandre Oliva2003-03-142-163/+272
| | | | | | | | | | | | | | | | | | for all 3 ABIs. (CPADD): Define for all of them. (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64, SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP, NARGSAVE): Define per ABI spec. (END): Don't redefine. (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA, LONG_SRAV): Remove duplicate definitions. (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI, PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL, PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32. (PTR_LA): Define for all 3 ABIs. * sysdeps/mips/sys/asm.h: Formatting changes. (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs. (CPADD): Define for all of them. (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64, SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP, NARGSAVE): Define per ABI spec. (END): Don't redefine. (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA, LONG_SRAV): Remove duplicate definitions. (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI, PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL, PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32. (PTR_LA): Define for all 3 ABIs.
* Update.Ulrich Drepper2003-03-141-0/+5
| | | | | | | 2003-03-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/tls.h (THREAD_GETMEM): Mark asms volatile. (THREAD_GETMEM_NC): Likewise.