summaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
2005-10-31* sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"Roland McGrath1-2/+2
prefix to LOCAL_LIBM_ENTRY. (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END.
2005-10-30* misc/hsearch_r.c (hsearch_r): Remove duplicate test.Ulrich Drepper2-4/+8
Patch by Chris Caputo <ccaputo@alt.net>. 2005-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias. * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS.
2005-10-23copyright updateRoland McGrath1-1/+2
2005-10-23[BZ #1254]Roland McGrath1-5/+8
2005-10-22 Roland McGrath <roland@redhat.com> [BZ #1254] * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change. From Samuel Thibault <samuel.thibault@ens-lyon.org>.
2005-10-23[BZ #1252]Roland McGrath1-2/+4
2005-10-17 Thomas Schwinge <tschwinge@gnu.org> [BZ #1252] * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue. * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2005-10-20* sysdeps/alpha/remqu.S: Return the correct result when the sameUlrich Drepper2-2/+2
dividend and divisor are provided, and they're negative numbers. * sysdeps/alpha/divqu.S: Likewise.
2005-10-20* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):Ulrich Drepper2-0/+34
Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS): Likewise.
2005-10-17* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):Ulrich Drepper2-0/+27
Define. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS): Likewise.
2005-10-17* libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.Ulrich Drepper1-4/+9
Return EOF not 0. * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also allow EACCES errors when opening /rpco for now. * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw* functions if character is in ASCII range. * wctype/wcfuncs_l.c: Likewise.
2005-10-172005-10-16 Alfred M. Szmidt <ams@gnu.org>Roland McGrath1-1/+7
* sysdeps/generic/bits/mman.h [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros.
2005-10-16* sysdeps/unix/sysv/linux/sh/makecontext.S: New file.Ulrich Drepper11-3/+1299
* sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed. * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file. * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file.
2005-10-16* sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED.Roland McGrath1-0/+1
2005-10-16[BZ #1249, BZ #1252]Roland McGrath2-7/+9
2005-08-05 Alfred M. Szmidt <ams@gnu.org> [BZ #1252] * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn forward decl out of function body. * sysdeps/mach/hurd/profil.c: Likewise. [BZ #1249]
2005-10-16[BZ #1254]Roland McGrath1-3/+8
* sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN byte limit when setting ADDR->sa_family. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2005-10-16[BZ #1253]Roland McGrath1-1/+7
* sysdeps/mach/hurd/dl-sysdep.h [SHARED] (DL_ARGV_NOT_RELRO): New macro. [BZ #1253]
2005-10-16[BZ #1253]Roland McGrath1-11/+14
2005-10-16 Roland McGrath <roland@frob.com> [BZ #1253] * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher. (_hurd_stack_setup): Don't declare with arguments and ellipsis. Use __builtin_frame_address and __builtin_return_address. (_dl_init_first): Likewise. * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare as weak extern. (init): Check for it being undefined.
2005-10-162005-10-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath2-3/+2
* include/dirent.h: Include <stdbool.h>. * sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>. (fdopendir): Correct argument to _hurd_fd_get(). * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.
2005-10-15* sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptorUlrich Drepper1-0/+10
allows reading.
2005-10-15* sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, brokenRoland McGrath2-24/+96
out of ... (__opendir): ... here. Call it. * sysdeps/mach/hurd/fdopendir.c: New file.
2005-10-15Comment fix.Roland McGrath1-1/+2
2005-10-14* sysdeps/unix/opendir.c (__opendir): Pass extra argument toUlrich Drepper2-9/+10
__alloc_dir. (__alloc_dir): Only close descriptor on error if new parameter is true. * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to __alloc_dir. Don't close fd on error. * include/dirent.h (__alloc_dir): Adjust prototype. * include/sys/mman.h (__mremap): Add ellipsis. * malloc/memusage.c: Adjust mremap wrapper for optional additional parameter.
2005-10-14[BZ #1468]Ulrich Drepper2-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>.
2005-10-14[BZ #1458]Ulrich Drepper7-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.
2005-10-13[BZ #1466]Ulrich Drepper3-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.
2005-10-10* sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro.Ulrich Drepper1-8/+11
(__bswap_16): Use it. (__bswap_constant_32): New macro. (__bswap_32): Use it.
2005-10-06* sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail becauseUlrich Drepper1-1/+1
the file does not exist.
2005-10-06Allow fopen to fail because the file does not exist.Ulrich Drepper1-1/+9
2005-10-05* sysdeps/generic/ldsodefs.h (struct audit_ifaces):Roland McGrath2-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.
2005-10-03sysdeps/powerpc/nofpu moved to portsRoland McGrath21-1567/+0
2005-10-03 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
2005-09-30* posix/regexec.c (update_cur_sifted_state, check_arrival,Ulrich Drepper1-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.
2005-09-28Close descriptor in case of error.Ulrich Drepper1-1/+5
2005-09-28* dirent/dirent.h: Declare fdopendir.Ulrich Drepper3-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.
2005-09-28[BZ #1384]Roland McGrath1-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.
2005-09-26(fls): New function. (gaih_inet): Don't use ffs, use fls. Convert address ↵Ulrich Drepper1-6/+21
to native byte order first.
2005-09-26[BZ #524]Ulrich Drepper1-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-252005-09-24 Roland McGrath <roland@redhat.com>Roland McGrath2-58/+0
* sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository. * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
2005-09-20[BZ #1346]Roland McGrath1-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.
2005-09-20 [BZ #1358] * sysdeps/unix/alpha/sysdep.h (inline_syscall1): ↵Richard Henderson1-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.
2005-09-20 * sysdeps/alpha/ldiv.S (lldiv): Add alias.Richard Henderson1-0/+2
2005-09-17[BZ #1010]Ulrich Drepper1-2/+4
* sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
2005-09-16[BZ #1047] Andreas Jaeger1-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.
2005-09-16[BZ #933]Andreas Jaeger3-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.
2005-09-13(__spawni): Automatically recognize some more cases when we can use vfork.Ulrich Drepper1-2/+10
2005-09-082005-09-08 Roland McGrath <roland@redhat.com>Roland McGrath1-8/+17
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS properly, first byte is bit number in mask. Skip disabled caps.
2005-09-08[BZ #1061]Roland McGrath1-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.
2005-09-06* sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove theUlrich Drepper1-3/+3
exponent bias from the increment value for scaling by 2^60.
2005-09-04* sysdeps/i386/bits/string.h: Removed.Ulrich Drepper1-922/+0
2005-09-022005-08-22 Robert Millan <robertmh@gnu.org>Roland McGrath1-0/+0
* sysdeps/mach/hurd/nfs/nfs.h: Move to ... * sysdeps/generic/nfs/nfs.h: ... here.
2005-08-30* sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name.Ulrich Drepper3-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.
2005-08-23* sysdeps/unix/sysv/linux/Versions: Export Inotify_* syscalls.Ulrich Drepper1-0/+3