aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)AuthorFilesLines
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
2005-08-20* sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.Ulrich Drepper4-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.
2005-08-17* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): AddUlrich Drepper3-1/+86
sys/inotify.h. * sysdeps/unix/sysv/linux/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
2005-08-05* sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.Roland McGrath1-2/+2
2005-08-04[BZ #1137]Roland McGrath2-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]
2005-08-01* sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart systemUlrich Drepper1-5/+10
call if it returned EINTR.
2005-07-31helper variable into .data.rel.ro. Simplify the code. ExtendUlrich Drepper1-7/+10
comment to explain prelinking.
2005-07-31helper variable into .data.rel.ro. Remove unnecessary label.Ulrich Drepper1-1/+1
2005-07-31(elf_machine_load_address): Move helper variable into .data.rel.ro.Ulrich Drepper1-1/+1
2005-07-30* misc/bits/syslog.h: New file.Ulrich Drepper1-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.
2005-07-24* sysdeps/sh/memset.S (memset): Correct 2nd argument handling.Roland McGrath1-0/+1
2005-07-20* sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.cvs/fedora-glibc-20050721T0814Ulrich Drepper3-27/+18
* sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. Darin Petkov <darin@tensilica.com>
2005-07-202005-07-20 Bob Wilson <bob.wilson@acm.org>Ulrich Drepper1-1/+1
Darin Petkov <darin@tensilica.com> * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
2005-07-20* include/stdio.h (__fxprintf): Remove wfmt argument.Ulrich Drepper1-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.
2005-07-20* wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,Ulrich Drepper1-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.
2005-07-15* wcsmbs/bits/wchar2.h: New file.Ulrich Drepper1-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.
2005-07-13* include/libc-symbols.h: Define macros for librt hidden symbols.Ulrich Drepper2-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.
2005-07-12* sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.Ulrich Drepper1-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.
2005-07-12* sysdeps/s390/s390-64/bcopy.S (__bcopy): UseUlrich Drepper1-9/+5
HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
2005-07-08* sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. RemoveUlrich Drepper2-4/+64
alignment. * sysdeps/x86_64/fpu/s_sincos.S: New file.
2005-07-08* include/fenv.h: Add libm_hidden_proto for fesetround andUlrich Drepper20-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.
2005-07-08* sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin andUlrich Drepper1-3/+3
__cos, not sin and cos.
2005-07-08* sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.Roland McGrath1-11/+11
2005-07-082005-07-08 Carlos O'Donell <carlos@systemhalted.org>Roland McGrath6-47/+47
* sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0. * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise. * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise. * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise. * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise. * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
2005-07-07* sysdeps/generic/s_ctan.c (__ctan): Likewise.Ulrich Drepper3-9/+41
* sysdeps/generic/s_ctanf.c (__ctanf): Likewise. * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
2005-07-07* sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.Ulrich Drepper2-6/+26
* sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise. * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
2005-07-07(__ctanhl): Handle case of zero den better.Ulrich Drepper1-3/+13
2005-07-07[BZ #974]Ulrich Drepper2-14/+1
2005-04-13 H.J. Lu <hongjiu.lu@intel.com> [BZ #974] * csu/elf-init.c (__preinit_array_start): Take int, char **, char **. (__preinit_array_end): Likewise. (__init_array_start): Likewise. (__init_array_end): Likewise. (__libc_csu_init): Take int argc, char **argv, char **envp. Call preinit_array and init_array with argc, argv, envp. * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove INIT_MAIN_ARGS. * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed. * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c, tst-array5dep.c, and tst-array5.exp. (tests): Add tst-array5. (tests-static): Add tst-array5-static. ($(objpfx)tst-array5): New target. ($(objpfx)tst-array5.out): Likewise. ($(objpfx)tst-array5-static.out): Likewise. * elf/tst-array5-static.c: New file. * elf/tst-array5-static.exp: Likewise. * elf/tst-array5.c: Likewise. * elf/tst-array5.exp: Likewise. * elf/tst-array5dep.c: Likewise.
2005-07-07* sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.Ulrich Drepper1-2/+2
2005-07-07* elf/dl-reloc.c [PROF] (_dl_relocate_object): DefineUlrich Drepper7-26/+37
consider_profiling always to zero. Don't count of compiler to remove unreached if block. * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile): Don't compile. * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF] (_dl_profile_resolve): Likewise. * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF] (_dl_profile_resolve): Likewise. * gmon/Makefile: Add rules to build and run tst-profile-static. * gmon/tst-profile-static.c: New file. * Makeconfig (+link-static): Allow passing program-specific flags.
2005-07-03* manual/install.texi (Installation): Don't mention linuxthreads.Roland McGrath2-30/+12
(Configuring and compiling): Don't use linuxthreads as example. * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only, not linuxthreads. * sysdeps/unix/sysv/linux/configure: Regenerated. * resolv/Depend: Add nptl. * rt/Depend: Likewise. * linuxthreads, linuxthreads_db: Directories removed (preserved in ports repository).
2005-07-02[BZ #1037]Roland McGrath1-1/+1
2005-06-27 Jakub Jelinek <jj@ultra.linux.cz> [BZ #1037] * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated, use -mcpu=v8.
2005-06-26[BZ #1016]cvs/fedora-glibc-20050627T0850Ulrich Drepper1-3/+3
2005-06-16 Jakub Jelinek <jakub@redhat.com> [BZ #1016] * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
2005-06-26* Versions.def (ld): Add GLIBC_2.4.Ulrich Drepper4-12/+49
* configure.in: Add --enable-stackguard-randomization option. (ENABLE_STACKGUARD_RANDOMIZE): New define. * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add. * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h. (_dl_setup_stack_chk_guard): New inline function. * sysdeps/generic/dl-osinfo.h: Include stdint.h. (_dl_setup_stack_chk_guard): New inline function. * elf/rtld.c (__stack_chk_guard): New variable. (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE. Set __stack_chk_guard to _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4. * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable. (__libc_start_main): Set __stack_chk_guard to _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all traces of TLS_INIT_TP_EXPENSIVE. * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4. * debug/Makefile (routines): Add stack_chk_fail. (static-only-routines): Add stack_chk_fail_local. * debug/stack_chk_fail_local.c: New file. * debug/stack_chk_fail.c: New file. * elf/Makefile: Add rules to build and run tst-stackguard1{,-static} tests. * elf/tst-stackguard1.c: New file. * elf/tst-stackguard1-static.c: New file. * elf/stackguard-macros.h: New file.
2005-06-21* sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.Ulrich Drepper3-3/+3
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2005-06-20* sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types forUlrich Drepper1-10/+79
_LINUX_QUOTA_VERSION >= 2. (_LINUX_QUOTA_VERSION): Define if not yet defined.
2005-06-20* sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,Ulrich Drepper4-8/+52
RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE, RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE, RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE, RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust.