aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2001-08-16Update.Ulrich Drepper
2001-08-14 Tom Rix <trix@redhat.com> * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV. * iconv/Makefile: Fix gconv_cache.c CFLAGS. 2001-08-13 Tom Rix <trix@redhat.com> * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols. * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t and __intptr_t. 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext): Store the access registers to the ucontext structure. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext): Load the access registers from the ucontext structure. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx offsets to the new ucontext layout. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout of the ucontext structure. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2001-08-15(atomic_add): Don't allow address register for operand 0.Andreas Schwab
2001-08-14Copy from ldbl-96/w_expl.c with tweaked constantsAndreas Jaeger
2001-08-13Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions flag for init-first.
2001-08-13(MCOUNT): Don't use delay slot for jal since jal is a macro.Andreas Jaeger
2001-08-13* sysdeps/mach/hurd/clock.c: New file.Roland McGrath
* sysdeps/mach/hurd/times.c: New file. * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000. * sysdeps/mach/hurd/init-posix.c: New file.
2001-08-12* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.Roland McGrath
* sysdeps/mach/hurd/bits/time.h (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros. * sysdeps/mach/hurd/i386/bits/time.h: File removed.
2001-08-11Update.Ulrich Drepper
* sysdeps/arm/init-first.c: Likewise. * sysdeps/generic/init-first.c: Likewise. * sysdeps/i386/init-first.c: Likewise. * sysdeps/sh/init-first.c: Likewise.
2001-08-11j0 implementation for 128-bit long doubles.Andreas Jaeger
2001-08-11Update.Ulrich Drepper
2001-08-11 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (ptmalloc_init): Don't call getenv five times. Instead use new function next_env_entry which iterates over the environment once. * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set _dl_profile_map for the right object. * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result only if consider_profiling is != 0, not if _dl_profile != NULL. * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit. Now returns pointer to first character set "LD_". * elf/rtld.c (process_envvars): Adjust for change above. * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. 2001-08-10 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect() to allocate new memory, for better performance with Linux-2.4.x.
2001-08-08(__ilogbl): Fix test for infinity.Andreas Jaeger
2001-08-08Update.Ulrich Drepper
2001-08-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h funcationality. * sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment. 2001-08-07 Jakub Jelinek <jakub@redhat.com> * malloc/memusage.c (initialized): New variable. (init): If not yet initialized, call me(). (me): Do all dlsym calls here. (malloc, realloc, calloc, free): If not yet initialized, call me(). If in the middle of initializing, return NULL or do nothing.
2001-08-08Update.Ulrich Drepper
2001-08-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos. * dirent/tst-seekdir.c (main): Check whether telldir right after seekdir returns 2nd argument given to seekdir. 2001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to LD_LIBRARY_PATH.
2001-08-06* sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename memberRoland McGrath
d_fileno to d_ino. (struct dirent64): Likewise. (d_fileno): Define as macro.
2001-08-052001-08-04 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented by the microkernel (which it's not).
2001-08-042001-07-30 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle syntax so both function and pointer-to-function arguments work right.
2001-08-02Fixed incorrect use of mvcle introduced by 2001-07-12 change.Andreas Jaeger
2001-07-31Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs register so that contexts can be used in different threads. * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2001-07-31Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct test for cmsg struct size. * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise. * sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary initializations. * libio/oldiopopen.c: Add lock for old_proc_file_chain access.
2001-07-31Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed. * sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed. * sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed. * sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed. * sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-30Update.Andreas Jaeger
* sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by Stephen L Moshier.
2001-07-29* sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New ↵Mark Kettenis
file. 2001-07-29 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New file.
2001-07-28Update.Ulrich Drepper
* sysdeps/mips/Dist: Remove non-existing files. * sysdeps/mips/mips64/Dist: Likewise. * sysdeps/mips/mipsel/Dist: Removed. * iconv/Makefile (distribute): Add strtab.c and iconvconfig.h. * sysdeps/generic/Dist: Add bits/link.h. * sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h. * sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and dl-error.c. * sysdeps/ia64/Dist: Add bits/link.h.
2001-07-27Update.Andreas Jaeger
2001-07-27 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix value following change from 2001-05-30. * sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow rename change from 2001-07-12 for __jmp_buf. Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
2001-07-27(SC_GPRS): Fix value following change from 2001-05-30.Andreas Jaeger
2001-07-262001-07-26 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional on __USE_MISC rather than __USE_BSD. (B57600, B115200, B230400, B460800, B500000, B576000, B921600, B1000000, B1152000, B1500000, B2000000, B2500000, B3000000, B3500000, B4000000): New macros. * sysdeps/generic/tcsetattr.c (bad_speed): Accept those values. * termios/cfsetspeed.c (speeds): Likewise.
2001-07-26Update.Ulrich Drepper
2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use multi-line strings. (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. (elf_machine_rela): Handle unaligned relocation.
2001-07-26Update.Ulrich Drepper
2001-06-07 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to __ia64_make_fptr() for new interface. (_dl_function_address): Remove. * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200. (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next" pointer. Rename member "func" to "ip". (struct ia64_fdesc_table): New type. (__ia64_make_fptr): Change prototype. (__ia64_init_bootstrap_fdesc_table): New function. (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro. (__boot_ldso_fptr): Removed. (__fptr_next): Removed. (__fptr_root): Removed. (__fptr_count): Removed. (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line strings to avoid warning from gcc3. (RTLD_START): Don't use multi-line strings. (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS. (elf_machine_fixup_plt): Update the code entry point in the function descriptor through a "volatile" pointer to ensure proper write ordering. (elf_machine_rela): Simplify handling of FPTR relocs: always call __ia64_make_fptr(). * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro. (DL_STATIC_FUNCTION_ADDRESS): Likewise. (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS. (DL_DT_FINI_ADDRESS): Likewise. * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to avoid deadlocks. * include/link.h: Add member machine specific "l_mach" member to link_map. * sysdeps/generic/bits/link.h: New file. * sysdeps/ia64/bits/link.h: Likewise. * elf/rtld.c (_dl_start): Fix typo in comment. (_dl_start_final): Copy new "l_mach" member from temporary to final bootstrap map.
2001-07-25Update.Ulrich Drepper
2001-07-25 Ulrich Drepper <drepper@redhat.com> * csu/gmon-start.c: Use ENTRY_POINT_DECL is defined instead of a declaration using ENTRY_POINT. * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition. 2001-07-25 H.J. Lu <hjl@gnu.org> * csu/gmon-start.c: Include <entry.h> (_start): Replaced with ENTRY_POINT.
2001-07-25* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.Mark Kettenis
2001-07-25 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
2001-07-25Update.Ulrich Drepper
2001-07-25 Jakub Jelinek <jakub@redhat.com> * elf/Makefile (routines): Add dl-iteratephdr and dl-iteratephdr-static. (elide-routines.os): Add dl-iteratephdr-static. * elf/dl-iteratephdr.c: New file. * elf/link.h (struct dl_phdr_info): New definition. (dl_iterate_phdr): New prototype. * elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4. * include/link.h (struct dl_phdr_info): New definition. (dl_iterate_phdr, __dl_iterate_phdr): New prototypes. * sysdeps/generic/dl-iteratephdr-static.c: New file. * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file. * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization of pending signals.
2001-07-25(__elf_preferred_address): Prefer gaps below main executable.Andreas Jaeger
2001-07-24Initialize %fs, %gs, and floating-point status as well.Ulrich Drepper
2001-07-24Update.Ulrich Drepper
* libio/genops.c (_IO_list_all_stamp): New variable. (_IO_un_link): Bump _IO_list_all_stamp after removing from list. (_IO_link): Likewise for insertion. (flush_cleanup): New function. (_IO_flush_all): Get list_all_lock and all individual locks for the streams. Detect and handle changes to the _IO_list_all list. (_IO_flush_all_linebuffered): Likewise. * sysdeps/generic/bits/stdio-lock.h: Define _IO_cleanup_region_start_noarg. * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
2001-07-23Update.Andreas Jaeger
2001-07-23 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper sign for 0 input and set divide by zero exception for -1 input. Return argument if NaN or infinity.
2001-07-23Add some deltas.Andreas Jaeger
2001-07-23Update.Andreas Jaeger
2001-07-23 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper sign for 0 input. Return NaN with no exception for NaN input.
2001-07-23* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHANDRoland McGrath
and SA_NODEFER options. Spurred to action by Igor Khavkine. * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC] (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD. [__USE_MISC] (SA_INTERRUPT): New macro, value 0. [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases as in other sysdeps versions of this file. * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union and provide sa_handler and sa_sigaction member names as macros, as done in other sysdeps versions of this file. Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
2001-07-22* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don'tAndreas Schwab
mark asm input operand as clobbered. * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
2001-07-22(INLINE_SYSCALL): Don't mark asm input operand as clobbered.Andreas Schwab
2001-07-212001-07-20 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/device-nrs.h: Comment fix, typo fix.
2001-07-21* sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument typeRoland McGrath
from `dev_t' (st_rdev value) `const struct stat *'. * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise. * libio/filedoalloc.c (_IO_file_doallocate): Change caller. * sysdeps/mach/hurd/device-nrs.h: New file.
2001-07-20Synch with kernel.Andreas Jaeger
2001-07-18Define DEV_TTY_P.Ulrich Drepper
2001-07-17Fix last change.Andreas Schwab
2001-07-17Update.Ulrich Drepper
2001-07-17 Ulrich Drepper <drepper@redhat.com> * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream. * inet/ruserpass.c (ruserpass): Likewise. * nss/nsswitch.c (nss_parse_file): Likewise. * resolv/res_hconf.c (_res_hconf_init): Likewise. * resolv/res_init.c (__res_vinit): Likewise. * gmon/bb_exit_func.c (__bb_exit_func): Likewise. * misc/getpass.c (getpass): Likewise. * misc/getusershell.c (initshells): Likewise. * misc/getttyent.c (setttyent): Likewise. * misc/mntent_r.c (__setmntent): Likewise. * time/getdate.c (__getdate_r): Likewise. * time/tzfile.c (__tzfile_read): Likewise. * iconv/gconv_conf.c (read_conf_file): Likewise. * intl/localealias.c (read_alias_file): Disable implicit locking for the stream. Use _unlocked functions for glibc. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable implicit locking for the stream. (__get_nprocs_conf): Likewise. (phys_pages_info): Likewise.
2001-07-16Update.Ulrich Drepper
2001-07-13 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed. (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined. (RESOLVE_GOTSYM): Rewrite to use RESOLVE. * sysdeps/mips/rtld-ldscript.in: Removed. * sysdeps/mips/rtld-parms: Likewise. * sysdeps/mips/mips64/rtld-parms: Likewise. * sysdeps/mips/mipsel/rtld-parms: Likewise.
2001-07-16Update.Ulrich Drepper
2001-07-16 Andreas Schwab <schwab@suse.de> * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers. 2001-07-16 Andreas Schwab <schwab@suse.de> * math/libm-test.inc (check_float_internal): Fix sign bit test of infinities. 2001-07-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
2001-07-16Update.Ulrich Drepper
2001-07-15 Ulrich Drepper <drepper@redhat.com> * malloc/obstack.c: Define __attribute__ for non-gcc compilers. Patch by Jim Meyering <jim@meyering.net>. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder fields in the sigaction struct to match the definition in the kernel. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the test for ENOSYS. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores to the entries in the __jmp_buf structure. * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks (> 64K) and a mvc loop for small blocks. * sysdeps/s390/s390-32/memcpy.S: Likewise. * sysdeps/s390/s390-64/bcopy.S: Likewise. * sysdeps/s390/s390-64/memcpy.S: Likewise.
2001-07-16Use mvcle for big blocks (> 64K) and a mvc loop for small blocks.Ulrich Drepper