about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2001-08-1610-39/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (atomic_add): Don't allow address register for operand 0.Andreas Schwab2001-08-151-1/+1
|
* Copy from ldbl-96/w_expl.c with tweaked constantsAndreas Jaeger2001-08-141-0/+58
|
* Update.Ulrich Drepper2001-08-131-2/+0
| | | | | * sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions flag for init-first.
* (MCOUNT): Don't use delay slot for jal since jal is a macro.Andreas Jaeger2001-08-131-2/+3
|
* * sysdeps/mach/hurd/clock.c: New file.Roland McGrath2001-08-134-22/+136
| | | | | | * sysdeps/mach/hurd/times.c: New file. * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000. * sysdeps/mach/hurd/init-posix.c: New file.
* * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.Roland McGrath2001-08-122-74/+6
| | | | | | * 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.
* Update.Ulrich Drepper2001-08-117-5/+33
| | | | | | | * sysdeps/arm/init-first.c: Likewise. * sysdeps/generic/init-first.c: Likewise. * sysdeps/i386/init-first.c: Likewise. * sysdeps/sh/init-first.c: Likewise.
* j0 implementation for 128-bit long doubles.Andreas Jaeger2001-08-111-0/+908
|
* Update.Ulrich Drepper2001-08-114-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (__ilogbl): Fix test for infinity.Andreas Jaeger2001-08-081-3/+7
|
* Update.Ulrich Drepper2001-08-082-6/+10
| | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-08-081-2/+3
| | | | | | | | | | | | | | 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.
* * sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename memberRoland McGrath2001-08-061-4/+6
| | | | | | d_fileno to d_ino. (struct dirent64): Likewise. (d_fileno): Define as macro.
* 2001-08-04 Roland McGrath <roland@frob.com>Roland McGrath2001-08-051-1/+15
| | | | | * sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented by the microkernel (which it's not).
* 2001-07-30 Roland McGrath <roland@frob.com>Roland McGrath2001-08-041-2/+2
| | | | | * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle syntax so both function and pointer-to-function arguments work right.
* Fixed incorrect use of mvcle introduced by 2001-07-12 change.Andreas Jaeger2001-08-022-5/+3
|
* Update.Ulrich Drepper2001-07-313-20/+12
| | | | | | | * 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.
* Update.Ulrich Drepper2001-07-313-20/+4
| | | | | | | | | | | * 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.
* Update.Andreas Jaeger2001-07-315-25/+0
| | | | | | | | * 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.
* Update.Andreas Jaeger2001-07-301-0/+84
| | | | | * sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by Stephen L Moshier.
* * sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New ↵Mark Kettenis2001-07-292-0/+296
| | | | | | | | | file. 2001-07-29 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New file.
* Update.Ulrich Drepper2001-07-287-4/+6
| | | | | | | | | | | | * 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.
* Update.Andreas Jaeger2001-07-271-4/+3
| | | | | | | | | | | 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>.
* (SC_GPRS): Fix value following change from 2001-05-30.Andreas Jaeger2001-07-271-3/+2
|
* 2001-07-26 Roland McGrath <roland@frob.com>Roland McGrath2001-07-262-3/+33
| | | | | | | | | | * 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.
* Update.Ulrich Drepper2001-07-261-171/+203
| | | | | | | | | 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.
* Update.Ulrich Drepper2001-07-266-457/+539
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-07-251-0/+3
| | | | | | | | | | | | | 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.
* * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.Mark Kettenis2001-07-251-0/+316
| | | | | | 2001-07-25 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
* Update.Ulrich Drepper2001-07-252-0/+92
| | | | | | | | | | | | | | | | | | | 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.
* (__elf_preferred_address): Prefer gaps below main executable.Andreas Jaeger2001-07-251-1/+5
|
* Initialize %fs, %gs, and floating-point status as well.Ulrich Drepper2001-07-241-0/+16
|
* Update.Ulrich Drepper2001-07-242-2/+6
| | | | | | | | | | | | | * 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.
* Update.Andreas Jaeger2001-07-231-11/+11
| | | | | | | | 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.
* Add some deltas.Andreas Jaeger2001-07-231-9/+31
|
* Update.Andreas Jaeger2001-07-231-10/+14
| | | | | | | 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.
* * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHANDRoland McGrath2001-07-231-2/+19
| | | | | | | | | | | | | | | 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>.
* * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don'tAndreas Schwab2001-07-221-1/+1
| | | | | mark asm input operand as clobbered. * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
* (INLINE_SYSCALL): Don't mark asm input operand as clobbered.Andreas Schwab2001-07-221-1/+1
|
* 2001-07-20 Roland McGrath <roland@frob.com>Roland McGrath2001-07-211-2/+2
| | | | * sysdeps/mach/hurd/device-nrs.h: Comment fix, typo fix.
* * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument typeRoland McGrath2001-07-213-4/+32
| | | | | | | 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.
* Synch with kernel.Andreas Jaeger2001-07-201-1/+1
|
* Define DEV_TTY_P.Ulrich Drepper2001-07-182-2/+20
|
* Fix last change.Andreas Schwab2001-07-171-0/+1
|
* Update.Ulrich Drepper2001-07-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-07-165-181/+16
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-07-162-6/+6
| | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-07-164-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use mvcle for big blocks (> 64K) and a mvc loop for small blocks.Ulrich Drepper2001-07-164-14/+61
|