aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2009-06-16Fix incorrect use of cmpldi in 32-bit PPC code.Ryan S. Arnold
The 32-bit PowerPC POWER6 memcpy uses the cmpldi insn when it should use a cmplwi. BZ #10107
2009-06-16Add missing include.Ulrich Drepper
2009-06-16Fold Linux-specific grantpt code into Unix version.Ulrich Drepper
2009-06-15Fix permission of slave device on devpts if necessary.Ulrich Drepper
If devptr is misconfigured the slave device permission after grantpt might not be 0620. BZ #10166
2009-06-15Preserve message printed before abort.Ulrich Drepper
The terminal output etc is not visible in a core file. The new libc-internal variable __abort_msg will point to a string with the message which has been printed before the abort in case abort is called from inside libc. BZ #10217
2009-06-15libc part of prelink IFUNC support.Jakub Jelinek
The dl-lookup.c changes are needed for prelink (support in prelink checked into SVN, tested for both i?86 and x86-64), dl-irel.h just something I discovered by code inspection.
2009-06-14Fix warnings when using <sys/select.h>.Ulrich Drepper
gcc 4.4 is more picky. And the x86-64 version of <bits/select.h> contained a now unnecessary asm optimization. Remove it.
2009-06-05Add SSE4.2 optimized rawmemchr implementation for x86-64.Ulrich Drepper
2009-06-05Forgot some more cleanups for the SSE4.2 strlen on x86-64.Ulrich Drepper
2009-06-05Add missing cleanups from SSE4.2 x86-64 strlen.Ulrich Drepper
2009-06-05Optimize x86-64 strlen for SSE4.2.Ulrich Drepper
The SSE4.2 implementation is used in the DSO only. The patch also adds some infrastructure to be used in similar code later one.
2009-06-04More small optimizations for x86-64 strlen.Ulrich Drepper
2009-06-04Tiny strlen for x86-64 optimization.Ulrich Drepper
I didn't remove an instruction from a previous version in the final version.
2009-06-01Small optimization of STT_GNU_IFUNC handling.Ulrich Drepper
The test to call the indirect function now includes a subtest to checked whether the symbol is defined. When coming to that point this is almost always the case. The test for STT_GNU_IFUNC on the other hand rarely is true. Move it to the front means we don't have to perform the second test unless really necessary.
2009-06-01Better error message for invalid relocatio in static binary.Ulrich Drepper
2009-05-31Fix up sched_cpucount in x86-64.Ulrich Drepper
Now that static executables can handle IFUNC functions don't exclude optimization for sched_cpucount for !SHARED.
2009-05-31Finish IFUNC support for x86 and x86-64.Ulrich Drepper
Add support for the IRELAIVE relocation and IFUNC in static executables.
2009-05-31Simplify CPUID value handling.Ulrich Drepper
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.
2009-05-31Add missing file from accept4 commit.Ulrich Drepper
Hidden by previous .gitignore content.
2009-05-29Fix errno for boundary conditions in 128-bit long double.Ulrich Drepper
Similar to the changes which went already in for the other formats, follow POSIX rules for errno.
2009-05-29Implement longjmp checking for s390.Ulrich Drepper
2009-05-29Compact cache info data structure for x86/x86-64.Ulrich Drepper
This saves about 1.5kB in the DSO.
2009-05-22Fix errno for IBM long double.Andreas Schwab
After the last addition to the math test suite PPC routines haven't been adjusted so far.
2009-05-22Add ___longjmp_chk support for powerpc{32,64}.Andreas Schwab
2009-05-22Implement accept4 for more archs using socketcall.Jakub Jelinek
So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.
2009-05-21Add missing file from previous IA-64 longjmp commit.Ulrich Drepper
2009-05-21Handle -g option for IA-64 assembler.Ulrich Drepper
2009-05-21Fix IA-64 memchr read-ahead.Ulrich Drepper
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.
2009-05-21Add ____longjmp_chk support for IA-64.H.J. Lu
2009-05-21Add missing .text directives.H.J. Lu
The ____longjmp_chk functions on x86 and x86-64 were placed in .rodata.str1.1.
2009-05-21Don't define __ASSUME_ACCEPT4 for IA-64.Ulrich Drepper
2009-05-21Remove __NR_accept4 definition.Jakub Jelinek
This definition was meant to be removed before the checkin. It was used in the development.
2009-05-21Correct socketcall argument for accept4.Jakub Jelinek
The header had the old name (paccept).
2009-05-18Add ____longjmp_chk for SH.Kaz Kojima
Following the previous changes for x86 and x86-64.
2009-05-16remove subsumed .gitignore entries and filesJim Meyering
2009-05-16remove COPYING* from .gitignore filesJim Meyering
2009-05-15Add missing export of fallocate64 on 32-bit platforms.Jakub Jelinek
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.
2009-05-15Check for valid stack frame in longjmp.Ulrich Drepper
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.
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-05-10* version.h (VERSION): Bump to 2.10.1.cvs/fedora-glibc-20090510T1842cvs/masterUlrich Drepper
* 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.
2009-05-09[BZ #10118]Ulrich Drepper
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.
2009-05-09* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper
2009-05-09* sysdeps/x86_64/memchr.S: Handle invalid buffer pointers whenUlrich Drepper
count is zero.
2009-05-07* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
2009-04-29* sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment ↵Jakub Jelinek
change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
2009-04-27* sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper
* sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2009-04-27* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors inUlrich Drepper
atanh should set ERANGE.
2009-04-26* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper
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.
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.
2009-04-26* sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.Ulrich Drepper