about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #1468]Ulrich Drepper2005-10-142-6/+48
| | | | | | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR. Patch by Nicholas Miell <nmiell@comcast.net>.
* [BZ #1458]Ulrich Drepper2005-10-147-6/+12
| | | | | | | | | | | | | | | 2005-10-14 Ulrich Drepper <drepper@redhat.com> [BZ #1458] * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. * misc/sys/mman.h: Add ellipsis after last parameter of mremap and adjust leading comment. * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to mremap syscall.
* [BZ #1466]Ulrich Drepper2005-10-133-9/+9
| | | | | | | | | * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return principal square root. * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise. * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise. * math/libm-test.inc (csqrt_test): Add test for returning principal value.
* * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro.Ulrich Drepper2005-10-101-8/+11
| | | | | | (__bswap_16): Use it. (__bswap_constant_32): New macro. (__bswap_32): Use it.
* * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail becauseUlrich Drepper2005-10-061-1/+1
| | | | the file does not exist.
* Allow fopen to fail because the file does not exist.Ulrich Drepper2005-10-061-1/+9
|
* * sysdeps/generic/ldsodefs.h (struct audit_ifaces):Roland McGrath2005-10-052-0/+17
| | | | | | | | Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined. * elf/tst-auditmod1.c: Include <tst-audit.h> to define more architecture-specific code. * sysdeps/generic/tst-audit.h: New file. * elf/Makefile (distribute): Add it.
* sysdeps/powerpc/nofpu moved to ports cvs/fedora-glibc-20051003T2040Roland McGrath2005-10-0321-1567/+0
| | | | | | 2005-10-03 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
* * posix/regexec.c (update_cur_sifted_state, check_arrival,Ulrich Drepper2005-09-301-0/+16
| | | | | | | | check_arrival_add_next_nodes): Avoid using uninitialized variable. * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches. * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x.
* Close descriptor in case of error.Ulrich Drepper2005-09-281-1/+5
|
* * dirent/dirent.h: Declare fdopendir.Ulrich Drepper2005-09-283-13/+91
| | | | | | | | | | | | * dirent/Versions: Export fdopendir for GLIBC_2.4. * dirent/Makefile (routines): Add fdopendir. (tests): Add tst-fdopendir. * dirent/tst-fdopendir.c: New file. * include/dirent.h: Declare __alloc_dir. * sysdeps/generic/fdopendir.c: New file. * sysdeps/unix/fdopendir.c: New file. * sysdeps/unix/opendir.c: Split off back part of opendir into new function __alloc_dir.
* [BZ #1384]Roland McGrath2005-09-281-0/+18
| | | | | | | 2005-09-26 Steven Munroe <sjmunroe@us.ibm.com> [BZ #1384] * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn, ynf results.
* (fls): New function. (gaih_inet): Don't use ffs, use fls. Convert address ↵Ulrich Drepper2005-09-261-6/+21
| | | | to native byte order first.
* [BZ #524]Ulrich Drepper2005-09-261-1/+1
| | | | | | * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop of number of bits is multiple of 8. Patch by Fredrik Tolf <fredrik@dolda2000.com>.
* 2005-09-24 Roland McGrath <roland@redhat.com>Roland McGrath2005-09-252-58/+0
| | | | | * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository. * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
* [BZ #1346]Roland McGrath2005-09-201-2/+2
| | | | | | | | | | 2005-09-20 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl. [BZ #1346] * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot lies outside the page-rounded-down relro region.
* [BZ #1358] * sysdeps/unix/alpha/sysdep.h (inline_syscall1): ↵Richard Henderson2005-09-201-21/+42
| | | | | | | | | | | | | | Copy argument(s) to a temporary first. (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. (inline_syscall5, inline_syscall6): Likewise. 2005-09-19 Richard Henderson <rth@redhat.com> [BZ #1358] * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s) to a temporary first. (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. (inline_syscall5, inline_syscall6): Likewise. * sysdeps/alpha/ldiv.S (lldiv): Add alias.
* * sysdeps/alpha/ldiv.S (lldiv): Add alias.Richard Henderson2005-09-201-0/+2
|
* [BZ #1010]Ulrich Drepper2005-09-171-2/+4
| | | | * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
* [BZ #1047] Andreas Jaeger2005-09-161-0/+1
| | | | | | | | * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file. 2005-09-16 Andreas Jaeger <aj@suse.de> [BZ #1047] * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
* [BZ #933]Andreas Jaeger2005-09-163-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-16 Maciej W. Rozycki <macro@linux-mips.org> [BZ #933] * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of the syscall immediately before invocation. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use macros to handle GP. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. Update inaccurate comments. 2005-09-16 Maciej W. Rozycki <macro@linux-mips.org> [BZ #933] * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of the syscall immediately before invocation. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use macros to handle GP. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. Update inaccurate comments.
* (__spawni): Automatically recognize some more cases when we can use vfork.Ulrich Drepper2005-09-131-2/+10
|
* 2005-09-08 Roland McGrath <roland@redhat.com>Roland McGrath2005-09-081-8/+17
| | | | | * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS properly, first byte is bit number in mask. Skip disabled caps.
* [BZ #1061]Roland McGrath2005-09-081-2/+2
| | | | | | | 2005-07-11 Derek R. Price <derek@ximbiot.com> [BZ #1061] * sysdeps/generic/glob.c (glob): Only a 0 return from getlogin_r means success, according to POSIX 1003.2.
* * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove theUlrich Drepper2005-09-061-3/+3
| | | | exponent bias from the increment value for scaling by 2^60.
* * sysdeps/i386/bits/string.h: Removed.Ulrich Drepper2005-09-041-922/+0
|
* 2005-08-22 Robert Millan <robertmh@gnu.org>Roland McGrath2005-09-021-0/+0
| | | | | * sysdeps/mach/hurd/nfs/nfs.h: Move to ... * sysdeps/generic/nfs/nfs.h: ... here.
* * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name.Ulrich Drepper2005-08-303-3/+88
| | | | | | | | | | | | | | | 2005-08-01 Bob Wilson <bob.wilson@acm.org> Richard Sandiford <richard@codesourcery.com> * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing exponent bias to the value for 2^126. 2005-08-30 Jakub Jelinek <jakub@redhat.com> Alan Modra <amodra@bigpond.net.au> * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro. * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file.
* * sysdeps/unix/sysv/linux/Versions: Export Inotify_* syscalls.Ulrich Drepper2005-08-231-0/+3
|
* * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.Ulrich Drepper2005-08-204-6/+45
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-17 Robert Love <rml@novell.com> * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event. 2005-08-19 Bruno Haible <bruno@clisp.org> * intl/localealias.c (read_alias_file): In case of failure, close the file descriptor and sort the array before returning. 2005-08-19 Ulrich Drepper <drepper@redhat.com> * malloc/Makefile: Link libmemusage.so with ld.so. * malloc/memusage.c: Use atomic operations for all counter and size computations. Handle thread stacks. * sysdeps/generic/memusage.h: Define memusage_cntr_t and memusage_size_t. * sysdeps/i386/i686/memusage.h: New file. * include/atomic.h: Define atomic_max and atomic_min. * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
* * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): AddUlrich Drepper2005-08-173-1/+86
| | | | | | sys/inotify.h. * sysdeps/unix/sysv/linux/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
* * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.Roland McGrath2005-08-051-2/+2
|
* [BZ #1137]Roland McGrath2005-08-042-4/+4
| | | | | | | | | | 2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com> * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Use +=, not =, to append. Remove duplicate flags. * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): Likewise. Fix comments. [BZ #1137]
* * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart systemUlrich Drepper2005-08-011-5/+10
| | | | call if it returned EINTR.
* helper variable into .data.rel.ro. Simplify the code. ExtendUlrich Drepper2005-07-311-7/+10
| | | | comment to explain prelinking.
* helper variable into .data.rel.ro. Remove unnecessary label.Ulrich Drepper2005-07-311-1/+1
|
* (elf_machine_load_address): Move helper variable into .data.rel.ro.Ulrich Drepper2005-07-311-1/+1
|
* * misc/bits/syslog.h: New file.Ulrich Drepper2005-07-301-16/+25
| | | | | | | | | | | | | * misc/sys/syslog.h: Include <bits/syslog.h> for fortification. * misc/Makefile (headers): Add bits/syslog.h. * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add __syslog_chk. * misc/Versions: Export __syslog_chk and __vsyslog_chk. * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper functions.
* * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.Roland McGrath2005-07-241-0/+1
|
* * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results. cvs/fedora-glibc-20050721T0814Ulrich Drepper2005-07-203-27/+18
| | | | | | | * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. Darin Petkov <darin@tensilica.com>
* 2005-07-20 Bob Wilson <bob.wilson@acm.org>Ulrich Drepper2005-07-201-1/+1
| | | | | | Darin Petkov <darin@tensilica.com> * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
* * include/stdio.h (__fxprintf): Remove wfmt argument.Ulrich Drepper2005-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. (__fxprintf): Remove wfmt argument, create wfmt format string on the fly from fmt. * argp/argp-fmtstream.c: Adjust all __fxprintf callers. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise.
* * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,Ulrich Drepper2005-07-201-6/+1
| | | | | | | | | | | | | | | | wcsrtombs, mbsnrtowcs, and wcsnrtombs. * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk, wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk. * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk, __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk. * debug/tst-chk1.c: Add tests for new functions. * debug/mbsnrtowcs_chk.c: New file. * debug/mbsrtowcs_chk.c: New file. * debug/wcrtomb_chk.c: New file. * debug/wcsnrtombs_chk.c: New file. * debug/wcsrtombs_chk.c: New file. * include/stdio.h: Add declaration for __fxprintf.
* * wcsmbs/bits/wchar2.h: New file.Ulrich Drepper2005-07-151-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/wchar2.h: New file. * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is requested. * wcsmbs/wcsncpy.c: Add __wcsncpy alias. * string/bits/string3.h: Add fortified stpncpy definitions. * sysdeps/generic/stpncpy_chk.c: New file. * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h. Export _IO_wstrn_jumps. * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps. * include/wchar.h: Declare __wcsncpy and __vswprintf_chk. * debug/fgetws_chk.c: New file. * debug/fgetws_u_chk.c: New file. * debug/fwprintf_chk.c: New file. * debug/swprintf_chk.c: New file. * debug/vfwprintf_chk.c: New file. * debug/vswprintf_chk.c: New file. * debug/vwprintf_chk.c: New file. * debug/wcpcpy_chk.c: New file. * debug/wcpncpy_chk.c: New file. * debug/wcscat_chk.c: New file. * debug/wcscpy_chk.c: New file. * debug/wcsncat_chk.c: New file. * debug/wcsncpy_chk.c: New file. * debug/wmemcpy_chk.c: New file. * debug/wmemmove_chk.c: New file. * debug/wmempcpy_chk.c: New file. * debug/wmemset_chk.c: New file. * debug/wprintf_chk.c: New file. * debug/tst-chk1.c: Add tests for new functions. * debug/Versions: Export new functions. * debug/Makefile (routines): Add new functions.
* * include/libc-symbols.h: Define macros for librt hidden symbols.Ulrich Drepper2005-07-132-1/+3
| | | | | | * include/time.h: Add librt_hidden_proto definition for clock_gettime. * sysdeps/generic/clock_gettime.c: Add librt_hidden_def. * sysdeps/unix/clock_gettime.c: Likewise.
* * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.Ulrich Drepper2005-07-121-6/+6
| | | | | (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel instead of read and close_not_cancel_no_status instead of close.
* * sysdeps/s390/s390-64/bcopy.S (__bcopy): UseUlrich Drepper2005-07-121-9/+5
| | | | HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
* * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. RemoveUlrich Drepper2005-07-082-4/+64
| | | | | alignment. * sysdeps/x86_64/fpu/s_sincos.S: New file.
* * include/fenv.h: Add libm_hidden_proto for fesetround andUlrich Drepper2005-07-0820-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | feholdexcept. * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def. * sysdeps/alpha/fpu/fesetround.c: Likewise. * sysdeps/generic/feholdexcpt.c: Likewise. * sysdeps/generic/fesetround.c: Likewise. * sysdeps/i386/fpu/feholdexcpt.c: Likewise. * sysdeps/i386/fpu/fesetround.c: Likewise. * sysdeps/ia64/fpu/feholdexcpt.c: Likewise. * sysdeps/ia64/fpu/fesetround.c: Likewise. * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. * sysdeps/powerpc/fpu/fesetround.c: Likewise. * sysdeps/s390/fpu/feholdexcpt.c: Likewise. * sysdeps/s390/fpu/fesetround.c: Likewise. * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise. * sysdeps/sh/sh4/fpu/fesetround.c: Likewise. * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. * sysdeps/sparc/fpu/fesetround.c: Likewise. * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise. * sysdeps/x86_64/fpu/fesetround.c: Likewise. * sysdeps/generic/s_significand.c (__significand): Use __ilogb not ilogb. * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf not ilogbf.
* * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin andUlrich Drepper2005-07-081-3/+3
| | | | __cos, not sin and cos.