about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Fix up sched_cpucount in x86-64.Ulrich Drepper2009-05-311-13/+9
| | | | | Now that static executables can handle IFUNC functions don't exclude optimization for sched_cpucount for !SHARED.
* Finish IFUNC support for x86 and x86-64.Ulrich Drepper2009-05-315-0/+147
| | | | Add support for the IRELAIVE relocation and IFUNC in static executables.
* Simplify CPUID value handling.Ulrich Drepper2009-05-314-36/+19
| | | | | | | SO far Intel and AMD use exactly the same bits meaning the same things in CPUID index 1. Simplify the code. Should an architecture come along which doesn't use the same semantics then it must use a different index value than COMMON_CPUID_INDEX_1.
* Add missing file from accept4 commit.Ulrich Drepper2009-05-311-0/+1
| | | | Hidden by previous .gitignore content.
* Fix errno for boundary conditions in 128-bit long double.Ulrich Drepper2009-05-294-4/+32
| | | | | Similar to the changes which went already in for the other formats, follow POSIX rules for errno.
* Implement longjmp checking for s390.Ulrich Drepper2009-05-294-2/+94
|
* Compact cache info data structure for x86/x86-64.Ulrich Drepper2009-05-292-155/+155
| | | | This saves about 1.5kB in the DSO.
* Fix errno for IBM long double.Andreas Schwab2009-05-224-7/+22
| | | | | After the last addition to the math test suite PPC routines haven't been adjusted so far.
* Add ___longjmp_chk support for powerpc{32,64}.Andreas Schwab2009-05-225-5/+107
|
* Implement accept4 for more archs using socketcall.Jakub Jelinek2009-05-224-4/+63
| | | | | So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.
* Add missing file from previous IA-64 longjmp commit.Ulrich Drepper2009-05-211-0/+48
|
* Handle -g option for IA-64 assembler.Ulrich Drepper2009-05-212-0/+89
|
* Fix IA-64 memchr read-ahead.Ulrich Drepper2009-05-211-1/+16
| | | | | | The latest stratcliff extension exposed a bug in the IA-64 memchr which uses non-speculative loads to prefetch data. Change the code to use speculative loads with appropriate fixup. Fixes BZ 10162.
* Add ____longjmp_chk support for IA-64.H.J. Lu2009-05-211-1/+9
|
* Add missing .text directives.H.J. Lu2009-05-212-1/+3
| | | | The ____longjmp_chk functions on x86 and x86-64 were placed in .rodata.str1.1.
* Don't define __ASSUME_ACCEPT4 for IA-64.Ulrich Drepper2009-05-211-1/+1
|
* Remove __NR_accept4 definition.Jakub Jelinek2009-05-211-3/+1
| | | | | This definition was meant to be removed before the checkin. It was used in the development.
* Correct socketcall argument for accept4.Jakub Jelinek2009-05-211-2/+2
| | | | The header had the old name (paccept).
* Add ____longjmp_chk for SH.Kaz Kojima2009-05-183-1/+85
| | | | Following the previous changes for x86 and x86-64.
* remove subsumed .gitignore entries and filesJim Meyering2009-05-162-8/+0
|
* remove COPYING* from .gitignore filesJim Meyering2009-05-162-2/+2
|
* Add missing export of fallocate64 on 32-bit platforms.Jakub Jelinek2009-05-159-3/+24
| | | | | | Due to a pasto the fallocate64 interface, introduced in glibc 2.10, isn't exported for 32-bit Linux platforms. It is too late for this now so exported them for glibc 2.11.
* Check for valid stack frame in longjmp.Ulrich Drepper2009-05-154-1/+100
| | | | | | | If longjmp restores the stack frame to an address which is beyond the stack frame at the time of the longjmp call it would install an uninitialized stack frame. If compiled with _FORTIFY_SOURCE defined, longjmp will now bail out in this situation.
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-152-0/+0
|
* * version.h (VERSION): Bump to 2.10.1. cvs/fedora-glibc-20090510T1842 cvs/masterUlrich Drepper2009-05-102-0/+2
| | | | | | | | | | | | | | * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any compatibility functions. * nss/getXXent_r.c: Likewise. * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. * gshadow/getsgnam_r.c: Likewise. * gshadow/Version: Remove duplicate entries. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries for recent processor. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): Likewise.
* [BZ #10118]Ulrich Drepper2009-05-094-8/+0
| | | | | | | | | | | | | | | | | | | | | 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> [BZ #10118] * Makeconfig (+asflags): New variable based upon ASFLAG or asflags-cpu. (ASFLAGS): Add override to set ASFLAGS to +asflags. * config.make.in (asflags-cpu): Add variable based upon @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to the assembler. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: Remove unneeded file now that the assembler emits _ARCH_PWR6 and recognizes power6 instruction set due to passing -mcpu=power6 from --with-cpu=power6 when compiling .S files. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper2009-05-091-0/+5
|
* * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers whenUlrich Drepper2009-05-091-0/+2
| | | | count is zero.
* * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper2009-05-071-0/+2
| | | | | guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
* * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment ↵Jakub Jelinek2009-04-291-2/+2
| | | | | | | | | change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
* * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper2009-04-273-5/+13
| | | | | * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors inUlrich Drepper2009-04-271-1/+1
| | | | atanh should set ERANGE.
* * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper2009-04-262-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
* * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper2009-04-262-0/+4
| | | | Avoid warning by using may_alias attribute on ptrhack.
* * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.Ulrich Drepper2009-04-261-7/+14
|
* * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper2009-04-266-10/+106
| | | | | | | | | | * sysdeps/i386/fpu/s_tanf.S: Likewise. * sysdeps/i386/fpu/s_tanl.S: Likewise. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. * sysdeps/x86_64/fpu/s_tanl.S: Likewise. * math/libm-test.inc: Add tests for errno after tan calls with ±Inf.
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correctUlrich Drepper2009-04-261-2/+2
| | | | | | errno value vor pow(+-0,neg). * math/libm-test.inc (pow_test): Add tests for errno value for pole errors.
* * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper2009-04-2613-23/+220
| | | | | | | | | | | | | | | | | * sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_cosl.S: Likewise. * sysdeps/i386/fpu/s_sin.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * sysdeps/i386/fpu/s_sinl.S: Likewise. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. * sysdeps/x86_64/fpu/s_cosl.S: Likewise. * sysdeps/x86_64/fpu/s_sinl.S: Likewise. * math/libm-test.inc: Add tests for errno after sin/cos calls with ±Inf.
* for lgamma should set errno to ERANGE, not EDOM.Ulrich Drepper2009-04-251-1/+1
|
* * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errorsUlrich Drepper2009-04-251-2/+2
| | | | | for lgamma should se errno to ERANGE, not EDOM. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
* * sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 sinceUlrich Drepper2009-04-251-1/+1
| | | | this is the maximum UCS4 value.
* [BZ #10052]Ulrich Drepper2009-04-241-0/+1
| | | | | | | | 2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #10052] * sysdeps/unix/make-syscalls.sh: Add rule to create target directory for dummy syscall rules. Patch by Chris Steinbroner <hesh@pobox.com>.
* [BZ #10092]Ulrich Drepper2009-04-241-1/+5
| | | | | | | 2009-04-23 Aurelien Jarno <aurelien@aurel32.net> [BZ #10092] * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and MNT_EXPIRE.
* * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper2009-04-234-32/+24
| | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. 2009-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy data from vector to temporary buffer and call PWRITEV after it instead of vice versa. * sysdeps/posix/preadv.c: Fix up comment. * misc/preadv.c: Likewise. * misc/preadv64.c: Likewise. * misc/pwritev.c: Likewise. * misc/pwritev64.c: Likewise. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
* [BZ #9955]Ulrich Drepper2009-04-232-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #9955] * gshadow/Makefile: New file. * gshadow/Versions: New file. * gshadow/fgetsgent.c: New file. * gshadow/fgetsgent_r.c: New file. * gshadow/getsgent.c: New file. * gshadow/getsgent_r.c: New file. * gshadow/getsgnam.c: New file. * gshadow/getsgnam_r.c: New file. * gshadow/gshadow.h: New file. * gshadow/putsgent.c: New file. * gshadow/sgetsgent.c: New file. * gshadow/sgetsgent_r.c: New file. * gshadow/tst-gshadow.c: New file. * include/gshadow.h: New file. * Makeconfig (all-subdirs): Add gshadow. * Makefile (installed-headers): Add gshadow/gshadow.h. * nss/Makefile (databases): Add sgrp. * nss/Versions: Add gshadow functions as private exports. * nss/nsswitch.conf: Add gshadow entry. * nss/sgrp-lookup.c: New file. * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. * nss/nss_files/files-sgrp.c: New file. * sysdeps/generic/paths.h: Add _PATH_GSHADOW. * sysdeps/unix/sysv/linux/paths.h: Likewise.
* * stdio-common/printf.h: Add missing const to register_printf_modifier.Ulrich Drepper2009-04-231-1/+3
| | | | | | | | | * stdio-common/reg-modifier.c: Likewise. 2009-04-22 Andrew Stubbs <ams@codesourcery.com> * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there is no FPU.
* * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernelUlrich Drepper2009-04-211-3/+11
| | | | headers up to 2.6.30.
* * sysdeps/unix/sysv/linux/kernel-features.h: All supportedUlrich Drepper2009-04-181-3/+1
| | | | architectures have preadv/pwritev in 2.6.30.
* * sysdeps/posix/preadv.c: Reading of zero bytes is no error.Ulrich Drepper2009-04-172-2/+2
| | | | | * sysdeps/posix/readv.c: Likewise. Reported by Markus Armbruster <armbru@redhat.com>.
* * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. cvs/fedora-glibc-20090416T0610Ulrich Drepper2009-04-153-2/+7
|