kopensolaris-gnu/glibc.git
17 years ago(start_thread): setjmp is expected to return 0.
drepper [Fri, 14 Mar 2003 22:03:38 +0000 (22:03 +0000)]
(start_thread): setjmp is expected to return 0.

17 years agoUpdate.
drepper [Fri, 14 Mar 2003 21:35:38 +0000 (21:35 +0000)]
Update.

17 years agoMongolian language locale for Mongolia.
drepper [Fri, 14 Mar 2003 21:26:23 +0000 (21:26 +0000)]
Mongolian language locale for Mongolia.

17 years ago* sysdeps/mips/fpu/bits/mathdef.h: New.
aoliva [Fri, 14 Mar 2003 15:30:42 +0000 (15:30 +0000)]
* sysdeps/mips/fpu/bits/mathdef.h: New.
(__NO_LONG_DOUBLE_MATH): Define for o32.

17 years ago* sysdeps/mips/sys/asm.h: Formatting changes.
aoliva [Fri, 14 Mar 2003 11:06:32 +0000 (11:06 +0000)]
* 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.

17 years agoUpdate.
drepper [Fri, 14 Mar 2003 09:46:25 +0000 (09:46 +0000)]
Update.

17 years ago(THREAD_GETMEM): Makr asms volatile.
drepper [Fri, 14 Mar 2003 09:45:53 +0000 (09:45 +0000)]
(THREAD_GETMEM): Makr asms volatile.
(THREAD_GETMEM_NC): Likewise.

