Ulrich Drepper
970269474a
Update.
...
2003-03-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [!SHARED &&
!LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
2003-03-18 01:56:11 +00:00
Alexandre Oliva
5a0e429dd8
* sysdeps/mips/mips64/Implies: Move wordsize-64 to... * sysdeps/mips/mips64/n64/Implies: New file. * sysdeps/mips/mips64/n64/Makefile: New file. * sysdeps/mips/mips64/n64/el/bits/endian.h: New file. * sysdeps/mips/mips64/n32/Implies: New file. * sysdeps/mips/mips64/n32/Makefile: New file. * sysdeps/mips/mips64/n32/el/bits/endian.h: New file. * sysdeps/unix/mips/mips64/n32/sysdep.h: New file. * sysdeps/unix/mips/mips64/n64/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file. * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file. * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
...
* sysdeps/mips/mips64/Implies: Move wordsize-64 to...
* sysdeps/mips/mips64/n64/Implies: New file.
* sysdeps/mips/mips64/n64/Makefile: New file.
* sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
* sysdeps/mips/mips64/n32/Implies: New file.
* sysdeps/mips/mips64/n32/Makefile: New file.
* sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
* sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
* sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
2003-03-17 16:20:44 +00:00
Alexandre Oliva
fc32835abb
* sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use lib64 for mips64/n64 and lib32 for mips64/n32. (ldd_rewrite_script): Needed for all mips64 configurations. * sysdeps/unix/sysv/linux/configure: Rebuilt. * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file. * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
...
* sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
lib64 for mips64/n64 and lib32 for mips64/n32.
(ldd_rewrite_script): Needed for all mips64 configurations.
* sysdeps/unix/sysv/linux/configure: Rebuilt.
* sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
2003-03-17 15:57:19 +00:00
Alexandre Oliva
c3b519b7eb
* sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as well.
...
* sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
well.
2003-03-17 15:53:37 +00:00
Alexandre Oliva
c27d68482c
* sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process asm/unistd.h into asm-unistd.h. * sysdeps/unix/sysv/linux/mips/configure: Generated. * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing of syscall list. * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file. * sysdeps/unix/sysv/linux/mips/clone.S: Don't include asm/unistd.h.
...
* sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
asm/unistd.h into asm-unistd.h.
* sysdeps/unix/sysv/linux/mips/configure: Generated.
* sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
of syscall list.
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
* sysdeps/unix/sysv/linux/mips/clone.S: Don't include
asm/unistd.h.
2003-03-17 Alexandre Oliva <aoliva@redhat.com>
2003-03-17 15:50:05 +00:00
Alexandre Oliva
935af0f27f
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file. * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long long type for registers on n32.
...
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
* sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long
long type for registers on n32.
2003-03-17 15:48:52 +00:00
Alexandre Oliva
4947b4b20f
* sysdeps/mips/bits/wordsize.h: New file, appropriate for all 3 ABIs. * sysdeps/mips/mips64/gmp-mparam.h: New file. Define BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs. * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros. (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs. * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs. * sysdeps/unix/mips/brk.S: Likewise. * sysdeps/unix/mips/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise. * sysdeps/mips/sys/ucontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. * sysdeps/mips/mips64/setjmp.S: Likewise. * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete. * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for 64-bit types.
...
2003-03-17 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/bits/wordsize.h: New file, appropriate for all
3 ABIs.
* sysdeps/mips/mips64/gmp-mparam.h: New file. Define
BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
* sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
(__sigsetjmp_aux): Use them. Adjust for all 3 ABIs.
* sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
* sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
* sysdeps/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
* sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
64-bit types.
2003-03-17 15:47:13 +00:00
Ulrich Drepper
b6e2f87a61
Update.
...
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.
2003-03-16 10:16:43 +00:00
Roland McGrath
638bb1f394
* nscd/cache.c (cache_search): Give first arg type `request_type'.
...
* 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.
2003-03-16 01:04:03 +00:00
Ulrich Drepper
5b84f75b90
Use the generic Linux code for most parts.
2003-03-15 23:47:44 +00:00
Roland McGrath
7eecc0c21a
* sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
...
* 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.
2003-03-15 23:44:08 +00:00
Roland McGrath
45e4762c2c
* dlfcn/tst-dlinfo.c: New file.
...
* 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.
2003-03-15 23:16:22 +00:00
Roland McGrath
124dcac84b
* sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.
...
(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 23:09:52 +00:00
Roland McGrath
2b089f2101
2003-03-15 Roland McGrath <roland@redhat.com>
...
* 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.
2003-03-15 23:09:11 +00:00
Roland McGrath
c58859ce3a
* sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.
...
* sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
2003-03-14 23:37:15 +00:00
Alexandre Oliva
882dda6646
* sysdeps/mips/fpu/bits/mathdef.h: New. (__NO_LONG_DOUBLE_MATH): Define for o32.
...
* sysdeps/mips/fpu/bits/mathdef.h: New.
(__NO_LONG_DOUBLE_MATH): Define for o32.
2003-03-14 15:30:43 +00:00
Alexandre Oliva
4abdb6ca35
* 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.
...
* 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.
2003-03-14 11:06:32 +00:00
Alexandre Oliva
365eccdb09
* 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.
...
* 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.
2003-03-14 08:43:13 +00:00
Alexandre Oliva
d4c803f80a
* sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
...
* sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
2003-03-14 07:52:05 +00:00
Alexandre Oliva
84c63a7648
* 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.
...
* 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.
2003-03-14 07:49:05 +00:00
Alexandre Oliva
44bc0afbe4
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't .set mips2 on new abis.
...
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
.set mips2 on new abis.
2003-03-14 07:03:36 +00:00
Ulrich Drepper
564cd8b67e
Update.
...
2003-03-13 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c: Recognize POSIX2_SYMLINKS.
* sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
* sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
* sysdeps/posix/pathconf.c: Likewise.
* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
* sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
words.
2003-03-14 06:28:45 +00:00
Alexandre Oliva
b5bac573e6
* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, FLAG_MIPS64_LIBN64): Define. * elf/cache.c (print_entry): Handle mips64 n32 and n64.
...
* sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
FLAG_MIPS64_LIBN64): Define.
* elf/cache.c (print_entry): Handle mips64 n32 and n64.
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
2003-03-14 05:32:50 +00:00
Alexandre Oliva
5ace139364
* 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.
...
* 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.
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
2003-03-14 05:31:28 +00:00
Alexandre Oliva
1b12a2cb72
* 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.
...
* 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.
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
2003-03-14 05:30:31 +00:00
Roland McGrath
d8a5edc221
* elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
...
found. Reported by Alexandre Oliva <aoliva@redhat.com>.
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.
* 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.
* 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.
2003-03-13 Roland McGrath <roland@redhat.com>
2003-03-14 03:59:59 +00:00
Andreas Jaeger
000f73030b
Introduce and use local
...
label .Lthread_start since current binutils don't allow branches
to globally visible symbols.
2003-03-13 15:07:13 +00:00
Ulrich Drepper
b5ec56172d
Update.
...
2003-03-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h (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.
* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
ptid and ctid to match kernel.
* sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
* sysdeps/powerpc/powerpc64/elf/configure.in: Remove
* sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
2003-03-13 04:41:39 +00:00
Roland McGrath
53fcc67915
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.
2003-03-12 21:39:43 +00:00
Roland McGrath
b3838ebd97
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>.
2003-03-12 07:45:07 +00:00
Ulrich Drepper
b874af9995
Update.
...
2003-03-11 Ralf Baechle <ralf@linux-mips.org>
* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
instead of jalr to invoke subroutine so restoring the $gp register
will work properly.
2003-03-12 01:06:30 +00:00
Ulrich Drepper
6c477888ca
Update.
...
2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
to __NR_pread if not defined.
(__NR_pwrite64): Define to __NR_pwrite if not defined.
2003-03-11 19:40:00 +00:00
Ulrich Drepper
f006d3a007
Update.
...
* sysdeps/unix/sysv/linux/ia64/system.c: New file.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
kernel >= 2.5.64.
2003-03-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
2003-03-11 19:02:26 +00:00
Roland McGrath
b33e61633a
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
...
allocate space even for the trailing '/'.
Reported by John Reiser <jreiser@BitWagon.com>.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
ASM_CLOBBERS_6): Define.
(ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
to match IA-32 order.
* sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
2003-03-11 09:30:37 +00:00
Roland McGrath
4fba8a3b3d
2003-03-10 Steven Munroe <sjmunroe@us.ibm.com>
...
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
Copy extra params for NPTL to registers used in clone syscall.
2003-03-10 21:04:29 +00:00
Roland McGrath
ce2290cba4
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
...
call names for pread and pwrite.
2003-03-10 19:21:23 +00:00
Roland McGrath
8dd569934c
2003-03-10 Roland McGrath <roland@redhat.com>
...
* dlfcn/Makefile (libdl-routines): Add dladdr1.
* dlfcn/dladdr1.c: New file.
* dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
[__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
* elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
a const ElfNN_Sym ** to fill in.
* include/dlfcn.h: Update decl. Include <link.h>.
* dlfcn/dladdr.c (dladdr): Update caller.
* malloc/mtrace.c (tr_where): Likewise.
* sysdeps/generic/elf/backtracesyms.c: Likewise.
* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
* dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
* Versions.def (libdl): Define GLIBC_2.3.3 set.
2003-03-10 09:12:11 +00:00
Roland McGrath
e48f96382f
* sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
...
assembler command.
* sysdeps/unix/Makefile (compile-syscall): New variable.
Pass -g0 to compiler for assembling syscall stubs from stdin.
* sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
(STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
Define these to do nothing.
* configure.in: New check for -g on .S files.
* configure: Regenerated.
* config.make.in (have-cpp-asm-debuginfo): New variable.
* config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
* Makeconfig (ASFLAGS): New variable, if undefined and
$(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
* Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
2003-03-10 09:11:13 +00:00
Roland McGrath
ce5e9b1279
2003-03-09 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
2003-03-10 08:52:31 +00:00
Ulrich Drepper
b6b9ee9bcb
Update.
...
2003-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
2003-03-07 21:22:27 +00:00
Roland McGrath
8addbe045d
2003-03-07 Roland McGrath <roland@redhat.com>
...
* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
* sysdeps/s390/s390-64/sysdep.h (L): Likewise.
2003-03-07 10:06:56 +00:00
Andreas Jaeger
188a981ceb
2003-03-04 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
stubs, we have INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
MAP_NONBLOCK.
2003-03-07 09:46:33 +00:00
Ulrich Drepper
92f6b65e0a
(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.
2003-03-06 06:40:43 +00:00
Roland McGrath
790eed83d1
* sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
...
(elf_machine_rela): Always use RESOLVE_MAP, needed for
R_PPC64_JMP_SLOT as well as TLS cases.
(BIT_INSERT): Move parenthesis where it ought to have been.
Reported by Steven Munroe <sjmunroe@us.ibm.com>.
2003-03-05 03:27:24 +00:00
Ulrich Drepper
0de28d5c71
Update.
...
2003-03-04 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
2003-03-04 23:01:30 +00:00
Ulrich Drepper
e2b80a5802
Update.
...
* sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
clone parameters.
2003-03-04 19:46:28 +00:00
Andreas Jaeger
092fd00d56
Clarify comment.
2003-03-04 12:33:28 +00:00
Ulrich Drepper
f04a27210a
Update.
...
* sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic
version is just fine.
2003-03-04 07:58:19 +00:00
Ulrich Drepper
4f6f0a8fcf
Update.
...
2003-03-03 Ulrich Drepper <drepper@redhat.com>
* include/sched.h (__clone2): Use ... instead of adding all the
new parameters.
2003-03-03 22:02:13 +00:00
Roland McGrath
0c193faea7
2003-03-03 Roland McGrath <roland@redhat.com>
...
* sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
PI_STATIC_AND_HIDDEN.
* sysdeps/powerpc/powerpc32/elf/configure: Regenerated.
2003-03-03 21:20:51 +00:00
Ulrich Drepper
625f22fc7f
Update.
...
2003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au>
* sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
flags.
* include/sched.h: Update clone2 prototype.
2003-03-03 19:53:27 +00:00
Ulrich Drepper
1739d26836
Update.
...
* libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
if ccs parameter isn't valid. Reported by Andreas Schwab.
2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
for system call numbers > 255.
* sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
INTERNAL_SYSCALL): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
INTERNAL_SYSCALL): Likewise.
2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
array if it is the initial dtv.
2003-03-03 Ulrich Drepper <drepper@redhat.com>
* po/es.po: Update from translation team.
* po/fr.po: Likewise.
* po/sk.po: Likewise.
* po/sv.po: Likewise.
2003-03-03 18:36:14 +00:00
Ulrich Drepper
d15a8404ef
Update.
...
2003-03-03 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
* misc/sys/mman.h: Add prototype for remap_file_pages.
* sysdeps/generic/remap_file_pages.c: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
and MAP_NONBLOCK.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
2003-03-03 10:05:49 +00:00
Roland McGrath
a49f57629f
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
...
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
argument type.
* sysdeps/ia64/dl-lookupcfg.h: Update decl.
* sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
* sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
* locale/Versions (libc: GLIBC_2.3): Move those to ...
* sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
* sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
* Versions.def (libc): Add GLIBC_2.3.3 set.
2003-03-03 09:45:25 +00:00
Roland McGrath
958528b013
2003-03-03 Roland McGrath <roland@redhat.com>
...
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
argument type.
* sysdeps/ia64/dl-lookupcfg.h: Update decl.
2003-03-03 09:45:09 +00:00
Ulrich Drepper
e9104e5530
Stub implementation of remap_file_pages.
2003-03-03 09:44:55 +00:00
Roland McGrath
ea6a015bd7
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
...
* sysdeps/ia64/dl-machine.h: Update decl.
2003-03-03 08:44:46 +00:00
Andreas Jaeger
a46fde6e38
* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing
...
brace.
2003-03-03 08:23:37 +00:00
Roland McGrath
f5d3159377
2003-03-02 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
2003-03-03 07:11:46 +00:00
Ulrich Drepper
e5497892bb
Update.
...
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-03-03 05:00:33 +00:00
Ulrich Drepper
ad0e8eb0a5
Update.
...
2003-03-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_MONOTONIC_CLOCK.
* linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-03-03 04:57:09 +00:00
Ulrich Drepper
1e543c0cc6
Define CLOCK_MONOTONIC.
2003-03-03 04:42:14 +00:00
Roland McGrath
7551556fa1
* sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
...
from dl_reloc_overflow, make global.
(__process_machine_rela): Update callers.
* sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
Add attribute_hidden to __process_machine_rela decl.
(elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
2003-03-03 01:05:12 +00:00
Roland McGrath
3a601d31b6
* sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
...
variable.
2003-03-03 00:20:51 +00:00
Roland McGrath
bb0ddc2f1e
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
...
Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED].
(elf_machine_rela): Clean up.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.
PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
* sysdeps/powerpc/powerpc32/elf/configure.in: New file.
* sysdeps/powerpc/powerpc32/elf/configure: New generated file.
* elf/tls-macros.h [__powerpc__ && !__powerpc64__]
(TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
new relocs for TLS.
* sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
macros out of [SHARED].
(TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
* elf/elf.h: Define R_PPC_* relocs for TLS support.
Clean up R_PPC64_* macro definition comments.
2003-03-02 11:45:12 +00:00
Roland McGrath
3093b1c70c
2003-03-02 Roland McGrath <roland@redhat.com>
...
* sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
macros out of [SHARED].
(TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
2003-03-02 11:41:46 +00:00
Roland McGrath
7ed33cba81
* elf/dl-reloc.c (allocate_static_tls): Fix calculations.
...
From Jakub Jelinek <jakub@redhat.com>.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
which duplicated the O_DIRECT defn.
2003-03-01 GOTO Masanori <gotom@debian.or.jp>
* stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
random functions.
* resolv/Makefile (tests): Don't depend on
$(objpfx)mtrace-tst-leaks when cross compiling.
2003-03-01 22:32:04 +00:00
Andreas Schwab
3d5c082124
(_dl_start_user): Access __libc_stack_end through GOT since it is a global symbol.
2003-03-01 15:33:11 +00:00
Ulrich Drepper
c340cedafc
(O_DIRECT): Define.
2003-03-01 00:09:52 +00:00
Roland McGrath
a6963e69b5
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
...
special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
repeat it and avoids the test for the common case.
Clean up and fix calculations for TLS relocs.
* sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
* sysdeps/powerpc/dl-tls.h: ... here.
(TLS_TP_OFFSET): New macro.
* sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
2003-02-28 04:55:04 +00:00
Ulrich Drepper
427f5fa1a4
Update.
...
2003-02-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
code generation changes in recent gcc.
2003-02-27 22:29:25 +00:00
Roland McGrath
73a061bbe9
* sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
...
Rename argument to avoid symbol conflict.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
[__USE_GNU] (O_DIRECT): New macro.
2003-02-27 20:57:19 +00:00
Ulrich Drepper
d2637c7053
Update.
...
2003-02-24 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
unwind info.
2003-02-27 10:32:38 +00:00
Roland McGrath
afafddabf3
* sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
...
* sysdeps/powerpc/powerpc64/dl-tls.h: New file.
2003-02-26 00:34:09 +00:00
Roland McGrath
4e5b051fad
Revert unintentional commits.
2003-02-26 00:01:15 +00:00
Roland McGrath
1d02f71fe4
linuxthreads/ChangeLog
...
2003-02-25 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
* sysdeps/powerpc/powerpc64/dl-tls.h: New file.
2003-02-25 23:45:16 +00:00
Roland McGrath
fec4171904
2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
...
* elf/elf.h: Add new R_PPC64_* relocs for TLS.
* elf/tls-macros.h [__powerpc64__]
(TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define.
* sysdeps/powerpc/powerpc64/elf/configure.in: New file.
* sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
2003-02-25 23:27:06 +00:00
Roland McGrath
3c2a3b4106
2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
...
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
2003-02-25 23:26:51 +00:00
Ulrich Drepper
80d807799f
Update.
...
2003-02-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
test.
2003-02-25 02:46:33 +00:00
Roland McGrath
d102d69999
2003-02-24 Roland McGrath <roland@redhat.com>
...
* sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
2003-02-24 22:35:53 +00:00
Roland McGrath
98d8dc64a9
2003-02-23 Roland McGrath <roland@redhat.com>
...
* sysdeps/posix/pause.c: New file.
* sysdeps/unix/common/pause.c: File removed.
2003-02-24 03:51:24 +00:00
Ulrich Drepper
5e47b76b50
Update.
...
* Makefile (tests): Add tst-tls1 and tst-tls2.
* tst-tls1.c: New file.
* tst-tls2.c: New file.
2003-02-24 03:50:46 +00:00
Ulrich Drepper
cdd8e46f88
Update.
...
* sysdeps/generic/bits/confname.h: Remove #ifs.
2003-02-24 00:12:23 +00:00
Ulrich Drepper
ae6b1dfc2b
Avoid warning.
2003-02-23 05:05:02 +00:00
Roland McGrath
e8783fd53d
* malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.
...
* malloc/thread-freeres.c: New file.
* malloc/Makefile (aux): Add it.
* sunrpc/Versions (GLIBC_PRIVATE): Removed.
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
"__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
2003-02-21 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
* iconvdata/Makefile (tests): Add bug-iconv3 only if
[$(have-thread-library) = yes].
2003-02-22 00:55:36 +00:00
Roland McGrath
113d33e776
2003-02-21 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
2003-02-22 00:26:55 +00:00
Ulrich Drepper
9c03686dcc
Update.
...
* sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
2003-02-22 00:02:57 +00:00
Ulrich Drepper
1c848253fc
Update.
...
2003-02-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
not chechk for errors (unless testing for 32bit variant).
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2003-02-22 00:00:19 +00:00
Ulrich Drepper
6f50cb0027
Update.
...
* sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
Check for signed overflow, not unsigned.
2003-02-21 Jakub Jelinek <jakub@redhat.com>
2003-02-21 19:25:36 +00:00
Ulrich Drepper
cef0a48dd1
Update.
...
2003-02-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/elf/configure.in: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
Use -fcall-used-g6, not -fcall-used-g7.
2003-02-21 19:11:49 +00:00
Ulrich Drepper
d7c46bb668
Additional configury for SPARC64/ELF.
2003-02-21 18:58:10 +00:00
Andreas Jaeger
2e58582091
* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
...
mode.
* sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
clear whole mxcsr but only exceptions.
2003-02-21 16:18:50 +00:00
Roland McGrath
9b39d555d6
2003-02-21 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
to match existing struct stat layout in mig protocols.
2003-02-21 08:19:41 +00:00
Ulrich Drepper
ec503662b4
Update.
...
2003-02-20 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.3.2.
* elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
and dl-sysdep.h.
* sysdeps/generic/Dist: Add sysdep-cancel.h.
* sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
* sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
* sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
* sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
ucontext_i.h.
* Makefile (distribute): Add include/stubs-prologue.h,
include/gnu/stubs.h, scripts/merge-abilist.awk, and
scripts/extract-abilist.awk.
2002-02-20 Paolo Bonzini <bonzini@gnu.org>
2003-02-21 07:07:52 +00:00
Ulrich Drepper
6eb74f3365
Update.
...
2003-02-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
patch to check for system call errors.
2003-02-21 00:12:29 +00:00
Ulrich Drepper
0585697658
Update.
...
2002-07-24 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
on unknown systems.
2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
if possible.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
interprocedure branches.
* sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
* sysdeps/powerpc/nofpu/Dist: ...here.
* sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
* sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
* sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
* sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
2003-02-20 22:23:34 +00:00
Ulrich Drepper
a592f998bb
Update.
...
2003-02-18 Alan Modra <amodra@bigpond.net.au>
* sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
2003-02-20 20:30:02 +00:00
Ulrich Drepper
44ed664bfd
Update.
...
2003-02-20 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
missing arguments to INTERNAL_SYSCALL_ERROR_P and
INTERNAL_SYSCALL_ERRNO.
2003-02-20 20:23:25 +00:00
Ulrich Drepper
c3293cba95
(__real_chown): Test for __ASSUME_32BITUIDS.
2003-02-20 20:05:26 +00:00
Andreas Schwab
ccc081e1b6
Add MADV_* and POSIX_MADV_* constants.
2003-02-20 13:23:24 +00:00
Ulrich Drepper
01b2885290
Update.
...
2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/pread.c: New file.
* sysdeps/unix/sysv/linux/sh/pread64.c: New file.
* sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
* sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
* stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
2003-02-20 05:30:35 +00:00
Ulrich Drepper
2f7dc59492
Update.
...
2003-02-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
invalid file descriptors and missing access permissions.
2003-02-18 21:04:15 +00:00
Ulrich Drepper
46d7e2ba22
Update.
...
2003-02-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
TTY_NAME_MAX and not the _POSIX_* minimal value macros.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.
2003-02-18 03:46:54 +00:00
Ulrich Drepper
7d78ab990f
Update.
...
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.
2003-02-17 22:57:19 +00:00
Ulrich Drepper
b2740a3b0a
Update.
...
2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
* sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2003-02-17 20:46:52 +00:00
Ulrich Drepper
81b5057288
Update.
...
2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
* sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
* sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
2003-02-17 19:15:42 +00:00
Roland McGrath
b0104b6f8d
* mach/errsystems.awk: Include <errno.h> in generated output.
2003-02-16 03:55:27 +00:00
Roland McGrath
8321ef15ae
* sysdeps/mach/hurd/tls.h: New file.
...
* sysdeps/mach/hurd/i386/tls.h: New file.
2003-02-16 03:02:08 +00:00
Roland McGrath
c06b8d60f4
2003-02-15 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
use target mach-before-compile instead of generated.
(mach-before-compile): New target.
* Makerules: Disable use of tls.make if $(generating) is set.
* mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
* sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
mach-shortcuts.h so mach/ generation happens before hurd/.
2003-02-15 22:59:19 +00:00
Ulrich Drepper
a439bb2fa3
Update.
...
* sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
of demorm correctly if low word is zero.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
2003-02-15 05:25:17 +00:00
Ulrich Drepper
472022708e
Update.
...
2003-02-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
counter and only call __exit_thread if this is not the last thread.
2003-02-14 23:31:11 +00:00
Ulrich Drepper
dac0f77234
Update.
...
2003-02-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
subtracting map->l_tls_offset.
2003-02-14 06:11:21 +00:00
Ulrich Drepper
2067577c71
Update.
...
* sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
_CS_GNU_LIBPTHREAD_VERSION.
* posix/conststr.c: Handle these new values.
* posix/getconf.c: Likewise.
* io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
2003-02-12 22:33:22 +00:00
Ulrich Drepper
7437cbd112
Update.
...
2003-02-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
masking of version index.
Patch by Lance Larsh <Lance.Larsh@oracle.com>.
2003-02-12 09:43:55 +00:00
Ulrich Drepper
2a051a7d1a
Update.
...
2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
for SH.
* sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
after the trapa instruction.
* sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
parameters.
* sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
(NEED_SYSCALL_INST_PAD): Define.
* sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
avoid to use definition for the kernel.
* sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
Save and restore the frame pointer.
(SYSCALL_INST_PAD): Define.
(INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
(INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
after trapa instruction.
(INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
2003-02-08 02:34:27 +00:00
Ulrich Drepper
ce96c93de5
Update.
...
2002-11-24 Robert Love <rml@tech9.net>
* posix/sched.h: Second parameter of sched_setaffinity and
sched_getaffinity is `unsigned int', not `unsigned long'.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/generic/sched_getaffinity.c: Likewise.
Reported by John Levon <levon@movementarian.org>.
2003-02-06 19:15:14 +00:00
Ulrich Drepper
5cd09cd648
Update.
...
* sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2003-02-05 23:30:38 +00:00
Ulrich Drepper
b33b0d0dfb
Update.
...
2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/system.c: New file.
2003-02-04 18:39:02 +00:00
Ulrich Drepper
6900ded22f
Update.
...
2003-02-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
check.
* config.h.in (BROKEN_SPARC_WDISP22): Add.
2003-02-04 08:41:05 +00:00
Ulrich Drepper
432a73f725
memmove for i686.
2003-02-04 07:51:36 +00:00
Ulrich Drepper
3e4fc359f4
Update.
...
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
Include kernel-features.h
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2003-02-03 21:57:42 +00:00
Ulrich Drepper
4f088329f3
Update.
...
2003-02-03 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (allocate_stack): Implement coloring of the
allocated stack memory. Rename pagesize to pagesize_m1. It's the
size minus one. Adjust users.
2003-02-03 20:53:19 +00:00
Ulrich Drepper
38e68573bc
Update.
...
2003-02-01 Ulrich Drepper <drepper@redhat.com>
* time/tzfile.c (__tzfile_compute): Change return value type to
void. Adjust return statements.
* include/time.h (__tzfile_compute): Adjust prototype.
2003-02-01 Jim Meyering <jim@meyering.net>
* time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
always returns 1.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
[!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
back to 2.4.19 for powerpc64.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
(__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
2003-02-01 Ulrich Drepper <drepper@redhat.com>
* wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
platforms with strange alignment requirements on wchar_t.
2003-02-01 20:53:16 +00:00
Ulrich Drepper
a156ac0953
Remove __GI_* aliases, already added by make-syscalls.sh.
2003-01-31 03:40:10 +00:00
Andreas Schwab
13a482595d
(sysdep-CFLAGS): Don't define, not needed any more.
2003-01-30 23:52:52 +00:00
Ulrich Drepper
c4c1336c98
Update.
...
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
not l to load tls from stack.
2003-01-30 21:09:44 +00:00
Roland McGrath
2806140931
2003-01-30 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
null argument before all else.
Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2003-01-30 20:46:44 +00:00
Ulrich Drepper
7ba7c8291a
Update.
...
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
Move to RESOLVE protected part of the header.
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
Likewise.
2003-01-30 Ulrich Drepper <drepper@redhat.com>
* stdio-common/Makefile (tests): Add bug15.
(bug15-ENV): Define.
* stdio-common/bug15.c: New file.
2003-01-30 20:26:38 +00:00
Ulrich Drepper
886d5973b7
Update.
...
2002-10-07 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c (sYSMALLOc): Only check for breakage due
to foreign sbrk()'s if arena is contiguous. Bug report from
Bruno Haible <bruno@clisp.org>.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/s390/libc-tls.c: Include stdlib.h.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
ps.__count.
2003-01-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
restoring of %r6.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
64-bit load.
Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
(allocate_static_tls): ...here. Add __attribute_noinline__.
Don't return on failure.
(_dl_reloc_bad_type): Add __attribute_noinline__.
* elf/do-rel.h (elf_dynamic_do_rel): Add
__attribute__((always_inline)).
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative,
elf_machine_lazy_rel): Add prototypes with
__attribute__((always_inline)).
2003-01-29 David Mosberger <davidm@hpl.hp.com>
* elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
2003-01-30 18:41:47 +00:00
Ulrich Drepper
567678b685
Update.
...
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self
variable.
* sysdeps/ia64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/s390/s390-32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/s390/s390-64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sh/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
2003-01-30 18:04:01 +00:00
Ulrich Drepper
1e2f871859
Update.
...
(__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
2003-01-29 03:25:37 +00:00
Ulrich Drepper
1e49399dbe
Update.
...
2003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
(__fe_nomask_env): Change __prctl call to INLINE_SYSCALL.
2003-01-29 03:14:29 +00:00
Ulrich Drepper
db34912eb0
Update.
...
2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
clone parameters to match the order used on ia32.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2003-01-28 18:51:03 +00:00
Ulrich Drepper
e6ebd2e4db
Update.
...
2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf/elf.h: Add new s390 relocs.
* elf/tls-macros.h: Add s390 versions.
* sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
* sysdeps/s390/dl-tls.h: New file.
* sysdeps/s390/libc-tls.c: New file.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
relocs for class PLT.
(elf_machine_rela): Handle TLS relocs.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
* sysdeps/s390/s390-64/elf/configure.in: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
CLONE_CHILD_*TID flags.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
bit offset.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
(SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
(SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
variants.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
(SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
(SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
variants.
2003-01-28 10:42:28 +00:00
Ulrich Drepper
772e3426a7
Update.
...
2003-01-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/common/pause.c (do_pause): New function. Split
from __libc_pause. Implement using sigsuspend.
(__libc_pause): Call do_pause to do the real work.
* sysdeps/posix/sigpause.c (do_sigpause): Check range of
sig_or_mask parameter is is_sig != 0.
2003-01-28 09:08:07 +00:00
Ulrich Drepper
0566b130fb
Update.
...
2003-01-21 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
2003-01-28 08:30:50 +00:00
Ulrich Drepper
1fc469088e
Update.
...
* stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
instead of __libc_cleanup_region_start and _IO_cleanup_region_end
instead of __libc_cleanup_region_end.
* sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
as first parameter to __libc_cleanup_region_start.
2003-01-28 06:46:50 +00:00
Ulrich Drepper
68ff8426c6
Update.
...
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
(__fe_nomask_env): Use __prctl not prctl.
* sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
prctl syscall.
2003-01-28 05:59:24 +00:00
Ulrich Drepper
62f29da7cb
Update.
...
2003-01-26 Andreas Schwab <schwab@suse.de>
* sysdeps/wordsize-32/divdi3.c: Export the functions only as
compatibility symbols. Remove INTDEF for __divdi3.
* sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
* sysdeps/powerpc/powerpc32/divdi3.c: Remove.
* sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
define.
* sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
2003-01-24 Jakub Jelinek <jakub@redhat.com>
* elf/tls-macros.h: Add SPARC 32-bit definitions.
* sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
* sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
for the first half of the header. Include tls.h.
(elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
relocs too.
(elf_machine_rela): Handle TLS relocs.
* sysdeps/sparc/dl-tls.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
support.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memcpy.S: Likewise.
* sysdeps/sparc/sparc32/strcat.S: Likewise.
* sysdeps/sparc/sparc32/strchr.S: Likewise.
* sysdeps/sparc/sparc32/strcmp.S: Likewise.
* sysdeps/sparc/sparc32/strcpy.S: Likewise.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/hp-timing.h: Likewise.
* sysdeps/sparc/sparc64/memcpy.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/strncmp.S: Likewise.
* sysdeps/sparc/sparc64/strncpy.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2003-01-24 Andreas Schwab <schwab@suse.de>
* elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
elements, and process them backwards.
* elf/Makefile ($(objpfx)tst-array4): New target.
($(objpfx)tst-array4.out): Likewise.
(tests) [$(have-initfini-array) = yes]: Add tst-array4.
* elf/tst-array4.c: New file.
* elf/tst-array4.exp: Likewise.
2003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
2003-01-27 Guido Guenther <agx@sigxcpu.org>
* sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
* sysdeps/unix/sysv/linux/mips/pread.c: Add support for
cancellation handling and handle both __NR_pread64 and __NR_pread.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
case, use register names consistently.
2003-01-27 Wolfram Gloger <wg@malloc.de>
* malloc/hooks.c (mem2chunk_check): Check alignment of mem
pointer, not of the computed chunk. Bug report from Carlos
O'Donell <carlos@baldric.uwo.ca>.
2003-01-27 21:03:22 +00:00
Andreas Schwab
a8433bdddc
(_dl_start_user): Use pc-relative addressing to save GOT entries.
2003-01-25 23:07:04 +00:00
Roland McGrath
4021f9ea0b
2003-01-21 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/alpha/sysdep.h (inline_syscall0,
inline_syscall1, inline_syscall2, inline_syscall3,
inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
__attribute__((unused)) to ChEcK.
2003-01-22 02:07:54 +00:00
Ulrich Drepper
46086bc896
Update.
2003-01-21 05:45:26 +00:00
Ulrich Drepper
d5b6c81799
Update.
...
2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
Fix inline assembler constraints.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
Likewise.
* sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
-fPIC.
2003-01-20 18:59:08 +00:00
Roland McGrath
86583139a4
2003-01-20 Segher Boessenkool <segher@koffie.nl>
...
* sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
compute the cosine, not the sine, even if x > 0.8.
2003-01-20 05:25:30 +00:00
Ulrich Drepper
0f0b799489
Update.
...
2003-01-17 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
relocs for class PLT.
* sysdeps/alpha/libc-tls.c: New file.
* sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
(LOADGP) [!PIC]: Rewrite to preserve caller's gp.
2003-01-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
__libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
on _dl_static_lock.
2003-01-17 19:57:05 +00:00
Ulrich Drepper
d1852dbb73
(_dl_static_init): Use __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock on _dl_static_lock.
2003-01-17 19:14:38 +00:00
Ulrich Drepper
8824b0a1bf
Update.
...
2003-01-17 Ulrich Drepper <drepper@redhat.com>
* Makefile (headers): Add bits/semaphore.h.
2003-01-17 10:07:21 +00:00
Ulrich Drepper
609b478356
Update.
...
2003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
is 2.4.21.
2003-01-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/glob.c (glob): Assume sysconf() always returns
values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
buffers.
* sysdeps/generic/sysconf.c: Unconditionally implement
_SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
* sysdeps/posix/sysconf.c: Likewise.
2003-01-17 01:02:24 +00:00
Ulrich Drepper
a1f8ec97fd
Update.
...
2003-01-15 Dmitry V. Levin <ldv@altlinux.org>
* sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
2003-01-16 18:14:10 +00:00
Ulrich Drepper
c16abc04e8
Update.
...
2003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
sysdep-cancel.h, not sysdep.h.
2003-01-15 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c (nscd_run): Protect accept call with
TEMP_FAILURE_RETRY.
2003-01-15 23:04:20 +00:00