Joseph Myers
473611b22d
Fix fma (a, b, c) for small a * b (bugs 14784, 14785).
2012-11-01 16:47:26 +00:00
Thomas Schwinge
4078da3d4e
Fix a compilation error in the Hurd's bits/param.h.
...
Introduced in the unification in commit
e66a42f57f
.
2012-11-01 09:18:13 +01:00
Joseph Myers
903252aadb
Build SH backtrace with -funwind-tables.
2012-11-01 00:22:53 +00:00
Andreas Schwab
5a03cb1e85
Fix powerpc abilist sort order
2012-10-31 23:28:48 +01:00
Tulio Magno Quites Machado Filho
90aff2ff13
Correct order of entries in powerpc libc.abilist files.
2012-10-31 17:03:55 -05:00
Andreas Schwab
1818fcb781
Update powerpc libm ULPs
2012-10-31 22:20:21 +01:00
Joseph Myers
16a0e2ec87
Fix ldbl-128ibm atan2l for x near 1.
2012-10-31 20:44:59 +00:00
Joseph Myers
ef82f4da79
Fix fma underflow exceptions in after-rounding edge cases.
2012-10-31 13:01:17 +00:00
H.J. Lu
954ef0d98d
Use sysdeps/x86/tininess.h for i386 and x86_64
2012-10-30 20:38:31 -07:00
Chris Metcalf
017678433c
Suppress incorrect link warnings for NSS symbols
...
When glibc is built with --enable-static-nss, the warning that
using NSS symbols requires the nss shared objects to be present
is no longer true, as those symbols are built into libc. Suppress
the warning for those symbols by providing a new macro
(nss_interface_function) for the NSS functions that is defined as
static_link_warning in the normal case, and empty for static NSS.
2012-10-30 14:14:33 -04:00
Joseph Myers
8627a2329c
Fix fma missing underflows and bad results for some subnormal results (bugs 14152, 14783).
2012-10-30 13:54:50 +00:00
Joseph Myers
2a27fd6dae
Fix strtod handling of underflow (bug 14047).
2012-10-30 13:51:27 +00:00
Pino Toscano
94ce799f82
Hurd: fix fdatasync/fsync if the fd does not support file_sync
...
Handle the case of the fd port implementing a stub (EOPNOTSUPP),
properly returning EINVAL.
2012-10-29 19:35:56 +01:00
Pino Toscano
8bece75210
aio_notify: fix _POSIX_REALTIME_SIGNALS check
...
Check that _POSIX_REALTIME_SIGNALS is greater than zero to assume realtime
signals are supported, instead of any non-zero value (including -1).
2012-10-29 19:35:09 +01:00
Andreas Jaeger
86ebe6b133
Remove redundant defines of __O_LARGEFILE
...
* sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
[!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
[__WORDSIZE != 64]: Likewise.
* sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE)
[__WORDSIZE != 64]: Do not define, take value from
<bits/fcntl-linux.h>.
2012-10-27 13:49:30 +02:00
David S. Miller
f303f97c29
Add IFUNC test lists for memcpy/mempcpy/memset on sparc.
...
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
ifunc-impl-list.c
* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
file.
2012-10-25 16:34:26 -07:00
David S. Miller
e2211bed12
Fix sparc64 build.
...
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
(__get_clockfreq_via_proc_openprom): Use strtoumax instead
of strtoull.
2012-10-25 15:41:32 -07:00
Roland McGrath
1e9d84cdbc
Use __getdents instead of __getdirentries in sparc __get_clockfreq_via_proc_openprom.
2012-10-25 14:49:28 -07:00
Pino Toscano
bff6491355
Hurd: ptrace: use __hurd_fail for EOPNOTSUPP
2012-10-25 18:47:38 +02:00
Roland McGrath
6e6249d0b4
BZ#14743: Move clock_* symbols from librt to libc.
2012-10-24 14:50:46 -07:00
Andreas Jaeger
9fddec1a48
F_GETLK cleanup for <bits/fcntl.h>
2012-10-24 08:54:46 +02:00
Andreas Jaeger
b4b4c2968e
Fix O_RSYNC
...
(O_RSYNC): Define to __O_RSYNC if it exists, otherwise to O_SYNC.
2012-10-22 19:59:22 +02:00
Andreas Jaeger
2a0e2669f9
Always define __O_LARGEFILE
2012-10-22 16:23:20 +02:00
Andreas Jaeger
7cd37b437c
Improve <bits/fcntl-linux.h>: F_GETLK etc.
...
(F_GETLK, F_SETLK, F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2012-10-22 09:31:13 +02:00
Andreas Jaeger
1728f92d42
Install <bits/fcntl-linux.h>
...
(sysdep_headers): Add bits/fcntl-linux.h.
2012-10-22 09:24:14 +02:00
Andreas Jaeger
481b90b9d6
Use __O_LARGEFILE instead of O_LARGEFILE
2012-10-22 09:20:00 +02:00
Andreas Jaeger
88d4247f19
SH: Use <bits/fcntl-linux.h>
...
Remove all definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-21 20:01:32 +02:00
Andreas Jaeger
335e6931e2
Reorganization of bits/fcntl.h for Linux
...
Create a new bits/fcntl-linux.h that contains Linux generic code and a
include it from the architecture specific bits/fcntl.h.
Architectures done: x86, SPARC, s390
2012-10-20 12:54:49 +02:00
Joseph Myers
ced52c719c
Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.
2012-10-18 18:50:43 +00:00
Florian Weimer
172a631a1f
__alloc_dir: avoid integer overflow in malloc argument
2012-10-16 10:33:50 +02:00
H.J. Lu
d394eb742a
Use __uint64_t in x86 __bswap_64
2012-10-12 09:21:47 -07:00
Andreas Schwab
ca38dc17d8
Avoid PLT references from __get_clockfreq on powerpc
2012-10-12 16:54:06 +02:00
H.J. Lu
ac49ecaf9d
Add x86-64 __libc_ifunc_impl_list
2012-10-11 16:41:12 -07:00
H.J. Lu
b090e8ea45
Add i686 __libc_ifunc_impl_list
2012-10-11 16:40:02 -07:00
H.J. Lu
9a387d1f78
Use IFUNC memmove/memset in x86-64 bcopy/bzero
...
Also add separate tests for bcopy and bzero.
2012-10-11 13:58:16 -07:00
Alexandre Oliva
e745142509
* crypt/crypt-entry.c: Include fips-private.h.
...
(__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
* crypt/md5c-test.c (main): Tolerate disabled MD5.
* sysdeps/unix/sysv/linux/fips-private.h: New file.
* sysdeps/generic/fips-private.h: New file, dummy fallback.
2012-10-10 07:05:46 -03:00
Roland McGrath
b8493de0ec
Add missing magic to GLIBC_PROVIDES.
2012-10-09 15:41:30 -07:00
Joseph Myers
c8450f70fa
Remove _G_off64_t and _G_stat64 from _G_config.h.
2012-10-09 15:09:32 +00:00
Andreas Schwab
1ab2935061
Fix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2012-10-08 12:13:39 +02:00
David S. Miller
f1ecb7ef7f
Fix Niagara-4 memcpy bug on 32-bit.
...
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
upper 32-bits of the length value in %o2 since we use branch-on-register
tests which consider the entire 64-bit register.
2012-10-06 18:36:40 -07:00
David S. Miller
3baddb72a4
Add Niagara-4 optimized memset/bzero implementation.
...
* sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
* sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
file.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add to
sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
and bzero when HWCAP_SPARC_CRYPTO is present.
2012-10-05 14:46:47 -07:00
H.J. Lu
53cea63e99
Move _dl_important_hwcaps to dl-hwcaps.c
2012-10-05 10:26:29 -07:00
Khem Raj
c2b598a945
powerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.h
...
Fixes BZ #14251 .
2012-10-04 23:24:45 -04:00
Roland McGrath
9043e2288e
Name space hygeine for madvise.
2012-10-04 16:31:43 -07:00
Roland McGrath
f57f805541
Clean up conditionalize of ld.so.cache support.
2012-10-03 16:13:14 -07:00
Pino Toscano
5bb0c10a8f
sysconf/posix: handle _SC_LEVEL4_CACHE_LINESIZE
2012-10-03 22:57:38 +02:00
Roland McGrath
010188c6ea
Remove sysdeps/unix/bsd/confstr.h file.
2012-10-03 13:43:58 -07:00
H.J. Lu
0569936773
Define HAS_FMA with bit_FMA_Usable
2012-10-02 05:05:17 -07:00
Roland McGrath
51367701af
Get rid of unused __swblk_t type.
2012-10-01 14:39:29 -07:00
Roland McGrath
93c65d4384
Clean up init-first.c files.
2012-10-01 12:55:34 -07:00