17 years ago* sysdeps/mips/dl-machine.h: Include sys/asm.h.
aoliva [Fri, 14 Mar 2003 08:43:11 +0000 (08:43 +0000)]
* sysdeps/mips/dl-machine.h: Include sys/asm.h.
(elf_machine_matches_host): Prevent linking of o32 and n32
together.
(elf_machine_dynamic): Document assumption on $gp.
(STRINGXP, STRINGXV, STRINGV_): New macros.
(elf_machine_load_address): Use them to stringize PTR_LA and
PTR_SUBU.
(ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
(_dl_runtime_resolve): Adjust it for all 3 ABIs.
(__dl_runtime_resolve): Cast the symtab initializer to the
right type.
(RTLD_START): Use it.  Adjust it for all 3 ABIs.
(elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
Handle 64-bit R_MIPS_REL composite relocation and accept
R_MIPS_64 relocations to shift addend size to 64 bits.
Document assumption regarding local GOT entries.  Document
backward-compatibility departing from the ABI behavior in
applying relocations that reference section symbols, no longer
used.  Support relocations to mis-aligned offsets.
* sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.

17 years ago* sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
aoliva [Fri, 14 Mar 2003 07:52:04 +0000 (07:52 +0000)]
* sysdeps/unix/sysv/linux/mips/readelflib.c: New file.

17 years ago* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
aoliva [Fri, 14 Mar 2003 07:49:05 +0000 (07:49 +0000)]
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
(_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
restore_rt functions.  Use them.

17 years ago* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
aoliva [Fri, 14 Mar 2003 07:03:34 +0000 (07:03 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
.set mips2 on new abis.

17 years agoUpdate.
drepper [Fri, 14 Mar 2003 06:28:45 +0000 (06:28 +0000)]
Update.

17 years agoDefine statfs_symlinks.
drepper [Fri, 14 Mar 2003 06:26:16 +0000 (06:26 +0000)]
Define statfs_symlinks.

17 years agoDefine some more magic words.
drepper [Fri, 14 Mar 2003 06:25:31 +0000 (06:25 +0000)]
Define some more magic words.

17 years agoHandle _PC_2_SYMLINKS.
drepper [Fri, 14 Mar 2003 06:22:16 +0000 (06:22 +0000)]
Handle _PC_2_SYMLINKS.

17 years agoDefine _PC_2_SYMLINKS.
drepper [Fri, 14 Mar 2003 06:20:58 +0000 (06:20 +0000)]
Define _PC_2_SYMLINKS.

17 years agoRecognize POSIX2_SYMLINKS.
drepper [Fri, 14 Mar 2003 06:20:08 +0000 (06:20 +0000)]
Recognize POSIX2_SYMLINKS.

17 years agoUpdate.
drepper [Fri, 14 Mar 2003 06:13:14 +0000 (06:13 +0000)]
Update.

17 years agoDon't define COLORING_INCREMENT, but MULTI_PAGE_ALIASING.
drepper [Fri, 14 Mar 2003 06:12:14 +0000 (06:12 +0000)]
Don't define COLORING_INCREMENT, but MULTI_PAGE_ALIASING.

17 years ago(allocate_stack): If MULTI_PAGE_ALIASING is defined and the size of
drepper [Fri, 14 Mar 2003 06:11:06 +0000 (06:11 +0000)]
(allocate_stack): If MULTI_PAGE_ALIASING is defined and the size of
the stack which must be allocated is a multiple, allocate one more
page.

17 years ago* include/gmp.h: Include/gmp-mparam.h.
aoliva [Fri, 14 Mar 2003 05:48:17 +0000 (05:48 +0000)]
* include/gmp.h: Include/gmp-mparam.h.
* stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
gmp-impl.h.

17 years ago* elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
aoliva [Fri, 14 Mar 2003 05:34:35 +0000 (05:34 +0000)]
* elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
ELF_MACHINE_NO_RELA is set.
* elf/rtld.c (dl_main): No prelink support for REL-only.

17 years ago* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
aoliva [Fri, 14 Mar 2003 05:32:49 +0000 (05:32 +0000)]
* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
FLAG_MIPS64_LIBN64): Define.
* elf/cache.c (print_entry): Handle mips64 n32 and n64.

17 years ago* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
aoliva [Fri, 14 Mar 2003 05:31:27 +0000 (05:31 +0000)]
* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
* sysdeps/mips/memset.S: Likewise.
* sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
depending on the ABI.

17 years ago* sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
aoliva [Fri, 14 Mar 2003 05:30:30 +0000 (05:30 +0000)]
* sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
Don't .set mips2 on new abi.
(compare_and_swap): Likewise.  Support 64-bit longs on n64.

17 years ago* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Don't .set
aoliva [Fri, 14 Mar 2003 04:22:05 +0000 (04:22 +0000)]
* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Don't .set
mips2 on new abi.
* sysdeps/mips/pt-machine.h (__compare_and_swap): Likewise.
Handle 64-bit longs on n64.

17 years ago* stdlib/fpioconst.h: Include gmp.h with angle brackets.
aoliva [Fri, 14 Mar 2003 04:21:26 +0000 (04:21 +0000)]
* stdlib/fpioconst.h: Include gmp.h with angle brackets.

17 years ago.
roland [Fri, 14 Mar 2003 03:59:59 +0000 (03:59 +0000)]
.

17 years ago2003-03-13 Roland McGrath <roland@redhat.com>
roland [Fri, 14 Mar 2003 03:59:44 +0000 (03:59 +0000)]
2003-03-13  Roland McGrath  <roland@redhat.com>

* elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
found.  Reported by Alexandre Oliva <aoliva@redhat.com>.

17 years ago2003-03-13 Alexandre Oliva <aoliva@redhat.com>
roland [Fri, 14 Mar 2003 03:59:41 +0000 (03:59 +0000)]
2003-03-13  Alexandre Oliva  <aoliva@redhat.com>

* stdio-common/_itoa.c (_itoa_base_table): Make 64-bit
literals long long.
* stdlib/fpioconst.c: Likewise.
* stdlib/strtod.c: Likewise.

17 years ago2003-03-13 Alexandre Oliva <aoliva@redhat.com>
roland [Fri, 14 Mar 2003 03:59:37 +0000 (03:59 +0000)]
2003-03-13  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/mips/add_n.S: Use L macro for local labels.
* sysdeps/mips/addmul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/memcpy.S: Likewise.
* sysdeps/mips/memset.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/sub_n.S: Likewise.
* sysdeps/mips/submul_1.S: Likewise.
* sysdeps/mips/mips64/add_n.S: Likewise.
* sysdeps/mips/mips64/addmul_1.S: Likewise.
* sysdeps/mips/mips64/lshift.S: Likewise.
* sysdeps/mips/mips64/mul_1.S: Likewise.
* sysdeps/mips/mips64/rshift.S: Likewise.
* sysdeps/mips/mips64/sub_n.S: Likewise.
* sysdeps/mips/mips64/submul_1.S: Likewise.
* sysdeps/unix/mips/sysdep.h: Define L() according to ABI
conventions.  Define END as in sys/asm.h.
* sysdeps/unix/mips/sysdep.S: Likewise.
* sysdeps/unix/mips/wait.S: Likewise.
* sysdeps/unix/sysv/linux/mips/clone.S: Likewise.

17 years ago2003-03-13 Alexandre Oliva <aoliva@redhat.com>
roland [Fri, 14 Mar 2003 03:59:34 +0000 (03:59 +0000)]
2003-03-13  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double):
Cast shifted values that may be too narrow to mp_limb_t.
* sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double):
Likewise.
* sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float):
Likewise.
* sysdeps/ieee754/ldbl-128/ldbl2mpn.c
(__mpn_extract_long_double): Likewise.
* sysdeps/ieee754/ldbl-128/mpn2ldbl.c
(__mpn_construct_long_double): Likewise.
* sysdeps/ieee754/ldbl-96/ldbl2mpn.c
(__mpn_extract_long_double): Likewise.
* sysdeps/ieee754/ldbl-96/mpn2ldbl.c
(__mpn_construct_long_double): Likewise.

17 years ago.
roland [Thu, 13 Mar 2003 21:51:07 +0000 (21:51 +0000)]
.

17 years ago2003-03-13 Roland McGrath <roland@redhat.com>
roland [Thu, 13 Mar 2003 21:50:57 +0000 (21:50 +0000)]
2003-03-13  Roland McGrath  <roland@redhat.com>

* elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
entries in the map file match too.

17 years ago.
roland [Thu, 13 Mar 2003 21:02:10 +0000 (21:02 +0000)]
.

17 years ago2003-03-13 Roland McGrath <roland@redhat.com>
roland [Thu, 13 Mar 2003 21:01:23 +0000 (21:01 +0000)]
2003-03-13  Roland McGrath  <roland@redhat.com>

* pthread_create.c (start_thread): Set EXITING_BIT after the
event-reporting (and destructors), not before.

17 years ago2003-03-13 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 13 Mar 2003 21:01:03 +0000 (21:01 +0000)]
2003-03-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Cast regs[13]
to void *.

