Joseph Myers
af6a1e3755
Fix sysdeps/i386/configure.in cpuid.h test for bootstrapping.
2012-03-07 20:51:54 +00:00
Joseph Myers
d1d3431a3a
Fix signs of zeros from casinh, cacosh etc. (bug 10716).
2012-03-07 15:15:19 +00:00
Andreas Jaeger
b35fe25ed9
[BZ #13658 ]
...
* sysdeps/x86_64/fpu/s_sincos.S: Delete.
* math/libm-test.inc (sincos_test): Add test for large input.
2012-03-07 14:51:39 +01:00
Andreas Jaeger
580716898d
Merge branch 'master' into bug13658-branch
2012-03-07 08:55:31 +01:00
Marek Polacek
a53b7a4e4b
Fix up long double fphex.
2012-03-06 22:08:16 +01:00
David S. Miller
e92584001a
Fix several build warnings on sparc.
...
/
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
(set_obp_int): New function.
(get_obp_int): New function.
(__get_clockfreq_via_dev_openprom): Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid
unused variable warnings on 'val' and use builtin_expect.
(INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect.
(INLINE_CLONE_SYSCALL): Likewise.
nptl/
* sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use
atomic_increment and remove unused local variable.
(__old_sem_post): Likewise.
2012-03-06 11:15:26 -08:00
David S. Miller
3bd2c72316
Update sparc ULPs due to recently added tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-05 21:07:32 -08:00
Andreas Schwab
884c5db424
Update powerpc libm ULPs
2012-03-05 20:38:18 +01:00
Andreas Schwab
bbb78d030e
Fix loss of precision in cosh and sinh for IBM long double
2012-03-05 20:38:17 +01:00
H.J. Lu
8542dee325
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
...
Replace gettimeofday with __vdso_gettimeofday.
* sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup):
Replace clock_gettime and getcpu with __vdso_clock_gettime and
__vdso_getcpu.
* sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
time with __vdso_time.
2012-03-05 19:45:53 +01:00
Andreas Jaeger
30ee4ced20
* sysdeps/i386/fpu/libm-test-ulps: Update.
2012-03-05 13:37:29 +01:00
Joseph Myers
b7cd39e8f8
Fix pow in non-default rounding modes (bug 3976).
2012-03-05 12:22:46 +00:00
Joseph Myers
ca811b2256
Test cosh, sinh in non-default rounding modes (bug 3976).
2012-03-05 12:20:24 +00:00
Tom de Vries
6c6a98c983
2012-03-05 Tom de Vries <tom@codesourcery.com>
...
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
default stack guard is set in last bytes.
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2012-03-05 11:05:42 +01:00
Andreas Schwab
c692293436
Update powerpc libm ULPs
2012-03-04 16:03:21 +01:00
Marek Polacek
bc957d531c
Remove oldish __GNUC_PREREQ.
2012-03-03 22:57:00 +01:00
David S. Miller
6358490d55
Add sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2012-03-02 18:59:09 -08:00
David S. Miller
49efa33d3d
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2012-03-02 14:17:33 -08:00
Joseph Myers
804360ed83
Fix sin, cos, tan in non-default rounding modes (bug 3976).
2012-03-02 20:51:39 +00:00
Joseph Myers
a6d06d7b86
Fix scalbn, scalbln integer overflow.
2012-03-02 15:32:56 +00:00
Joseph Myers
28afd92dbd
Fix exp in non-default rounding modes (bug 3976).
2012-03-02 15:12:53 +00:00
Chris Demetriou
b1eeb65d49
2012-03-01 Chris Demetriou <cgd@google.com>
...
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals
* to
have predictable order.
2012-03-02 09:32:45 +01:00
David S. Miller
3c96908397
Kill sparc32 specific __getpagesize, unneeded.
...
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2012-03-01 23:30:55 -08:00
David S. Miller
759707dee3
Optimized 64-bit sparc assembler for finite{,f} and isinf{,f}.
...
* sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
* sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2012-03-01 22:14:35 -08:00
David S. Miller
dfdb8ff299
Optimized sparc assembler for signbit{,f,l} and some variants of isnan.
...
* sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
* sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
* sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2012-03-01 20:43:38 -08:00
David S. Miller
ead89f9695
Update Sparc ulps for recently added tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-01 17:34:04 -08:00
David S. Miller
7f66bd07f0
Sparc doesn't need seperate 32-bit and 64-bit ulps files.
...
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
* sysdeps/sparc/fpu/libm-test-ulps: to here.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2012-03-01 17:32:58 -08:00
David S. Miller
53362a4b0f
Remove sparc binutils GOTDATA checks in lieu of new minimum version requirement.
...
* sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
* sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
* sysdeps/sparc/elf/configure: Regenerated.
2012-03-01 15:04:16 -08:00
Joseph Myers
7b1902cb3e
Improve erfc accuracy.
2012-03-01 21:15:38 +00:00
Joseph Myers
0bab47b6b2
Fix x86 strcasecmp_l (bug 13786).
2012-02-29 22:37:38 +00:00
Joseph Myers
0fcad3e243
Add test for bug 5794 (incorrect expm1 overflow).
2012-02-29 20:49:20 +00:00
Joseph Myers
5b8a4d4a09
Reduce large expected errors from libm tests on x86 and x86_64.
2012-02-29 20:40:50 +00:00
David S. Miller
8847f03770
Add sparc optimized sqrt{,f}.
...
* sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
* sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2012-02-28 22:37:58 -08:00
Ulrich Drepper
39adf059fc
Optimized expf for x86-64
2012-02-28 20:06:39 -05:00
Joseph Myers
d40c5d54cb
Regenerate sysdeps/gnu/errlist.c for errno.texi changes.
2012-02-28 16:37:58 +00:00
Andreas Jaeger
94c3cff583
Rename dirfd to __dirfd, add weak_alias.
2012-02-28 13:16:05 +01:00
Andreas Jaeger
fabe2a9514
Avoid local PLT for dirfd
2012-02-28 13:15:34 +01:00
David S. Miller
741a235bf6
Add optimized copysign for sparc.
...
* sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
* sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
* sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2012-02-28 00:33:00 -08:00
David S. Miller
1aff59a3f7
Optimized sparc floor{,f} routines.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
* sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2012-02-27 20:36:30 -08:00
David S. Miller
d6b5aa5879
Fix %fp/%sp typo in new sparc ceil{,f} assembler.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
frame pointer instead of stack pointer relative arg slot.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2012-02-27 20:33:25 -08:00
David S. Miller
d674b76d0e
Fix comment formatting in new optimized sparc math files.
2012-02-27 15:26:06 -08:00
David S. Miller
428d5830a2
Optimized sparc ceil{,f} and rint{,f} routines.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
* sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2012-02-27 14:55:58 -08:00
David S. Miller
a78bc6549c
Fix ldbl-128 rintl/nearbyintl just like flt-32 variants.
...
* sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
manipulate bits before adding and subtracting TWO112[sx].
* sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2012-02-27 14:51:45 -08:00
Joseph Myers
abd923dbf2
Require Linux kernel headers from "make headers_install", >= 2.6.19.1.
2012-02-27 20:52:30 +00:00
Andreas Schwab
12e5c3b9e5
Add missing headers
2012-02-27 20:27:41 +01:00
Ulrich Drepper
8da0464f6f
Fix name mangling of pthread_attr_t after change
2012-02-26 21:42:53 -05:00
Ulrich Drepper
d94a467080
Add first fixes for conformtest for POSIX2008
2012-02-26 21:32:56 -05:00
Ulrich Drepper
4a3dded527
Work around problem of pthread_attr_t definition with old compilers
2012-02-26 17:41:17 -05:00
Ulrich Drepper
4efeffc1d5
Fix up POSIX testing in conformtest
2012-02-26 13:17:27 -05:00
Andreas Schwab
c20105c398
Replace sysdeps/ieee754/dbl-64/k_tan.c with empty file
2012-02-26 16:10:46 +01:00
Joseph Myers
6cbeae4719
Fix nearbyintf rounding.
2012-02-22 13:03:40 +00:00
Joseph Myers
fe45ce09f3
Fix rintf rounding.
2012-02-22 13:01:20 +00:00
David S. Miller
586394099c
Update long-double sparc math ULPs missed by previous changes.
...
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2012-02-21 15:36:11 -08:00
David S. Miller
c0e70b2543
Tweak sparc32 longjmp to not store a dummy frame pointer onto the stack.
...
* sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
using a normal save/restore sequence, rather than allocating a
dummy stack frame just to store a frame pointer and restore.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2012-02-20 20:50:14 -08:00
David S. Miller
d510c12326
Use PI_STATIC_AND_HIDDEN on sparc if we universally use GOTDATA relocs.
...
* sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
both binutils and gcc support GOTDATA.
2012-02-20 17:52:07 -08:00
David S. Miller
0722d7c2ac
Explain why we don't make use of RDPC in the sparc PIC register setup.
...
* sysdeps/unix/sparc/sysdep.h: Document why we don't use
"rd %pc" in the PIC register setup sequences.
2012-02-20 17:52:01 -08:00
David S. Miller
3d2b3019e0
Use sparc GOTDATA relocations whenever possible.
...
* sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
* sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
2012-02-20 17:51:53 -08:00
David S. Miller
c80098a9a0
Add sparc configure checks for GOTDATA support.
...
* config.h.in (HAVE_BINUTILS_GOTDATA): New.
(HAVE_GCC_GOTDATA): New.
* sysdeps/sparc/elf/configure.in: Test for GOTDATA
relocation support in both binutils and gcc.
* sysdeps/sparc/elf/configure: Regenerate.
2012-02-20 17:51:48 -08:00
David S. Miller
3a2545a0f3
Consolidate Sparc ELF configure fragments to one spot.
...
* sysdeps/sparc/sparc32/elf/configure.in: Delete.
* sysdeps/sparc/sparc32/elf/configure: Delete.
* sysdeps/sparc/sparc64/elf/configure.in: Delete.
* sysdeps/sparc/sparc64/elf/configure: Delete.
* sysdeps/sparc/elf/configure.in: New file.
* sysdeps/sparc/elf/configure: Generate.
2012-02-20 17:51:40 -08:00
David S. Miller
7a8b71c37c
Remove sparc WDISP22 configure checks, no longer used.
...
* sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
* sysdeps/sparc/sparc32/elf/configure: Regenerate.
* sysdeps/sparc/sparc64/elf/configure.in: Likewise.
* sysdeps/sparc/sparc64/elf/configure: Regenerate.
* config.h.in (BROKEN_SPARC_WDISP22): Remove.
2012-02-20 17:51:21 -08:00
Joseph Myers
0e7dfaef51
Remove old initfini mechanism.
2012-02-21 00:46:01 +00:00
Joseph Myers
599af3ca61
Split architecture-specific parts of sys/epoll.h into bits/epoll.h.
2012-02-21 00:32:30 +00:00
Joseph Myers
0e4997508d
Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.
2012-02-21 00:29:13 +00:00
Joseph Myers
5ad91f6e6f
Resort ULPs files with gen-libm-test.pl -n in C locale.
2012-02-20 18:06:05 +00:00
Aurelien Jarno
06b99b0263
Adjust SPARC ULPs to take into account the new jn tests.
2012-02-20 07:37:30 +01:00
Andreas Schwab
7638c0fda5
Add support for Linux error EHWPOISON
2012-02-19 18:27:02 +01:00
Aurelien Jarno
92221550d7
Use non-signaling floating-point comparisons in math functions.
2012-02-19 11:20:18 +01:00
David S. Miller
dd54084dd9
Rework sparc PIC macros so crt{i,n}.S can use them too.
...
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
(SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
%o7 across the call.
(SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
instead.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
SETUP_PIC_REG_LEAF.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
* sysdeps/sparc/crtn.S: Likewise.
2012-02-18 22:31:42 -08:00
Aurelien Jarno
8dee4833c5
Include <time.h> in clock_settime.c.
2012-02-17 17:46:56 +01:00
Thomas Schwinge
9078ce930a
Hurd: #define away madvise for malloc code, fix previous commit.
2012-02-17 08:46:28 +01:00
Richard Henderson
e3b69ca7d1
s390: Convert to crt[in].S.
2012-02-16 09:24:19 -08:00
David S. Miller
fb59b3a4f5
Add O_FSYNC define to sparc just like other platforms.
2012-02-16 14:56:54 -08:00
Kaz Kojima
af1dd5d680
Merge branch 'master' of git://sources.redhat.com/git/glibc
2012-02-16 07:21:37 +09:00
Kaz Kojima
df83af673b
Add SH target specific crti.S and crtn.S and remove initfini files.
...
Add sysdeps/sh/crti.S, sysdeps/sh/crtn.S and remove sysdeps/sh/elf/initfini.c
and nptl/sysdeps/unix/sysv/linux/sh/pt-initfini.c.
2012-02-16 07:17:24 +09:00
David S. Miller
f63f338062
Move sparc away from the deprecated inifini.c scheme.
...
/
* sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
* sysdeps/sparc/crti.S: New file.
* sysdeps/sparc/crtn.S: New file.
* sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
* sysdeps/sparc/sparc64/Makefile: Likewise.
nptl/
* sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S
2012-02-16 12:54:05 -08:00
Roland McGrath
d2c736f809
Hurd: #define away madvise for malloc code.
2012-02-15 14:15:27 -08:00
Mike Frysinger
df6a4a4aec
Include sys/param.h in getcwd.c.
2012-02-15 20:39:49 +00:00
Joseph Myers
8e475601f6
Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.
2012-02-15 20:11:20 +00:00
Marek Polacek
ed656b4065
Provide crt[in].S for x86-64.
2012-02-14 13:50:44 +01:00
Joseph Myers
2a979d3a14
Split architecture-specific parts of sys/inotify.h into bits/inotify.h.
2012-02-14 00:13:47 +00:00
Joseph Myers
2a418ac326
Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.
2012-02-13 20:27:59 +00:00
Thomas Schwinge
7c35ffedf1
Fix x86 PLT slot usage for feraiseexcept.
...
Then we're elf/check-localplt.out-clean again.
2012-02-10 21:05:54 +01:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Richard Henderson
af850b1c97
Use <> for include of kernel-features.h.
2012-02-09 11:21:47 -08:00
Marek Polacek
6b73181ac5
Remove _G_HAVE_SYS_CDEFS.
2012-02-09 17:09:55 +01:00
Andreas Schwab
6c6dbc6300
Reduce ldouble ULPs for jn tests on x86
2012-02-08 22:25:15 +01:00
Andreas Schwab
ba988fc563
powerpc: add crt files
...
* sysdeps/powerpc/powerpc32/crti.S: New file.
* sysdeps/powerpc/powerpc32/crtn.S: New file.
* sysdeps/powerpc/powerpc64/crti.S: New file.
* sysdeps/powerpc/powerpc64/crtn.S: New file.
2012-02-08 22:25:14 +01:00
Joseph Myers
3add8e1353
Support crti.S and crtn.S provided directly by architectures.
2012-02-08 01:45:26 +00:00
Marek Polacek
a22f12b477
Remove _G_ARGS macros.
2012-02-07 22:40:49 +01:00
Andreas Schwab
84ba42c4fb
Adjust libm test ULPs for powerpc
2012-02-07 15:21:41 +01:00
Marek Polacek
622c86f480
Remove __ELF__ conditionals
2012-02-07 00:41:11 +01:00
Joseph Myers
d4a54ac649
Undefine and redefine __i686 for assembly code.
2012-02-06 23:01:25 +00:00
Joseph Myers
314054eaef
Match x86 PIC thunk names to compiler version.
2012-02-06 18:05:54 +00:00
Joseph Myers
d8e0ca509a
Use macro for PIC setup in inline asm.
2012-02-05 14:34:14 +00:00
Joseph Myers
b1da7dd99d
Use macros for x86 PIC thunk names.
2012-02-03 23:24:19 +00:00
Joseph Myers
9a1d92541f
Consistently use macros for x86 PIC thunks.
2012-02-03 23:22:53 +00:00
Joseph Myers
d55bf1777c
Always define float_t as float for PowerPC, SH and SPARC.
2012-01-31 22:57:02 +00:00
Joseph Myers
c8a89e7dd5
Remove miscellaneous __STDC__ conditionals.
2012-01-30 21:20:32 +00:00
Joseph Myers
3b1004624e
Fix makefile/configure problems with sse2avx changes.
2012-01-30 19:55:15 +00:00
Roland McGrath
ee3c3be688
Merge remote-tracking branch 'origin/cmetcalf/tile_epoll_pwait'
...
Conflicts:
ChangeLog
2012-01-30 09:50:40 -08:00
Roland McGrath
de9298c991
Merge remote-tracking branch 'origin/cmetcalf/tile_not_cancel_h'
...
Conflicts:
ChangeLog
2012-01-30 09:49:39 -08:00
Roland McGrath
6315810720
Merge remote-tracking branch 'origin/cmetcalf/tile_faccessat'
2012-01-30 09:47:47 -08:00
Ulrich Drepper
96bc5b45a6
Optimize x86-64 math inline header a bit
2012-01-28 21:20:06 -05:00
Ulrich Drepper
56f6f6a240
Use -msse2avx option for x86-64 libm functions
2012-01-28 14:48:46 -05:00
Chris Metcalf
3601428fb0
Call __fxstatat64 from faccessat() to avoid PLT in -Os builds.
2012-01-28 12:07:46 -05:00
Chris Metcalf
463de86252
Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait().
2012-01-28 12:00:12 -05:00
Chris Metcalf
540d7568ae
Use <> brackets for not-cancel.h in sysdeps/unix/sysv/linux/grantpt.c.
2012-01-28 11:51:44 -05:00
Ulrich Drepper
73139a7628
Simplify use of AVX instructions in internal math macros
2012-01-28 11:19:06 -05:00
Adhemerval Zanella
d73f93a461
PowerPC - A2 memcpy cache line size initialization
2012-01-27 18:05:45 -05:00
Joseph Myers
8db2188281
Remove __STDC__ conditionals from libm.
2012-01-27 17:29:45 +00:00
Joseph Myers
965a54a4ee
Remove __STDC__ conditionals from non-installed headers.
2012-01-26 23:31:37 +00:00
Joseph Myers
7071ad79db
Remove __STDC__ conditionals from installed headers.
2012-01-26 20:49:22 +00:00
Ulrich Drepper
08cf777f9e
Really fix AVX tests
...
There is no problem with strcmp, it doesn't use the YMM registers.
The math routines might since gcc perhaps generates such code.
Introduce bit_YMM_USBALE and use it in the math routines.
2012-01-26 09:45:54 -05:00
Ulrich Drepper
afc5ed09cb
Reset bit_AVX in __cpu_features is OS support is missing
2012-01-26 07:45:14 -05:00
Samuel Thibault
0ea698ae78
Hurd: Try to respect mmap address hint for non-MAP_FIXED.
2012-01-23 14:00:47 -08:00
Pino Toscano
81c0c9648d
Hurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT.
2012-01-23 13:56:58 -08:00
Will Schmidt
929d11c7cf
Powerpc: correct duplicate label issue with multiple passes through context code
2012-01-12 17:05:03 -05:00
Ulrich Drepper
0cc5ed3b01
Optimized acosh for 64-bit platforms
2012-01-11 22:01:09 -05:00
Ulrich Drepper
41d0e8696f
Optimize scalbln
2012-01-11 12:49:16 -05:00
Ulrich Drepper
daa891c0e8
Optimize s_modf
2012-01-10 22:26:22 -05:00
Ulrich Drepper
a47a831ad8
Optimize ldexp and scalbn
2012-01-10 20:52:29 -05:00
Ulrich Drepper
d6e97a1da0
Some branch prediction for log1p
2012-01-09 18:59:04 -05:00
Will Schmidt
d1f741e912
Fix typo in Linux/PPC32 getcontext
2012-01-08 21:32:57 -05:00
Ulrich Drepper
ec09c1c410
Optimize xmalloc, xcalloc, xrealloc, and xstrdup
...
Add alloc_size attribute and apply consistently the malloc attribute
to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08 21:19:43 -05:00
Ulrich Drepper
d9a216c037
Add checking versions of poll and ppoll
2012-01-08 11:55:32 -05:00
Ulrich Drepper
2119dcfacc
Static linking is always needed
2012-01-08 09:52:29 -05:00
Ulrich Drepper
a0da5fe1e4
More fallout from supporting only ELF
2012-01-08 00:45:01 -05:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
0269750ca6
Remove non-ELF support
2012-01-07 20:30:26 -05:00
Ulrich Drepper
00bbd29b35
Update ABI information
2012-01-07 19:23:45 -05:00
Ulrich Drepper
a2693a0e2e
Remove m68k support from Linux configure
2012-01-07 13:06:38 -05:00
Ulrich Drepper
3f05895f12
Remove Alpha support from ldsodefs.h
2012-01-07 13:04:35 -05:00
Ulrich Drepper
664f8cb9d5
More IA-64 removal
2012-01-07 12:55:20 -05:00
Ulrich Drepper
7ae81d88f1
Linux configure cleanup
2012-01-07 12:44:28 -05:00
Ulrich Drepper
b13b98854e
Remove IA-64 support from kernel-features.h
2012-01-07 12:23:45 -05:00
Ulrich Drepper
305502f69d
Fix up a comment
2012-01-07 11:49:33 -05:00
Ulrich Drepper
e40bca1ef9
Yet more ia64 removal fallout
2012-01-07 11:44:02 -05:00
Ulrich Drepper
f03fe7f932
More ia64 removal changes
2012-01-07 11:39:33 -05:00
Ulrich Drepper
d75a0a62b1
Remove IA-64 support
2012-01-07 11:19:05 -05:00
Ulrich Drepper
74033a2507
Implement timespec_get
2012-01-01 07:17:21 -05:00
Marek Polacek
530a32499a
Fix typos in comments
2011-12-23 13:59:40 -05:00
Ulrich Drepper
67371b5666
Prevent warnings due to long long constants
2011-12-23 13:52:59 -05:00
Liubov Dmitrieva
15db4de19d
Fix overrun in destination buffer
2011-12-23 12:02:15 -05:00
Ulrich Drepper
70c6c246a2
Optimize x86-32 feraiseexcept also for !__SSE_MATH__
2011-12-23 09:18:02 -05:00
Liubov Dmitrieva
c044cf14b0
Fix wrong copying processing for last bytes in x86-32 wcscpy
...
Wrong copy algorithm for last bytes, not thread safety.
In some particular cases it uses the destination
memory beyond the string end for
16-byte load, puts changes into that part that is relevant
to destination string and writes whole 16-byte chunk into memory.
I have a test case where the memory beyond the string end contains
malloc/free data, that appear corrupted in case free() updates
it in between the 16-byte read and 16-byte write.
2011-12-23 08:50:39 -05:00
Ulrich Drepper
aed9d17150
Add feraiseexcept optimization for x86-32
2011-12-22 17:52:30 -05:00
Ulrich Drepper
db910efdbd
Also retrieve SSE exceptions in x86-32 fegetexceptflag
2011-12-22 16:28:08 -05:00
Ulrich Drepper
2797beae36
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-12-22 14:23:28 -05:00
Liubov Dmitrieva
2bd779ae3f
Fix overrun in strcpy destination buffer in x86-32/SSSE3 version
2011-12-22 14:22:00 -05:00
Joseph Myers
154bfc1622
Support building bits/syscall.h for any number of subarch variants.
2011-12-22 18:22:50 +00:00
Ulrich Drepper
21eaf3a5f9
Use __REDIRECT_NTH for __feraiseexcept_renamed
2011-12-22 08:05:21 -05:00
Ulrich Drepper
4920765eb4
Define EPOLLONESHOT and EPOLLET using unsigned values
2011-12-21 22:14:05 -05:00
Rafael Ávila de Espíndola
d2daaa1eb6
Define x86_64 feraiseexcept inline only under __USE_EXTERN_INLINES.
2011-12-21 13:27:09 -08:00
Adhemerval Zanella
f0b264f174
Optimized strcasecmp for Power7
2011-12-17 20:32:59 -05:00
Ulrich Drepper
b813d73fd7
Fix WP
2011-12-17 15:08:09 -05:00
Will Schmidt
91d2a8453f
Simplify code for accessing powerpc GOT
2011-12-17 15:07:31 -05:00
Adhemerval Zanella
a1267ba1c6
Optimized nearbyint for PPC
2011-12-17 14:59:47 -05:00
Ulrich Drepper
370a7d88f7
WP fixes
2011-12-17 14:41:05 -05:00
Ulrich Drepper
1d3e4b618a
Optimized wcschr and wcscpy for x86-64 and x86-32
2011-12-17 14:39:23 -05:00
Ulrich Drepper
f039c04307
Optimize generic ELF hash function a bit more
2011-12-10 11:53:44 -05:00
Andreas Schwab
850fb039ce
Fix a wrong constant in powerpc hypot implementation
2011-12-06 11:12:01 +01:00
Ulrich Drepper
52ad36a219
Small optimization of generic ELF hash function
2011-12-04 17:44:33 -05:00
Ulrich Drepper
52ff5dd0e4
Fix attreibute for _dl_elf_hash
2011-12-04 16:12:20 -05:00
Ulrich Drepper
aff2453df7
Fix more warnings
2011-12-03 21:49:35 -05:00
Ulrich Drepper
f101631bfd
SH atomic asms fix for gcc 4.7
2011-12-02 08:19:50 -05:00
Ulrich Drepper
a98275aa61
Implement SH backtrace using IA64 version
2011-12-02 07:35:33 -05:00
Andreas Schwab
6257af2d05
Truncate time values in Linux futimes when falling back to utime
2011-12-01 14:24:08 +01:00
Andreas Schwab
b5f44c1ad9
Adjust libm test ulps for s390
2011-11-30 14:14:42 +01:00
Andreas Schwab
5583a0862c
Fix SSSE3/SSE4.2 strcasecmp[_l]/strncasecmp[_l] for non-PIC and -mno-tls-direct-seg-refs
2011-11-16 11:48:10 +01:00
Andreas Schwab
446514f97e
Fix clock_gettime for assumed kernel >= 2.6.12
2011-11-15 15:17:15 +01:00
Ulrich Drepper
a501a01e06
Pretty printing
2011-11-15 07:18:15 -05:00
Andreas Schwab
09f93bd3d6
Fix reference counting in network interface information cache
2011-11-15 10:58:00 +01:00
Ulrich Drepper
312be3f9f5
Clean up internal fopen uses
...
No need to ever not use c and e.
2011-11-15 04:24:42 -05:00
Ulrich Drepper
6abf346582
Add SSE4.2 support for strcasecmp and strncasecmp on x86-32
2011-11-14 18:24:35 -05:00
Ulrich Drepper
76e3966e9e
SSSE3 optimized strcasecmp and strncasecmp for x86-32
2011-11-13 09:50:13 -05:00
Ulrich Drepper
7edb22eff5
Fix wanings in clock_gettime
2011-11-12 02:54:34 -05:00
Ulrich Drepper
8ad89ef88d
Avoid warnings about unused variable in 96-bit j0l and j1l
2011-11-12 02:20:29 -05:00
Ulrich Drepper
0c822ef988
Avoid warnings about unused variables in 96-bit hypotl
2011-11-12 02:15:07 -05:00
Ulrich Drepper
ca743930cd
Prepare dwarf2.h for multiple inclusion
2011-11-12 02:11:48 -05:00
Ulrich Drepper
7da46b42d1
Fix incomplete edit in last patch
2011-11-12 02:10:45 -05:00
Ulrich Drepper
874e05643b
Avoid redefinition of DWARF constants
2011-11-12 02:06:05 -05:00
Ulrich Drepper
294ce12680
Avoid warning from shifting
2011-11-12 01:31:29 -05:00
Ulrich Drepper
e7f4b08ee9
Fix warnings in fallback C code of x86-32 wide memory functions
2011-11-12 00:50:26 -05:00
Adhemerval Zanella
8a6d525522
PowerPC: Arithmetic function optimizations for POWER
2011-11-11 13:33:38 -05:00
Marek Polacek
aaddc98c25
Remove unused variables
2011-11-11 13:27:59 -05:00
Ulrich Drepper
fe72eebd67
Remove unnecessary code from x86-32 SSSE3 strncmp
2011-11-08 07:50:20 -05:00
Ulrich Drepper
34372fc6d3
Fix test of non-ASCII locales in x86-64 strcasecmp et.al.
2011-11-01 16:46:23 -04:00
Ulrich Drepper
e35f65ea8d
unsigned long it better for the size arguments
...
The new syscalls should use unsigned long not size_t. The parameters
are not a direct measure of memory size.
2011-11-01 10:38:00 -04:00
Ulrich Drepper
78239589cd
New Linux syscalls process_vm_readv and process_vm_writev
2011-11-01 09:59:32 -04:00
Ulrich Drepper
3a2c02424d
Cache network interface information
...
Whenever getaddrinfo needed network interface information it used the
netlink interface to read the information every single time. The
problem is that this information can change at any time.
The patch implements monitoring of the network interfaces through
nscd. If no change is detected the previously read information can
be reused (which is the norm). This timestamp information is also
made available to other processes using the shared memory segment
between nscd and those processes.
2011-10-31 01:51:16 -04:00
Ulrich Drepper
636064eb4c
Fix potential double close in __check_fd if OOM
2011-10-30 14:22:57 -04:00
Ulrich Drepper
cb95113e30
Fix accuracy problem in generic sin
2011-10-29 14:08:56 -04:00
Ulrich Drepper
52e4b9eb62
More cleanups of x86-64 strstr
2011-10-28 19:01:48 -04:00
Ulrich Drepper
fd52bc6dc4
Clean up x86-64 strcasestr
...
Actually describe in the C code what is going on.
2011-10-28 18:18:04 -04:00
Ulrich Drepper
a5b81e1fb7
Remove code without too much effects
...
Some of the AVX-specific code is not giving enough speed-up to
justify the extra code.
2011-10-28 16:55:01 -04:00
Andreas Schwab
0c92d8a87a
Fix some warning nits
2011-10-28 12:02:08 +02:00
Andreas Schwab
b43433460b
Move wide char related routines to wcsmbs subdir
2011-10-28 12:01:29 +02:00
Andreas Schwab
804791474d
Fix uses of math_force_eval
2011-10-26 11:44:08 +02:00
Andreas Schwab
f6ce9294b0
Make math_force_eval accept non-addressable arguments
2011-10-26 11:44:08 +02:00
Ulrich Drepper
e0016b11d6
Add AVX optimized versions for some x86-64 math functions
2011-10-25 21:34:55 -04:00