17 years ago2003-03-13 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 13 Mar 2003 21:00:52 +0000 (21:00 +0000)]
2003-03-13  Jakub Jelinek  <jakub@redhat.com>

* allocatestack.c (nptl_ncreated): Only declare if
COLORING_INCREMENT != 0.

17 years ago2003-03-13 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 13 Mar 2003 21:00:37 +0000 (21:00 +0000)]
2003-03-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_timed_wait,
lll_futex_wake): Declare register variables as long int instead of
unsigned long int.  Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
Make syscall arguments clobbered by the syscall.
(lll_futex_wait): Define using lll_futex_timed_wait.

17 years ago2003-03-13 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 13 Mar 2003 21:00:27 +0000 (21:00 +0000)]
2003-03-13  Jakub Jelinek  <jakub@redhat.com>

* pthreadP.h (__pthread_enable_asynccancel_2): New prototype.
(__libc_enable_asynccancel_2): Remove prototype.

17 years ago2003-03-13 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 13 Mar 2003 21:00:18 +0000 (21:00 +0000)]
2003-03-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Only declare and set
PPID if [! NDEBUG].

17 years agoUpdate.
aj [Thu, 13 Mar 2003 15:07:26 +0000 (15:07 +0000)]
Update.

17 years ago Introduce and use local
aj [Thu, 13 Mar 2003 15:07:13 +0000 (15:07 +0000)]
Introduce and use local
label .Lthread_start since current binutils don't allow branches
to globally visible symbols.

17 years agoUpdate.
drepper [Thu, 13 Mar 2003 04:41:39 +0000 (04:41 +0000)]
Update.

17 years ago(FORK): Swap ptid and ctid to match kernel.
drepper [Thu, 13 Mar 2003 04:37:23 +0000 (04:37 +0000)]
(FORK): Swap ptid and ctid to match kernel.

17 years ago(__clone2): Swap ptid and ctid to match kernel.
drepper [Thu, 13 Mar 2003 04:36:59 +0000 (04:36 +0000)]
(__clone2): Swap ptid and ctid to match kernel.

17 years ago(BREAK_INSN_1, BREAK_INSN,
drepper [Thu, 13 Mar 2003 04:36:32 +0000 (04:36 +0000)]
(BREAK_INSN_1, BREAK_INSN,
ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
(INTERNAL_SYSCALL, INLINE_SYSCALL): Use it.  Make syscall arguments
clobbered by the syscall.
(ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
ASM_ARGS_6): Change constraints from r to index of corresponding
output register.

17 years agoUpdate.
drepper [Thu, 13 Mar 2003 04:35:38 +0000 (04:35 +0000)]
Update.

17 years agoRCH_FORK): Swap ptid and ctid to match kernel.
drepper [Thu, 13 Mar 2003 04:34:54 +0000 (04:34 +0000)]
RCH_FORK): Swap ptid and ctid to match kernel.

17 years agoUpdate.
drepper [Thu, 13 Mar 2003 01:51:12 +0000 (01:51 +0000)]
Update.

17 years agoRemove __libc_multiple_threads definition.
drepper [Thu, 13 Mar 2003 01:50:29 +0000 (01:50 +0000)]
Remove __libc_multiple_threads definition.

17 years ago(sysdep_routines): Add libc_multiple_threads.
drepper [Thu, 13 Mar 2003 01:49:59 +0000 (01:49 +0000)]
(sysdep_routines): Add libc_multiple_threads.

17 years agoDefinition of __libc_multiple_threads.
drepper [Thu, 13 Mar 2003 01:49:25 +0000 (01:49 +0000)]
Definition of __libc_multiple_threads.

17 years agoRemove unnecessary versioning.
drepper [Thu, 13 Mar 2003 01:48:34 +0000 (01:48 +0000)]
Remove unnecessary versioning.

17 years ago(__pthread_once_internal): Define.
drepper [Thu, 13 Mar 2003 01:16:00 +0000 (01:16 +0000)]
(__pthread_once_internal): Define.

17 years agoUse shlib-compat.h macros instead of .symver directly.
drepper [Thu, 13 Mar 2003 01:06:30 +0000 (01:06 +0000)]
Use shlib-compat.h macros instead of .symver directly.

17 years ago.
roland [Wed, 12 Mar 2003 21:40:02 +0000 (21:40 +0000)]
.

17 years ago2003-03-12 Steven Munroe <sjmunroe@us.ibm.com>
roland [Wed, 12 Mar 2003 21:39:43 +0000 (21:39 +0000)]
2003-03-12  Steven Munroe  <sjmunroe@us.ibm.com>

        * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
AC_DEFINE(PI_STATIC_AND_HIDDEN).  Not supported for PowerPC64.
        * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.

17 years agoUpdate.
drepper [Wed, 12 Mar 2003 20:03:07 +0000 (20:03 +0000)]
Update.

17 years agoUse SELF.
drepper [Wed, 12 Mar 2003 20:02:47 +0000 (20:02 +0000)]
Use SELF.

17 years ago[__ASSEMBLER__]: Include tcb-offsets.h.
drepper [Wed, 12 Mar 2003 19:59:00 +0000 (19:59 +0000)]
[__ASSEMBLER__]: Include tcb-offsets.h.

17 years agoMakefile for x86-64.
drepper [Wed, 12 Mar 2003 19:58:21 +0000 (19:58 +0000)]
Makefile for x86-64.

17 years agoOffsets in TCB for x86-64.
drepper [Wed, 12 Mar 2003 19:57:50 +0000 (19:57 +0000)]
Offsets in TCB for x86-64.

17 years agoUse SELF to access own pthread_t in TCB.
drepper [Wed, 12 Mar 2003 19:50:13 +0000 (19:50 +0000)]
Use SELF to access own pthread_t in TCB.

17 years agoAdd SELF.
drepper [Wed, 12 Mar 2003 19:43:01 +0000 (19:43 +0000)]
Add SELF.

17 years agoUse pthread-errnos.h.
drepper [Wed, 12 Mar 2003 19:41:40 +0000 (19:41 +0000)]
Use pthread-errnos.h.

17 years agoUse pthread-errnos.h.
drepper [Wed, 12 Mar 2003 19:41:10 +0000 (19:41 +0000)]
Use pthread-errnos.h.

17 years agopthread_rwlock_timedwrlock implementation for Linux/x86-64.
drepper [Wed, 12 Mar 2003 19:35:35 +0000 (19:35 +0000)]
pthread_rwlock_timedwrlock implementation for Linux/x86-64.

17 years agoFix some typos.
drepper [Wed, 12 Mar 2003 19:34:42 +0000 (19:34 +0000)]
Fix some typos.

17 years agopthread_rwlock_timedrdlock implementation for Linux/x86-64.
drepper [Wed, 12 Mar 2003 18:58:42 +0000 (18:58 +0000)]
pthread_rwlock_timedrdlock implementation for Linux/x86-64.

17 years ago(pthread_cond_t): Add padding.
drepper [Wed, 12 Mar 2003 18:44:29 +0000 (18:44 +0000)]
(pthread_cond_t): Add padding.

17 years ago.
roland [Wed, 12 Mar 2003 10:30:26 +0000 (10:30 +0000)]
.

17 years ago2003-03-12 Roland McGrath <roland@redhat.com>
roland [Wed, 12 Mar 2003 10:29:45 +0000 (10:29 +0000)]
2003-03-12  Roland McGrath  <roland@redhat.com>

* pthread-errnos.sym: New file.
* Makefile (gen-as-const-headers): New variable, list that file.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Include generated
header <pthread-errnos.h> instead of defining errno values here.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Likewise.
* sysdeps/i386/i486/pthread_spin_trylock.S: Likewise.
* sysdeps/x86_64/pthread_spin_trylock.S: Likewise.
* sysdeps/sh/pthread_spin_trylock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.

17 years agooops
roland [Wed, 12 Mar 2003 10:28:44 +0000 (10:28 +0000)]
oops

17 years ago2003-03-12 Roland McGrath <roland@redhat.com>
roland [Wed, 12 Mar 2003 10:28:11 +0000 (10:28 +0000)]
2003-03-12  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/fork.c: Add an assert to check that
CLONE_CHILD_SETTID worked.

17 years ago2003-03-12 Roland McGrath <roland@redhat.com>
roland [Wed, 12 Mar 2003 10:28:07 +0000 (10:28 +0000)]
2003-03-12  Roland McGrath  <roland@redhat.com>

* pthread-errnos.sym: New file.
* Makefile (gen-as-const-headers): New variable, list that file.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Include generated
header <pthread-errnos.h> instead of defining errno values here.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/i386/i486/pthread_spin_trylock.S: Likewise.
* sysdeps/x86_64/pthread_spin_trylock.S: Likewise.
* sysdeps/sh/pthread_spin_trylock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.

17 years agoUpdate.
drepper [Wed, 12 Mar 2003 09:53:44 +0000 (09:53 +0000)]
Update.

17 years agopthread_rwlock_unlock implementationf or Linux/x86-64.
drepper [Wed, 12 Mar 2003 09:46:52 +0000 (09:46 +0000)]
pthread_rwlock_unlock implementationf or Linux/x86-64.

17 years agopthread_rwlock_wrlock implementation for Linux/x86-64.
drepper [Wed, 12 Mar 2003 09:36:45 +0000 (09:36 +0000)]
pthread_rwlock_wrlock implementation for Linux/x86-64.

17 years agopthread_rwlock_rdlock implementation for Linux/x86-64.
drepper [Wed, 12 Mar 2003 09:24:08 +0000 (09:24 +0000)]
pthread_rwlock_rdlock implementation for Linux/x86-64.

17 years agoUpdate.
drepper [Wed, 12 Mar 2003 08:57:35 +0000 (08:57 +0000)]
Update.

17 years ago(__pthread_rwlock_timedwrlock): Add missing opcode suffix.
drepper [Wed, 12 Mar 2003 08:53:49 +0000 (08:53 +0000)]
(__pthread_rwlock_timedwrlock): Add missing opcode suffix.

17 years ago(__pthread_rwlock_timedrdlock): Add missing opcode suffix.
drepper [Wed, 12 Mar 2003 08:53:23 +0000 (08:53 +0000)]
(__pthread_rwlock_timedrdlock): Add missing opcode suffix.

17 years agoAdd missing opcode suffix.
drepper [Wed, 12 Mar 2003 08:52:39 +0000 (08:52 +0000)]
Add missing opcode suffix.

17 years ago(__pthread_rwlock_rdlock): Add missing opcode suffix.
drepper [Wed, 12 Mar 2003 08:52:05 +0000 (08:52 +0000)]
(__pthread_rwlock_rdlock): Add missing opcode suffix.

17 years agoMore asm fixes.
drepper [Wed, 12 Mar 2003 08:51:20 +0000 (08:51 +0000)]
More asm fixes.

17 years agopthread_cond_timedwait implementation for Linux/x86-64.
drepper [Wed, 12 Mar 2003 08:44:31 +0000 (08:44 +0000)]
pthread_cond_timedwait implementation for Linux/x86-64.

17 years agoReturn result of lock re-get if it fails.
drepper [Wed, 12 Mar 2003 08:41:10 +0000 (08:41 +0000)]
Return result of lock re-get if it fails.

17 years ago.
roland [Wed, 12 Mar 2003 07:45:15 +0000 (07:45 +0000)]
.

17 years ago2003-03-11 Roland McGrath <roland@redhat.com>
roland [Wed, 12 Mar 2003 07:45:07 +0000 (07:45 +0000)]
2003-03-11  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
Check SYM_MAP rather than SYM as definedness check.
Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
Don't handle R_PPC64_REL24 reloc.
Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
* sysdeps/powerpc/powerpc64/dl-machine.h
[USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
block, so we cover all the TPREL16* flavors without 6 ||s.
[USE_TLS] (elf_machine_tprel): New function.
(elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
and handle TPREL16 relocs too.  Return rather than break for DTPREL64.
Mostly from Steven Munroe <sjmunroe@us.ibm.com>.

17 years agoUpdate.
drepper [Wed, 12 Mar 2003 05:45:00 +0000 (05:45 +0000)]
Update.

17 years agoFix asm syntax.
drepper [Wed, 12 Mar 2003 05:44:17 +0000 (05:44 +0000)]
Fix asm syntax.

17 years ago(THREAD_SELF, THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM,
drepper [Wed, 12 Mar 2003 05:41:48 +0000 (05:41 +0000)]
(THREAD_SELF, THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM,
THREAD_SETMEM_NC): Correct asm syntax.

17 years agoDefine __libc_multiple_threads.
drepper [Wed, 12 Mar 2003 05:40:33 +0000 (05:40 +0000)]
Define __libc_multiple_threads.
(__libc_pthread_init): Return pointer to __libc_pthread_init if necessary.

17 years agoAdjust prototype for __libc_pthread_init.
drepper [Wed, 12 Mar 2003 05:38:54 +0000 (05:38 +0000)]
Adjust prototype for __libc_pthread_init.
Declare __pthread_multiple_threads and __libc_multiple_threads_ptr.

17 years ago(__pthread_initialize_minimal_internal): Initialize
drepper [Wed, 12 Mar 2003 05:36:44 +0000 (05:36 +0000)]
(__pthread_initialize_minimal_internal): Initialize
__libc_multiple_threads_ptr if necessary.

17 years ago[! TLS_MULTIPLE_THREADS_IN_TCB] (create_thread): Initialize
drepper [Wed, 12 Mar 2003 05:35:23 +0000 (05:35 +0000)]
[! TLS_MULTIPLE_THREADS_IN_TCB] (create_thread): Initialize
*__libc_multiple_threads_ptr not __libc_multiple_threads.
Define __pthread_multiple_threads and __libc_multiple_threads_ptr.

17 years ago[! TLS_MULTIPLE_THREADS_IN_TCB] (allocate_stack): Initialize
drepper [Wed, 12 Mar 2003 05:33:50 +0000 (05:33 +0000)]
[! TLS_MULTIPLE_THREADS_IN_TCB] (allocate_stack): Initialize
*__libc_multiple_threads_ptr not __libc_multiple_threads.

17 years ago(THREAD_SETMEM): Fix one-byte variant.
drepper [Wed, 12 Mar 2003 05:07:12 +0000 (05:07 +0000)]
(THREAD_SETMEM): Fix one-byte variant.
(THREAD_SETMEM_NC): Likewise.

17 years agopthread_spin_unlock implementation for x86-64.
drepper [Wed, 12 Mar 2003 04:58:20 +0000 (04:58 +0000)]
pthread_spin_unlock implementation for x86-64.