1 2013-02-07 Roland McGrath <roland@hack.frob.com>
3 * nscd/nscd-client.h (__nscd_drop_map_ref):
4 Add __attribute__ ((unused)).
5 * nis/nss-nisplus.h (niserr2nss): Likewise.
7 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11 Remove inline keyword.
12 * include/rounding-mode.h (round_away): Likewise.
13 * libio/wfileops.c (adjust_wide_data): Likewise.
14 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15 (__m128i_strloadu_tolower): Likewise.
16 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17 (__m128i_strloadu_tolower): Likewise.
18 * time/mktime.c (ydhms_diff): Likewise.
19 * locale/elem-hash.h (elem_hash): Likewise.
20 * locale/setlocale.c (setdata): Likewise.
21 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22 (re_string_wchar_at): Likewise.
23 (bitset_not, bitset_merge, bitset_mask): Likewise.
24 [!(__GNUC__ > 3)] (inline): Remove macro.
25 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29 * string/memcmp.c (memcmp_bytes): Likewise.
30 * locale/programs/locarchive.c (compute_hashval): Likewise.
31 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34 * nss/getent.c (print_rpc, print_protocols): Likewise.
35 (print_passwd, print_group, print_aliases): Likewise.
36 * nis/nss-nisplus.h (niserr2nss): Likewise.
37 * nscd/connections.c (restart_p): Likewise.
38 Change return type to bool.
40 2013-02-05 Roland McGrath <roland@hack.frob.com>
42 * Makeconfig (all-Depend-files): Add existing
43 $(sorted-subdirs:=/Depend) files.
44 (all-subdirs): Remove nss.
45 * sysdeps/unix/inet/Subdirs: Add it here instead.
46 * hesiod/Depend: New file.
48 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49 instead of calling alloca.
51 * io/lseek.c (__lseek): Rename to __libc_lseek.
52 Define __lseek as an alias.
54 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56 2013-02-04 Carlos O'Donell <carlos@redhat.com>
58 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
59 else clause and remove check for non-standard endianness.
61 2013-02-04 David S. Miller <davem@davemloft.net>
63 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65 2013-02-04 Joseph Myers <joseph@codesourcery.com>
68 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69 (__ubp_memchr): Remove prototype.
70 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
72 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
73 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
74 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
76 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
77 (__ubp_memchr): Likewise.
78 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
79 (__ubp_memchr): Likewise.
80 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
81 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
82 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
83 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
85 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
86 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
87 (__getcwd): Do not use CHECK_STRING.
88 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
90 (__real_chown): Do not use CHECK_STRING.
91 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
93 (fchownat): Do not use CHECK_STRING.
94 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
96 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
98 (__lchown): Do not use CHECK_STRING.
99 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
100 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
101 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
102 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
104 include <bp-checks.h>.
105 (truncate64): Do not use CHECK_STRING.
106 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
108 (__real_chown): Do not use CHECK_STRING.
109 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
111 (__lchown): Do not use CHECK_STRING.
112 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
114 (__chown): Do not use CHECK_STRING.
115 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
117 (truncate64): Do not use CHECK_STRING.
118 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
120 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
121 (__xmknod): Do not use CHECK_STRING.
122 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
124 (__xmknodat): Do not use CHECK_STRING.
125 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
126 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
128 2013-02-04 Andreas Schwab <schwab@suse.de>
131 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
132 * include/netdb.h: Likewise for h_errno.
133 * elf/tst-stackguard1.c: Include <tls.h>.
135 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
137 * elf/link.h (struct link_map): Extend the l_addr comment.
138 * include/link.h (struct link_map): Likewise.
140 2013-02-01 Joseph Myers <joseph@codesourcery.com>
143 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
144 (BOUNDED_1): Remove macro.
145 * debug/backtrace.c: Don't include <bp-checks.h>.
146 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
147 (__backtrace): Likewise.
148 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
150 (__backtrace): Don't use BOUNDED_1.
151 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
153 (__backtrace): Don't use BOUNDED_1.
154 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
155 (__backtrace): Don't use BOUNDED_1.
156 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
157 (shmat): Don't use BOUNDED_N.
159 2013-01-31 Joseph Myers <joseph@codesourcery.com>
162 * sysdeps/generic/bp-start.h: Remove file.
163 * csu/libc-start.c: Don't include <bp-start.h>.
164 (LIBC_START_MAIN): Set up __environ directly instead of using
165 INIT_ARGV_and_ENVIRON.
166 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
170 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
172 (CHECK_FCNTL): Likewise.
173 (CHECK_N_PAGES): Likewise.
176 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
178 (CHECK_SIGSET_NULL_OK): Likewise.
179 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
181 (sigpending): Don't use CHECK_SIGSET.
182 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
184 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
185 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
187 (do_sigsuspend): Don't use CHECK_SIGSET.
188 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
190 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
191 (do_sigwait): Don't use CHECK_SIGSET.
192 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
194 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
195 include <bp-checks.h>.
196 (sigpending): Don't use CHECK_SIGSET.
197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
198 include <bp-checks.h>.
199 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
200 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
202 (sigpending): Don't use CHECK_SIGSET.
203 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
205 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
208 * sysdeps/generic/bp-semctl.h: Remove file.
209 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
210 <bp-checks.h> and <bp-semctl.h>.
211 (__old_semctl): Don't use CHECK_SEMCTL.
212 (__new_semctl): Likewise.
213 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
215 (__old_semctl): Don't use CHECK_SEMCTL.
216 (__new_semctl): Likewise.
217 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
218 <bp-checks.h> and <bp-semctl.h>.
219 (__old_semctl): Don't use CHECK_SEMCTL.
220 (__new_semctl): Likewise.
221 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
222 <bp-checks.h> and <bp-semctl.h>.
223 (semctl): Don't use CHECK_SEMCTL.
226 * Makerules (elide-bp-thunks): Remove variable.
227 (elide-routines.oS): Don't use $(elide-bp-thunks).
228 (elide-routines.os): Likewise.
229 (elide-routines.o): Likewise.
230 (elide-routines.op): Likewise.
231 (elide-routines.og): Likewise.
232 (objects): Don't use $(bp-thunks).
233 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
235 (common-generated): Do not add s-proto-bp.d.
236 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
239 Do not generate makefile rules for bounded-pointer thunks.
240 * sysdeps/generic/bp-thunks.h: Remove file.
241 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
242 * sysdeps/unix/s-proto-bp.S: Likewise.
245 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
246 parts of result separately when argument is not close to line from
247 -i to i and one part of argument is small.
248 * math/k_casinhf.c (__kernel_casinhf): Likewise.
249 * math/k_casinhl.c (__kernel_casinhl): Likewise.
250 * math/libm-test.inc (cacos_test): Add more tests.
251 (casin_test): Likewise.
252 (casinh_test): Likewise.
253 * sysdeps/i386/fpu/libm-test-ulps: Update.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256 2013-01-31 David S. Miller <davem@davemloft.net>
258 * po/de.po: Update from translation team.
260 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
262 * time/tzfile.c: Include stdint.h for SIZE_MAX.
264 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
266 * configure.in (_AC_PROG_CC_C89): New definition.
267 * configure: Regenerate.
269 * configure.in (AC_PROG_CPP): New definition.
270 * configure: Regenerate.
272 2013-01-23 Joseph Myers <joseph@codesourcery.com>
274 * debug/tst-backtrace.h: New file.
275 * debug/tst-backtrace2.c: Include tst-backtrace.h.
276 (ret): Remove variable.
278 (FAIL): Remove macro.
279 (NO_INLINE): Likewise.
280 (fn1): Use match function instead of strstr.
281 * debug/tst-backtrace3.c: Include tst-backtrace.h.
282 (ret): Remove variable.
284 (FAIL): Remove macro.
285 (NO_INLINE): Likewise.
286 (fn): Use match function instead of strstr.
287 * debug/tst-backtrace4.c: Include tst-backtrace.h.
288 (ret): Remove variable.
290 (FAIL): Remove macro.
291 (NO_INLINE): Likewise.
292 (handle_signal): Use match function instead of strstr.
293 * debug/tst-backtrace5.c: Include tst-backtrace.h.
294 (ret): Remove variable.
296 (FAIL): Remove macro.
297 (NO_INLINE): Likewise.
298 (handle_signal): Use match function instead of strstr.
300 2013-01-23 Roland McGrath <roland@hack.frob.com>
302 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
304 2013-01-23 David S. Miller <davem@davemloft.net>
306 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
307 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
308 argument of CAS if possible.
309 * sysdeps/sparc/sparc64/bits/atomic.h
310 (__arch_compare_and_exchange_val_32_acq): Likewise.
311 (__arch_compare_and_exchange_val_64_acq): Likewise.
313 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
315 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
316 * sysdeps/posix/ulimit.c: ... this.
318 * sysdeps/unix/bsd/ulimit.c: Remove file.
320 2013-01-23 Adam Conrad <adconrad@0c3.net>
322 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
323 (LDFLAGS-tst-array5): Likewise.
325 2013-01-23 Joseph Myers <joseph@codesourcery.com>
328 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
329 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
330 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
331 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
333 2013-01-21 David S. Miller <davem@davemloft.net>
335 * sysdeps/sparc/backtrace.c: New file.
336 * sysdeps/sparc/sparc32/backtrace.h: New file.
337 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
338 * sysdeps/sparc/sparc64/backtrace.h: New file.
339 * sysdeps/sparc/sparc64/backtrace.c: Delete.
340 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
343 2013-01-21 Andreas Schwab <schwab@suse.de>
346 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
349 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
355 2013-01-18 Joseph Myers <joseph@codesourcery.com>
356 Mark Mitchell <mark@codesourcery.com>
357 Tom de Vries <tom@codesourcery.com>
358 Paul Pluzhnikov <ppluzhnikov@google.com>
360 * debug/tst-backtrace2.c: New file.
361 * debug/tst-backtrace3.c: Likewise.
362 * debug/tst-backtrace4.c: Likewise.
363 * debug/tst-backtrace5.c: Likewise.
364 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
365 (CFLAGS-tst-backtrace3.c): Likewise.
366 (CFLAGS-tst-backtrace4.c): Likewise.
367 (CFLAGS-tst-backtrace5.c): Likewise.
368 (LDFLAGS-tst-backtrace2): Likewise.
369 (LDFLAGS-tst-backtrace3): Likewise.
370 (LDFLAGS-tst-backtrace4): Likewise.
371 (LDFLAGS-tst-backtrace5): Likewise.
372 (tests): Add new tests tst-backtrace2, tst-backtrace3,
373 tst-backtrace4 and tst-backtrace5.
375 2013-01-18 Anton Blanchard <anton@samba.org>
376 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
378 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
379 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
380 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
381 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
383 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
384 "+r" and remove output regs list as redundant. Add explicit inline
385 asm to specify register of return val to work around compiler codegen
386 bug. Remove (int) cast on return value. Add return type parameter to
387 use in macro so that this macro does not truncate return value for
389 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
390 pass to INTERNAL_VSYSCALL_NCS.
391 (INLINE_VSYSCALL): Add 'long int' as return type to
392 INTERNAL_VSYSCALL_NCS macro invocation.
393 (INTERNAL_VSYSCALL): Add 'long int' as return type to
394 INTERNAL_VSYSCALL_NCS macro invocation.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
397 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
400 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
401 Fix application of SIMD FP exception mask.
403 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
404 mp_no from a power of two.
405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
406 __mpexp_twomm1. Use __pow_mp.
408 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
411 2013-01-17 David S. Miller <davem@davemloft.net>
413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
415 2013-01-17 Joseph Myers <joseph@codesourcery.com>
418 * include/complex.h: Condition contents on [!_COMPLEX_H].
419 (__kernel_casinhf): New prototype.
420 (__kernel_casinh): Likewise.
421 (__kernel_casinhl): Likewise.
422 * math/Makefile (libm_calls): Add k_casinh.
423 * math/k_casinh.c: New file.
424 * math/k_casinhf.c: Likewise.
425 * math/k_casinhl.c: Likewise.
426 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
427 finite nonzero arguments.
428 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
429 finite nonzero arguments.
430 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
431 finite nonzero arguments.
432 * math/s_casinh.c: Do not include <float.h>.
433 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
434 * math/s_casinhf.c: Do not include <float.h>.
435 (__casinhf): Move code for finite nonzero arguments to
437 * math/s_casinhl.c: Do not include <float.h>.
438 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
440 (__casinhl): Move code for finite nonzero arguments to
442 * math/libm-test.inc (cacos_test): Add more tests.
443 * sysdeps/i386/fpu/libm-test-ulps: Update.
444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
448 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
449 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
450 [!HAVE_MREMAP]: Remove [defined linux] case.
451 * malloc/arena.c: Do not include <malloc-sysdep.h>.
453 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
455 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
457 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
459 * elf/elf.h (R_386_SIZE32): New relocation.
460 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
462 (elf_machine_rela): Likewise.
463 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
464 R_X86_64_SIZE64 and R_X86_64_SIZE32.
466 2013-01-17 Joseph Myers <joseph@codesourcery.com>
468 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
469 (FP_FAST_FMA): Do not define.
470 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
471 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
472 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
473 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
474 !_SOFT_FLOAT]: Likewise.
475 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
476 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
478 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
479 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
480 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
481 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
482 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
483 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
486 2013-01-16 Andreas Schwab <schwab@suse.de>
489 * include/stdlib.h (__mktemp): Add declaration.
490 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
491 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
493 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
495 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
497 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
498 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
499 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
501 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
502 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
504 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
506 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
507 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
508 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
510 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
511 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
513 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
515 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
517 2013-01-15 David S. Miller <davem@davemloft.net>
519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
520 trunc{,f} to libm-sysdep_routes.
521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
531 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
532 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
533 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
534 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
535 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
536 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
539 nearbyint{,f} to libm-sysdep_routes.
540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
551 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
553 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
554 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
556 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
557 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
558 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
560 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
561 libc_feholdexcept and libc_fesetenv.
563 2013-01-15 Mike Frysinger <vapier@gentoo.org>
565 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
567 2013-01-14 David S. Miller <davem@davemloft.net>
569 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
570 (SPARC_ASM_VIS2_IFUNC): Likewise.
571 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
573 use of 'siam' instruction.
574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
607 routines to libm-sysdep_routines.
608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
611 fdim/fdimf to libm-sysdep_routines.
612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
620 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
621 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
622 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
623 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
625 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
627 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
630 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
635 local variable MPTWO.
636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
639 2013-01-13 Mike Frysinger <vapier@gentoo.org>
641 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
644 2013-01-13 Mike Frysinger <vapier@gentoo.org>
646 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
648 2013-01-13 Mike Frysinger <vapier@gentoo.org>
650 * manual/pattern.texi (glob_t): Document gl_flags.
651 (glob64_t): Likewise.
653 2013-01-11 David S. Miller <davem@davemloft.net>
655 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
656 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
657 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
658 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
659 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
660 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
661 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
662 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
663 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
664 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
665 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
666 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
667 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
669 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
670 sparc V9 rather than using V8 code.
671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
674 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
676 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
679 2013-01-11 Roland McGrath <roland@hack.frob.com>
681 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
682 not in the main loop.
683 * configure: Regenerated.
685 2013-01-11 Joseph Myers <joseph@codesourcery.com>
687 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
688 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
690 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
691 [!__GLIBC_HAVE_LONG_LONG] case.
692 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
693 condition to just #else.
694 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
695 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
696 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
697 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
699 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
700 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
701 #elif condition to just #else.
702 * sysdeps/unix/sysv/linux/sys/sysmacros.h
703 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
704 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
705 #elif condition to just #else.
707 2013-01-11 Steve Ellcey <sellcey@mips.com>
709 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
710 (EF_MIPS_ARCH_64): Fix value.
711 (EF_MIPS_ARCH_32R2): New.
712 (EF_MIPS_ARCH_64R2): New.
714 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
716 * Makeconfig (+link-pie-before-libc): New.
717 (+link-pie-after-libc): Likewise.
718 (+link-pie-tests): Likewise.
719 (+link-pie): Rewritten.
720 (link-before-libc): Remove $(config-LDFLAGS).
721 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
722 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
723 (config-LDFLAGS): Renamed to ...
724 (rtld-LDFLAGS): This.
725 (rtld-tests-LDFLAGS): New macro.
726 (link-libc-rpath-link): Likewise.
727 (link-libc-tests-rpath-link): Likewise.
728 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
729 (link-libc): Prepand $(link-libc-rpath-link).
730 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
731 (test-program-prefix): New macro.
732 (test-via-rtld-prefix): Likewise.
733 (test-program-cmd): Likewise.
734 (host-test-program-cmd): Likewise.
735 * Makefile ($(common-objpfx)testrun.sh): Replace
736 $(run-program-prefix) with $(test-program-prefix).
737 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
739 ($(common-objpfx)shlib.lds): Likewise.
740 (build-module-helper): Likewise.
741 ($(common-objpfx)format.lds): Likewise.
742 * Rules (binaries-pie-tests): New.
743 (binaries-pie-notests): Likewise.
744 (binaries-pie): Rewritten.
745 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
746 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
747 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
748 (make-test-out): Replace $(host-built-program-cmd) with
749 $(host-test-program-cmd).
750 * config.make.in (build-hardcoded-path-in-tests): New variable.
751 * configure.in (--enable-hardcoded-path-in-tests): New configure
753 (hardcoded_path_in_tests): New AC_SUBST.
754 * configure: Regenerated.
755 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
756 $(built-program-cmd) with $(test-program-cmd).
757 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
758 (test_program_cmd): This.
759 * elf/Makefile ($(objpfx)order.out): Run test with
760 $(test-program-prefix).
761 ($(objpfx)order2.out): Likewise.
762 ($(objpfx)tst-initorder.out): Likewise.
763 ($(objpfx)tst-initorder2.out): Likewise.
764 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
766 ($(objpfx)tst-array1-static.out): Likewise.
767 ($(objpfx)tst-array2.out): Likewise.
768 ($(objpfx)tst-array3.out): Likewise.
769 ($(objpfx)tst-array4.out): Likewise.
770 ($(objpfx)tst-array5.out): Likewise.
771 ($(objpfx)tst-array5-static.out): Likewise.
772 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
774 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
775 $(run-program-prefix) with $(test-program-prefix).
776 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
777 (test_program_prefix): This.
778 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
779 $(run-program-prefix) with $(test-program-prefix).
780 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
781 (test_program_prefix): This.
782 * iconvdata/tst-tables.sh: Likewise.
783 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
784 $(run-program-prefix) with $(test-program-prefix).
785 ($(objpfx)tst-translit.out): Likewise.
786 ($(objpfx)tst-gettext2.out): Likewise.
787 ($(objpfx)tst-gettext4.out): Likewise.
788 ($(objpfx)tst-gettext6.out): Likewise.
789 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
790 (test_program_prefix): This.
791 * intl/tst-gettext2.sh: Likewise.
792 * intl/tst-gettext4.sh Likewise.
793 * intl/tst-gettext6.sh: Likewise.
794 * intl/tst-translit.sh: Likewise.
795 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
796 with $(test-program-cmd).
797 * libio/Makefile ($(objpfx)test-freopen.out): Replace
798 $(run-program-prefix) with $(test-program-prefix).
799 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
800 (test_program_prefix): This.
801 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
802 $(run-program-prefix) with $(test-program-prefix).
803 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
804 (test_program_prefix): This.
805 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
806 * posix/Makefile ($(objpfx)globtest.out): Replace
807 $(run-via-rtld-prefix) and $(test-wrapper) with
808 $(test-program-prefix) and $(test-via-rtld-prefix).
809 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
810 $(test-program-prefix).
811 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
812 $(host-test-program-cmd).
813 (tst-spawn-ARGS): Likewise.
814 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
815 $(test-program-prefix).
816 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
817 (test_via_rtld_prefix): This.
818 (test_wrapper): Renamed to ...
819 (test_program_prefix): This.
820 (run_program_prefix): Replaced by test_program_prefix.
821 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
822 (test_program_prefix): This.
823 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
824 with $(host-test-program-cmd).
825 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
826 $(run-program-prefix) with $(test-program-prefix).
827 ($(objpfx)tst-printf.out): Likewise.
828 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
830 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
831 (test_program_prefix): This.
832 * stdio-common/tst-unbputc.sh: Likewise.
833 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
834 $(run-program-prefix) with $(test-program-prefix).
835 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
836 (test_program_prefix): This.
837 * string/Makefile ($(objpfx)tst-svc.out): Replace
838 $(built-program-cmd) with $(test-program-cmd).
840 2013-01-11 Andreas Jaeger <aj@suse.de>
843 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
844 value. Sync with Linux 3.7.
846 2013-01-10 David S. Miller <davem@davemloft.net>
848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
849 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
850 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
852 2013-01-10 Roland McGrath <roland@hack.frob.com>
854 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
856 * configure: Regenerated.
858 2013-01-10 David S. Miller <davem@davemloft.net>
860 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
861 sparc V9 rather than using V8 code.
862 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
863 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
865 2013-01-10 Roland McGrath <roland@hack.frob.com>
867 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
868 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
869 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
870 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
871 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
872 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
873 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
874 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
875 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
876 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
877 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
878 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
879 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
880 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
881 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
882 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
883 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
884 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
885 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
886 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
887 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
888 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
889 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
890 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
891 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
892 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
893 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
895 2013-01-10 David S. Miller <davem@davemloft.net>
897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
899 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
901 * posix/Makefile (tests-static): New variable.
902 (tests): Add $(tests-static).
903 (tst-exec-static-ARGS): New variable.
904 (tst-spawn-static-ARGS): Likewise.
905 * posix/tst-exec-static.c: New file.
906 * posix/tst-spawn-static.c: Likewise.
907 * posix/tst-exec.c: Support run directly.
908 * posix/tst-spawn.c: Likewise.
910 2013-01-10 Joseph Myers <joseph@codesourcery.com>
912 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
914 * math/bits/mathcalls.h (llrint): Likewise.
916 * stdlib/stdlib.h (struct drand48_data): Likewise.
917 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
918 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
919 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
921 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
923 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
924 (elf_greg_t): Likewise.
925 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
926 (__jmp_buf): Likewise.
927 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
929 (llrint): Likewise, for all definitions.
932 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
933 Remove [__GNUC__] condition.
934 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
935 condition to just [__USE_ISOC99].
936 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
938 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
941 * sysdeps/unix/sysv/linux/x86/bits/environments.h
942 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
944 (_POSIX_V6_ILP32_OFF32): Likewise.
945 (_XBS5_ILP32_OFF32): Likewise.
946 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
947 (__ILP32_OFFBIG_LDFLAGS): Likewise.
949 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
951 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
954 doubles __mpexp_twomm1. Adjust usage.
955 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
958 2013-01-10 Andreas Schwab <schwab@suse.de>
961 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
962 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
964 2013-01-09 David S. Miller <davem@davemloft.net>
967 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
968 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
969 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
970 TCP_FASTOPEN): Define.
971 (tcp_repair_opt): New structure.
972 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
974 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
975 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
976 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
977 (tcp_cookie_transactions): New structure.
979 2013-01-09 Anton Blanchard <anton@samba.org>
981 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
982 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
983 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
986 2013-01-09 Joseph Myers <joseph@codesourcery.com>
988 * include/features.h (__USE_ANSI): Remove.
990 2013-01-09 Roland McGrath <roland@hack.frob.com>
992 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
994 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
996 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
998 * sysdeps/s390/fpu/libm-test-ulps: Update.
1000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1002 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1007 (__mp_dbl): Likewise.
1008 (__dbl_mp): Likewise.
1009 (add_magnitudes): Likewise.
1010 (sub_magnitudes): Likewise.
1016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1021 (__mp_dbl): Likewise.
1022 (__dbl_mp): Likewise.
1023 (add_magnitudes): Likewise.
1024 (sub_magnitudes): Likewise.
1030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1035 (__mp_dbl): Likewise.
1036 (__dbl_mp): Likewise.
1037 (add_magnitudes): Likewise.
1038 (sub_magnitudes): Likewise.
1045 2013-01-08 Joseph Myers <joseph@codesourcery.com>
1047 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1048 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1049 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1050 2 && __USE_EXTERN_INLINES]: Likewise.
1052 2013-01-08 Andreas Jaeger <aj@suse.de>
1055 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1057 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1058 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1060 2013-01-07 Anton Blanchard <anton@samba.org>
1062 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1063 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1064 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1065 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1066 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1067 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1068 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1069 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1072 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1073 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1075 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1076 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1077 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1078 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1079 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1080 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1082 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1083 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1085 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1086 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1087 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1088 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1089 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1091 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1092 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1095 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1096 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1097 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1098 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1102 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1103 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1104 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1106 2013-01-07 Joseph Myers <joseph@codesourcery.com>
1108 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1109 (__MALLOC_PMT): Likewise.
1110 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1111 [__GNUC__], only on [_LIBC].
1112 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1113 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1114 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1115 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1116 forward declaration.
1117 (realloc_hook_ini): Likewise.
1118 (memalign_hook_ini): Likewise.
1119 (__libc_memalign): Do not use __MALLOC_PMT in variable
1121 (__libc_valloc): Likewise.
1122 (__libc_pvalloc): Likewise.
1123 (__libc_calloc): Likewise.
1124 (__posix_memalign): Likewise.
1127 * math/s_casinh.c: Include <float.h>.
1128 (__casinh): Do not do computation with squaring and square root
1129 for large arguments.
1130 * math/s_casinhf.c: Include <float.h>.
1131 (__casinhf): Do not do computation with squaring and square root
1132 for large arguments.
1133 * math/s_casinhl.c: Include <float.h>.
1134 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1135 (__casinhl): Do not do computation with squaring and square root
1136 for large arguments.
1137 * math/libm-test.inc (casin_test): Add more tests.
1138 (casinh_test): Likewise.
1139 * sysdeps/i386/fpu/libm-test-ulps: Update.
1140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1142 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1144 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1145 (__x86_64_raw_data_cache_size): Likewise.
1146 (__x86_64_data_cache_size_half): Likewise.
1147 (__x86_64_raw_data_cache_size_half): Likewise.
1148 (__x86_64_shared_cache_size): Likewise.
1149 (__x86_64_raw_shared_cache_size): Likewise.
1150 (__x86_64_shared_cache_size_half): Likewise.
1151 (__x86_64_raw_shared_cache_size_half): Likewise.
1152 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1154 (__x86_data_cache_size): This.
1155 (__x86_64_raw_data_cache_size): Renamed to ...
1156 (__x86_raw_data_cache_size): This.
1157 (__x86_64_data_cache_size_half): Renamed to ...
1158 (__x86_data_cache_size_half): This.
1159 (__x86_64_raw_data_cache_size_half): Renamed to ...
1160 (__x86_raw_data_cache_size_half): This.
1161 (__x86_64_shared_cache_size): Renamed to ...
1162 (__x86_shared_cache_size): This.
1163 (__x86_64_raw_shared_cache_size): Renamed to ...
1164 (__x86_raw_shared_cache_size): This.
1165 (__x86_64_shared_cache_size_half): Renamed to ...
1166 (__x86_shared_cache_size_half): This.
1167 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1168 (__x86_raw_shared_cache_size_half): This.
1169 * sysdeps/x86_64/memcpy.S: Updated.
1170 * sysdeps/x86_64/memset.S: Likewise.
1171 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1173 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1175 2013-01-04 David S. Miller <davem@davemloft.net>
1177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1179 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1181 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1182 1 to avoid redefinition warning.
1183 (__USE_GNU): Don't define.
1184 (init_signaling_nan): Protoize.
1186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1188 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1190 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1192 (__cpymn): Likewise.
1193 (norm): Remove commented code.
1195 (__mp_dbl): Likewise.
1197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1198 (__cpymn): Likewise.
1199 (norm): Remove commented code.
1201 (__mp_dbl): Likewise.
1204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1205 mp_no value for 1.0 and 2.0.
1206 (norm): Use RADIXI instead of radixi.d.
1208 (__mul): Use 0.0 instead of zero.d.
1209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1210 mp_no value for 1.0 and 2.0.
1211 (norm): Use RADIXI instead of radixi.d.
1213 (__mul): Use 0.0 instead of zero.d.
1215 2013-01-04 Joseph Myers <joseph@codesourcery.com>
1218 * math/s_casinh.c (__casinh): Reduce finite argument to first
1219 quadrant then set signs of results at the end.
1220 * math/s_casinhf.c (__casinhf): Likewise.
1221 * math/s_casinhl.c (__casinhl): Likewise.
1222 * math/libm-test.inc (casin_test): Add more tests.
1223 (casinh_test): Likewise.
1224 * sysdeps/i386/fpu/libm-test-ulps: Update.
1225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1229 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1231 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1233 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1236 (__mp_dbl): Likewise.
1239 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1240 and adjust the header comment.
1242 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1243 variable name from declaration.
1245 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1248 Initialize COMMON_CPUID_INDEX_7 element.
1249 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1250 (CPUID_RTM): Likewise.
1251 (HAS_RTM): Likewise.
1252 (COMMON_CPUID_INDEX_7): New enum.
1254 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1257 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1258 size is zero, record memory as freed.
1260 2013-01-03 Andreas Jaeger <aj@suse.de>
1262 * po/ia.po: Add new Interlingua translation.
1264 2012-01-03 Allan McRae <allan@archlinux.org>
1266 * locale/programs/localedef.c: Fix description of '--posix' flag.
1268 2013-01-02 Joseph Myers <joseph@codesourcery.com>
1270 * NEWS: Update dates in second copyright notice.
1271 * README: Update copyright dates in example.
1272 * manual/libc.texinfo: Update copyright dates.
1273 * scripts/test-installation.pl: Update copyright date in --version
1276 * hurd/ctty-input.c: Fix copyright notice formatting.
1277 * hurd/ctty-output.c: Likewise.
1278 * hurd/dtable.c: Likewise.
1279 * hurd/hurd-raise.c: Likewise.
1280 * hurd/hurdprio.c: Likewise.
1281 * hurd/msgportdemux.c: Likewise.
1282 * misc/sys/file.h: Likewise.
1283 * misc/sys/ioctl.h: Likewise.
1284 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1285 * sysdeps/mach/hurd/chdir.c: Likewise.
1286 * sysdeps/mach/hurd/fchdir.c: Likewise.
1287 * sysdeps/mach/hurd/rename.c: Likewise.
1288 * sysdeps/mach/hurd/rmdir.c: Likewise.
1289 * sysdeps/mach/hurd/seekdir.c: Likewise.
1290 * sysdeps/mach/hurd/setsid.c: Likewise.
1291 * sysdeps/posix/wait3.c: Likewise.
1293 * All files with FSF copyright notices: Update copyright dates
1294 using scripts/update-copyrights.
1295 * intl/plural.c: Regenerated.
1296 * locale/programs/charmap-kw.h: Likewise.
1297 * locale/programs/locfile-kw.h: Likewise.
1299 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1301 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1305 calculation loop and add branch prediction.
1307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1308 check access beyond bounds of m1np.
1310 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1312 (__inv): Remove local variable MPTWO to use the global
1314 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1315 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1317 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1318 MP3HALFS static const.
1320 2013-01-01 David S. Miller <davem@davemloft.net>
1322 * po/ca.po: Update from translation team.
1324 2013-01-01 Joseph Myers <joseph@codesourcery.com>
1326 * scripts/update-copyrights: New file.
1327 * Makeconfig: Reformat copyright notice.
1328 * ctype/ctype.h: Likewise.
1329 * debug/swprintf_chk.c: Likewise.
1330 * elf/dl-cache.c: Likewise.
1331 * elf/dl-debug.c: Likewise.
1332 * elf/dl-object.c: Likewise.
1333 * grp/initgroups.c: Likewise.
1334 * hurd/Makefile: Likewise.
1335 * hurd/hurd/signal.h: Likewise.
1336 * hurd/hurdfault.c: Likewise.
1337 * hurd/hurdioctl.c: Likewise.
1338 * hurd/hurdlookup.c: Likewise.
1339 * hurd/intr-msg.c: Likewise.
1340 * iconv/gconv_open.c: Likewise.
1341 * libio/swprintf.c: Likewise.
1342 * locale/lc-ctype.c: Likewise.
1343 * locale/nl_langinfo.c: Likewise.
1344 * mach/Machrules: Likewise.
1345 * mach/Makefile: Likewise.
1346 * malloc/obstack.h: Likewise.
1347 * manual/Makefile: Likewise.
1348 * manual/tsort.awk: Likewise.
1349 * misc/bits/stab.def: Likewise.
1350 * nis/nis_print_group_entry.c: Likewise.
1351 * nis/nis_table.c: Likewise.
1352 * nis/nss_compat/compat-pwd.c: Likewise.
1353 * nis/nss_compat/compat-spwd.c: Likewise.
1354 * po/Makefile: Likewise.
1355 * posix/fnmatch.c: Likewise.
1356 * posix/regex.h: Likewise.
1357 * resolv/Makefile: Likewise.
1358 * resolv/nss_dns/dns-network.c: Likewise.
1359 * resolv/res_hconf.c: Likewise.
1360 * scripts/gen-sorted.awk: Likewise.
1361 * soft-fp/soft-fp.h: Likewise.
1362 * stdio-common/printf.h: Likewise.
1363 * stdlib/monetary.h: Likewise.
1364 * stdlib/random.c: Likewise.
1365 * stdlib/random_r.c: Likewise.
1366 * sysdeps/generic/Makefile: Likewise.
1367 * sysdeps/gnu/Makefile: Likewise.
1368 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1369 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1370 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1372 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1396 * sysdeps/mach/hurd/errnos.awk: Likewise.
1397 * sysdeps/mach/hurd/fork.c: Likewise.
1398 * sysdeps/mach/hurd/getcwd.c: Likewise.
1399 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1400 * sysdeps/mach/hurd/mmap.c: Likewise.
1401 * sysdeps/mach/hurd/utimes.c: Likewise.
1402 * sysdeps/mach/hurd/xmknod.c: Likewise.
1403 * sysdeps/posix/profil.c: Likewise.
1404 * sysdeps/posix/readdir_r.c: Likewise.
1405 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1406 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1407 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1408 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1410 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1412 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1414 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1416 * sysdeps/pthread/lio_listio.c: Likewise.
1417 * sysdeps/sparc/dl-procinfo.h: Likewise.
1418 * sysdeps/unix/i386/sysdep.S: Likewise.
1419 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1420 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1421 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1422 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1424 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1425 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1426 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1427 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1428 * sysdeps/wordsize-32/divdi3.c: Likewise.
1429 * time/sys/time.h: Likewise.
1430 * wcsmbs/Makefile: Likewise.
1432 2013-01-01 David S. Miller <davem@davemloft.net>
1434 * po/fr.po: Update from translation team.
1436 * catgets/gencat.c: Update copyright year.
1437 * csu/version.c: Likewise.
1438 * debug/catchsegv.sh: Likewise.
1439 * debug/pcprofiledump.c: Likewise.
1440 * debug/xtrace.sh: Likewise.
1441 * elf/ldconfig.c: Likewise.
1442 * elf/ldd.bash.in: Likewise.
1443 * elf/pldd.c: Likewise.
1444 * elf/sotruss.ksh: Likewise.
1445 * elf/sprof.c: Likewise.
1446 * iconv/iconv_prog.c: Likewise.
1447 * iconv/iconvconfig.c: Likewise.
1448 * locale/programs/locale.c: Likewise.
1449 * locale/programs/localedef.c: Likewise.
1450 * login/programs/pt_chown.c: Likewise.
1451 * malloc/memusage.sh: Likewise.
1452 * malloc/memusagestat.c: Likewise.
1453 * malloc/mtrace.pl: Likewise.
1454 * nscd/nscd.c: Likewise.
1455 * nss/getent.c: Likewise.
1456 * nss/makedb.c: Likewise.
1457 * posix/getconf.c: Likewise.
1459 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1464 2012-12-30 Mike Frysinger <vapier@gentoo.org>
1466 * math/bits/mathcalls.h (modf): Use __nonnull.
1468 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1470 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1471 (split): Use macro CN instead of the bare value.
1472 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1475 instead of the bare value.
1478 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1480 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1482 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1484 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1486 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1487 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1488 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1489 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1491 2012-12-28 Andreas Jaeger <aj@suse.de>
1493 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1494 values are from Linux 3.7.
1496 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1497 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1499 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1501 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
1504 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1506 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1507 variables with preprocessor constants.
1508 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1509 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1510 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1512 2012-12-27 Bruno Haible <bruno@clisp.org>
1515 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1518 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1521 and use variable directly.
1522 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1524 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1526 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1527 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1529 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1531 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1532 include directive. Remove local variable MPONE.
1533 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1534 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1535 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1537 2012-12-25 David S. Miller <davem@davemloft.net>
1539 * version.h (RELEASE): Set to "development".
1540 (VERSION): Set to "2.17.90".
1541 * NEWS: Add 2.18 section.
1543 2012-12-21 David S. Miller <davem@davemloft.net>
1545 * po/hr.po: Update from translation team.
1547 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1549 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1551 2012-12-19 Steve Ellcey <sellcey@mips.com>
1553 * NEWS: Mention new memcpy for MIPS.
1555 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1557 * manual/contrib.texi (Contributors): Spelling correction.
1559 2012-12-15 David S. Miller <davem@davemloft.net>
1561 * po/ru.po: Update from translation team.
1563 2012-12-13 David S. Miller <davem@davemloft.net>
1565 * NEWS: Mention IFUNC testsuite enhancements.
1567 * po/pl.po: Update from translation team.
1568 * po/bg.po: Likewise.
1570 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1571 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1573 2012-12-11 David S. Miller <davem@davemloft.net>
1575 * po/sv.po: Update from translation team.
1577 * po/vi.po: Update from translation team.
1579 * po/cs.po: Update from translation team.
1581 * po/de.po: Update from translation team.
1582 * po/eo.po: Likewise.
1583 * po/nl.po: Likewise.
1585 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1588 * manual/argp.texi (Argp Helper Functions): Move node to follow
1592 * manual/conf.texi (Limits on File System Capacity): Mention if
1593 terminating null is included in the max size.
1595 2012-12-10 Andreas Jaeger <aj@suse.de>
1597 * po/cs.po: Update from translation team.
1599 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1601 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1602 void pointer and cast to uintptr_t.
1603 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1605 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1606 * sysdeps/s390/s390-64/memset.S: Likewise.
1608 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
1611 * menual/message.texi (Message Translation): Fix typos.
1612 (Helper programs for gettext): Likewise.
1614 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1617 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1620 2012-12-07 David S. Miller <davem@davemloft.net>
1622 * po/libc.pot: Update.
1624 2012-12-07 Richard Henderson <rth@redhat.com>
1627 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1628 normal/normal case to before the switch.
1629 (_FP_DIV): Likewise.
1631 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1632 Mike Frysinger <vapier@gentoo.org>
1634 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1635 check for __NR_fadvise64_64.
1637 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1639 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1640 0, not just to plain "0" as a statement.
1641 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1644 2012-12-06 Joseph Myers <joseph@codesourcery.com>
1646 * NEWS: Use sourceware.org in Bugzilla URL.
1648 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1651 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1653 * stdio-common/tst-put-error.c (do_test): Add newline to the
1654 padded test to ensure flush.
1656 2012-12-05 Jeff Law <law@redhat.com>
1658 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1660 2012-12-05 Joseph Myers <joseph@codesourcery.com>
1662 * README: Don't refer to ports add-on as distributed separately.
1663 Mention AArch64 in list of systems supported in the ports add-on.
1665 * LICENSES: Add more non-FSF copyright and license notices.
1667 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1670 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1672 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1673 10000 as width of padded output.
1675 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1677 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1679 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1680 variable LX with __attribute__ ((unused)).
1681 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1683 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1686 with __attribute__ ((unused)).
1688 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
1690 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1692 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1694 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1695 (CFLAGS-nldbl-acos.c): New variable.
1696 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1697 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1698 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1699 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1700 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1701 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1702 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1703 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1704 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1705 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1706 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1707 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1708 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1709 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1710 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1711 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1712 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1713 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1714 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1715 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1716 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1717 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1718 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1719 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1720 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1721 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1722 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1723 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1724 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1725 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1726 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1727 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1728 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1729 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1730 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1731 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1732 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1733 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1734 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1735 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1736 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1737 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1738 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1739 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1740 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1741 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1742 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1743 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1744 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1745 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1746 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1747 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1748 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1749 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1750 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1751 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1752 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1753 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1754 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1755 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1756 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1757 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1758 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1759 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1760 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1761 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1762 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1763 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1764 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1765 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1766 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1767 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1768 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1769 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1770 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1771 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1772 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1773 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1774 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1775 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1776 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1777 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1778 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1779 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1780 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1781 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1782 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1783 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1784 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1785 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1786 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1787 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1788 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1789 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1790 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1791 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1792 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1795 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1799 whole low double instead of just low 47 bits when splitting values
1802 2012-12-03 Allan McRae <allan@archlinux.org>
1804 * manual/stdio.texi (Predefined Printf Handlers): Remove
1805 @hsep and @vsep usage.
1807 2012-12-03 Mike Frysinger <vapier@gentoo.org>
1809 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1810 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1812 2012-12-03 Jeff Law <law@redhat.com>
1814 * time/sys/time.h (settimeofday): Do not mark TV argument
1817 2012-12-01 Mike Frysinger <vapier@gentoo.org>
1819 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1820 when currently writing and seek to current position when not.
1821 * libio/Makefile (tests): Remove bug-fclose1.
1822 * libio/bug-fclose1.c: Delete.
1824 2012-12-01 Joseph Myers <joseph@codesourcery.com>
1826 * manual/arith.texi (feenableexcept): Fix typo.
1827 (fedisableexcept): Likewise.
1829 2012-11-30 Roland McGrath <roland@hack.frob.com>
1831 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1832 second, differently-typed declaration, rather than a cast.
1834 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1836 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1837 * include/rpc/svc.h: ... here.
1839 2012-11-30 Aurelien Jarno <aurel32@debian.org>
1842 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1843 depending n and resplen2 to catch cases where answer
1846 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1848 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1849 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1851 2012-11-29 Mike Frysinger <vapier@gentoo.org>
1853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1855 2012-11-29 Roland McGrath <roland@hack.frob.com>
1857 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1859 2012-11-28 Jeff Law <law@redhat.com>
1862 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1863 dataset_temporary. Track alloca usage into alloca_used.
1864 If dataset is large allocate and release it via malloc/free.
1866 2012-06-04 Florian Weimer <fweimer@redhat.com>
1869 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1871 2012-11-28 David S. Miller <davem@davemloft.net>
1873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1875 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1878 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1879 of pi/2 rounded to nearest to 64 bits.
1880 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1882 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1885 2012-11-28 Jeff Law <law@redhat.com>
1886 Martin Osvald <mosvald@redhat.com>
1889 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1890 * sunrpc/svc.c: Include time.h.
1891 (__svc_accept_failed): New function.
1892 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1893 any reason other than EINTR, call __svc_accept_failed.
1894 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1895 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1897 2012-11-28 Andreas Schwab <schwab@suse.de>
1899 * scripts/abilist.awk: Also handle indirect functions in .opd
1902 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1905 * sysdeps/x86/fpu/powl_helper.c: New file.
1906 * sysdeps/x86/fpu/Makefile: Likewise.
1907 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1909 (__ieee754_powl): Use __powl_helper for finite arguments except
1910 integer exponents below 8.
1911 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1913 (__ieee754_powl): Use __powl_helper for finite arguments except
1914 integer exponents below 8.
1915 * math/libm-test.inc (pow_test): Add more tests and enable some
1916 previously disabled tests.
1917 * sysdeps/i386/fpu/libm-test-ulps: Update.
1918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1920 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1921 Carlos O'Donell <carlos_odonell@mentor.com>
1923 * nss/makedb.c (is_prime): Assert that input is odd and greater
1924 than 4. Note that fact in a comment too.
1925 (next_prime): Add 4 to input.
1927 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1930 * libio/Makefile (tests): Add test case tst-fwrite-error.
1931 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1932 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1933 * libio/tst-fwrite-error.c: New test case.
1935 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1937 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1938 before casting to void *.
1939 * include/libc-internal.h (__pointer_type): New macro.
1940 (__integer_if_pointer_type_sub): Likewise.
1941 (__integer_if_pointer_type): Likewise.
1942 (cast_to_integer): Likewise.
1943 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1944 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1945 before casting to atomic64_t.
1946 (atomic_exchange_acq): Likewise.
1947 (__arch_exchange_and_add_body): Likewise.
1948 (__arch_add_body): Likewise.
1949 (atomic_add_negative): Likewise.
1950 (atomic_add_zero): Likewise.
1952 2012-11-26 Joseph Myers <joseph@codesourcery.com>
1954 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1955 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1956 (add_fdes): Likewise.
1957 (linear_search_fdes): Likewise.
1958 (binary_search_unencoded_fdes): Likewise.
1960 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1962 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1964 2012-11-24 Adam Conrad <adconrad@0c3.net>
1966 * configure.in: Autodetect C++ header directories.
1967 * configure: Regenerated.
1969 2012-11-23 Mike Frysinger <vapier@gentoo.org>
1971 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1973 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1977 2012-11-22 Joseph Myers <joseph@codesourcery.com>
1979 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1980 LDBL_MANT_DIG == 106]: Disable some tests.
1981 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1983 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1987 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1988 input for small inputs. Return +/- pi/2 for large inputs.
1989 * math/libm-test.inc (atan_test): Add more tests.
1991 * sysdeps/generic/unwind-dw2-fde-glibc.c
1992 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1993 __attribute__ ((unused)).
1996 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1997 x * y if x and y are nonzero and z is zero.
2000 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2001 nonzero exponents with absolute value below 0x1p-117 to +/-
2005 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2006 up arguments below 2**-450, not just those below 2**-500.
2007 * math/libm-test.inc (hypot_test): Add another test.
2010 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2011 Return a+b for ratio over 2**120, not 2**60.
2012 * math/libm-test.inc (hypot_test): Add another test.
2014 * math/libm-test.inc (clog_test): Use
2015 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2016 (clog10_test): Likewise.
2019 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2021 2012-11-22 Andreas Schwab <schwab@suse.de>
2023 * sysdeps/i386/fpu/libm-test-ulps: Update.
2025 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2027 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2028 printf output with newline.
2030 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2033 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2034 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2035 -z nodlopen, -z initfirst and -z execstack support.
2036 * configure: Regenerated.
2038 * elf/elf.h (DF_1_NODIRECT): New macro.
2039 (DF_1_IGNMULDEF): Likewise.
2040 (DF_1_NOKSYMS): Likewise.
2041 (DF_1_NOHDR): Likewise.
2042 (DF_1_EDITED): Likewise.
2043 (DF_1_NORELOC): Likewise.
2044 (DF_1_SYMINTPOSE): Likewise.
2045 (DF_1_GLOBAUDIT): Likewise.
2046 (DF_1_SINGLETON): Likewise.
2047 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2048 DT_1_SUPPORTED_MASK bits.
2049 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2051 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2053 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2055 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2057 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2060 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2061 (sendmmsg): Move declarations...
2062 * socket/sys/socket.h: ... here.
2063 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2064 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2066 * socket/recvmmsg.c: ... this new file.
2067 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2068 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2069 definition of __sendmmsg hidden.
2070 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2071 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2072 Move ENOSYS stub into and include it from...
2073 * socket/sendmmsg.c: ... this new file.
2074 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2075 (sysdep_routines): Move recvmmsg and sendmmsg...
2076 * socket/Makefile (routines): ... here.
2077 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2078 (GLIBC_PRIVATE): Add __sendmmsg.
2079 * include/sys/socket.h (__sendmmsg): Add declarations.
2080 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2083 2012-11-20 Joseph Myers <joseph@codesourcery.com>
2085 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2086 variable I1 with __attribute__ ((unused)).
2087 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2089 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2091 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2092 DUMMY variables with __attribute__ ((unused)).
2094 * bits/byteswap.h: Include <bits/types.h>.
2095 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2097 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2099 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2100 string_t. Do not manually set errno.
2101 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2102 length with __strnlen. Make sure to both set errno and return it on
2105 2012-11-19 David S. Miller <davem@davemloft.net>
2107 With help from Joseph Myers.
2108 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2109 very large arguments properly.
2110 * math/libm-test.inc (atan_test): New tests.
2111 (atan2_test): New tests.
2112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2115 2012-11-19 Joseph Myers <joseph@codesourcery.com>
2118 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2121 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2122 [POSIX] (EADDRNOTAVAIL): Likewise.
2123 [POSIX] (EAFNOSUPPORT): Likewise.
2124 [POSIX] (EALREADY): Likewise.
2125 [POSIX] (ECONNABORTED): Likewise.
2126 [POSIX] (ECONNREFUSED): Likewise.
2127 [POSIX] (ECONNRESET): Likewise.
2128 [POSIX] (EDESTADDRREQ): Likewise.
2129 [POSIX] (EDQUOT): Likewise.
2130 [POSIX] (EHOSTUNREACH): Likewise.
2131 [POSIX] (EIDRM): Likewise.
2132 [POSIX] (EISCONN): Likewise.
2133 [POSIX] (ELOOP): Likewise.
2134 [POSIX] (EMULTIHOP): Likewise.
2135 [POSIX] (ENETDOWN): Likewise.
2136 [POSIX] (ENETUNREACH): Likewise.
2137 [POSIX] (ENOBUFS): Likewise.
2138 [POSIX] (ENODATA): Likewise.
2139 [POSIX] (ENOLINK): Likewise.
2140 [POSIX] (ENOMSG): Likewise.
2141 [POSIX] (ENOPROTOOPT): Likewise.
2142 [POSIX] (ENOSR): Likewise.
2143 [POSIX] (ENOSTR): Likewise.
2144 [POSIX] (ENOTCONN): Likewise.
2145 [POSIX] (ENOTSOCK): Likewise.
2146 [POSIX] (EOPNOTSUPP): Likewise.
2147 [POSIX] (EOVERFLOW): Likewise.
2148 [POSIX] (EPROTO): Likewise.
2149 [POSIX] (EPROTONOSUPPORT): Likewise.
2150 [POSIX] (EPROTOTYPE): Likewise.
2151 [POSIX] (ESTALE): Likewise.
2152 [POSIX] (ETIME): Likewise.
2153 [POSIX] (ETXTBSY): Likewise.
2154 [POSIX] (EWOULDBLOCK): Likewise.
2155 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2156 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2157 [POSIX] (SEEK_CUR): Likewise.
2158 [POSIX] (SEEK_END): Likewise.
2159 [POSIX || UNIX98] (mode_t): Do not require.
2160 [POSIX] (off_t): Likewise.
2161 [POSIX] (pid_t): Likewise.
2162 [POSIX] (sys/stat.h): Do not allow header.
2163 [POSIX] (unistd.h): Likewise.
2164 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2165 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2166 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2167 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2169 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2170 sigevent): Specify elements.
2171 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2173 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2174 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2176 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2177 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2178 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2179 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2180 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2181 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2182 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2183 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2184 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2185 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2186 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2187 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2188 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2189 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2191 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2193 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2195 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2197 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2198 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2199 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2200 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2201 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2202 Specify lower bound on value.
2203 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2204 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2205 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2206 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2207 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2208 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2209 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2210 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2212 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2214 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2231 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2233 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2240 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2245 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2246 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2248 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2252 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2253 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2254 specify as optional.
2255 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2258 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2259 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2260 [XPG3] (NL_LANGMAX): Likewise.
2261 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2262 [POSIX || XPG3] (NL_NMAX): Likewise.
2263 [POSIX || XPG3] (NL_SETMAX): Likewise.
2264 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2265 [XPG3] (NZERO): Likewise.
2266 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2267 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2268 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2269 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2270 (REG_ERANGE): Expect.
2271 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2273 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2274 Use (void) in prototype.
2275 [POSIX] (*_t): Allow.
2276 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2277 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2278 (WRDE_BADVAL): Expect.
2280 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2282 [XPG3 || XPG4] (O_RSYNC): Likewise.
2283 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2285 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2286 [XPG3 || XPG4] (sigqueue): Likewise.
2287 [XPG3 || XPG4] (sigtimedwait): Likewise.
2288 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2289 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2290 [XPG3 || XPG4] (vsnprintf): Likewise.
2291 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2293 [XPG3 || XPG4] (blksize_t): Likewise.
2294 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2296 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2297 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2298 [XPG3 || XPG4] (struct itimerspec): Likewise.
2299 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2300 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2301 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2302 [XPG3 || XPG4] (clockid_t): Likewise.
2303 [XPG3 || XPG4] (timer_t): Likewise.
2304 [XPG3 || XPG4] (clock_getres): Likewise.
2305 [XPG3 || XPG4] (clock_gettime): Likewise.
2306 [XPG3 || XPG4] (clock_settime): Likewise.
2307 [XPG3 || XPG4] (nanosleep): Likewise.
2308 [XPG3 || XPG4] (timer_create): Likewise.
2309 [XPG3 || XPG4] (timer_delete): Likewise.
2310 [XPG3 || XPG4] (timer_gettime): Likewise.
2311 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2312 [XPG3 || XPG4] (timer_settime): Likewise.
2313 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2314 [XPG3 || XPG4] (getlogin_r): Likewise.
2315 [XPG3 || XPG4] (pread): Likewise.
2316 [XPG3 || XPG4] (pthread_atfork): Likewise.
2317 [XPG3 || XPG4] (pwrite): Likewise.
2320 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2323 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2325 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2326 finalizing MALLSTREAM.
2328 * sysdeps/mach/hurd/syncfs.c: New file.
2330 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2333 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2334 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2335 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2336 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2337 (_nss_dns_gethostbyname4_r): Likewise.
2338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2339 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2341 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2344 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2346 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2348 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2349 * elf/cache.c (print_entry): Print ",AArch64" for
2352 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2353 * elf/cache.c (print_entry): Print ",hard-float" for
2356 2012-11-18 David S. Miller <davem@davemloft.net>
2358 With help from Joseph Myers.
2359 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2361 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2363 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2364 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2366 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2367 * math/libm-test.inc (y0_test): New tests.
2368 (y1_test): New tests.
2369 * sysdeps/i386/fpu/libm-test-ulps: Update.
2370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2373 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2375 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2377 * configure: Regenerated.
2379 2012-11-17 David S. Miller <davem@davemloft.net>
2382 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2383 nonzero exponents with absolute value below 0x1p-128 to +/-
2386 2012-11-17 Joseph Myers <joseph@codesourcery.com>
2388 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2390 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2392 * posix/getconf-speclist.c: New file.
2393 * posix/posix-envs.def: Likewise.
2394 * posix/confstr.c (START_ENV_GROUP): New macro.
2395 (END_ENV_GROUP): Likewise.
2396 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2397 (KNOWN_PRESENT_ENV_STRING): Likewise.
2398 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2399 (UNKNOWN_ENVIRONMENT): Likewise.
2400 (confstr): Include posix-envs.def instead of handling
2401 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2402 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2403 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2404 (END_ENV_GROUP): Likewise.
2405 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2406 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2407 (UNKNOWN_ENVIRONMENT): Likewise.
2408 (__sysconf): Include posix-envs.def instead of handling associated
2409 cases directly here.
2410 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2411 preprocessing getconf-speclist.c rather than running getconf or
2412 generating empty file.
2414 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2416 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2418 2012-11-16 Andrej Lajovic <natrij@gmail.com>
2421 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2423 2012-11-16 David S. Miller <davem@davemloft.net>
2425 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2426 smaller than LDBL_EPSILON/2.0L, just return xm1.
2428 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2430 * elf/tst-array1.c (init): Set constructor priority to 1000.
2431 (fini): Set destructor priority to 1000.
2432 * elf/tst-array2dep.c: Likewise.
2434 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2437 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2438 (_IO_new_file_xsputn): Also return EOF if none of the input
2439 data was written when overflow failed.
2440 * libio/iopadn.c (_IO_padn): Likewise.
2441 * libio/iowpadn.c (_IO_wpadn): Likewise.
2442 * stdio-common/tst-put-error.c: Add copyright notice.
2443 (do_test): Add case for printing padded string.
2444 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2445 _IO_padn returned error.
2446 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2447 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2450 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2452 * libio/libioP.h: Add comment note that the references to C++
2453 bits are now obsolete.
2455 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2457 * math/libm-test.inc (check_complex): Use asprintf.
2459 2012-11-14 Joseph Myers <joseph@codesourcery.com>
2461 * debug/pcprofiledump.c (print_version): Update copyright year.
2462 * malloc/memusagestat.c (print_version): Likewise.
2464 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2467 * elf/Makefile (tests): Add tst-audit8.
2468 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2469 ($(objpfx)tst-audit8.out): New target.
2470 (tst-audit8-ENV): New variable.
2471 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2472 audit if l_reloc_result is NULL.
2473 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2474 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2475 * elf/tst-audit8.c: New file.
2477 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2479 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2480 * misc/Makefile (CFLAGS-select.c): Define.
2481 * posix/Makefile (CFLAGS-pause.c): Define.
2483 2012-11-13 David S. Miller <davem@davemloft.net>
2485 * crypt/Makefile: Move test targets after toplevel Rules
2486 inclusion. Grab any necessary sysdep routines when linking.
2487 * crypt/md5.c (md5_process_block): Remove define, we will always
2488 name it __md5_process_block.
2489 (md5_finish_ctx): Update md5_process_block call.
2490 (md5_stream): Likewise.
2491 (md5_process_bytes): Likewise.
2492 (md5_process_block): Rename to __md5_process_block and move to ...
2493 * crypt/md5-block.c: ... here.
2494 * crypt/sha256.c (sha256_process_block): Move to ...
2495 * crypt/sha256-block.c: ... here.
2496 * crypt/sha512.c (sha512_process_block): Move to ...
2497 * crypt/sha512-block.c: ... here.
2498 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2500 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2501 * sysdeps/sparc/sparc64/multiarch/Makefile
2502 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2504 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2505 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2507 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2508 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2509 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2510 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2511 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2512 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2513 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2514 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2515 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2517 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2518 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2520 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2522 2012-11-13 Joseph Myers <joseph@codesourcery.com>
2524 * timezone/tzselect.ksh: Update from tzcode git revision
2525 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2526 * timezone/zdump.c: Likewise.
2527 * timezone/zic.c: Likewise.
2528 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2529 in TZVERSION setting, not $(PKGVERSION).
2530 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2531 REPORT_BUGS_TO settings.
2534 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2537 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2539 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2540 detection to immediately after _FP_ROUND().
2541 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2544 2012-11-11 David S. Miller <davem@davemloft.net>
2546 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2548 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2549 __close rather than their public counterparts.
2551 2012-11-10 Joseph Myers <joseph@codesourcery.com>
2553 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2555 [UNIX98] (sem_timedwait): Do not expect.
2556 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2557 [XPG4 || UNIX98] (sockatmark): Do not expect.
2558 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2559 (clock_getcpuclockid): Do not expect.
2560 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2561 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2563 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2564 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2565 [UNIX98] (vwscanf): Likewise.
2566 [UNIX98] (vswscanf): Likewise.
2568 2012-11-09 Joseph Myers <joseph@codesourcery.com>
2570 * timezone/version.h: Remove file.
2571 * timezone/README: Do not refer to version.h.
2572 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2574 ($(objpfx)zdump.o): Likewise.
2575 ($(objpfx)version.h): New target.
2577 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2579 * timezone/README: Don't mention modification to tzselect.ksh.
2580 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2581 work on unmodified tzselect.ksh. Substitute version numbers in
2584 * Makefile (format-me): Remove.
2585 (INSTALL): Adjust indentation. Use commands directly instead of
2588 * aclocal.m4 (ACX_PKGVERSION): New macro.
2589 (ACX_BUGURL): Likewise.
2590 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2591 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2592 (REPORT_BUGS_TO): Likewise.
2593 * configure: Regenerated.
2594 * config.h.in (PKGVERSION): New macro.
2595 (REPORT_BUGS_TO): Likewise.
2596 * config.make.in (PKGVERSION): New variable.
2597 (PKGVERSION_TEXI): Likewise.
2598 (REPORT_BUGS_TO): Likewise.
2599 (REPORT_BUGS_TEXI): Likewise.
2600 * Makefile (format-me): Use -I$(common-objpfx)manual.
2601 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2602 ($(common-objpfx)manual/%): New target.
2603 (manual/%): Remove target.
2604 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2605 (print_version): Use PKGVERSION.
2606 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2607 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2609 ($(objpfx)xtrace): Likewise.
2610 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2611 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2612 (print_version): Use PKGVERSION.
2613 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2614 (do_version): Use PKGVERSION.
2615 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2617 (common-ldd-rewrite): Likewise.
2618 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2619 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2620 (print_version): Use PKGVERSION.
2621 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2622 * elf/pldd.c (argp_program_bug_address): Remove variable.
2623 (more_help): New function.
2624 (argp): Use more_help.
2625 (print_version): Use PKGVERSION.
2626 * elf/sln.c (main): Use PKGVERSION.
2627 (usage): Use REPORT_BUGS_TO.
2628 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2629 (top level): Use PKGVERSION.
2630 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2631 (print_version): Use PKGVERSION.
2632 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2633 (print_version): Use PKGVERSION.
2634 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2635 (print_version): Use PKGVERSION.
2636 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2637 (print_version): Use PKGVERSION.
2638 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2639 (print_version): Use PKGVERSION.
2640 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2641 (print_version): Use PKGVERSION.
2642 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2644 ($(objpfx)memusage): Likewise.
2645 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2646 (do_version): Use PKGVERSION.
2647 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2648 (print_version): Use PKGVERSION.
2649 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2650 ($PKGVERSION): New variable.
2651 ($REPORT_BUGS_TO): Likewise.
2652 (usage): Use $REPORT_BUGS_TO.
2653 (top level): Use $PKGVERSION.
2654 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2655 ($(objpfx)pkgvers.texi): New rule.
2656 ($(objpfx)stamp-pkgvers): Likewise.
2657 * manual/install.texi: Include pkgvers.texi.
2658 (--with-pkgversion): Document new configure option.
2659 (--with-bugurl): Likewise.
2660 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2661 than necessarily for this particular distribution. Use
2662 REPORT_BUGS_TO for where to report bugs.
2663 * INSTALL: Regenerated.
2664 * manual/libc.texinfo: Include pkgvers.texi.
2665 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2666 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2667 (print_version): Use PKGVERSION.
2668 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2669 (print_version): Use PKGVERSION.
2670 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2671 (print_version): Use PKGVERSION.
2672 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2673 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2675 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2676 (print_version): Use PKGVERSION.
2677 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2678 (print_version): Use PKGVERSION.
2679 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2682 * timezone/checktab.awk: Update from tzcode 2012i.
2683 * timezone/ialloc.c: Likewise.
2684 * timezone/private.h: Likewise.
2685 * timezone/scheck.c: Likewise.
2686 * timezone/tzfile.h: Likewise.
2687 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2688 (TZVERSION): Hardcode tzcode version number.
2689 * timezone/zdump.c: Update from tzcode 2012i.
2690 * timezone/zic.c: Likewise.
2691 * timezone/version.h: New file.
2692 * timezone/README: Describe version.h. Update upstream location.
2695 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2696 (mktemp): Enable declaration.
2697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2700 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2702 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2704 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2710 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2714 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2715 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2716 for copies of such integer values.
2717 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2718 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2720 2012-11-09 Andreas Jaeger <aj@suse.de>
2722 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2723 definitions and declarations that are provided by
2724 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2726 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2728 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2729 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2730 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2733 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2735 * elf/elf.h: Update comment before AArch64 relocations.
2737 2012-11-07 David S. Miller <davem@davemloft.net>
2739 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2740 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2741 (__start_context): Declare.
2742 (__makecontext_ret): Delete.
2743 (__makecontext): Hook up __start_context instead of
2745 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2746 (sysdep_routines): Add __start_context when in stdlib.
2748 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2750 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2751 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2752 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2754 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2755 (READELF): New variable. Use it instead of hardcoded "readelf".
2757 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2759 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2760 * sysdeps/x86/Makefile: Here.
2761 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2762 * sysdeps/x86/tst-xmmymm.sh: This.
2764 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2766 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2768 [UNIX98] (pthread_barrier_t): Do not expect.
2769 [UNIX98] (pthread_barrierattr_t): Likewise.
2770 [UNIX98] (pthread_spinlock_t): Likewise.
2771 [UNIX98] (pthread_barrier_destroy): Likewise.
2772 [UNIX98] (pthread_barrier_init): Likewise.
2773 [UNIX98] (pthread_barrier_wait): Likewise.
2774 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2775 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2776 [UNIX98] (pthread_barrierattr_init): Likewise.
2777 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2778 [UNIX98] (pthread_getcpuclockid): Likewise.
2779 [UNIX98] (pthread_mutex_timedlock): Likewise.
2780 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2781 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2782 [UNIX98] (pthread_sigmask): Likewise.
2783 [UNIX98] (pthread_spin_destroy): Likewise.
2784 [UNIX98] (pthread_spin_init): Likewise.
2785 [UNIX98] (pthread_spin_lock): Likewise.
2786 [UNIX98] (pthread_spin_trylock): Likewise.
2787 [UNIX98] (pthread_spin_unlock): Likewise.
2788 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2790 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2791 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2792 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2793 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2794 [XPG3 || XPG4] (pthread_key_t): Likewise.
2795 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2796 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2797 [XPG3 || XPG4] (pthread_once_t): Likewise.
2798 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2799 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2800 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2801 [XPG3 || XPG4] (pthread_t): Likewise.
2803 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2805 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2807 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2808 Change function return type to int.
2810 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2811 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2812 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2813 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2814 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2815 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2816 [!POSIX] (posix_madvise): Likewise.
2817 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2819 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2820 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2822 (posix_mem_offset): Likewise.
2823 (posix_typed_mem_get_info): Likewise.
2824 (posix_typed_mem_open): Likewise.
2826 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2827 Change condition to [XOPEN2K8].
2829 * conform/conformtest.pl: Preprocess allow-header data with -x c
2830 instead of from stdin.
2831 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2832 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2833 [C99-based standards] (cerfc): Likewise.
2834 [C99-based standards] (cexp2): Likewise.
2835 [C99-based standards] (cexpm1): Likewise.
2836 [C99-based standards] (clog10): Likewise.
2837 [C99-based standards] (clog1p): Likewise.
2838 [C99-based standards] (clog2): Likewise.
2839 [C99-based standards] (clgamma): Likewise.
2840 [C99-based standards] (ctgamma): Likewise.
2841 [C99-based standards] (cerff): Likewise.
2842 [C99-based standards] (cerfcf): Likewise.
2843 [C99-based standards] (cexp2f): Likewise.
2844 [C99-based standards] (cexpm1f): Likewise.
2845 [C99-based standards] (clog10f): Likewise.
2846 [C99-based standards] (clog1pf): Likewise.
2847 [C99-based standards] (clog2f): Likewise.
2848 [C99-based standards] (clgammaf): Likewise.
2849 [C99-based standards] (ctgammaf): Likewise.
2850 [C99-based standards] (cerfl): Likewise.
2851 [C99-based standards] (cerfcl): Likewise.
2852 [C99-based standards] (cexp2l): Likewise.
2853 [C99-based standards] (cexpm1l): Likewise.
2854 [C99-based standards] (clog10l): Likewise.
2855 [C99-based standards] (clog1pl): Likewise.
2856 [C99-based standards] (clog2l): Likewise.
2857 [C99-based standards] (clgammal): Likewise.
2858 [C99-based standards] (ctgammal): Likewise.
2859 * conform/data/inttypes.h-data [C99-based standards]: Include
2860 stdint.h-data. Remove all expectations for stdint.h contents.
2861 [C99-based standards] (PRI*): Do not allow.
2862 [C99-based standards] (SCN*): Likewise.
2863 [C99-based standards] (*_t): Likewise.
2864 [C99-based-standards] (PRId8): Expect macro.
2865 [C99-based-standards] (PRIi8): Likewise.
2866 [C99-based-standards] (PRIo8): Likewise.
2867 [C99-based-standards] (PRIu8): Likewise.
2868 [C99-based-standards] (PRIx8): Likewise.
2869 [C99-based-standards] (PRIX8): Likewise.
2870 [C99-based-standards] (SCNd8): Likewise.
2871 [C99-based-standards] (SCNi8): Likewise.
2872 [C99-based-standards] (SCNo8): Likewise.
2873 [C99-based-standards] (SCNu8): Likewise.
2874 [C99-based-standards] (SCNx8): Likewise.
2875 [C99-based-standards] (PRIdLEAST8): Likewise.
2876 [C99-based-standards] (PRIiLEAST8): Likewise.
2877 [C99-based-standards] (PRIoLEAST8): Likewise.
2878 [C99-based-standards] (PRIuLEAST8): Likewise.
2879 [C99-based-standards] (PRIxLEAST8): Likewise.
2880 [C99-based-standards] (PRIXLEAST8): Likewise.
2881 [C99-based-standards] (SCNdLEAST8): Likewise.
2882 [C99-based-standards] (SCNiLEAST8): Likewise.
2883 [C99-based-standards] (SCNoLEAST8): Likewise.
2884 [C99-based-standards] (SCNuLEAST8): Likewise.
2885 [C99-based-standards] (SCNxLEAST8): Likewise.
2886 [C99-based-standards] (PRIdFAST8): Likewise.
2887 [C99-based-standards] (PRIiFAST8): Likewise.
2888 [C99-based-standards] (PRIoFAST8): Likewise.
2889 [C99-based-standards] (PRIuFAST8): Likewise.
2890 [C99-based-standards] (PRIxFAST8): Likewise.
2891 [C99-based-standards] (PRIXFAST8): Likewise.
2892 [C99-based-standards] (SCNdFAST8): Likewise.
2893 [C99-based-standards] (SCNiFAST8): Likewise.
2894 [C99-based-standards] (SCNoFAST8): Likewise.
2895 [C99-based-standards] (SCNuFAST8): Likewise.
2896 [C99-based-standards] (SCNxFAST8): Likewise.
2897 [C99-based-standards] (PRId16): Likewise.
2898 [C99-based-standards] (PRIi16): Likewise.
2899 [C99-based-standards] (PRIo16): Likewise.
2900 [C99-based-standards] (PRIu16): Likewise.
2901 [C99-based-standards] (PRIx16): Likewise.
2902 [C99-based-standards] (PRIX16): Likewise.
2903 [C99-based-standards] (SCNd16): Likewise.
2904 [C99-based-standards] (SCNi16): Likewise.
2905 [C99-based-standards] (SCNo16): Likewise.
2906 [C99-based-standards] (SCNu16): Likewise.
2907 [C99-based-standards] (SCNx16): Likewise.
2908 [C99-based-standards] (PRIdLEAST16): Likewise.
2909 [C99-based-standards] (PRIiLEAST16): Likewise.
2910 [C99-based-standards] (PRIoLEAST16): Likewise.
2911 [C99-based-standards] (PRIuLEAST16): Likewise.
2912 [C99-based-standards] (PRIxLEAST16): Likewise.
2913 [C99-based-standards] (PRIXLEAST16): Likewise.
2914 [C99-based-standards] (SCNdLEAST16): Likewise.
2915 [C99-based-standards] (SCNiLEAST16): Likewise.
2916 [C99-based-standards] (SCNoLEAST16): Likewise.
2917 [C99-based-standards] (SCNuLEAST16): Likewise.
2918 [C99-based-standards] (SCNxLEAST16): Likewise.
2919 [C99-based-standards] (PRIdFAST16): Likewise.
2920 [C99-based-standards] (PRIiFAST16): Likewise.
2921 [C99-based-standards] (PRIoFAST16): Likewise.
2922 [C99-based-standards] (PRIuFAST16): Likewise.
2923 [C99-based-standards] (PRIxFAST16): Likewise.
2924 [C99-based-standards] (PRIXFAST16): Likewise.
2925 [C99-based-standards] (SCNdFAST16): Likewise.
2926 [C99-based-standards] (SCNiFAST16): Likewise.
2927 [C99-based-standards] (SCNoFAST16): Likewise.
2928 [C99-based-standards] (SCNuFAST16): Likewise.
2929 [C99-based-standards] (SCNxFAST16): Likewise.
2930 [C99-based-standards] (PRId32): Likewise.
2931 [C99-based-standards] (PRIi32): Likewise.
2932 [C99-based-standards] (PRIo32): Likewise.
2933 [C99-based-standards] (PRIu32): Likewise.
2934 [C99-based-standards] (PRIx32): Likewise.
2935 [C99-based-standards] (PRIX32): Likewise.
2936 [C99-based-standards] (SCNd32): Likewise.
2937 [C99-based-standards] (SCNi32): Likewise.
2938 [C99-based-standards] (SCNo32): Likewise.
2939 [C99-based-standards] (SCNu32): Likewise.
2940 [C99-based-standards] (SCNx32): Likewise.
2941 [C99-based-standards] (PRIdLEAST32): Likewise.
2942 [C99-based-standards] (PRIiLEAST32): Likewise.
2943 [C99-based-standards] (PRIoLEAST32): Likewise.
2944 [C99-based-standards] (PRIuLEAST32): Likewise.
2945 [C99-based-standards] (PRIxLEAST32): Likewise.
2946 [C99-based-standards] (PRIXLEAST32): Likewise.
2947 [C99-based-standards] (SCNdLEAST32): Likewise.
2948 [C99-based-standards] (SCNiLEAST32): Likewise.
2949 [C99-based-standards] (SCNoLEAST32): Likewise.
2950 [C99-based-standards] (SCNuLEAST32): Likewise.
2951 [C99-based-standards] (SCNxLEAST32): Likewise.
2952 [C99-based-standards] (PRIdFAST32): Likewise.
2953 [C99-based-standards] (PRIiFAST32): Likewise.
2954 [C99-based-standards] (PRIoFAST32): Likewise.
2955 [C99-based-standards] (PRIuFAST32): Likewise.
2956 [C99-based-standards] (PRIxFAST32): Likewise.
2957 [C99-based-standards] (PRIXFAST32): Likewise.
2958 [C99-based-standards] (SCNdFAST32): Likewise.
2959 [C99-based-standards] (SCNiFAST32): Likewise.
2960 [C99-based-standards] (SCNoFAST32): Likewise.
2961 [C99-based-standards] (SCNuFAST32): Likewise.
2962 [C99-based-standards] (SCNxFAST32): Likewise.
2963 [C99-based-standards] (PRId64): Likewise.
2964 [C99-based-standards] (PRIi64): Likewise.
2965 [C99-based-standards] (PRIo64): Likewise.
2966 [C99-based-standards] (PRIu64): Likewise.
2967 [C99-based-standards] (PRIx64): Likewise.
2968 [C99-based-standards] (PRIX64): Likewise.
2969 [C99-based-standards] (SCNd64): Likewise.
2970 [C99-based-standards] (SCNi64): Likewise.
2971 [C99-based-standards] (SCNo64): Likewise.
2972 [C99-based-standards] (SCNu64): Likewise.
2973 [C99-based-standards] (SCNx64): Likewise.
2974 [C99-based-standards] (PRIdLEAST64): Likewise.
2975 [C99-based-standards] (PRIiLEAST64): Likewise.
2976 [C99-based-standards] (PRIoLEAST64): Likewise.
2977 [C99-based-standards] (PRIuLEAST64): Likewise.
2978 [C99-based-standards] (PRIxLEAST64): Likewise.
2979 [C99-based-standards] (PRIXLEAST64): Likewise.
2980 [C99-based-standards] (SCNdLEAST64): Likewise.
2981 [C99-based-standards] (SCNiLEAST64): Likewise.
2982 [C99-based-standards] (SCNoLEAST64): Likewise.
2983 [C99-based-standards] (SCNuLEAST64): Likewise.
2984 [C99-based-standards] (SCNxLEAST64): Likewise.
2985 [C99-based-standards] (PRIdFAST64): Likewise.
2986 [C99-based-standards] (PRIiFAST64): Likewise.
2987 [C99-based-standards] (PRIoFAST64): Likewise.
2988 [C99-based-standards] (PRIuFAST64): Likewise.
2989 [C99-based-standards] (PRIxFAST64): Likewise.
2990 [C99-based-standards] (PRIXFAST64): Likewise.
2991 [C99-based-standards] (SCNdFAST64): Likewise.
2992 [C99-based-standards] (SCNiFAST64): Likewise.
2993 [C99-based-standards] (SCNoFAST64): Likewise.
2994 [C99-based-standards] (SCNuFAST64): Likewise.
2995 [C99-based-standards] (SCNxFAST64): Likewise.
2996 [C99-based-standards] (PRIdMAX): Likewise.
2997 [C99-based-standards] (PRIiMAX): Likewise.
2998 [C99-based-standards] (PRIoMAX): Likewise.
2999 [C99-based-standards] (PRIuMAX): Likewise.
3000 [C99-based-standards] (PRIxMAX): Likewise.
3001 [C99-based-standards] (PRIXMAX): Likewise.
3002 [C99-based-standards] (SCNdMAX): Likewise.
3003 [C99-based-standards] (SCNiMAX): Likewise.
3004 [C99-based-standards] (SCNoMAX): Likewise.
3005 [C99-based-standards] (SCNuMAX): Likewise.
3006 [C99-based-standards] (SCNxMAX): Likewise.
3007 [C99-based-standards] (PRIdPTR): Likewise.
3008 [C99-based-standards] (PRIiPTR): Likewise.
3009 [C99-based-standards] (PRIoPTR): Likewise.
3010 [C99-based-standards] (PRIuPTR): Likewise.
3011 [C99-based-standards] (PRIxPTR): Likewise.
3012 [C99-based-standards] (PRIXPTR): Likewise.
3013 [C99-based-standards] (SCNdPTR): Likewise.
3014 [C99-based-standards] (SCNiPTR): Likewise.
3015 [C99-based-standards] (SCNoPTR): Likewise.
3016 [C99-based-standards] (SCNuPTR): Likewise.
3017 [C99-based-standards] (SCNxPTR): Likewise.
3018 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3020 * conform/data/stdint.h-data: Update comments to clarify
3022 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3024 [C99-based standards] (INT8_MAX): Likewise.
3025 [C99-based standards] (INT16_MIN): Likewise.
3026 [C99-based standards] (INT16_MAX): Likewise.
3027 [C99-based standards] (INT32_MIN): Likewise.
3028 [C99-based standards] (INT32_MAX): Likewise.
3029 [C99-based standards] (INT64_MIN): Likewise.
3030 [C99-based standards] (INT64_MAX): Likewise.
3031 [C99-based standards] (UINT8_MAX): Likewise.
3032 [C99-based standards] (UINT16_MAX): Likewise.
3033 [C99-based standards] (UINT32_MAX): Likewise.
3034 [C99-based standards] (UINT64_MAX): Likewise.
3035 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3036 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3037 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3038 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3039 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3040 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3041 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3042 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3043 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3044 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3045 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3046 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3047 [C99-based standards] (INT_FAST8_MIN): Likewise.
3048 [C99-based standards] (INT_FAST8_MAX): Likewise.
3049 [C99-based standards] (INT_FAST16_MIN): Likewise.
3050 [C99-based standards] (INT_FAST16_MAX): Likewise.
3051 [C99-based standards] (INT_FAST32_MIN): Likewise.
3052 [C99-based standards] (INT_FAST32_MAX): Likewise.
3053 [C99-based standards] (INT_FAST64_MIN): Likewise.
3054 [C99-based standards] (INT_FAST64_MAX): Likewise.
3055 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3056 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3057 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3058 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3059 [C99-based standards] (INTPTR_MIN): Likewise.
3060 [C99-based standards] (INTPTR_MAX): Likewise.
3061 [C99-based standards] (UINTPTR_MAX): Likewise.
3062 [C99-based standards] (INTMAX_MIN): Likewise.
3063 [C99-based standards] (INTMAX_MAX): Likewise.
3064 [C99-based standards] (UINTMAX_MAX): Likewise.
3065 [C99-based standards] (PTRDIFF_MIN): Likewise.
3066 [C99-based standards] (PTRDIFF_MAX): Likewise.
3067 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3068 [C99-based standards] (SIZE_MAX): Likewise.
3069 [C99-based standards] (WCHAR_MAX): Likewise.
3070 [C99-based standards] (WINT_MAX): Likewise.
3071 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3072 constraint on value.
3073 [C99-based standards] (WCHAR_MIN): Likewise.
3074 [C99-based standards] (WINT_MIN): Likewise.
3075 [C99-based standards] (*_t): Allow.
3076 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3077 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3078 Include math.h-data and complex.h-data. Remove all expectations
3079 of math.h and complex.h contents.
3080 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3082 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3083 (struct tm): Expect tag.
3084 [C99-based-standards] (wcstof): Expect function.
3085 [C99-based-standards] (wcstold): Likewise.
3086 [C99-based-standards] (wcstoll): Likewise.
3087 [C99-based-standards] (wcstoull): Likewise.
3088 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3089 macro-int-constant. Specify type.
3090 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3091 constraint on value.
3092 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3094 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3096 [ISO C standards]: Do not allow headers.
3097 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3098 wcs[abcdefghijklmnopqrstuvwxyz]*.
3099 [ISO C standards] (*_t): Do not allow.
3100 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3102 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3103 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3105 [ISO C standards]: Do not allow headers.
3106 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3107 is[abcdefghijklmnopqrstuvwxyz]*.
3108 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3109 to[abcdefghijklmnopqrstuvwxyz]*.
3110 [ISO C standards] (*_t): Do not allow.
3111 * conform/data/stdalign.h-data: New file.
3112 * conform/data/stdbool.h-data: Likewise.
3113 * conform/data/stdnoreturn.h-data: Likewise.
3115 2012-11-07 Roland McGrath <roland@hack.frob.com>
3118 * manual/filesys.texi (Directory Entries): Typo fix.
3119 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3121 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3123 * elf/elf.h (EM_AARCH64): New macro.
3124 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3125 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3126 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3127 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3128 (R_AARCH64_TLSDESC): Likewise.
3129 (NT_ARM_TLS): Likewise.
3130 (NT_ARM_HW_BREAK): Likewise.
3131 (NT_ARM_HW_WATCH): Likewise.
3133 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3136 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3137 (__ieee754_powl): Saturate nonzero exponents with absolute value
3138 below 0x1p-79 to +/- 0x1p-79.
3139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3140 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3141 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3142 nonzero exponents with absolute value below 0x1p-32 to +/-
3144 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3145 (__ieee754_powl): Saturate nonzero exponents with absolute value
3146 below 0x1p-79 to +/- 0x1p-79.
3147 * math/libm-test.inc (pow_test): Add more tests.
3149 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3151 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3152 _dl_s390_cap_flags with kernel. Increase string length.
3153 (_dl_s390_platforms): Add z196 and zEC12.
3155 2012-11-07 Joseph Myers <joseph@codesourcery.com>
3157 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3158 Change XOPEN21K to XOPEN2K.
3160 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3162 * string/memmove.c: Use memcpy when possible.
3164 2012-11-06 Andreas Jaeger <aj@suse.de>
3166 * po/eo.po: Update from translation team.
3168 2012-11-06 Joseph Myers <joseph@codesourcery.com>
3171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3172 exponent and small x and y exponents, scale x or y up. Increase
3173 by 2 the exponent used in scaling up.
3174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3176 * math/libm-test.inc (fma_test): Add more tests.
3177 (fma_test_towardzero): Likewise.
3178 (fma_test_downward): Likewise.
3179 (fma_test_upward): Likewise.
3181 2012-11-05 Joseph Myers <joseph@codesourcery.com>
3184 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3188 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3189 namespace for names of struct fields.
3190 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3192 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3193 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3195 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3198 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3200 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3202 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3206 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3209 2012-11-04 Joseph Myers <joseph@codesourcery.com>
3212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3213 definitely overflow as x * y not x * y + z.
3214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3216 * math/libm-test.inc (fma_test): Add more tests.
3217 (fma_test_towardzero): Likewise.
3218 (fma_test_downward): Likewise.
3219 (fma_test_upward): Likewise.
3221 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3225 * include/stub-tag.h: Remove file.
3226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3228 * manual/maint.texi (Porting): Don't reference it.
3229 * Makerules ($(objpfx)stubs): Likewise.
3230 * dirent/closedir.c: Don't include <stub-tag.h>.
3231 * dirent/dirfd.c: Likewise.
3232 * dirent/fdopendir.c: Likewise.
3233 * dirent/getdents.c: Likewise.
3234 * dirent/getdents64.c: Likewise.
3235 * dirent/opendir.c: Likewise.
3236 * dirent/readdir.c: Likewise.
3237 * dirent/readdir64.c: Likewise.
3238 * dirent/readdir64_r.c: Likewise.
3239 * dirent/readdir_r.c: Likewise.
3240 * dirent/rewinddir.c: Likewise.
3241 * dirent/seekdir.c: Likewise.
3242 * dirent/telldir.c: Likewise.
3243 * gmon/profil.c: Likewise.
3244 * grp/setgroups.c: Likewise.
3245 * inet/if_index.c: Likewise.
3246 * io/access.c: Likewise.
3247 * io/chdir.c: Likewise.
3248 * io/chmod.c: Likewise.
3249 * io/chown.c: Likewise.
3250 * io/close.c: Likewise.
3251 * io/dup.c: Likewise.
3252 * io/dup2.c: Likewise.
3253 * io/dup3.c: Likewise.
3254 * io/euidaccess.c: Likewise.
3255 * io/faccessat.c: Likewise.
3256 * io/fchdir.c: Likewise.
3257 * io/fchmod.c: Likewise.
3258 * io/fchmodat.c: Likewise.
3259 * io/fchown.c: Likewise.
3260 * io/fchownat.c: Likewise.
3261 * io/fcntl.c: Likewise.
3262 * io/flock.c: Likewise.
3263 * io/fstatfs.c: Likewise.
3264 * io/fstatfs64.c: Likewise.
3265 * io/fstatvfs.c: Likewise.
3266 * io/fstatvfs64.c: Likewise.
3267 * io/futimens.c: Likewise.
3268 * io/fxstat.c: Likewise.
3269 * io/fxstat64.c: Likewise.
3270 * io/fxstatat.c: Likewise.
3271 * io/fxstatat64.c: Likewise.
3272 * io/getcwd.c: Likewise.
3273 * io/isatty.c: Likewise.
3274 * io/lchmod.c: Likewise.
3275 * io/lchown.c: Likewise.
3276 * io/link.c: Likewise.
3277 * io/linkat.c: Likewise.
3278 * io/lseek.c: Likewise.
3279 * io/lseek64.c: Likewise.
3280 * io/lxstat64.c: Likewise.
3281 * io/mkdir.c: Likewise.
3282 * io/mkdirat.c: Likewise.
3283 * io/mkfifo.c: Likewise.
3284 * io/mkfifoat.c: Likewise.
3285 * io/open.c: Likewise.
3286 * io/open64.c: Likewise.
3287 * io/openat.c: Likewise.
3288 * io/openat64.c: Likewise.
3289 * io/pipe.c: Likewise.
3290 * io/pipe2.c: Likewise.
3291 * io/poll.c: Likewise.
3292 * io/posix_fadvise.c: Likewise.
3293 * io/posix_fadvise64.c: Likewise.
3294 * io/posix_fallocate.c: Likewise.
3295 * io/posix_fallocate64.c: Likewise.
3296 * io/read.c: Likewise.
3297 * io/readlink.c: Likewise.
3298 * io/readlinkat.c: Likewise.
3299 * io/rmdir.c: Likewise.
3300 * io/sendfile.c: Likewise.
3301 * io/sendfile64.c: Likewise.
3302 * io/statfs.c: Likewise.
3303 * io/statfs64.c: Likewise.
3304 * io/statvfs.c: Likewise.
3305 * io/statvfs64.c: Likewise.
3306 * io/symlink.c: Likewise.
3307 * io/symlinkat.c: Likewise.
3308 * io/ttyname.c: Likewise.
3309 * io/ttyname_r.c: Likewise.
3310 * io/umask.c: Likewise.
3311 * io/unlink.c: Likewise.
3312 * io/unlinkat.c: Likewise.
3313 * io/utime.c: Likewise.
3314 * io/utimensat.c: Likewise.
3315 * io/write.c: Likewise.
3316 * io/xmknod.c: Likewise.
3317 * io/xmknodat.c: Likewise.
3318 * io/xstat.c: Likewise.
3319 * io/xstat64.c: Likewise.
3320 * login/getpt.c: Likewise.
3321 * login/grantpt.c: Likewise.
3322 * login/unlockpt.c: Likewise.
3323 * math/e_acoshl.c: Likewise.
3324 * math/e_acosl.c: Likewise.
3325 * math/e_asinl.c: Likewise.
3326 * math/e_atan2l.c: Likewise.
3327 * math/e_atanhl.c: Likewise.
3328 * math/e_coshl.c: Likewise.
3329 * math/e_expl.c: Likewise.
3330 * math/e_fmodl.c: Likewise.
3331 * math/e_gammal_r.c: Likewise.
3332 * math/e_hypotl.c: Likewise.
3333 * math/e_j0l.c: Likewise.
3334 * math/e_j1l.c: Likewise.
3335 * math/e_jnl.c: Likewise.
3336 * math/e_lgammal_r.c: Likewise.
3337 * math/e_log10l.c: Likewise.
3338 * math/e_log2l.c: Likewise.
3339 * math/e_logl.c: Likewise.
3340 * math/e_powl.c: Likewise.
3341 * math/e_rem_pio2l.c: Likewise.
3342 * math/e_sinhl.c: Likewise.
3343 * math/e_sqrtl.c: Likewise.
3344 * math/fclrexcpt.c: Likewise.
3345 * math/fedisblxcpt.c: Likewise.
3346 * math/feenablxcpt.c: Likewise.
3347 * math/fegetenv.c: Likewise.
3348 * math/fegetexcept.c: Likewise.
3349 * math/fegetround.c: Likewise.
3350 * math/feholdexcpt.c: Likewise.
3351 * math/fesetenv.c: Likewise.
3352 * math/fesetround.c: Likewise.
3353 * math/feupdateenv.c: Likewise.
3354 * math/fgetexcptflg.c: Likewise.
3355 * math/fraiseexcpt.c: Likewise.
3356 * math/fsetexcptflg.c: Likewise.
3357 * math/ftestexcept.c: Likewise.
3358 * math/k_cosl.c: Likewise.
3359 * math/k_rem_pio2l.c: Likewise.
3360 * math/k_sinl.c: Likewise.
3361 * math/k_tanl.c: Likewise.
3362 * math/s_asinhl.c: Likewise.
3363 * math/s_atanl.c: Likewise.
3364 * math/s_cbrtl.c: Likewise.
3365 * math/s_erfl.c: Likewise.
3366 * math/s_expm1l.c: Likewise.
3367 * math/s_log1pl.c: Likewise.
3368 * math/s_tanhl.c: Likewise.
3369 * misc/acct.c: Likewise.
3370 * misc/brk.c: Likewise.
3371 * misc/chflags.c: Likewise.
3372 * misc/chroot.c: Likewise.
3373 * misc/fchflags.c: Likewise.
3374 * misc/fgetxattr.c: Likewise.
3375 * misc/flistxattr.c: Likewise.
3376 * misc/fremovexattr.c: Likewise.
3377 * misc/fsetxattr.c: Likewise.
3378 * misc/fsync.c: Likewise.
3379 * misc/ftruncate.c: Likewise.
3380 * misc/futimes.c: Likewise.
3381 * misc/futimesat.c: Likewise.
3382 * misc/getdomain.c: Likewise.
3383 * misc/getdtsz.c: Likewise.
3384 * misc/gethostid.c: Likewise.
3385 * misc/gethostname.c: Likewise.
3386 * misc/getloadavg.c: Likewise.
3387 * misc/getpagesize.c: Likewise.
3388 * misc/getsysstats.c: Likewise.
3389 * misc/getxattr.c: Likewise.
3390 * misc/gtty.c: Likewise.
3391 * misc/ioctl.c: Likewise.
3392 * misc/lgetxattr.c: Likewise.
3393 * misc/listxattr.c: Likewise.
3394 * misc/llistxattr.c: Likewise.
3395 * misc/lremovexattr.c: Likewise.
3396 * misc/lsetxattr.c: Likewise.
3397 * misc/lutimes.c: Likewise.
3398 * misc/madvise.c: Likewise.
3399 * misc/mincore.c: Likewise.
3400 * misc/mlock.c: Likewise.
3401 * misc/mlockall.c: Likewise.
3402 * misc/mmap.c: Likewise.
3403 * misc/mprotect.c: Likewise.
3404 * misc/msync.c: Likewise.
3405 * misc/munlock.c: Likewise.
3406 * misc/munlockall.c: Likewise.
3407 * misc/munmap.c: Likewise.
3408 * misc/preadv.c: Likewise.
3409 * misc/preadv64.c: Likewise.
3410 * misc/ptrace.c: Likewise.
3411 * misc/pwritev.c: Likewise.
3412 * misc/pwritev64.c: Likewise.
3413 * misc/readv.c: Likewise.
3414 * misc/reboot.c: Likewise.
3415 * misc/remap_file_pages.c: Likewise.
3416 * misc/removexattr.c: Likewise.
3417 * misc/revoke.c: Likewise.
3418 * misc/select.c: Likewise.
3419 * misc/setdomain.c: Likewise.
3420 * misc/setegid.c: Likewise.
3421 * misc/seteuid.c: Likewise.
3422 * misc/sethostid.c: Likewise.
3423 * misc/sethostname.c: Likewise.
3424 * misc/setregid.c: Likewise.
3425 * misc/setreuid.c: Likewise.
3426 * misc/setxattr.c: Likewise.
3427 * misc/sstk.c: Likewise.
3428 * misc/stty.c: Likewise.
3429 * misc/swapoff.c: Likewise.
3430 * misc/swapon.c: Likewise.
3431 * misc/sync.c: Likewise.
3432 * misc/syncfs.c: Likewise.
3433 * misc/syscall.c: Likewise.
3434 * misc/truncate.c: Likewise.
3435 * misc/ualarm.c: Likewise.
3436 * misc/usleep.c: Likewise.
3437 * misc/ustat.c: Likewise.
3438 * misc/utimes.c: Likewise.
3439 * misc/vhangup.c: Likewise.
3440 * misc/writev.c: Likewise.
3441 * posix/_exit.c: Likewise.
3442 * posix/alarm.c: Likewise.
3443 * posix/execve.c: Likewise.
3444 * posix/fexecve.c: Likewise.
3445 * posix/fork.c: Likewise.
3446 * posix/fpathconf.c: Likewise.
3447 * posix/getaddrinfo.c: Likewise.
3448 * posix/getegid.c: Likewise.
3449 * posix/geteuid.c: Likewise.
3450 * posix/getgid.c: Likewise.
3451 * posix/getgroups.c: Likewise.
3452 * posix/getlogin.c: Likewise.
3453 * posix/getlogin_r.c: Likewise.
3454 * posix/getpgid.c: Likewise.
3455 * posix/getpid.c: Likewise.
3456 * posix/getppid.c: Likewise.
3457 * posix/getresgid.c: Likewise.
3458 * posix/getresuid.c: Likewise.
3459 * posix/getsid.c: Likewise.
3460 * posix/getuid.c: Likewise.
3461 * posix/glob64.c: Likewise.
3462 * posix/nanosleep.c: Likewise.
3463 * posix/pathconf.c: Likewise.
3464 * posix/pause.c: Likewise.
3465 * posix/posix_madvise.c: Likewise.
3466 * posix/pread.c: Likewise.
3467 * posix/pread64.c: Likewise.
3468 * posix/pwrite.c: Likewise.
3469 * posix/pwrite64.c: Likewise.
3470 * posix/sched_getaffinity.c: Likewise.
3471 * posix/sched_getp.c: Likewise.
3472 * posix/sched_gets.c: Likewise.
3473 * posix/sched_primax.c: Likewise.
3474 * posix/sched_primin.c: Likewise.
3475 * posix/sched_rr_gi.c: Likewise.
3476 * posix/sched_setaffinity.c: Likewise.
3477 * posix/sched_setp.c: Likewise.
3478 * posix/sched_sets.c: Likewise.
3479 * posix/sched_yield.c: Likewise.
3480 * posix/setgid.c: Likewise.
3481 * posix/setlogin.c: Likewise.
3482 * posix/setpgid.c: Likewise.
3483 * posix/setresgid.c: Likewise.
3484 * posix/setresuid.c: Likewise.
3485 * posix/setsid.c: Likewise.
3486 * posix/setuid.c: Likewise.
3487 * posix/sleep.c: Likewise.
3488 * posix/spawni.c: Likewise.
3489 * posix/sysconf.c: Likewise.
3490 * posix/times.c: Likewise.
3491 * posix/wait.c: Likewise.
3492 * posix/wait3.c: Likewise.
3493 * posix/wait4.c: Likewise.
3494 * posix/waitpid.c: Likewise.
3495 * resolv/gai_sigqueue.c: Likewise.
3496 * resource/getpriority.c: Likewise.
3497 * resource/getrlimit.c: Likewise.
3498 * resource/getrusage.c: Likewise.
3499 * resource/nice.c: Likewise.
3500 * resource/setpriority.c: Likewise.
3501 * resource/setrlimit.c: Likewise.
3502 * resource/ulimit.c: Likewise.
3503 * rt/aio_cancel.c: Likewise.
3504 * rt/aio_fsync.c: Likewise.
3505 * rt/aio_read.c: Likewise.
3506 * rt/aio_sigqueue.c: Likewise.
3507 * rt/aio_suspend.c: Likewise.
3508 * rt/aio_write.c: Likewise.
3509 * rt/clock_getres.c: Likewise.
3510 * rt/clock_gettime.c: Likewise.
3511 * rt/clock_nanosleep.c: Likewise.
3512 * rt/clock_settime.c: Likewise.
3513 * rt/lio_listio.c: Likewise.
3514 * rt/mq_close.c: Likewise.
3515 * rt/mq_getattr.c: Likewise.
3516 * rt/mq_notify.c: Likewise.
3517 * rt/mq_open.c: Likewise.
3518 * rt/mq_receive.c: Likewise.
3519 * rt/mq_send.c: Likewise.
3520 * rt/mq_setattr.c: Likewise.
3521 * rt/mq_timedreceive.c: Likewise.
3522 * rt/mq_timedsend.c: Likewise.
3523 * rt/mq_unlink.c: Likewise.
3524 * rt/shm_open.c: Likewise.
3525 * rt/shm_unlink.c: Likewise.
3526 * rt/timer_create.c: Likewise.
3527 * rt/timer_delete.c: Likewise.
3528 * rt/timer_getoverr.c: Likewise.
3529 * rt/timer_gettime.c: Likewise.
3530 * rt/timer_settime.c: Likewise.
3531 * setjmp/__longjmp.c: Likewise.
3532 * setjmp/setjmp.c: Likewise.
3533 * signal/kill.c: Likewise.
3534 * signal/killpg.c: Likewise.
3535 * signal/raise.c: Likewise.
3536 * signal/sigaction.c: Likewise.
3537 * signal/sigaltstack.c: Likewise.
3538 * signal/sigblock.c: Likewise.
3539 * signal/sigignore.c: Likewise.
3540 * signal/sigintr.c: Likewise.
3541 * signal/signal.c: Likewise.
3542 * signal/sigpause.c: Likewise.
3543 * signal/sigpending.c: Likewise.
3544 * signal/sigqueue.c: Likewise.
3545 * signal/sigreturn.c: Likewise.
3546 * signal/sigset.c: Likewise.
3547 * signal/sigsetmask.c: Likewise.
3548 * signal/sigstack.c: Likewise.
3549 * signal/sigsuspend.c: Likewise.
3550 * signal/sigtimedwait.c: Likewise.
3551 * signal/sigvec.c: Likewise.
3552 * signal/sigwait.c: Likewise.
3553 * signal/sigwaitinfo.c: Likewise.
3554 * signal/sysv_signal.c: Likewise.
3555 * socket/accept.c: Likewise.
3556 * socket/accept4.c: Likewise.
3557 * socket/bind.c: Likewise.
3558 * socket/connect.c: Likewise.
3559 * socket/getpeername.c: Likewise.
3560 * socket/getsockname.c: Likewise.
3561 * socket/getsockopt.c: Likewise.
3562 * socket/isfdtype.c: Likewise.
3563 * socket/listen.c: Likewise.
3564 * socket/recv.c: Likewise.
3565 * socket/recvfrom.c: Likewise.
3566 * socket/recvmsg.c: Likewise.
3567 * socket/send.c: Likewise.
3568 * socket/sendmsg.c: Likewise.
3569 * socket/sendto.c: Likewise.
3570 * socket/setsockopt.c: Likewise.
3571 * socket/shutdown.c: Likewise.
3572 * socket/sockatmark.c: Likewise.
3573 * socket/socket.c: Likewise.
3574 * socket/socketpair.c: Likewise.
3575 * stdio-common/ctermid.c: Likewise.
3576 * stdio-common/cuserid.c: Likewise.
3577 * stdio-common/remove.c: Likewise.
3578 * stdio-common/rename.c: Likewise.
3579 * stdio-common/renameat.c: Likewise.
3580 * stdio-common/tempname.c: Likewise.
3581 * stdlib/getcontext.c: Likewise.
3582 * stdlib/makecontext.c: Likewise.
3583 * stdlib/setcontext.c: Likewise.
3584 * stdlib/swapcontext.c: Likewise.
3585 * stdlib/system.c: Likewise.
3586 * streams/fattach.c: Likewise.
3587 * streams/fdetach.c: Likewise.
3588 * streams/getmsg.c: Likewise.
3589 * streams/getpmsg.c: Likewise.
3590 * streams/putmsg.c: Likewise.
3591 * streams/putpmsg.c: Likewise.
3592 * sysdeps/unix/bsd/getpt.c: Likewise.
3593 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3594 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3595 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3598 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3599 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3600 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3601 * sysvipc/msgctl.c: Likewise.
3602 * sysvipc/msgget.c: Likewise.
3603 * sysvipc/msgrcv.c: Likewise.
3604 * sysvipc/msgsnd.c: Likewise.
3605 * sysvipc/semctl.c: Likewise.
3606 * sysvipc/semget.c: Likewise.
3607 * sysvipc/semop.c: Likewise.
3608 * sysvipc/semtimedop.c: Likewise.
3609 * sysvipc/shmat.c: Likewise.
3610 * sysvipc/shmctl.c: Likewise.
3611 * sysvipc/shmdt.c: Likewise.
3612 * sysvipc/shmget.c: Likewise.
3613 * termios/tcdrain.c: Likewise.
3614 * termios/tcflow.c: Likewise.
3615 * termios/tcflush.c: Likewise.
3616 * termios/tcgetattr.c: Likewise.
3617 * termios/tcgetpgrp.c: Likewise.
3618 * termios/tcsendbrk.c: Likewise.
3619 * termios/tcsetattr.c: Likewise.
3620 * termios/tcsetpgrp.c: Likewise.
3621 * time/adjtime.c: Likewise.
3622 * time/clock.c: Likewise.
3623 * time/getitimer.c: Likewise.
3624 * time/gettimeofday.c: Likewise.
3625 * time/setitimer.c: Likewise.
3626 * time/settimeofday.c: Likewise.
3627 * time/stime.c: Likewise.
3628 * time/time.c: Likewise.
3630 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
3632 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3635 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3637 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3639 2012-11-03 Joseph Myers <joseph@codesourcery.com>
3642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3643 FE_TONEAREST before applying Dekker multiplication and Knuth
3644 addition. Clear inexact exceptions and check for exact zero
3646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3647 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3649 * math/libm-test.inc (fma_test): Add more tests.
3650 (fma_test_towardzero): Likewise.
3651 (fma_test_downward): Likewise.
3652 (fma_test_upward): Likewise.
3653 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3655 (libc_fesetround): New macro.
3656 (libc_fesetroundf): Likewise.
3657 (libc_fesetroundl): Likewise.
3658 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3660 (libc_fesetround_387): Likewise.
3661 (libc_fesetroundf): New macro.
3662 (libc_fesetround): Likewise.
3663 (libc_fesetroundl): Likewise.
3664 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3666 (libc_fesetroundf): New macro.
3667 (libc_fesetround): Likewise.
3668 (libc_fesetroundl): Likewise.
3669 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3670 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3671 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3673 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3674 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3676 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3677 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3679 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3683 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3684 integer constant usable in #if and use that to give value to enum
3686 (FE_DIVBYZERO): Likewise.
3687 (FE_UNDERFLOW): Likewise.
3688 (FE_OVERFLOW): Likewise.
3689 (FE_INVALID): Likewise.
3690 (FE_INVALID_SNAN): Likewise.
3691 (FE_INVALID_ISI): Likewise.
3692 (FE_INVALID_IDI): Likewise.
3693 (FE_INVALID_ZDZ): Likewise.
3694 (FE_INVALID_IMZ): Likewise.
3695 (FE_INVALID_COMPARE): Likewise.
3696 (FE_INVALID_SOFTWARE): Likewise.
3697 (FE_INVALID_SQRT): Likewise.
3698 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3699 (FE_TONEAREST): Likewise.
3700 (FE_TOWARDZERO): Likewise.
3701 (FE_UPWARD): Likewise.
3702 (FE_DOWNWARD): Likewise.
3703 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3704 (FE_DIVBYZERO): Likewise.
3705 (FE_OVERFLOW): Likewise.
3706 (FE_UNDERFLOW): Likewise.
3707 (FE_INEXACT): Likewise.
3708 (FE_TONEAREST): Likewise.
3709 (FE_DOWNWARD): Likewise.
3710 (FE_UPWARD): Likewise.
3711 (FE_TOWARDZERO): Likewise.
3712 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3713 (FE_UNDERFLOW): Likewise.
3714 (FE_OVERFLOW): Likewise.
3715 (FE_DIVBYZERO): Likewise.
3716 (FE_INVALID): Likewise.
3717 (FE_TONEAREST): Likewise.
3718 (FE_TOWARDZERO): Likewise.
3719 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3720 (FE_OVERFLOW): Likewise.
3721 (FE_UNDERFLOW): Likewise.
3722 (FE_DIVBYZERO): Likewise.
3723 (FE_INEXACT): Likewise.
3724 (FE_TONEAREST): Likewise.
3725 (FE_TOWARDZERO): Likewise.
3726 (FE_UPWARD): Likewise.
3727 (FE_DOWNWARD): Likewise.
3728 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3729 (FE_DIVBYZERO): Likewise.
3730 (FE_OVERFLOW): Likewise.
3731 (FE_UNDERFLOW): Likewise.
3732 (FE_INEXACT): Likewise.
3733 (FE_TONEAREST): Likewise.
3734 (FE_DOWNWARD): Likewise.
3735 (FE_UPWARD): Likewise.
3736 (FE_TOWARDZERO): Likewise.
3738 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3740 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3742 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3744 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3745 commands. Quote $PWD.
3746 (blacklist_exports): Don't use remove_newlines. Replace "declare
3748 (remove_newlines): Remove.
3750 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3752 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3753 * stdlib/stdlib.h (atof): Moved to ...
3754 * include/bits/stdlib-float.h: Here. New file.
3755 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3756 * stdlib/bits/stdlib-float.h: New file.
3757 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3762 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3764 * conform/conformtest.pl (@headers): Add fenv.h.
3765 * conform/data/fenv.h-data: New file.
3766 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3767 include of <math/fenv.h>.
3769 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3770 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3771 && !UNIX98]. Enables tests for XOPEN2K8.
3772 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3773 POSIX2008]: Likewise.
3775 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3776 (struct rusage): Do not expect type or its members.
3779 * math/math.h (FP_NAN): Define macro to integer constant usable in
3780 #if and use that to give value to enum constant.
3781 (FP_INFINITE): Likewise.
3782 (FP_ZERO): Likewise.
3783 (FP_SUBNORMAL): Likewise.
3784 (FP_NORMAL): Likewise.
3786 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3788 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3789 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3792 2012-11-02 Roland McGrath <roland@hack.frob.com>
3794 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3795 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3796 autoconf-time if not.
3797 * configure.in: Remove AC_PREREQ.
3799 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3801 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3802 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3803 of the internal implementation.
3805 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3807 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3808 except include of <misc/sys/syslog.h>.
3810 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3813 function returns with a NULL context exit with zero.
3815 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3817 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3819 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3821 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3822 (run_program_cmd): This.
3823 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3824 (tst_langinfo): New variable. Use it.
3826 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3828 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3829 floating point opcodes.
3831 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3833 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3836 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3838 * sysdeps/mach/hurd/powerpc: Remove directory.
3839 * sysdeps/mach/powerpc: Likewise.
3841 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3843 * scripts/check-local-headers.sh: Ignore c++ headers.
3845 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3847 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3848 __libc_cleanup_region_start argument.
3850 2012-11-01 Joseph Myers <joseph@codesourcery.com>
3854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3855 x * y using scaling, not as x * y + z.
3856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3858 * math/libm-test.inc (fma_test): Add more tests.
3859 (fma_test_towardzero): Likewise.
3860 (fma_test_downward): Likewise.
3861 (fma_test_upward): Likewise.
3863 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3865 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3867 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3869 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3872 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3874 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3876 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3883 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3886 Fix the order of the list for glibc 2.17.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3890 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3894 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3897 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3898 for low part of x being zero before using __atanl (y).
3899 * math/libm-test.inc (atan2_test): Add another test.
3901 * manual/install.texi (Configuring and compiling): Document
3902 general use of test-wrapper and test-wrapper-env.
3903 * INSTALL: Regenerated.
3905 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3906 (__fma): Do not extract and scale down low bits on after-rounding
3907 systems when result rounded to normal precision would have normal
3909 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3910 (__fmal): Do not extract and scale down low bits on after-rounding
3911 systems when result rounded to normal precision would have normal
3913 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3914 (__fmal): Do not extract and scale down low bits on after-rounding
3915 systems when result rounded to normal precision would have normal
3917 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3919 (fma_test): Add more tests.
3920 (fma_test_towardzero): Likewise.
3921 (fma_test_downward): Likewise.
3922 (fma_test_upward): Likewise.
3924 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3926 * sysdeps/i386/tininess.h: Renamed to ...
3927 * sysdeps/x86/tininess.h: This.
3928 * sysdeps/x86_64/tininess.h: Removed.
3930 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3932 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3933 input. Use $(build-program-cmd).
3934 ($(objpfx)tst-array1-static.out): Likewise.
3935 ($(objpfx)tst-array2.out): Likewise.
3936 ($(objpfx)tst-array3.out): Likewise.
3937 ($(objpfx)tst-array4.out): Likewise.
3938 ($(objpfx)tst-array5.out): Likewise.
3939 ($(objpfx)tst-array5-static.out): Likewise.
3941 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3943 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3946 * nss/nsswitch.h (nss_interface_function): Provide new
3947 macro for use with NSS functions.
3948 * grp/initgroups.c: Use new macro.
3949 * nss/getXXbyYY.c: Likewise.
3950 * nss/getXXbyYY_r.c: Likewise.
3951 * nss/getXXent.c: Likewise.
3952 * nss/getXXent_r.c: Likewise.
3953 * sysdeps/posix/getaddrinfo.c: Likewise.
3955 2012-10-30 Andreas Jaeger <aj@suse.de>
3957 * po/ru.po: Update Russion translation from translation project.
3959 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3964 result and shift together with sticky bit instead of replicating
3965 round-to-nearest rounding.
3966 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3967 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3968 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3969 missing underflow exceptions.
3970 (fma_test_towardzero): Add more tests.
3971 (fma_test_downward): Likewise.
3972 (fma_test_upward): Likewise.
3975 * sysdeps/generic/tininess.h: New file.
3976 * sysdeps/i386/tininess.h: Likewise.
3977 * sysdeps/sh/tininess.h: Likewise.
3978 * sysdeps/x86_64/tininess.h: Likewise.
3979 * stdlib/tst-strtod-underflow.c: Likewise.
3980 * stdlib/tst-tininess.c: Likewise.
3981 * stdlib/strtod_l.c: Include <tininess.h>.
3982 (round_and_return): Do not set errno for exact underflow cases.
3983 Force an underflow exception when setting errno for underflow.
3984 Determine underflow based on rounding to normal precision if
3985 TININESS_AFTER_ROUNDING.
3986 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3987 ERANGE for exact underflow cases.
3988 * stdlib/Makefile (tests): Add tst-tininess and
3989 tst-strtod-underflow.
3990 ($(objpfx)tst-tininess): Use $(link-libm).
3991 ($(objpfx)tst-strtod-underflow): Likewise.
3993 2012-10-30 Andreas Jaeger <aj@suse.de>
3996 * elf/Makefile (tests): Remove conditional for have-initfini-array
3997 since this is now always required and the variable does not exist
3999 (tests-static): Likewise.
4000 (modules-names): Likewise.
4002 * po/eo.po: Add Esperanto translation from translation project.
4004 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4005 merged with constructor/destructor.
4006 (init_array): Likewise.
4007 * elf/tst-array2dep.c (fini_array): Likewise.
4008 (init_array): Likewise.
4010 2012-10-29 Mike Frysinger <vapier@gentoo.org>
4012 * manual/message.texi: Delete @cartouche tags.
4014 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4016 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4018 * sysdeps/mach/hurd/fsync.c: Likewise.
4020 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4021 [_POSIX_REALTIME_SIGNALS]: Change condition to
4022 [_POSIX_REALTIME_SIGNALS > 0].
4024 2012-10-27 Andreas Jaeger <aj@suse.de>
4026 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4027 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4029 [__WORDSIZE != 64]: Likewise.
4031 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4033 * iconvdata/tst-table.sh: Remove ${SHELL}.
4034 * iconvdata/tst-tables.sh: Likewise.
4036 2012-10-25 David S. Miller <davem@davemloft.net>
4038 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4039 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4045 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4046 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4049 2012-10-25 Roland McGrath <roland@hack.frob.com>
4051 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4052 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4055 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4056 Jim Blandy <jimb@codesourcery.com>
4058 * scripts/cross-test-ssh.sh: New file.
4059 * manual/install.texi (Configuring and compiling): Document use of
4061 * INSTALL: Regenerated.
4063 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4065 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4068 2012-10-25 Joseph Myers <joseph@codesourcery.com>
4070 * Makeconfig (run-program-prefix): Fix comment.
4072 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4073 Jim Blandy <jimb@codesourcery.com>
4075 * Makeconfig (test-wrapper): New variable,
4076 (test-wrapper-env): Likewise.
4077 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4078 (run-built-tests): Define to yes.
4079 (run-program-prefix): Use $(test-wrapper).
4080 (built-program-cmd): Likewise.
4081 * Rules (make-test-out): Use $(test-wrapper-env) and
4082 $(host-built-program-cmd).
4083 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4084 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4086 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4087 $(test-wrapper-env) to tst-rtld-load-self.sh.
4088 ($(objpfx)order2.out): Use $(test-wrapper).
4089 ($(objpfx)tst-initorder.out): Likewise.
4090 ($(objpfx)tst-initorder2.out): Likewise.
4091 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4092 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4093 (test_wrapper_env): New variable. Use it to run ld.so.
4094 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4095 Use it to run ld.so.
4096 (test_wrapper_env): Likewise.
4097 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4098 $(test-wrapper) to run-iconv-test.sh.
4099 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4100 (ICONV): Use $test_wrapper.
4101 * posix/Makefile ($(objpfx)globtest.out): Pass
4102 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4103 globtest.sh, not $(run-program-prefix).
4104 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4105 (test_wrapper): Likewise.
4106 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4107 set together with run_via_rtld_prefix.
4108 (run_program_prefix): Define in terms of test_wrapper and
4109 run_via_rtld_prefix.
4111 2012-10-24 Roland McGrath <roland@hack.frob.com>
4113 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4114 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4118 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4119 Declare __clock_getres, __clock_gettime, __clock_settime,
4120 __clock_nanosleep, and __clock_getcpuclockid.
4121 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4122 Remove librt_hidden_def (clock_gettime).
4123 * sysdeps/unix/clock_gettime.c: Likewise.
4124 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4126 * rt/clock_getres.c: Define __clock_getres as an alias.
4127 * sysdeps/posix/clock_getres.c: Likewise.
4128 * rt/clock_settime.c: Define __clock_settime as an alias.
4129 * sysdeps/unix/clock_settime.c: Likewise.
4130 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4131 * sysdeps/unix/clock_nanosleep.c: Likewise.
4132 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4133 * rt/clock-compat.c: New file.
4134 * rt/Makefile (librt-routines): Add clock-compat and move
4135 $(clock-routines) to ...
4136 (routines): ... here, new variable.
4137 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4138 Don't add get_clockfreq here.
4139 * rt/Versions (libc: GLIBC_2.17): New version set.
4140 Add clock_* symbols here.
4141 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4142 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4143 (GLIBC_2.17): Add clock_* symbols.
4144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4155 * NEWS: Mention the move.
4157 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4158 Use __open, __read, __close rather than their public counterparts.
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4160 (__get_clockfreq_via_cpuinfo): Likewise.
4161 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4162 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4164 * config.h.in (HAVE_IFUNC): New #undef.
4165 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4167 * configure: Regenerated.
4169 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4171 * configure.in: Move READELF check to start of file.
4172 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4173 libc_cv_asm_gnu_indirect_function in the process.
4174 * configure: Regenerated.
4176 2012-10-24 Mike Frysinger <vapier@gentoo.org>
4178 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4179 send the output to /dev/null.
4180 (libc_cv_cc_with_libunwind): Likewise.
4181 (libc_cv_as_noexecstack): Likewise.
4182 * configure: Regenerate.
4184 2012-10-24 Joseph Myers <joseph@codesourcery.com>
4186 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4188 * posix/globtest.sh (TMPDIR): Do not set.
4189 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4190 (testout): Likewise.
4192 2012-10-24 Andreas Jaeger <aj@suse.de>
4194 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4195 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4196 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4197 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4198 posix_fadvise64, posix_fallocate64.
4200 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4201 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4202 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4204 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4206 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4209 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4210 <bits/fcntl-linux.h>.
4211 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4214 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4215 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4216 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4217 [__WORDSIZE != 64]: Likewise.
4219 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4221 * Makeconfig (run-built-tests): New variable.
4222 * Rules [$(cross-compiling) = yes]: Change condition to
4223 [$(run-built-tests) = no].
4224 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4225 to [$(run-built-tests) = yes].
4226 * elf/Makefile [$(cross-compiling) = no]: Likewise
4227 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4228 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4229 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4230 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4231 * io/Makefile [$(cross-compiling) = no]: Likewise.
4232 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4233 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4234 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4235 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4236 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4237 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4238 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4239 * string/Makefile [$(cross-compiling) = no]: Likewise.
4241 * posix/Makefile ($(objpfx)globtest.out): Pass
4242 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4243 $(rtld-installed-name).
4244 * posix/globtest.sh (elf_objpfx): Remove variable.
4245 (rtld_installed_name): Likewise.
4246 (library_path): Likewise.
4247 (run_program_prefix): New variable. Use for running globtest
4250 2012-10-23 Jim Blandy <jimb@codesourcery.com>
4251 Joseph Myers <joseph@codesourcery.com>
4253 * Makeconfig (host-built-program-cmd): New variable.
4254 * elf/Makefile (tst-stackguard1-ARGS): Use
4255 $(host-built-program-cmd).
4256 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4257 (tst-spawn-ARGS): Likewise.
4258 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4260 2012-10-23 Joseph Myers <joseph@codesourcery.com>
4261 Jim Blandy <jimb@codesourcery.com>
4263 * Makeconfig (run-via-rtld-prefix): New variable.
4264 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4265 (built-program-cmd): Likewise.
4267 2012-10-22 Andreas Jaeger <aj@suse.de>
4269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4270 __O_RSYNC if it exists, otherwise to O_SYNC.
4272 2012-10-22 Jim Blandy <jimb@codesourcery.com>
4273 Joseph Myers <joseph@codesourcery.com>
4275 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4277 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4279 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4282 2012-10-22 Andreas Jaeger <aj@suse.de>
4284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4291 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4292 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4299 2012-10-21 Jim Blandy <jimb@codesourcery.com>
4300 Joseph Myers <joseph@codesourcery.com>
4302 * config.make.in (NM): New variable.
4304 2012-10-21 Andreas Jaeger <aj@suse.de>
4306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4307 definitions and declarations that are provided by
4308 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4310 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4313 * elf/Makefile (tests-static): Add tst-leaks1-static.
4314 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4315 ($(objpfx)tst-leaks1-static): New rule.
4316 ($(objpfx)tst-leaks1-static-mem): Likewise.
4317 (tst-leaks1-static-ENV): New macro.
4318 * elf/dl-open.c (dl_open_worker): Check the main application
4319 only if SHARED is defined.
4320 * elf/tst-leaks1-static.c: New file.
4322 2012-10-20 Andreas Jaeger <aj@suse.de>
4324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4325 generic values for Linux.
4326 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4327 and declarations that are provided by <bits/fcntl-linux.h> and
4328 include <bits/fcntl-linux.h>.
4329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4332 2012-10-20 Roland McGrath <roland@hack.frob.com>
4334 * io/fcntl.h: Move include of <bits/types.h> to the top and
4335 include it unconditionally.
4337 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4339 * wcsmbs/Makefile (tests-ifunc): New variable.
4340 (tests): Add $(tests-ifunc).
4341 * wcsmbs/test-wcschr-ifunc.c: New file.
4342 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4343 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4344 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4345 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4346 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4348 * string/Makefile (tests-ifunc): New variable.
4349 (tests): Add $(tests-ifunc).
4350 * string/test-memccpy.c (TEST_NAME): New macro.
4351 * string/test-memchr.c (TEST_NAME): Likewise.
4352 * string/test-memcmp.c (TEST_NAME): Likewise.
4353 * string/test-memcpy.c (TEST_NAME): Likewise.
4354 * string/test-memmem.c (TEST_NAME): Likewise.
4355 * string/test-memmove.c (TEST_NAME): Likewise.
4356 * string/test-memset.c (TEST_NAME): Likewise.
4357 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4358 * string/test-stpcpy.c (TEST_NAME): Likewise.
4359 * string/test-stpncpy.c (TEST_NAME): Likewise.
4360 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4361 * string/test-strcasestr.c (TEST_NAME): Likewise.
4362 * string/test-strcat.c (TEST_NAME): Likewise.
4363 * string/test-strchr.c (TEST_NAME): Likewise.
4364 * string/test-strcmp.c(TEST_NAME): Likewise.
4365 * string/test-strcpy.c (TEST_NAME): Likewise.
4366 * string/test-strcspn.c (TEST_NAME): Likewise.
4367 * string/test-strlen.c (TEST_NAME): Likewise.
4368 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4369 * string/test-strncmp.c (TEST_NAME): Likewise.
4370 * string/test-strncpy.c (TEST_NAME): Likewise.
4371 * string/test-strnlen.c (TEST_NAME): Likewise.
4372 * string/test-strpbrk.c (TEST_NAME): Likewise.
4373 * string/test-strrchr.c (TEST_NAME): Likewise.
4374 * string/test-strspn.c (TEST_NAME): Likewise.
4375 * string/test-strstr.c (TEST_NAME): Likewise.
4376 * string/test-bcopy-ifunc.c: New file.
4377 * string/test-bzero-ifunc.c: Likewise.
4378 * string/test-memccpy-ifunc.c: Likewise.
4379 * string/test-memchr-ifunc.c: Likewise.
4380 * string/test-memcmp-ifunc.c: Likewise.
4381 * string/test-memcpy-ifunc.c: Likewise.
4382 * string/test-memmem-ifunc.c: Likewise.
4383 * string/test-memmove-ifunc.c: Likewise.
4384 * string/test-mempcpy-ifunc.c: Likewise.
4385 * string/test-memset-ifunc.c: Likewise.
4386 * string/test-rawmemchr-ifunc.c: Likewise.
4387 * string/test-stpcpy-ifunc.c: Likewise.
4388 * string/test-stpncpy-ifunc.c: Likewise.
4389 * string/test-strcasecmp-ifunc.c: Likewise.
4390 * string/test-strcasestr-ifunc.c: Likewise.
4391 * string/test-strcat-ifunc.c: Likewise.
4392 * string/test-strchr-ifunc.c: Likewise.
4393 * string/test-strchrnul-ifunc.c: Likewise.
4394 * string/test-strcmp-ifunc.c: Likewise.
4395 * string/test-strcpy-ifunc.c: Likewise.
4396 * string/test-strcspn-ifunc.c: Likewise.
4397 * string/test-strlen-ifunc.c: Likewise.
4398 * string/test-strncasecmp-ifunc.c: Likewise.
4399 * string/test-strncat-ifunc.c: Likewise.
4400 * string/test-strncmp-ifunc.c: Likewise.
4401 * string/test-strncpy-ifunc.c: Likewise.
4402 * string/test-strnlen-ifunc.c: Likewise.
4403 * string/test-strpbrk-ifunc.c: Likewise.
4404 * string/test-strrchr-ifunc.c: Likewise.
4405 * string/test-strspn-ifunc.c: Likewise.
4406 * string/test-strstr-ifunc.c: Likewise.
4408 * debug/Makefile (tests-ifunc): New variable.
4409 (tests): Add $(tests-ifunc).
4410 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4411 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4412 * debug/test-stpcpy_chk-ifunc.c: New file.
4413 * debug/test-strcpy_chk-ifunc.c: Likewise.
4415 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4418 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4419 header is not read in.
4421 2012-10-19 Joseph Myers <joseph@codesourcery.com>
4423 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4424 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4425 directly. Pass built executable to script as
4426 $(built-program-cmd).
4427 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4428 $testprogram without using LD_LIBRARY_PATH and $ldso.
4430 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4431 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4432 $(rtld-installed-name).
4433 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4434 (rtld_installed_name): Likewise.
4435 (library_path): Likewise.
4436 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4437 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4438 $(run-program-prefix) to tst-tables.sh.
4439 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4440 it to run tst-table-from and tst-table-to.
4441 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4442 Pass it to tst-table.sh.
4443 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4444 $(run-program-prefix) to tst-gettext.sh.
4445 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4447 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4449 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4451 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4452 to run tst-gettext2.
4453 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4454 to run tst-translit.
4455 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4456 $(run-program-prefix) to tst-mtrace.sh.
4457 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4459 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4460 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4461 $(rtld-installed-name).
4462 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4463 (rtld_installed_name): Likewise.
4464 (run_program_prefix): New variable. Use it to run wordexp-test.
4466 * Makeconfig (ARCH): Remove all definitions.
4467 (machine): Likewise.
4468 [ARCH]: Remove conditional code.
4469 [!objdir]: Give error.
4470 [!objdir] (objpfx): Remove.
4471 [!objdir] (common-objpfx): Likewise.
4472 [!objdir] (common-objdir): Likewise.
4473 * configure.in (config_makefile): Remove. Hardcode Makefile in
4474 AC_CONFIG_FILES call.
4475 * configure: Regenerated.
4478 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4480 (testout): Likewise.
4482 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4483 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4484 $(rtld-installed-name).
4485 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4486 (rtld_installed_name): Likwise.
4487 (runit): Remove function.
4488 (run_getconf): New variable, Use it for running getconf binary.
4490 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4493 * string/test-memmem.c (check_result): New function.
4494 (do_one_test): Use it.
4495 (check1): New function.
4496 (test_main): Use it.
4498 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4500 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4502 2012-10-18 Joseph Myers <joseph@codesourcery.com>
4504 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4505 (_G_LSEEK64): Likewise.
4506 (_G_MMAP64): Likewise.
4507 (_G_FSTAT64): Likewise.
4508 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4509 (_G_LSEEK64): Likewise.
4510 (_G_MMAP64): Likewise.
4511 (_G_FSTAT64): Likewise.
4512 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4513 unconditional. Call __mmap64 directly.
4514 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4515 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4517 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4518 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4520 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4521 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4523 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4524 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4526 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4527 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4529 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4530 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4531 __fxstat64 directly.
4532 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4533 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4535 (freopen64) [!_G_OPEN64]: Remove conditional code.
4536 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4538 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4539 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4541 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4542 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4544 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4545 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4547 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4548 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4550 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4551 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4553 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4554 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4556 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4558 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4561 * manual/memory.texi (Malloc Tunable Parameters): Add note
4562 about free list pointers overwriting some perturb bytes.
4563 Wording suggested by Roland McGrath.
4565 2012-10-17 Joseph Myers <joseph@codesourcery.com>
4567 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4568 (lgamma_test): Likewise.
4569 (tgamma_test): Likewise.
4571 2012-10-16 Florian Weimer <fweimer@redhat.com>
4574 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4575 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4577 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4579 * NEWS: Mention BZ #14716.
4580 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4581 when removing AVAILABLE1_USES_J macro.
4583 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4585 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4586 (__bswap_64): __uint64_t for unsigned 64-bit int.
4588 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4590 * include/string.h (memmem): Declare libc hidden alias.
4591 * string/memmem.c (memmem): Define libc hidden alias.
4592 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4593 __read, __close instead of open, read, close.
4595 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4597 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4598 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4600 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4601 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4602 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4604 (__rawmemchr_sse2): Likewise.
4605 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4606 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4607 (__strchr_sse2): Likewise.
4608 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4609 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4610 (__strcasecmp_sse2): Likewise.
4611 (__strncasecmp_sse2): Likewise.
4612 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4613 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4614 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4615 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4616 (__strrchr_sse2): Likewise.
4617 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4619 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4620 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4621 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4622 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4623 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4624 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4625 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4626 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4627 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4628 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4629 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4630 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4631 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4632 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4633 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4634 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4635 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4636 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4637 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4638 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4639 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4640 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4641 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4642 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4643 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4644 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4645 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4646 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4647 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4648 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4650 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4652 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4653 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4654 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4655 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4657 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4659 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4660 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4661 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4662 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4664 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4665 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4666 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4667 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4668 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4669 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4670 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4671 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4672 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4673 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4682 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4683 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4684 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4685 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4686 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4687 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4688 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4689 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4690 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4691 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4692 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4693 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4694 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4695 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4696 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4697 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4698 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4700 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4701 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4704 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4706 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4707 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4708 * include/ifunc-impl-list.h: New file.
4709 * misc/ifunc-impl-list.c: Likewise.
4710 * misc/Makefile (routines): Add ifunc-impl-list.
4711 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4712 * string/test-string.h: Include <ifunc-impl-list.h>.
4713 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4714 impl_array): New variables.
4715 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4717 (test_init): Call __libc_ifunc_impl_list to initialize
4718 func_list if TEST_IFUNC and TEST_NAME are defined.
4720 * string/Makefile (strop-tests): Add bcopy and bzero.
4721 * string/test-bcopy.c: New file.
4722 * string/test-bzero.c: Likewise.
4723 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4725 * string/test-memset.c: Support bzero test if TEST_BZERO is
4727 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4729 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4731 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4734 2012-10-10 Joseph Myers <joseph@codesourcery.com>
4736 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4737 * configure: Regenerated.
4739 * Makeconfig (+link-static-before-libc): Don't include
4740 $(link-static-libc).
4742 * libio/libio.h (_IO_pos_t): Remove.
4744 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4746 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4749 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4751 * crypt/crypt-entry.c: Include fips-private.h.
4752 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4753 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4754 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4755 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4757 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4759 * crypt/crypt-private.h: Include stdbool.h.
4760 (_ufc_setup_salt_r): Return bool.
4761 * crypt/crypt-entry.c: Include errno.h.
4762 (__crypt_r): Return NULL with EINVAL for bad salt.
4763 * crypt/crypt_util.c (bad_for_salt): New.
4764 (_ufc_setup_salt_r): Check that salt is long enough and within
4765 the specified alphabet.
4766 * crypt/badsalttest.c: New file.
4767 * crypt/Makefile (tests): Add it.
4768 ($(objpfx)badsalttest): New.
4770 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4772 * NEWS: Add entry for BZ #14602.
4774 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4776 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4778 * math/libm-test.inc: Update comment listing what functions and
4780 (isgreater_test): New function.
4781 (isgreaterequal_test): Likewise.
4782 (isless_test): Likewise.
4783 (islessequal_test): Likewise.
4784 (islessgreater_test): Likewise.
4785 (isunordered_test): Likewise.
4786 (main): Call the new functions.
4788 2012-10-09 Roland McGrath <roland@hack.frob.com>
4790 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4791 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4792 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4793 * sysdeps/i386/configure: Regenerated.
4794 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4795 * sysdeps/mach/configure: Regenerated.
4796 * sysdeps/mach/hurd/configure: Regenerated.
4797 * sysdeps/powerpc/configure: Regenerated.
4798 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4799 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4800 * sysdeps/s390/s390-32/configure: Regenerated.
4801 * sysdeps/s390/s390-64/configure: Regenerated.
4802 * sysdeps/sh/configure: Regenerated.
4803 * sysdeps/sparc/configure: Regenerated.
4804 * sysdeps/unix/sysv/linux/configure: Regenerated.
4805 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4806 * sysdeps/x86_64/configure: Regenerated.
4808 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4809 defined. Don't check if MAP is NULL.
4811 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4813 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4814 (_G_stat64): Likewise.
4815 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4816 (_G_stat64): Likewise.
4817 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4818 instead of struct _G_stat64.
4819 * libio/fileops.c (mmap_remap_check): Likewise.
4820 (decide_maybe_mmap): Likewise.
4821 (_IO_new_file_seekoff): Likewise.
4822 (_IO_file_stat): Likewise.
4823 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4825 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4826 instead of struct _G_stat64.
4827 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4829 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4832 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4834 (CHECK_EOL): New macro.
4835 (two_way_short_needle): Check beginning of haystack for EOL. Use
4837 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4838 Replace with CHECK_EOL.
4839 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4840 Replace with CHECK_EOL.
4842 2012-10-08 Joseph Myers <joseph@codesourcery.com>
4844 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4846 * math/libm-test.inc: Update comment listing what functions and
4848 (finite_test): New function.
4849 (isinf_test): Likewise.
4850 (isnan_test): Likewise.
4851 (fpclassify_test): Test subnormal input.
4852 (isfinite_test): Likewise.
4853 (isnormal_test): Likewise.
4854 (main): Call the new functions.
4856 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4859 * Makerules (%.dynsym): Force C locale when running
4860 $(OBJDUMP) --dynamic-syms.
4862 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4864 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4867 2012-10-06 David S. Miller <davem@davemloft.net>
4869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4870 upper 32-bits of the length value in %o2 since we use branch-on-register
4871 tests which consider the entire 64-bit register.
4873 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4875 * string/test-strstr.c (check2): Add a test for page boundary.
4877 2012-10-05 David S. Miller <davem@davemloft.net>
4879 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4880 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4882 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4884 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4885 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4886 and bzero when HWCAP_SPARC_CRYPTO is present.
4888 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4891 * string/test-strstr.c (check2): New function.
4892 (test_main): Call check2.
4894 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4896 * string/bug-strcasestr1.c (do_test): Moved to ...
4897 * string/test-strcasestr.c (check1): Here. New function.
4898 (do_one_test): Break out result checking code into ...
4899 (check_result): This. New function.
4900 (do_one_test): Call check_result.
4901 (test_main): Call check1.
4902 * string/bug-strchr1.c (do_test): Moved to ...
4903 * string/test-strchr.c (check1): Here. New function.
4904 (do_one_test): Break out result checking code into ...
4905 (check_result): This. New function.
4906 (do_one_test): Call check_result.
4907 (test_main): Call check1.
4908 * string/bug-strstr1.c (main): Moved to ...
4909 * string/test-strchr.c (check1): Here. New function.
4910 (do_one_test): Break out result checking code into ...
4911 (check_result): This. New function.
4912 (do_one_test): Call check_result.
4913 (test_main): Call check1.
4914 * string/bug-strcasestr1.c: Removed.
4915 * string/bug-strchr1.c: Likewise.
4916 * string/bug-strstr1.c: Likewise.
4918 * elf/Makefile (dl-routines): Add hwcaps.
4919 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4920 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4921 (_dl_important_hwcaps): Moved to ...
4922 * elf/dl-hwcaps.c: Here. New file.
4923 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4926 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4927 if IS_IN_rtld isn't defined.
4929 * elf/dl-support.c (_dl_sysinfo_map): New.
4930 Include "get-dynamic-info.h" and "setup-vdso.h".
4931 (_dl_non_dynamic_init): Call setup_vdso.
4932 * elf/dynamic-link.h: Don't include <assert.h>.
4933 (elf_get_dynamic_info): Moved to ...
4934 * elf/get-dynamic-info.h: Here. New file.
4935 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4936 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4937 * elf/setup-vdso.h: Here. New file.
4938 * elf/rtld.c: Include "setup-vdso.h".
4939 (dl_main): Call setup_vdso.
4941 2012-10-05 Joseph Myers <joseph@codesourcery.com>
4943 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4944 creal in comment listing functions tested. List finite, isinf,
4945 isnan, isless, islessequal, isgreater, isgreaterequal,
4946 islessgreater, isunordered, lgamma_r and pow10 as functions and
4947 macros not tested. Mention which functions not tested are aliases
4948 for other functions. Fix typo. Note that signs of NaNs are not
4951 * scripts/config.guess: Update from config.git.
4952 * scripts/config.sub: Likewise.
4954 2012-10-04 Roland McGrath <roland@hack.frob.com>
4956 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4957 * misc/madvise.c (madvise): Renamed to __madvise.
4958 Make madvise a weak alias.
4959 * include/sys/mman.h: Declare __madvise.
4960 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4961 * sysdeps/unix/syscalls.list
4962 (madvise): Make __madvise the strong name, and madvise a weak alias.
4963 * sysdeps/unix/sysv/linux/syscalls.list
4964 (madvise, mmap): Remove redundant entries.
4965 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4966 * malloc/malloc.c (mtrim): Likewise.
4967 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4969 2012-10-03 Roland McGrath <roland@hack.frob.com>
4971 * sysdeps/mach/hurd/dl-cache.c: File removed.
4972 * config.h.in (USE_LDCONFIG): New #undef.
4973 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4974 * configure: Regenerated.
4975 * elf/Makefile (dl-routines): Add dl-cache only under
4976 [$(use-ldconfig) = yes].
4977 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4978 cache on [USE_LDCONFIG].
4979 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4981 * elf/rtld.c (dl_main): Likewise.
4983 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4985 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4986 _SC_LEVEL4_CACHE_LINESIZE.
4988 2012-10-03 Roland McGrath <roland@hack.frob.com>
4990 * sysdeps/unix/bsd/confstr.h: File removed.
4992 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
4994 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4997 2012-10-02 Roland McGrath <roland@hack.frob.com>
4999 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5000 Make 'mapoff' field ElfW(Off) rather than off_t.
5002 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5004 * nscd/Makefile: Remove nscd-cflags and all its users.
5005 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5006 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5009 * malloc.c (malloc_printerr): Clarify error message.
5011 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5015 Set bit_FMA_Usable if FMA is supported.
5016 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5018 (bit_FMA4_Usable): Updated.
5019 (index_FMA_Usable): New macro.
5020 (CPUID_FMA): Likewise
5021 (HAS_FMA): Defined with bit_FMA_Usable.
5023 2012-10-01 Roland McGrath <roland@hack.frob.com>
5025 * bits/types.h (__swblk_t): Type removed.
5026 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5027 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5028 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5029 (__SWBLK_T_TYPE): Likewise.
5030 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5031 (__SWBLK_T_TYPE): Likewise.
5032 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5033 (__SWBLK_T_TYPE): Likewise.
5034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5035 (__SWBLK_T_TYPE): Likewise.
5037 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
5038 Honza Horak <hhorak@redhat.com>
5040 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5041 (xdr_mapname): Use YPMAXMAP as maxsize.
5042 (xdr_peername): Use YPMAXPEER as maxsize.
5043 (xdr_keydat): Use YPAXRECORD as maxsize.
5044 (xdr_valdat): Use YPMAXRECORD as maxsize.
5046 2012-10-01 Roland McGrath <roland@hack.frob.com>
5048 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5050 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5051 * csu/init-first.c: ... here.
5052 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5053 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5054 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5055 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5056 * sysdeps/i386/init-first.c: File removed.
5057 * sysdeps/sh/init-first.c: File removed.
5059 2012-10-01 Joseph Myers <joseph@codesourcery.com>
5062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5063 if x * y might underflow to zero and z is zero.
5064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5066 * math/libm-test.inc (min_subnorm_value): New variable.
5067 (fma_test): Add more tests.
5068 (fma_test_towardzero): Likewise.
5069 (fma_test_downward): Likewise
5070 (fma_test_upward): Likewise.
5071 (initialize): Set min_subnorm_value.
5073 2012-09-29 Joseph Myers <joseph@codesourcery.com>
5076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5078 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5079 mode for addition resulting in exact zero.
5080 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5083 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5084 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5085 * math/libm-test.inc (fma_test): Add more tests.
5086 (fma_test_towardzero): New function.
5087 (fma_test_downward): Likewise.
5088 (fma_test_upward): Likewise.
5089 (main): Call the new functions.
5091 2012-09-28 David S. Miller <davem@davemloft.net>
5093 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5095 2012-09-28 Roland McGrath <roland@hack.frob.com>
5097 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5100 * sysdeps/gnu/_G_config.h: Moved to ...
5101 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5102 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5103 * sysdeps/generic/_G_config.h: ... here.
5105 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5107 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5109 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5110 Conditionalize target on [libnss_test1.so-version].
5112 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5114 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5115 (elfobjdir): Move out of conditionals.
5117 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5118 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5119 (__nss_lookup_function): Conditionalize label remove_from_tree on
5120 [!DO_STATIC_NSS || SHARED], matching its only use.
5122 2012-09-28 David S. Miller <davem@davemloft.net>
5124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5125 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5127 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5129 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5131 when HWCAP_SPARC_CRYPTO is present.
5133 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5135 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5137 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5140 * stdio-common/vfprintf.c (process_string_arg): Revert
5143 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5145 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5147 * stdio-common/tst-sprintf.c: Include <locale.h>
5148 (main): Test sprintf's handling of incomplete multibyte
5151 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5153 * elf/dl-runtime.c (VERSYMIDX): Removed.
5154 * elf/dl-version.c (VERSYMIDX): Likewise.
5155 * elf/do-rel.h (VERSYMIDX): Likewise.
5157 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5158 * elf/rtld.c (VALIDX): Likewise.
5159 (ADDRIDX): Likewise.
5160 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5161 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5162 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
5163 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5165 (ADDRIDX): Likewise.
5167 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5169 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5171 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5174 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5176 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5177 addresses are in the same scope as 192.0.2/24.
5178 * posix/gai.conf: Document new scope table defaults.
5180 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5183 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5184 for ftell. Compute offsets from write pointers instead.
5185 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5187 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5190 * libio/Makefile (tests): New test case tst-fseek.
5191 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5192 combination works in wide mode.
5193 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5194 state when the external buffer state changes.
5196 2012-09-27 David S. Miller <davem@davemloft.net>
5199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5200 pass reloc->r_addend in as the 'high' argument to
5201 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5205 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5207 * rt/tst-aio2.c: Include <pthread.h>.
5208 * rt/tst-aio3.c: Likewise.
5210 2012-09-27 Steve Ellcey <sellcey@mips.com>
5212 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5214 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5216 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5217 contents on [SHARED].
5219 2012-09-26 Marek Polacek <polacek@redhat.com>
5223 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5224 for C++ and GCC <4.3 as well as for non GCC compilers.
5226 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5230 2012-09-25 Roland McGrath <roland@hack.frob.com>
5232 * Makefile.in (all, install): Declare with .PHONY.
5233 Reported by Michael Hope <michael.hope@linaro.org>.
5235 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5237 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5238 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5240 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5242 (sydep_routines): Add the new and the internal functions.
5243 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5244 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5246 (GLIBC_2.17): Add the new function.
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5248 (GLIBC_2.17): Likewise.
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5250 (GLIBC_2.17): Likewise.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5252 (GLIBC_2.17): Likewise.
5253 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5255 2012-09-25 Alan Modra <amodra@gmail.com>
5257 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5258 Add release barrier before setting once_control to say
5259 initialisation is done. Add hints on lwarx. Use macro in
5261 (clear_once_control): Add release barrier.
5263 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5266 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5268 * math/s_clog10.c (__clog10): Likewise.
5269 * math/s_clog10f.c (__clog10f): Likewise.
5270 * math/s_clog10l.c (__clog10l): Likewise.
5271 * math/s_clogf.c (__clogf): Likewise.
5272 * math/s_clogl.c (__clogl): Likewise.
5273 * math/Makefile (libm-calls): Add x2y2m1.
5274 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5275 (__x2y2m1): Likewise.
5276 (__x2y2m1l): Likewise.
5277 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5278 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5281 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5282 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5283 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5284 * sysdeps/i386/fpu/libm-test-ulps: Update.
5285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5288 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5289 int as type of variable DEPTH.
5290 (glob): Use size_t instead of int as type of variables NEWCOUNT
5293 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5295 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5297 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5298 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5299 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5300 macros for using routine as __sincosf_ia32.
5301 Use macro for function declaration and weak_alias.
5302 * sysdeps/i386/fpu/libm-test-ulps: Update.
5304 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5307 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
5309 * math/s_cexpf.c (__cexpf): Likewise.
5310 * math/s_csinf.c (__csinf): Likewise.
5311 * math/s_csinhf.c (__csinhf): Likewise.
5312 * math/s_ctanf.c (__ctanf): Likewise.
5313 * math/s_ctanhf.c (__ctanhf): Likewise.
5314 * math/s_ccosh.c (__ccoshf): Likewise.
5315 * math/s_cexp.c (__cexpl): Likewise.
5316 * math/s_csin.c (__csin): Likewise.
5317 * math/s_csinh.c (__csinh): Likewise.
5318 * math/s_ctan.c (__ctan): Likewise.
5319 * math/s_ctanh.c (ctanh): Likewise.
5320 * math/s_ccoshl.c (__ccoshl): Likewise.
5321 * math/s_cexpl.c (__cexpl): Likewise.
5322 * math/s_csinl.c (__csinl): Likewise.
5323 * math/s_csinhl.c (__csinhl): Likewise.
5324 * math/s_ctanl.c (__ctanl): Likewise.
5325 * math/s_ctanhl.c (__ctanhl): Likewise.
5327 2012-09-25 Joseph Myers <joseph@codesourcery.com>
5329 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5330 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5331 (_IO_off_t): Define to __off_t, not _G_off_t.
5332 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5333 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5334 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5335 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5336 type of __dummy and __dummy2 fields.
5337 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5338 (_G_ssize_t): Likewise.
5339 (_G_off_t): Likewise.
5340 (_G_pid_t): Likewise.
5341 (_G_uid_t): Likewise.
5342 (_G_wchar_t): Likewise.
5343 (_G_wint_t): Likewise.
5344 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5345 (_G_ssize_t): Likewise.
5346 (_G_off_t): Likewise.
5347 (_G_pid_t): Likewise.
5348 (_G_uid_t): Likewise.
5349 (_G_wchar_t): Likewise.
5350 (_G_wint_t): Likewise.
5351 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5352 (_G_ssize_t): Likewise.
5353 (_G_off_t): Likewise.
5354 (_G_pid_t): Likewise.
5355 (_G_uid_t): Likewise.
5356 (_G_wchar_t): Likewise.
5357 (_G_wint_t): Likewise.
5359 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5361 * malloc/arena.c: Include malloc-sysdep.h.
5362 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5363 is sufficient to shrink the heap or an unmap is needed.
5364 * sysdeps/generic/malloc-sysdep.h: New file. Define
5365 new function check_may_shrink_heap.
5366 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5367 new function check_may_shrink_heap.
5369 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5371 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5374 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5376 * catgets/test-gencat.sh: Add "set -e".
5377 * elf/tst-pathopt.sh: Likewise.
5378 * grp/tst_fgetgrent.sh: Likewise.
5379 * iconvdata/run-iconv-test.sh: Likewise.
5380 * intl/tst-gettext.sh: Likewise.
5381 * intl/tst-gettext2.sh: Likewise.
5382 * intl/tst-gettext4.sh: Likewise.
5383 * intl/tst-gettext6.sh: Likewise.
5384 * intl/tst-translit.sh: Likewise.
5385 * io/ftwtest-sh: Likewise.
5386 * libio/test-freopen.sh: Likewise.
5387 * malloc/tst-mtrace.sh: Likewise.
5388 * posix/globtest.sh: Likewise.
5389 * posix/tst-getconf.sh: Likewise.
5390 * posix/wordexp-tst.sh: Likewise.
5391 * stdio-common/tst-printf.sh: Likewise.
5392 * stdio-common/tst-unbputc.sh: Likewise.
5393 * stdlib/tst-fmtmsg.sh: Likewise.
5394 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5395 * catgets/Makefile: Do not specify -e option when running
5396 testsuite shell scripts.
5397 * elf/Makefile: Likewise.
5398 * grp/Makefile: Likewise.
5399 * iconvdata/Makefile: Likewise.
5400 * intl/Makefile: Likewise.
5401 * io/Makefile: Likewise.
5402 * libio/Makefile: Likewise.
5403 * malloc/Makefile: Likewise.
5404 * posix/Makefile: Likewise.
5405 * stdio-common/Makefile: Likewise.
5406 * stdlib/Makefile: Likewise.
5407 * sysdeps/x86_64/Makefile: Likewise.
5409 * io/ftwtest-sh: Add copyright header.
5410 * posix/globtest.sh: Likewise.
5411 * posix/tst-getconf.sh: Likewise.
5412 * posix/wordexp-tst.sh: Likewise.
5413 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5415 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5418 * Makeconfig (+link): Defined as $(+link-static) if
5419 $(build-shared) isn't yes.
5420 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5422 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5424 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5427 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5428 new chunk size with MALLOC_ALIGN_MASK.
5430 2012-09-24 Joseph Myers <joseph@codesourcery.com>
5433 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5435 (__printf_fphex): Determine rounding using get_rounding_mode and
5437 * stdio-common/tst-printf-round.c (struct hex_test): New
5439 (hex_tests): New variable.
5440 (test_hex_in_one_mode): New function.
5441 (do_test): Also run tests for hex float output.
5443 2012-09-21 Joseph Myers <joseph@codesourcery.com>
5445 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5446 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5447 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5448 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5449 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5450 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5451 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5452 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5454 2012-09-20 Joseph Myers <joseph@codesourcery.com>
5456 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5457 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5458 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5459 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5461 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5464 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5466 * elf/tst-rtld-load-self.sh: New test.
5467 * elf/Makefile: Run it.
5469 2012-09-18 Joseph Myers <joseph@codesourcery.com>
5471 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5472 (tst-writev-ENV): Remove.
5473 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5475 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5477 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5479 2012-09-17 Joseph Myers <joseph@codesourcery.com>
5481 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5483 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5485 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5486 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5487 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5490 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5493 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5494 * config.make.in (have-cpp-asm-debuginfo): Removed.
5495 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5496 * configure: Regenerated.
5498 2012-09-14 Joseph Myers <joseph@codesourcery.com>
5501 * stdio-common/printf_fp.c: Include <stdbool.h> and
5503 (___printf_fp): Determine rounding using get_rounding_mode and
5505 * stdio-common/tst-printf-round.c: New file.
5506 * stdio-common/Makefile (tests): Add tst-printf-round.
5507 (link-libm): New variable.
5508 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5510 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5513 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5514 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5516 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5519 2012-09-13 Joseph Myers <joseph@codesourcery.com>
5521 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5522 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5523 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5524 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5526 2012-09-12 Joseph Myers <joseph@codesourcery.com>
5529 * include/rounding-mode.h: New file.
5530 * sysdeps/generic/get-rounding-mode.h: Likewise.
5531 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5532 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5533 (MAX_VALUE): New macro.
5534 (MIN_VALUE): Likewise.
5535 (overflow_value): New function.
5536 (underflow_value): Likewise.
5537 (round_and_return): Use overflow_value and underflow_value to
5538 determine return values in overflow and underflow cases. Use
5539 round_away to determine rounding depending on rounding mode.
5540 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5541 determine return values in overflow and underflow cases.
5542 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5543 (struct test_results): New structure.
5544 (struct test): Use struct test_results to store expected results
5545 for all rounding modes.
5546 (TEST): Include expected results for all rounding modes.
5547 (test_in_one_mode): New function.
5548 (do_test): Use test_in_one_mode to compute and check results.
5549 Check results for all rounding modes.
5550 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5553 2012-12-09 Allan McRae <allan@archlinux.org>
5555 * sysdeps/i386/fpu/libm-test-ulps: Update
5557 2012-09-11 Joseph Myers <joseph@codesourcery.com>
5559 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5560 (_G_int32_t): Likewise.
5561 (_G_uint16_t): Likewise.
5562 (_G_uint32_t): Likewise.
5563 (_G_HAVE_BOOL): Likewise.
5564 (_G_HAVE_ATEXIT): Likewise.
5565 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5566 (_G_HAVE_IO_FILE_OPEN): Likewise.
5567 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5568 (_G_int32_t): Likewise.
5569 (_G_uint16_t): Likewise.
5570 (_G_uint32_t): Likewise.
5571 (_G_HAVE_BOOL): Likewise.
5572 (_G_HAVE_ATEXIT): Likewise.
5573 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5574 (_G_HAVE_IO_FILE_OPEN): Likewise.
5575 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5576 (_G_int32_t): Likewise.
5577 (_G_uint16_t): Likewise.
5578 (_G_uint32_t): Likewise.
5579 (_G_HAVE_BOOL): Likewise.
5580 (_G_HAVE_ATEXIT): Likewise.
5581 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5582 (_G_HAVE_IO_FILE_OPEN): Likewise.
5584 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5586 * csu/libc-tls.c: Update copyright years.
5588 2012-09-10 Joseph Myers <joseph@codesourcery.com>
5590 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5591 [!_G_USING_THUNKS]: Remove conditional code.
5592 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5593 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5595 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5596 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5597 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5598 (_G_VTABLE_LABEL_PREFIX): Likewise.
5599 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5600 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5601 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5602 (_G_VTABLE_LABEL_PREFIX): Likewise.
5603 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5604 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5605 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5606 (_G_VTABLE_LABEL_PREFIX): Likewise.
5607 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5609 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5611 * libio/Makefile: Include ../Makeconfig before tests.
5612 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5613 only if $(build-shared) is yes.
5615 * iconv/gconv_db.c: Update copyright years.
5617 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5619 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5620 unwind info if defined PIC. Fix special cases description.
5621 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5623 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5625 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5627 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5629 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5631 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5634 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5635 (LDLIBS-tst-chk4): This.
5636 (LDFLAGS-tst-chk5): Renamed to ...
5637 (LDLIBS-tst-chk5): This.
5638 (LDFLAGS-tst-chk6): Renamed to ...
5639 (LDLIBS-tst-chk6): This.
5640 (LDFLAGS-tst-lfschk4): Renamed to ...
5641 (LDLIBS-tst-lfschk4): This.
5642 (LDFLAGS-tst-lfschk5): Renamed to ...
5643 (LDLIBS-tst-lfschk5): This.
5644 (LDFLAGS-tst-lfschk6): Renamed to ...
5645 (LDLIBS-tst-lfschk6): This.
5647 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5648 on $(common-objpfx)soversions.mk.
5650 2012-09-07 Joseph Myers <joseph@codesourcery.com>
5653 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5656 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5658 * malloc/arena.c (arena_get_retry): New function that gets
5659 another arena for the caller to try its request on.
5660 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5661 current arena cannot fulfill the request.
5662 (__libc_memalign): Likewise.
5663 (__libc_memalign): Likewise.
5664 (__libc_pvalloc): Likewise.
5665 (__libc_calloc): Likewise.
5667 2012-09-05 John Tobey <john.tobey@gmail.com>
5670 * manual/arith.texi (Operations on Complex): Fix description
5673 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5676 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5680 * manual/memory.texi (Memory): Make order of menu items match
5683 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5685 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5686 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5687 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5689 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5691 * csu/libc-tls.c (static_dtv): Renamed to ...
5692 (_dl_static_dtv): This. Make it global.
5693 (_dl_initial_dtv): Removed.
5694 (__libc_setup_tls): Updated.
5695 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5696 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5699 2012-09-06 Petr Machata <pmachata@redhat.com>
5701 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5702 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5703 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5704 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5706 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5709 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5710 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5713 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5716 * Makeconfig (link-static-before-libc): Replace $(+prector)
5718 (link-static-after-libc): Replace $(+postctor) with
5720 (link-bounded): Replace $(+prector)/$(+postctor) with
5721 $(+prectorT)/$(+postctorT).
5722 (+prectorT): New macro.
5723 (+postctorT): Likewise.
5725 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5727 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5728 (round_str): Handle values above the maximum for IBM long double
5730 * stdlib/tst-strtod-round.c (tests): Regenerated.
5732 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5734 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5736 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5737 zarch_nohighgprs around the zarch optimized routines.
5738 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5739 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5740 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5743 2012-09-05 David S. Miller <davem@davemloft.net>
5745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5747 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5748 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5749 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5750 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5753 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5755 * malloc/arena.c: Fold copyright years.
5756 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5758 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5760 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5762 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5764 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5766 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5768 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5769 change internal state upon failure.
5771 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5773 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5774 * malloc/memusage.c (mmap): Likewise.
5775 (mmap64, mremap): Likewise. Adjust name in comment.
5777 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5779 * libio/fileops.c: Fix typos in comments.
5780 * libio/oldfileops.c: Likewise.
5781 * libio/wfileops.c: Likewise.
5783 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5786 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5787 (tst-malloc-usable-ENV): Set environment for test case.
5788 * malloc/hooks.c (malloc_check_get_size): New function to get
5790 * malloc/malloc.c (musable): Use malloc_check_get_size.
5791 * malloc/tst-malloc-usable.c: New test case.
5793 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5795 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5797 2012-09-05 Allan McRae <allan@archlinux.org>
5800 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5801 determine header location.
5802 * configure: Regenerated.
5804 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5806 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5808 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5809 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5813 2012-09-04 David S. Miller <davem@davemloft.net>
5815 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5816 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5817 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5819 2012-09-04 Florian Weimer <fweimer@redhat.com>
5821 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5824 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5826 2012-09-04 Joseph Myers <joseph@codesourcery.com>
5829 * libio/iogetdelim.c: Include <limits.h>.
5830 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5831 + len + 1 would overflow.
5833 2012-09-03 Andreas Jaeger <aj@suse.de>
5835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5836 * sysdeps/i386/fpu/libm-test-ulps: Update.
5838 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5840 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5841 Add s_sinf-sse2, s_conf-sse2.
5843 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5844 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5845 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5846 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5848 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5849 for using routine as __sinf_ia32.
5850 Use macro for function declaration and weak_alias.
5851 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5852 for using routine as __cosf_ia32.
5853 Use macro for function declaration and weak_alias.
5855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5856 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5858 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5859 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5862 * math/libm-test.inc (cos_test): Add more test cases.
5863 (sin_test): Likewise.
5864 (sincos_test): Likewise.
5866 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5869 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5871 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5873 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5876 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5877 first element of the GOT.
5878 (elf_machine_load_address): Return the difference between
5879 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5881 2012-09-01 Allan McRae <allan@archlinux.org>
5884 * configure.in (AWK): Require gawk version 3.0 or later.
5885 * configure: Regenerated.
5887 2012-09-01 Joseph Myers <joseph@codesourcery.com>
5889 * sysdeps/unix/sysv/linux/kernel-features.h
5890 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5891 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5892 [__NR_clock_getres]: Make code unconditional.
5893 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5894 (clock_getcpuclockid): Remove code left unreachable by removal of
5896 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5898 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5899 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5900 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5901 Make code unconditional.
5902 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5903 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5904 * sysdeps/unix/sysv/linux/clock_settime.c
5905 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5907 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5908 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5910 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5913 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5914 scripts/test-installation.pl.
5916 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5917 and $ld_so_version if it is set.
5919 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5922 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5923 failure if reading from procfs failed.
5924 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5926 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5928 * sysdeps/unix/sysv/linux/kernel-features.h
5929 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5930 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5931 Remove conditional code.
5932 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5933 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5934 Remove conditional code.
5935 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5936 * sysdeps/unix/sysv/linux/i386/fxstat.c
5937 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5938 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5939 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5940 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5942 * sysdeps/unix/sysv/linux/i386/lxstat.c
5943 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5945 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5946 Remove conditional code.
5947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5948 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5949 Remove conditional code.
5950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5951 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5952 <kernel-features.h>.
5953 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5955 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5956 Remove conditional code.
5957 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5958 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5961 2012-08-27 Mike Frysinger <vapier@gentoo.org>
5964 * NEWS: Add fixed bug number.
5966 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5969 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5970 underflowing exponent in case of negative sign.
5971 * stdlib/tst-strtod-round-data: Add more tests.
5972 * stdlib/tst-strtod-round.c (tests): Regenerated.
5975 * stdlib/strtod_l.c (NDIG): Remove.
5976 (HEXNDIG): Likewise.
5977 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5978 smallest representable value.
5979 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5980 lie within an exact representation of 1/2 ulp of the result.
5981 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5983 (TENS_P9_IDX): Define unconditionally.
5984 (TENS_P9_SIZE): Likewise.
5985 (TENS_P10_IDX): Likewise.
5986 (TENS_P10_SIZE): Likewise.
5987 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5988 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5989 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5990 entries for 10^2^13 and 10^2^14.
5991 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5992 (TENS_P13_IDX): Define.
5993 (TENS_P13_SIZE): Likewise.
5994 (TENS_P14_IDX): Likewise.
5995 (TENS_P14_SIZE): Likewise.
5996 (_fpioconst_pow10): Change array size to
5997 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5999 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6000 1024]: Add entries for 10^2^13 and 10^2^14.
6001 [LAST_POW10 > _LAST_POW10]: Remove #error.
6002 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6003 (_fpioconst_pow10): Change array size to
6004 FPIOCONST_POW10_ARRAY_SIZE.
6005 * stdlib/gen-fpioconst.c: New file.
6006 * stdlib/gen-tst-strtod-round.c: Likewise.
6007 * stdlib/tst-strtod-round-data: Likewise.
6008 * stdlib/tst-strtod-round.c: Likewise.
6009 * stdlib/Makefile (tests): Add tst-strtod-round.
6012 * stdlib/strtod_l.c: Include <stdint.h>.
6013 (NDEBUG): Do not define.
6014 (round_and_return): Change EXPONENT parameter to type intmax_t.
6015 Rearrange calculations to avoid internal overflow possibilities.
6016 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6017 Rearrange calculations to avoid internal overflow possibilities.
6018 Assert that number fits inside MPNSIZE limbs.
6019 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6020 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6021 calculations and add assertions to avoid internal overflow
6022 possibilities. Add casts to avoid signed/unsigned operations.
6023 * stdlib/tst-strtod-overflow.c: New file.
6024 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6026 2012-08-25 Marek Polacek <polacek@redhat.com>
6028 * time/time.h: Fix some typos in comments.
6030 2012-08-23 Roland McGrath <roland@hack.frob.com>
6032 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6033 * posix/tst-rfc3484-2.c: Likewise.
6034 * posix/tst-rfc3484-3.c: Likewise.
6036 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6038 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6039 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6041 2012-08-23 Joseph Myers <joseph@codesourcery.com>
6043 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6044 #include of fxstatat64.c.
6046 2012-08-22 Roland McGrath <roland@hack.frob.com>
6048 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6049 * shadow/getspent_r.c: Likewise.
6050 * shadow/getspnam.c: Likewise.
6051 * shadow/getspnam_r.c: Likewise.
6052 * gshadow/getsgent.c: Likewise.
6053 * gshadow/getsgent_r.c: Likewise.
6054 * gshadow/getsgnam.c: Likewise.
6055 * gshadow/getsgnam_r.c: Likewise.
6056 * inet/getnetbyad.c: Likewise.
6057 * inet/getnetbyad_r.c: Likewise.
6058 * inet/getnetbynm.c: Likewise.
6059 * inet/getnetbynm_r.c: Likewise.
6060 * inet/getnetent.c: Likewise.
6061 * inet/getnetent_r.c: Likewise.
6062 * inet/getproto.c: Likewise.
6063 * inet/getproto_r.c: Likewise.
6064 * inet/getprtent.c: Likewise.
6065 * inet/getprtent_r.c: Likewise.
6066 * inet/getprtname.c: Likewise.
6067 * inet/getprtname_r.c: Likewise.
6068 * inet/getrpcbyname.c: Likewise.
6069 * inet/getrpcbyname_r.c: Likewise.
6070 * inet/getrpcbynumber.c: Likewise.
6071 * inet/getrpcbynumber_r.c: Likewise.
6072 * inet/getrpcent.c: Likewise.
6073 * inet/getrpcent_r.c: Likewise.
6074 * inet/getaliasent.c: Likewise.
6075 * inet/getaliasent_r.c: Likewise.
6076 * inet/getaliasname.c: Likewise.
6077 * inet/getaliasname_r.c: Likewise.
6078 * nscd/getgrgid_r.c: Likewise.
6079 * nscd/getgrnam_r.c: Likewise.
6080 * nscd/gethstbyad_r.c: Likewise.
6081 * nscd/gethstbynm3_r.c: Likewise.
6082 * nscd/getpwnam_r.c: Likewise.
6083 * nscd/getpwuid_r.c: Likewise.
6084 * nscd/getsrvbynm_r.c: Likewise.
6085 * nscd/getsrvbypt_r.c: Likewise.
6086 * nscd/gai.c: Likewise.
6088 * configure.in (build_nscd): New substituted variable, set
6089 by --disable-build-nscd and defaults to $use_nscd.
6090 * configure: Regenerated.
6091 * config.make.in (build-nscd): New substituted variable.
6092 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6093 Change conditional to require [$(build-nscd) = yes] as well.
6094 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6097 * configure.in (use_nscd): New substituted variable, set by
6098 --disable-nscd. If enabled, define USE_NSCD.
6099 * configure: Regenerated.
6100 * config.h.in: Add USE_NSCD.
6101 * config.make.in (use-nscd): New substituted variable.
6102 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6103 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6104 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6105 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6106 (CFLAGS-getgrnam_r.c): Likewise.
6107 (CFLAGS-initgroups.c): Likewise.
6108 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6109 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6111 * inet/getnetgrent_r.c
6112 (nscd_setnetgrent): New function, broken out of ...
6113 (setnetgrent): ... here. Call it.
6114 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6115 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6116 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6117 * nscd/Makefile (routines, aux): Move definitions after include of
6118 Makeconfig. Conditionalize on [$(use-nscd) != no].
6119 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6120 Conditionalize on [USE_NSCD].
6121 (is_nscd, nscd_init_cb): Likewise.
6122 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6123 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6124 * nss/nss_db/db-init.c: Likewise.
6125 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6127 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6128 (make_request): Use it.
6129 (cache_valid_p): New function.
6130 (__check_pf): Use it.
6131 * NEWS: Add item for --disable-nscd.
6133 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6135 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6136 to support sed >= 4.2.1-20-ga9bf076.
6137 * configure: Regenerated.
6139 2012-08-22 Roland McGrath <roland@hack.frob.com>
6141 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6142 Conditionalize whole body on [IREL].
6144 2012-08-22 Jeff Law <law@redhat.com>
6147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6148 if the family is PF_UNSPEC.
6150 2012-08-22 Mike Frysinger <vapier@gentoo.org>
6152 * Makerules (lib-version): Rename from V.
6153 (install-lib-nosubdir): Change V to lib-version.
6155 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6158 * powerpc32/power6/wcschr.c: New file.
6159 * powerpc32/power6/wcscpy.c: New file.
6160 * powerpc32/power6/wcsrchr.c: New file.
6161 * powerpc64/power6/wcschr.c: New file.
6162 * powerpc64/power6/wcscpy.c: New file.
6163 * powerpc64/power6/wcsrchr.c: New file.
6165 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6167 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6168 (two_way_short_needle): Use it.
6169 * string/strstr.c (AVAILABLE1_USES_J): Define.
6170 * string/strcasestr.c: Likewise.
6172 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6174 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6177 * NEWS: Add an entry.
6178 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6179 define their defaults.
6180 (two_way_short_needle): Detect end-of-string on-the-fly.
6181 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6182 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6183 * string/bug-strcasestr1.c: New test.
6184 * string/Makefile: Run it.
6186 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6189 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6190 the first character.
6192 2012-08-21 Roland McGrath <roland@hack.frob.com>
6194 * csu/elf-init.c (__libc_csu_irel): Function removed.
6195 * csu/libc-start.c (apply_irel): New function.
6196 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6198 2012-08-21 Joseph Myers <joseph@codesourcery.com>
6200 * sysdeps/unix/sysv/linux/kernel-features.h
6201 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6202 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6203 <kernel-features.h>.
6204 [__NR_fadvise64_64]: Make code unconditional.
6205 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6206 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6207 !__NR_fadvise64_64)]: Likewise.
6208 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6209 !__NR_fadvise64_64))]: Likewise.
6210 [__NR_fadvise64]: Make code unconditional.
6211 [!__NR_fadvise64]: Remove conditional code.
6212 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6213 <kernel-features.h>.
6214 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6216 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6219 not include <kernel-features.h>.
6220 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6222 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6224 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6225 include <kernel-features.h>.
6226 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6228 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6231 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6233 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6234 slight instruction rearrangements per scrollpipe analysis.
6235 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6237 2012-08-20 Roland McGrath <roland@hack.frob.com>
6239 * manual/syslog.texi (syslog; vsyslog, closelog):
6240 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6241 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6243 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6244 DSOCAPS to match condition on defining it.
6246 2012-08-20 Joseph Myers <joseph@codesourcery.com>
6248 * sysdeps/unix/sysv/linux/kernel-features.h
6249 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6251 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6252 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6254 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6255 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6257 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6258 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6260 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6261 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6263 * sysdeps/unix/sysv/linux/kernel-features.h
6264 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6265 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6267 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6268 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6269 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6270 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6271 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6272 Make code unconditional.
6273 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6274 (__mmap64) [!__NR_mmap2]: Likewise.
6275 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6276 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6277 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6278 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6279 [__NR_mmap2]: Make code unconditional.
6280 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6281 (__mmap64) [!__NR_mmap2]: Likewise.
6283 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6285 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6287 2012-08-18 Andreas Jaeger <aj@suse.de>
6289 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6291 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6293 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6294 * include/unistd.h (__have_sock_cloexec): Likewise.
6295 (__have_pipe2): Likewise.
6296 (__have_dup3): Likewise.
6298 2012-08-18 Mike Frysinger <vapier@gentoo.org>
6301 * include/unistd.h (__have_pipe2): Change define into an extern int.
6302 (__have_dup3): Likewise.
6303 * socket/have_sock_cloexec.c: Include fcntl.h.
6304 (__have_pipe2): New variable.
6305 (__have_dup3): Likewise.
6307 2012-08-17 Mike Frysinger <vapier@gentoo.org>
6309 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6311 2012-08-17 Marek Polacek <polacek@redhat.com>
6313 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6314 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6316 2012-08-17 Roland McGrath <roland@hack.frob.com>
6318 * configure.in: Add AC_SUBST for sysheaders.
6319 * configure: Regenerated.
6320 * config.make.in (sysheaders): New substituted variable.
6322 * sysdeps/unix/mkfifo.c: Moved ...
6323 * sysdeps/posix/mkfifo.c: ... here.
6324 * sysdeps/unix/mkfifoat.c: Moved ...
6325 * sysdeps/posix/mkfifoat.c: ... here.
6327 * sysdeps/unix/utime.c: Moved ...
6328 * sysdeps/posix/utime.c: ... here.
6330 * sysdeps/unix/time.c: Moved ...
6331 * sysdeps/posix/time.c: ... here.
6332 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6333 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
6335 * sysdeps/unix/nice.c: Moved ...
6336 * sysdeps/posix/nice.c: ... here.
6338 * sysdeps/unix/alarm.c: Moved ...
6339 * sysdeps/posix/alarm.c: ... here.
6341 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6343 2012-08-17 Jeff Law <law@redhat.com>
6345 * intl/Makefile (codeset_mo): New variable.
6346 ($(codeset_mo)): New target.
6347 (tst-codeset.out): Depend on that. Remove explicit rule.
6348 (tst-gettext3.out, tst-gettext5.out): Likewise.
6349 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6350 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6351 * intl/tst-codeset.sh: Remove.
6352 * intl/tst-gettext3.sh: Likewise.
6353 * intl/tst-gettext5.sh: Likewise.
6355 2012-08-17 Roland McGrath <roland@hack.frob.com>
6357 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6358 * sysdeps/unix/syscalls.list: ... here.
6360 * sysdeps/posix/getaddrinfo.c
6361 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6362 (gaiconf_init, gaiconf_reload): Use them.
6364 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6365 Define using time_t rather than struct timespec.
6367 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6368 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6370 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6372 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6373 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6376 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6377 __libc_cleanup_push argument.
6379 * bits/param.h: New file.
6380 * misc/sys/param.h: New file.
6381 * include/sys/param.h: New file.
6382 * misc/Makefile (headers): Add bits/param.h.
6383 * sysdeps/generic/sys/param.h: File removed.
6384 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6385 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6386 * sysdeps/mach/hurd/bits/param.h: New file.
6387 * sysdeps/mach/hurd/sys/param.h: File removed.
6389 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6392 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6394 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6395 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6398 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6399 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6400 rather than -D_IO_MTSAFE_IO conditionally.
6401 * stdio-common/Makefile (CPPFLAGS): Likewise.
6402 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6403 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6404 Use $(libio-mtsafe).
6405 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6407 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6408 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6409 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6410 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6411 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6412 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6413 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6414 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6415 (CFLAGS-fread_u_chk.c): Likewise.
6416 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6417 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6418 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6419 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6420 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6421 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6422 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6423 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6424 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6426 * libio/Makefile: Test [$(libc-reentrant) = yes]
6427 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6430 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6431 * sysdeps/pthread/configure: File removed.
6432 * sysdeps/pthread/Makeconfig: New file.
6433 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6434 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6436 2012-08-16 Gary Benson <gbenson@redhat.com>
6438 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6439 unmapping the first object in a namespace.
6441 2012-08-16 Roland McGrath <roland@hack.frob.com>
6443 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6444 (__internal_setnetgrent): ... this. Add internal_function to
6445 definition. Add libc_hidden_def.
6446 (setnetgrent): Update caller.
6447 (internal_endnetgrent): Renamed to ...
6448 (__internal_endnetgrent): ... this. Add internal_function to
6449 definition. Add libc_hidden_def.
6450 (endnetgrent): Update caller.
6451 (internal_getnetgrent_r): Renamed to ...
6452 (__internal_getnetgrent_r): ... this. Add internal_function to
6453 definition. Add libc_hidden_def.
6454 (__getnetgrent_r): Update caller.
6455 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6457 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6459 * stdlib/longlong.h: Update from GCC.
6461 2012-08-16 Roland McGrath <roland@hack.frob.com>
6463 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6464 on _QL, which is set by umul_ppmm but never used.
6465 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6466 variables, which are set by GMP macros but never used.
6467 * stdio-common/_itowa.c (_itowa): Likewise.
6468 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6469 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6471 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6473 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6474 struct La_sh_regs is not constant.
6475 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6476 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6477 and struct La_sparc64_regs are not constant.
6479 2012-08-16 Joseph Myers <joseph@codesourcery.com>
6481 * sysdeps/unix/sysv/linux/kernel-features.h
6482 (__ASSUME_POSIX_TIMERS): Remove.
6483 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6484 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6485 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6486 Make code unconditional.
6487 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6488 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6489 Make code unconditional.
6490 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6491 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6492 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6493 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6494 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6495 Make code unconditional.
6496 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6497 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6498 (__libc_missing_posix_timers): Remove.
6500 2012-08-15 Roland McGrath <roland@hack.frob.com>
6502 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6503 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6505 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6507 * elf/dl-sym.c: Include <stdlib.h>.
6509 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6510 constants, which avoids warnings in 32-bit builds.
6512 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6513 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6515 * misc/lseek.c: File moved to ...
6516 * io/lseek.c: ... here.
6518 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6520 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6521 shifting LEN more than 31 bits at once.
6523 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6526 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6527 segmentation fault for a case of two empty input strings.
6528 * string/test-strncasecmp.c (check1): Renamed to...
6530 (bz14195): Add new testcase for two empty input strings and N > 0.
6531 (test_main): Call new testcase, adapt for renamed function.
6533 2012-08-15 Andreas Jaeger <aj@suse.de>
6536 * crypt/md5test2.c: New test, based on test supplied by Serge
6537 Belyshev <belyshev@depni.sinp.msu.ru>.
6538 * crypt/Makefile (xtests): Add md5test-giant..
6539 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6541 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6544 * crypt/md5.c (md5_process_block): Don't assume the buffer
6545 length is less than 2**32.
6546 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6547 length is less than 2**64.
6549 2012-08-15 Roland McGrath <roland@hack.frob.com>
6551 * string/str-two-way.h: Include <sys/param.h>.
6552 (MAX): Macro removed.
6554 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6555 Move #define and #undef of memmove to just before and after
6556 including <string.h>.
6558 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6559 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6560 and after including <string.h>. Move declarations of
6561 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6562 to before #include "string/memmove.c".
6564 * include/dirent.h: Declare __getdirentries.
6566 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6567 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6569 2012-08-14 Mike Frysinger <vapier@gentoo.org>
6571 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6572 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6573 * sysdeps/i386/configure: Regenerated.
6574 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6575 STABS_CURRENT_FILE, and STABS_FUN.
6576 (END): Remove call to STABS_FUN_END.
6577 (STABS_CURRENT_FILE1): Delete.
6578 (STABS_CURRENT_FILE): Likewise.
6579 (STABS_FUN): Likewise.
6580 (STABS_FUN_END): Likewise.
6581 (STABS_FUN2): Likewise.
6582 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6583 * sysdeps/x86_64/configure: Regenerated.
6585 2012-08-14 Roland McGrath <roland@hack.frob.com>
6587 * elf/dl-open.c: Include <atomic.h>.
6588 * elf/dl-lookup.c: Likewise.
6590 2012-08-14 Joseph Myers <joseph@codesourcery.com>
6592 * sysdeps/unix/sysv/linux/kernel-features.h
6593 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6594 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6596 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6598 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6599 condition on __ASSUME_CLONE_THREAD_FLAGS.
6601 2012-08-14 Andreas Jaeger <aj@suse.de>
6603 * sysdeps/i386/fpu/libm-test-ulps: Update.
6605 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6607 * include/atomic.h (atomic_exchange_and_add): Split into ...
6608 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6611 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6615 2012-08-13 Jeff Law <law@redhat.com>
6617 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6618 null byte in the output string.
6620 2012-08-10 Joseph Myers <joseph@codesourcery.com>
6622 * sysdeps/unix/sysv/linux/kernel-features.h
6623 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6624 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6625 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6626 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6627 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6628 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6629 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6631 2012-08-09 Jeff Law <law@redhat.com>
6634 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6635 When avoid_arena is set, don't retry in the that arena. Pick the
6636 next one, whatever it might be.
6637 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6638 (arena_lock): Pass in new parameter to arena_get2.
6639 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6641 (__libc_malloc): Unify retrying after main arena failure with
6642 __libc_memalign version.
6643 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6645 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6648 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6649 to __redirect_strstr.
6650 (__strstr_sse42): Use typeof __redirect_strstr.
6651 (__strstr_ia32): Likewise.
6652 (__libc_strstr): New prototype.
6653 (strstr): Renamed to ...
6654 (__libc_strstr): This.
6655 (strstr): New strong alias of __libc_strstr.
6656 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6657 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6660 (__libc_time): New prototype.
6661 (time_ifunc): Replace time with __libc_time.
6662 (time): New strong alias and hidden definition of __libc_time.
6663 (__GI_time): Remove strong alias.
6664 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6666 (memmove): Redefined to __redirect_memmove.
6667 (__memmove_sse2): Use typeof __redirect_memmove.
6668 (__memmove_ssse3): Likewise.
6669 (__memmove_ssse3_back): Likewise.
6670 (__libc_memmove): New prototype.
6671 (memmove): Renamed to ...
6672 (__libc_memmove): This.
6673 (memmove): New strong alias of __libc_memmove.
6675 2012-08-08 Mark Salter <msalter@redhat.com>
6678 (R_MN10300_TLS_GD): Define.
6679 (R_MN10300_TLS_LD): Likewise.
6680 (R_MN10300_TLS_LDO): Likewise.
6681 (R_MN10300_TLS_GOTIE): Likewise.
6682 (R_MN10300_TLS_IE): Likewise.
6683 (R_MN10300_TLS_LE): Likewise.
6684 (R_MN10300_TLS_DTPMOD): Likewise.
6685 (R_MN10300_TLS_DTPOFF): Likewise.
6686 (R_MN10300_TLS_TPOFF): Likewise.
6687 (R_MN10300_SYM_DIFF): Likewise.
6688 (R_MN10300_ALIGN): Likewise.
6689 (R_MN10300_NUM): Update.
6691 2012-08-08 Joseph Myers <joseph@codesourcery.com>
6693 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6696 2012-08-08 Roland McGrath <roland@hack.frob.com>
6698 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6700 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6701 sysdeps/unix -> sysdeps/posix move.
6702 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6704 2012-08-07 Allan McRae <allan@archlinux.org>
6707 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6708 (SUNOS_CPP): Likewise.
6709 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6711 (open_input): Call CPP using execvp.
6713 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6715 * sysdeps/unix/sysv/linux/kernel-features.h
6716 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6717 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6718 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6719 (__ASSUME_WAITID_SYSCALL): Likewise.
6720 * sysdeps/unix/sysv/linux/dl-execstack.c
6721 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6723 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6725 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6726 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6727 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6729 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6731 [__ASSUME_WAITID_SYSCALL]: Likewise.
6732 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6734 2012-08-07 Roland McGrath <roland@hack.frob.com>
6736 * sysdeps/unix/closedir.c: Renamed to ...
6737 * sysdeps/posix/closedir.c: ... here.
6738 * sysdeps/unix/dirfd.c: Renamed to ...
6739 * sysdeps/posix/dirfd.c: ... here.
6740 * sysdeps/unix/dirstream.h: Renamed to ...
6741 * sysdeps/posix/dirstream.h: ... here.
6742 * sysdeps/unix/fdopendir.c: Renamed to ...
6743 * sysdeps/posix/fdopendir.c: ... here.
6744 * sysdeps/unix/opendir.c: Renamed to ...
6745 * sysdeps/posix/opendir.c: ... here.
6746 * sysdeps/unix/readdir.c: Renamed to ...
6747 * sysdeps/posix/readdir.c: ... here.
6748 * sysdeps/unix/readdir_r.c: Renamed to ...
6749 * sysdeps/posix/readdir_r.c: ... here.
6750 * sysdeps/unix/rewinddir.c: Renamed to ...
6751 * sysdeps/posix/rewinddir.c: ... here.
6752 * sysdeps/unix/seekdir.c: Renamed to ...
6753 * sysdeps/posix/seekdir.c: ... here.
6754 * sysdeps/unix/telldir.c: Renamed to ...
6755 * sysdeps/posix/telldir.c: ... here.
6756 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6757 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6758 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6759 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6761 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6762 * bits/fcntl.h: ... here.
6764 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6766 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6767 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6768 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6769 (struct flock): Move l_start, l_len to the beginning.
6770 Use __pid_t for l_pid.
6771 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6772 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6773 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6774 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6775 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6776 [__USE_LARGEFILE64] (struct flock64): New type.
6777 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6779 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6780 * bits/dirent.h: ... here.
6782 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6783 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6785 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6788 Change from 2.6.0 to 2.6.16.
6789 * sysdeps/unix/sysv/linux/configure: Regenerated.
6790 * sysdeps/unix/sysv/linux/kernel-features.h
6791 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6792 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6794 (__ASSUME_UTIMES): Likewise.
6795 (__ASSUME_CLONE_STOPPED): Remove.
6796 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6797 architectures, not kernel version.
6798 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6799 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6800 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6801 (__ASSUME_WAITID_SYSCALL): Likewise.
6802 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6803 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6804 * README: State 2.6.16 as minimum Linux kernel version. Do not
6805 refer to older versions.
6807 2012-08-06 Roland McGrath <roland@hack.frob.com>
6809 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6810 Define alphasort64 as an alias.
6811 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6812 Define versionsort64 as an alias.
6813 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6814 Define scandir64 as an alias.
6815 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6816 Define scandirat64 as an alias.
6817 * dirent/alphasort64.c (alphasort64):
6818 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6819 * dirent/versionsort64.c: Likewise.
6820 * dirent/scandir64.c: Likewise.
6821 * dirent/scandirat64.c: Likewise.
6822 * sysdeps/wordsize-64/alphasort.c: File removed.
6823 * sysdeps/wordsize-64/alphasort64.c: File removed.
6824 * sysdeps/wordsize-64/scandir.c: File removed.
6825 * sysdeps/wordsize-64/scandir64.c: File removed.
6826 * sysdeps/wordsize-64/scandirat.c: File removed.
6827 * sysdeps/wordsize-64/scandirat64.c: File removed.
6828 * sysdeps/wordsize-64/versionsort.c: File removed.
6829 * sysdeps/wordsize-64/versionsort64.c: File removed.
6830 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6831 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6833 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6835 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6837 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6839 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6841 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6843 [defined __arch64__ || defined __sparcv9]
6844 (__INO_T_MATCHES_INO64_T): New macro.
6845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6846 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6847 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6848 * sysdeps/unix/sysv/linux/bits/dirent.h
6849 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6850 (_DIRENT_MATCHES_DIRENT64): New macro.
6852 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6853 Define lockf64 as an alias.
6854 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6855 Define fseeko64 as an alias.
6856 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6857 Define ftello64 as an alias.
6858 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6859 Define _IO_fgetpos64 and fgetpos64 as aliases.
6860 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6861 Define _IO_fsetpos64 and fsetpos64 as aliases.
6862 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6863 Conditionalize body on this.
6864 * libio/fseeko64.c: Likewise.
6865 * libio/ftello64.c: Likewise.
6866 * libio/iofgetpos64.c: Likewise.
6867 * libio/iofsetpos64.c: Likewise.
6868 * sysdeps/wordsize-64/lockf.c: File removed.
6869 * sysdeps/wordsize-64/lockf64.c: File removed.
6870 * sysdeps/wordsize-64/fseeko.c: File removed.
6871 * sysdeps/wordsize-64/fseeko64.c: File removed.
6872 * sysdeps/wordsize-64/ftello.c: File removed.
6873 * sysdeps/wordsize-64/ftello64.c: File removed.
6874 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6875 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6876 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6877 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6878 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6879 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6880 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6881 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6882 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6883 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6884 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6885 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6886 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6887 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6889 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6891 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6893 [defined __arch64__ || defined __sparcv9]
6894 (__OFF_T_MATCHES_OFF64_T): New macro.
6895 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6896 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6898 (__OFF_T_MATCHES_OFF64_T): New macro.
6900 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6902 * stdlib/secure-getenv.c (__secure_getenv): Replace
6903 GLIBC_2_16 with GLIBC_2_17.
6905 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6908 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6910 2012-08-03 David S. Miller <davem@davemloft.net>
6912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6914 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6918 (__ASSUME_CORRECT_SI_PID): Likewise.
6919 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6920 (__ASSUME_TMPFS_NAME): Likewise.
6921 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6922 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6923 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6924 (HAVE_AUX_SECURE): Make definition unconditional.
6925 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6926 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6928 2012-08-03 Roland McGrath <roland@hack.frob.com>
6930 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6931 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6932 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6933 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6934 __eloop_threshold instead of SYMLOOP_MAX.
6936 * sysdeps/generic/eloop-threshold.h: New file.
6937 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6939 * elf/chroot_canon.c (chroot_canon): Likewise.
6941 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6944 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6945 Change to 2.6.0 everywhere.
6946 * sysdeps/unix/sysv/linux/configure: Regenerated.
6947 * sysdeps/unix/sysv/linux/kernel-features.h
6948 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6949 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6951 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6952 (__ASSUME_FUTEX_REQUEUE): Remove.
6953 (__ASSUME_STATFS64): Define unconditionally.
6954 (__ASSUME_AT_SECURE): Likewise.
6955 (__ASSUME_CORRECT_SI_PID): Likewise.
6956 (__ASSUME_TGKILL): Define without depending on kernel version for
6958 (__ASSUME_UTIMES): Likewise.
6959 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6961 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6962 (__ASSUME_TMPFS_NAME): Likewise.
6963 * README: Update reference to Linux kernel versions.
6965 2012-08-02 Marek Polacek <polacek@redhat.com>
6968 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6969 libc_cv_asm_type_prefix with %.
6970 * configure: Regenerated.
6971 * include/libc-symbols.h: Remove comment about
6972 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6973 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6974 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6975 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6976 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6977 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6978 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6979 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6980 * elf/tst-unique2mod1.c: Likewise.
6981 * elf/tst-unique1mod2.c: Likewise.
6982 * elf/tst-unique1mod1.c: Likewise.
6983 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6984 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6985 Replace ASM_TYPE_DIRECTIVE with .type.
6986 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6987 * sysdeps/i386/sysdep.h: Likewise.
6988 * sysdeps/x86_64/sysdep.h: Likewise.
6989 * sysdeps/sh/sysdep.h: Likewise.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6991 Do not define ASM_TYPE_DIRECTIVE.
6992 * sysdeps/powerpc/sysdep.h: Likewise.
6993 * sysdeps/powerpc/powerpc32/sysdep.h:
6994 Replace ASM_TYPE_DIRECTIVE with .type.
6995 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6996 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6997 * sysdeps/i386/fpu/e_powf.S: Likewise.
6998 * sysdeps/i386/fpu/e_expl.S: Likewise.
6999 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7001 * sysdeps/i386/fpu/e_pow.S: Likewise.
7002 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7004 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7005 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7006 * sysdeps/i386/fpu/e_log2.S: Likewise.
7007 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7008 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7009 * sysdeps/i386/fpu/e_powl.S: Likewise.
7010 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7011 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7012 * sysdeps/i386/fpu/e_logl.S: Likewise.
7013 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7014 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7015 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7016 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7017 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7018 * sysdeps/i386/fpu/e_log.S: Likewise.
7019 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7020 * sysdeps/i386/fpu/e_logf.S: Likewise.
7021 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7023 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7024 * sysdeps/i386/fpu/e_log10.S: Likewise.
7025 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7026 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7027 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7028 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7029 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7030 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7031 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7032 * sysdeps/i386/i686/strtok.S: Likewise.
7033 * sysdeps/i386/i386-mcount.S: Likewise.
7034 * sysdeps/i386/strtok.S: Likewise.
7035 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7036 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7037 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7038 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7039 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7040 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7041 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7042 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7043 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7044 * sysdeps/x86_64/_mcount.S: Likewise.
7045 * sysdeps/x86_64/strtok.S: Likewise.
7046 * sysdeps/sh/_mcount.S: Likewise.
7048 2012-08-01 Roland McGrath <roland@hack.frob.com>
7050 * libio/iofopen.c: Include <fcntl.h>.
7051 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7052 (_IO_fopen64, fopen64): Define as aliases.
7053 * libio/iofopen64.c: Include <fcntl.h>.
7054 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7055 Conditionalize body on this.
7056 * sysdeps/wordsize-64/iofopen.c: File removed.
7057 * sysdeps/wordsize-64/iofopen64.c: File removed.
7059 2012-08-01 Marek Polacek <polacek@redhat.com>
7061 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7062 Use dlfcn directly instead of a variable.
7063 (binfmt-subdir): Do not define.
7066 2012-08-01 Joseph Myers <joseph@codesourcery.com>
7068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7069 Remove all definitions.
7070 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7071 <kernel-features.h>.
7072 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7073 (miss_F_GETOWN_EX): Remove all definitions.
7074 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7076 [!__ASSUME_FCNTL64]: Remove conditional code.
7077 [__ASSUME_FCNTL64]: Make code unconditional.
7078 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7079 <kernel-features.h>.
7080 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7081 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7082 (lockf64) [__NR_fcntl64]: Make code unconditional.
7083 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7085 * sysdeps/unix/sysv/linux/kernel-features.h
7086 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7087 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7088 Make code unconditional.
7089 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7090 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7092 [__NR_vfork]: Make code unconditional.
7093 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7094 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7096 [__NR_vfork]: Make code unconditional.
7097 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7098 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7100 2012-08-01 Roland McGrath <roland@hack.frob.com>
7102 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7103 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7105 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7106 Define mkstemp64 as an alias.
7107 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7108 Define mkstemps64 as an alias.
7109 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7110 Define mkostemp64 as an alias.
7111 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7112 Define mkostemps64 as an alias.
7113 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7114 Conditionalize body on this.
7115 * misc/mkostemp64.c: Likewise.
7116 * misc/mkostemps64.c: Likewise.
7117 * misc/mkstemps64.c: Likewise.
7118 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7119 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7120 * sysdeps/wordsize-64/mkostemp.c: File removed.
7121 * sysdeps/wordsize-64/mkstemp.c: File removed.
7122 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7123 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7124 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7125 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7128 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7129 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7130 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7131 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7133 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7134 compat_symbol macros from <shlib-compat.h> rather than the underlying
7135 default_symbol_version and symbol_version macros, so that DEFAULT
7136 lines in shlib-versions are respected.
7137 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7139 2012-08-01 Florian Weimer <fweimer@redhat.com>
7141 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7142 Declare with warn_unused_result.
7143 (setgid, setregid, setegid, setresgid): Likewise.
7144 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7146 * WUR-REPORT: Remove set*id functions.
7148 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7150 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7152 2012-07-31 Roland McGrath <roland@hack.frob.com>
7154 * include/sys/socket.h (__libc_accept, __libc_accept4):
7155 Add attribute_hidden.
7156 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7160 * inet/getnetgrent_r.c (setup): Likewise.
7162 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7164 2012-07-31 David S. Miller <davem@davemloft.net>
7166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7168 2012-07-31 Joseph Myers <joseph@codesourcery.com>
7171 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7172 value between 1.0 and 2.0 and smaller part has absolute value less
7174 * math/s_clog10.c (__clog10): Likewise.
7175 * math/s_clog10f.c (__clog10f): Likewise.
7176 * math/s_clog10l.c (__clog10l): Likewise.
7177 * math/s_clogf.c (__clogf): Likewise.
7178 * math/s_clogl.c (__clogl): Likewise.
7179 * math/libm-test.inc (clog_test): Add more tests.
7180 (clog10_test): Likewise.
7181 * sysdeps/i386/fpu/libm-test-ulps: Update.
7182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184 2012-07-31 Florian Weimer <fweimer@redhat.com>
7186 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7187 Exit with zero in case no suitable GID is found, and write a
7188 message to standard error.
7190 2012-07-30 Roland McGrath <roland@hack.frob.com>
7192 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7194 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7195 (MAXPATHLEN): Removed.
7196 (NOGROUP, NODEV): New macros.
7197 (setbit, clrbit, isset, isclr): New macros.
7198 (howmany, roundup, powerof2): New macros.
7199 (DEV_BSIZE): New macro.
7201 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7202 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7204 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7205 definition on [!__NO_LONG_DOUBLE_MATH].
7207 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7208 PTR_MANGLE and PTR_DEMANGLE.
7210 * socket/accept4.c (accept4): Rename to __libc_accept4.
7211 Define accept4 as a weak alias.
7213 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7214 on [_DIRENT_HAVE_D_TYPE].
7215 * io/ftw.c (ftw_dir): Likewise.
7217 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7219 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7221 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7222 Use the BSD numbers rather than the arbitrary ones we had.
7223 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7224 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7225 (SIGXCPU, SIGXFSZ): New macros.
7228 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7229 initializer on [_LIBC_REENTRANT].
7231 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7232 definitions inside [_POSIX_MAPPED_FILES].
7234 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7236 * dirent/opendir.c: Include <fcntl.h>.
7238 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7239 (__libc_getspecific): Likewise.
7240 (__libc_key_create): Likewise.
7242 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7243 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7244 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7245 (tmpfile64): Define as alias.
7246 * sysdeps/wordsize-64/tmpfile.c: File removed.
7247 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7251 * stdio-common/vfscanf.c: Include <stdbool.h>.
7252 * nss/makedb.c: Likewise.
7253 * stdio-common/_i18n_number.h: Likewise.
7254 * argp/argp-help.c: Likewise.
7255 * posix/wordexp.c: Likewise.
7256 * sysdeps/posix/spawni.c: Likewise.
7257 * nss/nss_files/files-initgroups.c: Likewise.
7258 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7259 * nss/nss_files/files-initgroups.c: Likewise.
7260 * nss/nss_db/db-netgrp.c: Likewise.
7261 * nss/nss_db/db-initgroups.c: Likewise.
7262 * io/fchmodat.c: Include <sys/stat.h>.
7264 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7265 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7267 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7270 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7271 Add multiple inclusion protection.
7273 2012-07-27 David S. Miller <davem@davemloft.net>
7275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7277 2012-07-27 Gary Benson <gbenson@redhat.com>
7280 * elf/rtld.c: Include <stap-probe.h>.
7281 (dl_main): Added static probes "init_start" and "init_complete".
7282 * elf/dl-load.c: Include <stap-probe.h>.
7283 (lose): Take new parameter "nsid".
7284 Added static probe "map_failed".
7285 (_dl_map_object_from_fd): Pass namespace id to lose.
7286 Added static probe "map_start".
7287 (open_verify): Pass namespace id to lose.
7288 * elf/dl-open.c: Include <stap-probe.h>.
7289 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7290 and "reloc_complete".
7291 * elf/dl-close.c: Include <stap-probe.h>.
7292 (_dl_close_worker): Added static probes "unmap_start" and
7294 * elf/rtld-debugger-interface.txt: New file documenting the above.
7296 2012-07-26 Roland McGrath <roland@hack.frob.com>
7298 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7299 rather than a string variable.
7300 * sunrpc/rpc_main.c (h_output): Likewise.
7301 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7303 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7305 * inet/check_native.c: New file.
7307 2012-07-26 Joseph Myers <joseph@codesourcery.com>
7310 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7311 if larger part has absolute value 1.0.
7312 * math/s_clog10.c (__clog10): Likewise.
7313 * math/s_clog10f.c (__clog10f): Likewise.
7314 * math/s_clog10l.c (__clog10l): Likewise.
7315 * math/s_clogf.c (__clogf): Likewise.
7316 * math/s_clogl.c (__clogl): Likewise.
7317 * math/libm-test.inc (clog_test): Add more tests.
7318 (clog10_test): Likewise.
7319 * sysdeps/i386/fpu/libm-test-ulps: Update.
7320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7322 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7323 (pltexit): Likewise.
7324 (La_regs): Likewise.
7325 (La_retval): Likewise.
7326 (int_retval): Likewise.
7327 Update #error for removed macros to refer only to definitions in
7329 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7331 (pltexit): Likewise.
7332 (La_regs): Likewise.
7333 (La_retval): Likewise.
7334 (int_retval): Likewise.
7335 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7337 (pltexit): Likewise.
7338 (La_regs): Likewise.
7339 (La_retval): Likewise.
7340 (int_retval): Likewise.
7341 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7343 (pltexit): Likewise.
7344 (La_regs): Likewise.
7345 (La_retval): Likewise.
7346 (int_retval): Likewise.
7347 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7349 (pltexit): Likewise.
7350 (La_regs): Likewise.
7351 (La_retval): Likewise.
7352 (int_retval): Likewise.
7353 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7355 (pltexit): Likewise.
7356 (La_regs): Likewise.
7357 (La_retval): Likewise.
7358 (int_retval): Likewise.
7359 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7361 (pltexit): Likewise.
7362 (La_regs): Likewise.
7363 (La_retval): Likewise.
7364 (int_retval): Likewise.
7365 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7366 macro definitions in tst-audit.h.
7367 * sysdeps/i386/tst-audit.h: New file.
7368 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7369 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7370 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7371 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7372 * sysdeps/sh/tst-audit.h: Likewise.
7373 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7374 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7375 * sysdeps/x86_64/tst-audit.h: Likewise.
7377 2012-07-26 Andreas Jaeger <aj@suse.de>
7379 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7382 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7383 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7384 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7386 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7387 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7388 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7390 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7393 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7395 (si_call_addr, si_syscall, si_arch): Define new macro.
7396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7398 (si_call_addr, si_syscall, si_arch): Define new marcro.
7399 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7401 (si_call_addr, si_syscall, si_arch): Define new macro.
7402 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7404 (si_call_addr, si_syscall, si_arch): Define new macro.
7406 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7409 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7410 Change to 2.4.21 where previously 2.4.1.
7411 * sysdeps/unix/sysv/linux/configure: Regenerated.
7412 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7413 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7414 Linux kernel version.
7415 (__ASSUME_STD_AUXV): Remove.
7416 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7418 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7419 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7420 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7421 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7422 (__ASSUME_NETLINK_SUPPORT): Likewise.
7423 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7424 (__no_netlink_support): Remove conditional definition.
7425 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7427 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7428 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7429 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7430 (if_nameindex_ioctl): Remove.
7431 (if_nameindex_netlink): Do not handle __no_netlink_support.
7432 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7434 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7435 Remove conditional code.
7436 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7438 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7440 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7441 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7442 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7444 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7445 [!__ASSUME_STD_AUXV]: Remove conditional code.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7447 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7448 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7450 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7451 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7453 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7455 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7456 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7458 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7460 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7463 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7466 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7468 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7470 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7472 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7475 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7477 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7480 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7482 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7484 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7486 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7489 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7491 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7493 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7495 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7498 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7500 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7501 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7502 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7503 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7504 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7505 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7506 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7507 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7508 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7509 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7510 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7511 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7512 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7513 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7514 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7515 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7516 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7517 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7518 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7520 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7521 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7522 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7524 2012-07-25 Florian Weimer <fweimer@redhat.com>
7526 * Versions.def: Add GLIBC_2.17.
7527 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7528 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7529 Introduce __libc_secure_getenv.
7530 * stdlib/Versions (2.17): Add secure_getenv
7531 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7532 * stdlib/secure-getenv.c: Rename __secure_getenv to
7533 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7534 symbol __secure_getenv for GLIBC_2.0.
7535 * stdlib/tst-secure-getenv.c: New.
7536 * stdlib/Makefile (tests): Add testcase.
7537 * manual/startup.texi (Environment Access): Document
7539 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7540 __libc_secure_getenv.
7541 * inet/ruserpass.c (ruserpass): Likewise.
7542 * malloc/mtrace.c (mtrace): Likewise.
7543 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
7544 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7545 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7546 * sysdeps/posix/tempname.c: Likewise. Evaluate
7548 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
7549 __secure_getenv to __libc_secure_getenv.
7550 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7563 2012-07-25 Joseph Myers <joseph@codesourcery.com>
7565 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7566 (struct La_i86_retval): Likewise.
7567 (struct La_x86_64_regs): Likewise.
7568 (struct La_x86_64_retval): Likewise.
7569 (struct La_x32_regs): Likewise.
7570 (struct La_x32_retval): Likewise.
7571 (struct La_ppc32_regs): Likewise.
7572 (struct La_ppc32_retval): Likewise.
7573 (struct La_ppc64_regs): Likewise.
7574 (struct La_ppc64_retval): Likewise.
7575 (struct La_sh_regs): Likewise.
7576 (struct La_sh_retval): Likewise.
7577 (struct La_s390_32_regs): Likewise.
7578 (struct La_s390_32_retval): Likewise.
7579 (struct La_s390_64_regs): Likewise.
7580 (struct La_s390_64_retval): Likewise.
7581 (struct La_sparc32_regs): Likewise.
7582 (struct La_sparc32_retval): Likewise.
7583 (struct La_sparc64_regs): Likewise.
7584 (struct La_sparc64_retval): Likewise.
7585 (struct audit_ifaces): Remove architecture-specific pltenter and
7587 * sysdeps/i386/ldsodefs.h: New file.
7588 * sysdeps/powerpc/ldsodefs.h: Likewise.
7589 * sysdeps/s390/ldsodefs.h: Likewise.
7590 * sysdeps/sh/ldsodefs.h: Likewise.
7591 * sysdeps/sparc/ldsodefs.h: Likewise.
7592 * sysdeps/x86_64/ldsodefs.h: Likewise.
7594 2012-07-25 Marek Polacek <polacek@redhat.com>
7597 * math/libm-test.inc (yn_test): Add another test.
7598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7599 to ERANGE when the result is +-Inf.
7600 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7601 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7602 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7603 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7605 2012-07-24 Joseph Myers <joseph@codesourcery.com>
7607 * conform/data/time.h-data (NULL): Use macro-constant. Require
7609 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7611 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7613 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7615 * configure.in <sysdeps resolving>: Correct printing
7617 * configure: Regenerate.
7619 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7621 * math/w_ilogb.c: Include <limits.h>.
7622 * math/w_ilogbl.c: Likewise.
7624 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7626 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7627 va_copy. Document allowing for unavailable va_copy only as
7628 pre-C99 compatibility.
7629 * manual/string.texi (Copying and Concatenation): Use va_copy
7630 instead of __va_copy in concat example.
7632 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7634 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7635 (__sendto): Use create_address_port. Initialize APORT and deallocate
7638 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7639 with O_NOLINK passed to __file_name_lookup.
7641 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7642 with O_NOLINK passed to __file_name_lookup.
7644 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7645 negative N or less than NGIDS.
7647 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7648 type to string_t. Set ERANGE as errno and return it if NAME is not big
7649 enough. Use memcpy instead of strncpy.
7651 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7653 * elf/Makefile (check-data): Remove.
7654 (localplt.data): New vpath directive.
7655 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7656 instead of $(check-data).
7657 * scripts/data/localplt-generic.data: Move to ...
7658 * sysdeps/generic/localplt.data: ... here.
7659 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7660 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7661 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7664 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7667 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7670 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7673 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7676 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7680 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7683 PPC32 and PPC64 files.
7684 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7685 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7687 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7689 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7690 __makecontext_ret to ...
7691 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7692 ... here and call exit if uc_link is NULL. New file.
7693 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7694 __makecontext_ret.S.
7695 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7696 __makecontext_ret to ...
7697 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7698 ... here and call exit if uc_link is NULL. New file.
7699 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7700 __makecontext_ret.S.
7702 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7704 * elf/elf.h (R_390_IRELATIVE): New definition.
7705 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7706 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7707 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7708 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7709 (elf_machine_lazy_rel): Likewise.
7710 * sysdeps/s390/dl-irel.h: New file.
7711 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7712 * sysdeps/s390/s390-64/memset.S: New asm code.
7713 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7714 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7715 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7716 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7717 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7718 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7720 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7721 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7722 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7723 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7724 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7725 * sysdeps/s390/s390-32/memset.S: New asm code.
7726 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7728 2012-07-17 Marek Polacek <polacek@redhat.com>
7731 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7732 * sysdeps/s390/s390-64/configure.in: Likewise.
7733 * sysdeps/sparc/configure.in: Likewise.
7734 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7735 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7736 * sysdeps/i386/configure.in: Likewise.
7737 * sysdeps/x86_64/configure.in: Likewise.
7738 * sysdeps/sh/configure.in: Likewise.
7739 * sysdeps/s390/s390-32/configure: Regenerated.
7740 * sysdeps/s390/s390-64/configure: Likewise.
7741 * sysdeps/x86_64/configure: Likewise.
7742 * sysdeps/sh/configure: Likewise.
7743 * sysdeps/powerpc/powerpc64/configure: Likewise.
7744 * sysdeps/powerpc/powerpc32/configure: Likewise.
7745 * sysdeps/sparc/configure: Likwise.
7746 * sysdeps/i386/configure: Likewise.
7748 * elf/dl-open.c: Comment fixes.
7750 2012-07-17 Joseph Myers <joseph@codesourcery.com>
7752 * Makefile [CXX] (check-data): Remove.
7753 [CXX] (c++-types.data): New vpath directive.
7754 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7755 vpath. Do not allow for C++ type data being missing.
7756 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7757 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7758 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7759 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7760 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7761 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7762 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7765 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7768 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7771 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7774 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7777 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7780 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7783 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7786 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7787 definitions to architecture-specific files.
7791 * sysdeps/i386/tls-macros.h: New file.
7792 * sysdeps/powerpc/tls-macros.h: Likewise.
7793 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7794 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7795 * sysdeps/sh/tls-macros.h: Likewise.
7796 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7797 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7798 * sysdeps/x86_64/tls-macros.h: Likewise.
7800 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7802 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7803 zero value for regular exit case.
7805 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7806 (__start_context): Preserve zero value for regular exit case.
7808 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7809 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7811 * manual/setjmp.texi (setcontext): Clarify normal process
7812 termination when uc_link is the null pointer.
7813 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7816 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7818 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7819 preprocessor. Test for each exception mask separately.
7821 2012-07-16 Andreas Jaeger <aj@suse.de>
7823 * po/ru.po: Update from translation team.
7825 2012-07-15 Joseph Myers <joseph@codesourcery.com>
7827 * conform/data/string.h-data (NULL): Use macro-constant. Require
7829 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7830 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7831 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7832 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7835 2012-07-13 Andreas Jaeger <aj@suse.de>
7837 * po/fr.po: Update from translation team.
7839 2012-07-12 Marek Polacek <polacek@redhat.com>
7842 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7843 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7846 2012-07-12 Joseph Myers <joseph@codesourcery.com>
7849 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7850 Change to 2.4.1 where previously 2.4.0.
7851 * sysdeps/unix/sysv/linux/configure: Regenerated.
7852 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7853 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7855 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7856 (__ASSUME_AT_CLKTCK): Remove.
7857 (__ASSUME_AT_PAGESIZE): Likewise.
7858 (__ASSUME_AT_XID): Likewise.
7859 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7860 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7861 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7863 (HAVE_AUX_PAGESIZE): Likewise.
7864 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7865 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7866 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7868 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7872 the temporary buffer used to invoke __gethostbyname2_r,
7873 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7874 host_data / struct gaih_addrtuple.
7875 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7876 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7877 header file nss/nsswitch.h.
7878 * nss/nsswitch.h (global scope): Add definition of implementation
7879 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7880 resolv/nss_dns/dns-host.c).
7882 2012-07-11 Andreas Jaeger <aj@suse.de>
7884 * po/fr.po: Update from translation team.
7886 * po/sv.po: Update from translation team
7887 * po/fr.po: Another update from translation team.
7889 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7891 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7892 for subnormals or multiply small sinh result by itself.
7893 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7896 2012-07-11 David S. Miller <davem@davemloft.net>
7898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7900 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7903 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7904 (INTERNAL_MARK): Shift it here.
7906 2012-07-10 Marek Polacek <polacek@redhat.com>
7909 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7910 libc_cv_asm_global_directive with .globl.
7911 * configure: Regenerated.
7912 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7914 * sysdeps/i386/configure: Regenerated.
7915 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7917 * sysdeps/x86_64/configure: Regenerated.
7918 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7919 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7920 * elf/tst-unique2mod2.c: Likewise.
7921 * elf/tst-unique2mod1.c: Likewise.
7922 * elf/tst-unique1mod2.c: Likewise.
7923 * elf/tst-unique1mod1.c: Likewise.
7924 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7925 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7926 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7927 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7928 * sysdeps/mach/sysdep.h: Likewise.
7929 * sysdeps/i386/sysdep.h: Likewise.
7930 * sysdeps/i386/i386-mcount.S: Likewise.
7931 * sysdeps/x86_64/_mcount.S: Likewise.
7932 * sysdeps/x86_64/sysdep.h: Likewise.
7933 * sysdeps/sh/_mcount.S: Likewise.
7934 * sysdeps/sh/sysdep.h: Likewise.
7935 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7936 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7937 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7938 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7939 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7942 * locale/localeinfo.h: Likewise.
7943 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7944 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7946 2012-07-09 Roland McGrath <roland@hack.frob.com>
7949 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7951 * manual/message.texi (The Uniforum approach): Likewise.
7952 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7953 (glibc iconv Implementation): Likewise.
7955 2012-07-09 Joseph Myers <joseph@codesourcery.com>
7958 * math/s_clog.c (__clog): Avoid scaling a value down where that
7959 could result in underflow.
7960 * math/s_clog10.c (__clog10): Likewise.
7961 * math/s_clog10f.c (__clog10f): Likewise.
7962 * math/s_clog10l.c (__clog10l): Likewise.
7963 * math/s_clogf.c (__clogf): Likewise.
7964 * math/s_clogl.c (__clogl): Likewise.
7965 * math/libm-test.inc (clog_test): Add more tests.
7966 (clog10_test): Likewise.
7967 * sysdeps/i386/fpu/libm-test-ulps: Update.
7968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7970 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7973 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7974 by 7 not 8 to examine high bit of fractional part.
7977 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7978 for call to __mcount_internal.
7979 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7980 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7981 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7983 2012-07-06 Joseph Myers <joseph@codesourcery.com>
7986 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7987 approximation for values within 0x1p-13f of an odd multiple of
7989 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7990 exception. Add more tests.
7991 * sysdeps/i386/fpu/libm-test-ulps: Update.
7994 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7995 inputs and return -1 for them. Do not check for +Inf in case not
7997 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7998 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7999 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8000 and return -1 for them. Do not check for +Inf in case not
8002 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8005 and return -1 for them. Do not check for +Inf in case not
8007 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8012 2012-07-06 Mike Frysinger <vapier@gentoo.org>
8014 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8016 2012-07-05 Joseph Myers <joseph@codesourcery.com>
8020 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8021 could result in spurious underflow. Scale down values above
8022 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8023 * math/s_csqrtf.c (__csqrtf): Likewise.
8024 * math/s_csqrtl.c (__csqrtl): Likewise.
8025 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8027 * sysdeps/i386/fpu/libm-test-ulps: Update.
8028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8030 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8032 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8034 * catgets/xopen-msg.awk: New file.
8035 * catgets/xopen-msg.sed: Removed.
8037 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8039 * intl/po2test.awk: New file.
8040 * intl/po2test.sed: Removed.
8042 2012-07-04 Joseph Myers <joseph@codesourcery.com>
8045 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8046 or multiply small sinh result by itself.
8047 * math/s_ctanf.c (__ctanf): Likewise.
8048 * math/s_ctanh.c (__ctanh): Likewise.
8049 * math/s_ctanhf.c (__ctanhf): Likewise.
8050 * math/s_ctanhl.c (__ctanhl): Likewise.
8051 * math/s_ctanl.c (__ctanl): Likewise.
8052 * math/libm-test.inc (ctan_test_tonearest): New function.
8053 (ctan_test_towardzero): Likewise.
8054 (ctan_test_downward): Likewise.
8055 (ctan_test_upward): Likewise.
8056 (ctanh_test_tonearest): Likewise.
8057 (ctanh_test_towardzero): Likewise.
8058 (ctanh_test_downward): Likewise.
8059 (ctanh_test_upward): Likewise.
8060 (main): Call these new functions.
8061 * sysdeps/i386/fpu/libm-test-ulps: Update.
8062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8064 2012-07-03 Mike Frysinger <vapier@gentoo.org>
8066 * .gitignore: Delete /ports entry.
8068 2012-07-03 Andreas Jaeger <aj@suse.de>
8070 * po/bg.po: Update from translation team.
8071 * po/cs.po: Likewise.
8072 * po/de.po: Likewise.
8073 * po/hr.po: Likewise.
8074 * po/nl.pl: Likewise.
8075 * po/pl.po: Likewise.
8076 * po/vi.po: Likewise.
8078 2012-07-03 Joseph Myers <joseph@codesourcery.com>
8080 * Makeconfig [!+link] (+link-before-libc): New variable.
8081 [!+link] (+link-after-libc): Likewise.
8082 [!+link] (+link-tests): Likewise.
8083 [!+link] (+link): Define in terms of $(+link-before-libc) and
8084 $(+link-after-libc).
8085 [!+link-static] (+link-static-before-libc): New variable.
8086 [!+link-static] (+link-static-after-libc): Likewise.
8087 [!+link-static] (+link-static-tests): Likewise.
8088 [!+link-static] (+link-static): Define in terms of
8089 $(+link-static-before-libc) and $(+link-static-after-libc).
8090 [build-shared] (link-libc-before-gnulib): New variable.
8091 [build-shared] (link-libc-tests): Likewise.
8092 [build-shared] (link-libc): Define in terms of
8093 $(link-libc-before-gnulib).
8094 [!build-shared] (link-libc-tests): New variable.
8095 (link-libc-static-tests): New variable.
8096 [!gnulib] (gnulib-arch): New variable.
8097 [!gnulib] (gnulib-tests): Likewise.
8098 [!gnulib] (static-gnulib-arch): Likewise.
8099 [!gnulib] (static-gnulib-tests): Likewise.
8100 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8101 Define with "=" instead of ":=".
8102 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8103 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8104 * Rules (binaries-all-notests): New variable.
8105 (binaries-all-tests): Likewise.
8106 (binaries-static-notests): Likewise.
8107 (binaries-static-tests): Likewise.
8108 (binaries-all): Define using $(binaries-all-notests) and
8109 $(binaries-all-tests).
8110 (binaries-static): Define using $(binaries-static-notests) and
8111 $(binaries-static-tests).
8112 (binaries-shared-tests): New variable.
8113 (binaries-shared-notests): Likewise.
8114 (binaries-shared): Remove variable.
8115 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8116 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8117 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8118 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8119 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8120 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8121 * elf/Makefile (sln-modules): New variable.
8122 (extra-objs): Add $(sln-modules:=.o).
8123 (ldconfig-modules): Add static-stubs.
8124 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8125 * elf/static-stubs.c: New file.
8128 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8129 by 7 not 8 to examine high bit of fractional part. Use volatile
8130 variables when splitting into final array of floats if
8131 __FLT_EVAL_METHOD__ != 0.
8132 * math/libm-test.inc (cos_test): Add another test.
8133 (sin_test): Likewise.
8134 * sysdeps/i386/fpu/libm-test-ulps: Update.
8137 * math/libm-test.inc (cosh_test): Add more tests.
8139 * version.h (RELEASE): Set to "development".
8140 (VERSION): Set to "2.16.90".
8142 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8144 * NEWS: Update copyright. Remove last-updated date.
8145 Mention math library bug fixes and timezone data changes.
8146 * README: Mention GNU/Hurd, x32, and HPPA support status.
8148 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8150 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8152 2012-06-27 Andreas Jaeger <aj@suse.de>
8154 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8156 2012-06-25 Andreas Jaeger <aj@suse.de>
8158 * sysdeps/s390/fpu/libm-test-ulps: Update.
8160 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8161 Thomas Schwinge <thomas@codesourcery.com>
8163 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8164 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8168 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8170 * sysdeps/mach/start.c: Remove file.
8171 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8172 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8173 * sysdeps/sh/init-first.c: Likewise.
8175 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8176 registers for frame unwinding purposes, add CFI directives.
8177 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8179 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8182 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8183 __fortify_fail returning.
8184 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8187 sysdeps/sh/____longjmp_chk.S.
8188 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8189 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8190 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8191 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8193 * sysdeps/sh/abort-instr.h: New file.
8194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8195 process in case exit returns.
8197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8198 initialize the GOT register before use.
8200 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8201 calculation of ARGC > 4.
8203 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8204 meaningful names to some local labels.
8206 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8207 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8209 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8210 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8211 (__arch_compare_and_exchange_val_16_acq): Likewise.
8212 (__arch_compare_and_exchange_val_32_acq): Likewise.
8213 (atomic_exchange_and_add): Fix gUSA sequence.
8214 (atomic_add): Likewise.
8215 (atomic_add_negative): Likewise.
8216 (atomic_add_zero): Likewise.
8217 (atomic_bit_test_set): Likewise.
8219 2012-06-22 Andreas Schwab <schwab@redhat.com>
8222 * include/link.h (struct link_map): Add l_free_initfini.
8223 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8225 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8226 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8227 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8230 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8232 * configure.in: Use AC_LANG_SOURCE.
8233 * configure: Regenerate.
8235 2012-06-22 Roland McGrath <roland@hack.frob.com>
8237 * configure.in (libc_cv_localstatedir): New substituted variable.
8238 * configure: Regenerated.
8239 * config.make.in (localstatedir): New variable, substituted from
8240 libc_cv_localstatedir.
8241 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8242 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8243 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8244 * sysdeps/gnu/configure: Regenerated.
8246 2012-06-21 Jeff Law <law@redhat.com>
8249 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8250 free. Simplify list management for _LIBC case.
8252 2012-06-21 Joseph Myers <joseph@codesourcery.com>
8255 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8256 Clear sign bit of 64-bit integer value before comparing against
8259 * sysdeps/mach/configure: Regenerated.
8261 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8264 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8266 2012-06-21 Jeff Law <law@redhat.com>
8269 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8270 uint16_t for elements in the "seen" array to avoid char overflows.
8271 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8272 * elf/dl-open.c (dl_open_worker): Likewise.
8274 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8276 * scripts/list-sources.sh: Scan PORTS for translations.
8277 * po/libc.pot: Regenerated.
8279 2012-06-21 Andreas Jaeger <aj@suse.de>
8282 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8284 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8285 * bits/byteswap-16.h (__bswap_16): Likewise.
8286 * bits/byteswap.h (__bswap_constant_16): Likewise.
8288 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8291 * sysdeps/i386/fpu_control.h: Removed.
8292 * sysdeps/x86_64/fpu_control.h: Moved to ...
8293 * sysdeps/x86/fpu_control.h: Here.
8295 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8296 (_FPU_SETCW): Likewise.
8298 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8301 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8302 * sysdeps/x86/fpu/bits/mathinline.h: This.
8303 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8307 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8308 functions if __x86_64__ is defined.
8310 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8312 * string/endian.h: Add !__ASSEMBLER__ condition for including
8313 conversion interfaces.
8315 2012-06-15 Joseph Myers <joseph@codesourcery.com>
8318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8319 of ABS(x) in calculating zero to negative powers other than odd
8321 * math/libm-test.inc (pow_test): Add more tests.
8323 2012-06-15 Andreas Jaeger <aj@suse.de>
8325 * manual/contrib.texi (Contributors): Update entry of Liubov
8326 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8329 2012-06-15 Cyril Hrubis <metan@ucw.cz>
8331 * string/string.h: Add __wur to GNU version of strerror_r.
8333 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8336 * string/Makefile (tests): Add tst-strtok_r.
8337 * string/tst-strtok_r.c: New file.
8338 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8339 RAX_LP/RDX_LP on SAVE_PTR.
8341 2012-06-14 Roland McGrath <roland@hack.frob.com>
8343 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8345 2012-06-14 Joseph Myers <joseph@codesourcery.com>
8347 * libm_test.inc (csqrt_test): Allow more spurious underflow
8349 (j0_test): Likewise.
8350 (j1_test): Likewise.
8351 (y0_test): Likewise.
8352 (y1_test): Likewise.
8354 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8356 * po/Makefile (libc.pot): Use UTF-8 charset.
8358 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8361 Suppress sign-conversion warning from FD_SET.
8362 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8363 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8364 not unsigned long int.
8365 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8367 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8371 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8372 __extern_always_inline instead of __extern_inline.
8373 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8374 (__signbit): Likewise.
8375 (__signbitl): Support C++ namespace.
8376 (lrintf): New inline function.
8378 (llrintf): Likewise.
8390 (nearbyint): Likewise.
8391 (nearbyintf): Likewise.
8393 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8395 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8396 non-default versions.
8398 2012-06-11 Roland McGrath <roland@hack.frob.com>
8401 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8403 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8405 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8406 (FE_UPWARD, FE_DOWNWARD): Don't define.
8407 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8408 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8410 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8412 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8415 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8419 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8420 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8422 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8425 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8426 * sysdeps/i386/fpu/Implies: New file.
8427 * sysdeps/x86_64/fpu/Implies: Likewise.
8428 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8429 * sysdeps/x86/fpu/bits/fenv.h: This.
8431 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8434 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8437 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8438 character 0xffff that matches the last element of the
8441 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8446 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8448 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8449 values higher than 25.6283.
8451 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8454 subnormal exponent extraction and add some __builtin_expect.
8455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8456 Fix for subnormal mantissa calculation.
8458 2012-06-04 Mike Frysinger <vapier@gentoo.org>
8460 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8461 cpu2 is -1 and errno is not ENOSYS.
8463 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8466 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8467 * sysdeps/x86/bits/string.h: This.
8468 * sysdeps/x86_64/bits/string.h: Removed.
8470 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8471 if not compiling for x86-64, but compiling for >= i486.
8473 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8474 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8476 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8477 New macro from Linux kernel 3.4.0.
8478 (FP_XSTATE_MAGIC2): Likewise.
8479 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8480 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8481 (struct _fpx_sw_bytes): New struct.
8482 (struct _xsave_hdr): Likewise.
8483 (struct _ymmh_state): Likewise.
8484 (struct _xstate): Likewise.
8486 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8487 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8489 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8490 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8491 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8493 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8494 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8495 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8496 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8497 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8498 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8500 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8503 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8504 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8505 (sysdep_headers): Include sys/platform/ppc.h.
8506 * sysdeps/powerpc/test-gettimebase.c: Test for
8507 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8508 * manual/Makefile (appendices): Include platform.texi.
8509 * manual/contrib.texi (Contributors): Update @node pointers.
8510 * manual/maint.texi (Maintenance): Likewise.
8511 (Platform): New node.
8512 * manual/platform.texi: New file. Document the new features.
8514 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8515 Jakub Jelinek <jakub@redhat.com>
8518 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8519 where __builtin_expect is unavailable.
8521 2012-06-03 David S. Miller <davem@davemloft.net>
8523 * stdlib/longlong.h: Updated from GCC.
8525 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8528 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8529 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8532 (GLIBC_2.16): Likewise.
8534 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8536 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8538 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8541 (default-abi): New variable.
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8543 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8545 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8547 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8552 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8553 definition. Document in comment.
8555 2012-06-01 David S. Miller <davem@davemloft.net>
8557 * stdlib/longlong.h: Updated from GCC.
8559 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8562 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8563 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8564 sys/debugreg.h sys/io.h here.
8565 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8566 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8568 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8569 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8570 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8571 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8572 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8573 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8575 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8576 Define only if __x86_64__ is defined.
8578 2012-06-01 Joseph Myers <joseph@codesourcery.com>
8581 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8582 Use int64_t for variable i.
8583 * math/libm-test.inc (fmod_test): Add more tests.
8585 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8586 z computation is not scheduled after fetestexcept.
8587 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8588 Use math_force_eval instead of asm to ensure calculation scheduled
8589 before exception test.
8590 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8591 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8593 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8596 computation is not scheduled after fetestexcept.
8598 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8601 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8602 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8604 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8606 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8607 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8609 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8612 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8614 (__WCHAR_MIN): Support __WORDSIZE == 64.
8615 (__WCHAR_MAX): Likewise.
8617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8618 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8622 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8625 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8626 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8628 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8629 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8631 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8632 Defined to 1 if __x86_64__ isn't defined.
8633 (_STAT_VER_LINUX_OLD): New.
8634 (st_atime): Remove duplicate.
8635 (st_mtime): Likewise.
8636 (st_ctime): Likewise.
8638 2012-05-31 David S. Miller <davem@davemloft.net>
8640 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8643 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8645 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8649 * elf/dl-reloc.c: Include <_itoa.h>.
8650 (_dl_reloc_bad_type): Remove use of INTUSE.
8651 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8652 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8653 * stdio-common/psiginfo.c (psiginfo): Likewise.
8654 * stdio-common/psignal.c (psignal): Likewise.
8655 * string/strsignal.c (strsignal): Likewise.
8656 * include/signal.h (_sys_siglist): Declare hidden proto.
8657 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8658 INTVARDEF with libc_hidden_data_def.
8659 * stdio-common/itoa-udigits.c: Likewise.
8660 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8661 (_itoa_lower_digits_internal): Remove declaration.
8662 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8663 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8664 (_sys_sigabbrev_internal): Remove aliases.
8665 (_sys_siglist): Define hidden alias.
8667 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8672 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8675 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8676 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8678 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8679 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8680 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8681 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8683 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8685 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8686 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8687 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8697 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8698 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8701 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8702 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8703 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8704 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8705 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8706 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8709 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8711 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8712 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8716 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8718 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8719 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8721 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8723 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8724 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8725 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8727 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8729 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8731 2012-05-31 Joseph Myers <joseph@codesourcery.com>
8733 * math/math.h (M_El): Use two more decimal places.
8734 (M_LOG2El): Likewise.
8735 (M_LOG10El): Likewise.
8737 (M_LN10l): Likewise.
8739 (M_PI_2l): Likewise.
8740 (M_PI_4l): Likewise.
8741 (M_1_PIl): Likewise.
8742 (M_2_PIl): Likewise.
8743 (M_2_SQRTPIl): Likewise.
8744 (M_SQRT2l): Likewise.
8745 (M_SQRT1_2l): Likewise.
8747 2012-05-31 David S. Miller <davem@davemloft.net>
8749 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8750 values between float registers.
8751 * sysdeps/sparc/sparc64/memset.S: Likewise.
8752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8754 2012-05-31 Mike Frysinger <vapier@gentoo.org>
8756 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8757 -D_FORTIFY_SOURCE=1.
8758 (CPPFLAGS-tst-longjmp_chk.c): Define.
8759 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8760 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8761 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8762 CFLAGS-tst-wchar-h.c.
8764 2012-05-31 Marek Polacek <polacek@redhat.com>
8767 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8768 __endmntent_internal): Remove declaration.
8769 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8770 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8771 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8773 2012-05-30 David S. Miller <davem@davemloft.net>
8775 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8776 (___Q_simulate_exceptions): Use real FP ops rather than writing
8778 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8781 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8784 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8785 * sysdeps/x86/bits/xtitypes.h: This.
8787 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8788 * sysdeps/x86/bits/wordsize.h: This.
8790 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8791 * sysdeps/x86/bits/huge_vall.h: This.
8793 * sysdeps/i386/bits/select.h: Removed.
8794 * sysdeps/x86_64/bits/select.h: Renamed to ...
8795 * sysdeps/x86/bits/select.h: This.
8797 * sysdeps/i386/bits/setjmp.h: Removed.
8798 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8799 * sysdeps/x86/bits/setjmp.h: This.
8801 * sysdeps/i386/bits/mathdef.h: Removed.
8802 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8803 * sysdeps/x86/bits/mathdef.h: This.
8805 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8808 * include/sys/socket.h (__connect_internal)
8809 (__libc_sa_len_internal): Remove declaration.
8810 (__connect, __libc_sa_len): Declare hidden_proto.
8811 (SA_LEN): Remove use of INTUSE.
8812 * socket/connect.c: Add libc_hidden_def.
8813 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8814 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8815 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8817 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8818 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8819 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8820 of adding _internal alias.
8822 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8825 * sysdeps/i386/bits/link.h: Removed.
8826 * sysdeps/i386/bits/linkmap.h: Likewise.
8827 * sysdeps/x86_64/bits/link.h: Renamed to ...
8828 * sysdeps/x86/bits/link.h: This.
8829 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8830 * sysdeps/x86/bits/linkmap.h: This.
8832 * sysdeps/i386/bits/endian.h: Removed.
8833 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8834 * sysdeps/x86/bits/endian.h: This.
8836 * sysdeps/i386/bits/byteswap.h: Removed.
8837 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8838 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8839 * sysdeps/x86/bits/byteswap.h: This.
8840 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8841 * sysdeps/x86/bits/byteswap-16.h: This.
8842 * sysdeps/i386/Implies: Add x86.
8843 * sysdeps/x86_64/Implies: Likewise.
8845 2012-05-30 David S. Miller <davem@davemloft.net>
8847 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8848 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8849 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8850 (FP_TRAPPING_EXCEPTIONS): Define.
8851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8852 (FP_TRAPPING_EXCEPTIONS): Define.
8853 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8854 subnormals only when inexact has been signalled or underflow
8855 exceptions are enabled.
8856 (_FP_PACK_CANONICAL): Likewise.
8858 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8861 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8862 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8864 2012-05-30 Richard Henderson <rth@twiddle.net>
8866 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8867 with #ifndef NOT_IN_libc.
8869 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8870 marked to avoid plt entry.
8872 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8875 * Makeconfig (default-abi): New macro.
8876 (abi-includes): Likewise.
8877 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8878 $(abi-$(default-abi)-lib-soname) for soname if defined.
8879 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8881 * Makefile (installed-stubs): Likewise.
8882 * include/stubs-biarch.h: Removed.
8883 * scripts/lib-names.awk: Only handle one library at a time.
8884 * scripts/soversions.awk: Remove WORDSIZE support.
8885 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8887 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8889 (syscall-list-default-condition): Likewise.
8890 (syscall-list-default-condition): Likewise.
8891 (syscall-list-includes): Likewise.
8892 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8893 syscall-list-* with abi-*. Handle undefined abi-variants.
8894 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8895 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8896 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8897 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8898 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8899 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8901 (syscall-list-32-options): Likewise.
8902 (syscall-list-32-condition): Likewise.
8903 (syscall-list-64-options): Likewise.
8904 (syscall-list-64-condition): Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8907 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8910 (abi-64-ld-soname): New macro.
8911 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8915 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8916 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8918 2012-05-30 Joseph Myers <joseph@codesourcery.com>
8920 * sysdeps/unix/sysv/linux/kernel-features.h
8921 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8922 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8923 include <kernel-features.h>.
8924 [!__NR_ftruncate64]: Remove conditional code.
8925 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8926 [__NR_ftruncate64]: Make code unconditional.
8927 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8928 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8929 include <kernel-features.h>.
8930 [!__NR_ftruncate64]: Remove conditional code.
8931 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8932 [__NR_ftruncate64]: Make code unconditional.
8933 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8935 include <kernel-features.h>.
8936 [!__NR_ftruncate64]: Remove conditional code.
8937 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8938 [__NR_ftruncate64]: Make code unconditional.
8939 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8941 include <kernel-features.h>.
8942 [!__NR_ftruncate64]: Remove conditional code.
8943 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8944 [__NR_ftruncate64]: Make code unconditional.
8945 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8947 * configure.in (libc_cv_fpie): Weaken to a compile test using
8949 * configure: Regenerated.
8951 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8966 2012-05-27 David S. Miller <davem@davemloft.net>
8968 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8970 (__Q_simulate_exceptions): Return void. Change to simulate
8971 exceptions by writing into the %fsr.
8972 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8973 (__Qp_handle_exceptions): Likewise.
8975 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8976 __Qp_handle_exceptions.
8977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8978 __Qp_handle_exceptions.
8979 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8980 as unused and give dummy FP_RND_NEAREST initializer.
8981 (FP_INHIBIT_RESULTS): Define.
8982 (___Q_simulate_exceptions): Update declaration.
8983 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8985 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8986 as unused and give dummy FP_RND_NEAREST initializer.
8987 (__Qp_handle_exceptions): Update declaration.
8988 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8991 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8993 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8994 the temporary FPU control word.
8995 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8996 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8997 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8998 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8999 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9000 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9001 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9002 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9003 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9004 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9005 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9007 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9009 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9012 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9014 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9015 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9016 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9017 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9019 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9020 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9023 2012-05-27 Ulrich Drepper <drepper@gmail.com>
9025 * po/h.po: Update from translation team.
9027 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9029 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9031 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9032 handling of denormals.
9033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9034 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9035 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9036 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9042 2012-05-26 Marek Polacek <polacek@redhat.com>
9045 * math/libm-test.inc (fma_test): Don't always expect underflow
9048 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9051 * elf/tst-execstack.c: Include stackinfo.h.
9052 (do_test): Adjust test case to ensure that pthread_getattr_np
9053 behaviour remains the same after marking stack executable.
9055 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9057 * sysdeps/unix/sysv/linux/kernel-features.h
9058 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9059 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9061 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9062 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9063 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9065 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9066 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9068 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9070 * configure.in: Define the default includes to being none.
9071 * configure: Regenerated.
9073 2012-05-25 Roland McGrath <roland@hack.frob.com>
9075 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9076 * sysdeps/x86_64/setjmp.S: Likewise.
9077 * sysdeps/i386/bsd-setjmp.S: Likewise.
9078 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9079 * sysdeps/i386/setjmp.S: Likewise.
9080 * sysdeps/i386/__longjmp.S: Likewise.
9081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9082 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9084 * include/stap-probe.h: New file.
9085 * configure.in: Handle --enable-systemtap.
9086 * configure: Regenerated.
9087 * config.h.in (USE_STAP_PROBE): New #undef.
9088 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9089 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9090 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9092 2012-05-25 Joseph Myers <joseph@codesourcery.com>
9095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9096 to 2.4.0 where earlier.
9097 * sysdeps/unix/sysv/linux/configure: Regenerated.
9098 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9099 <kernel-features.h>.
9100 [__ASSUME_32BITUIDS]: Make code unconditional.
9101 [!__ASSUME_32BITUIDS]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9103 <kernel-features.h>.
9104 [__ASSUME_32BITUIDS]: Make code unconditional.
9105 [!__ASSUME_32BITUIDS]: Remove conditional code.
9106 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9107 [__ASSUME_32BITUIDS]: Make code unconditional.
9108 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9109 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9110 <kernel-features.h>.
9111 [__ASSUME_32BITUIDS]: Make code unconditional.
9112 [!__ASSUME_32BITUIDS]: Remove conditional code.
9113 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9114 <kernel-features.h>.
9115 [__ASSUME_32BITUIDS]: Make code unconditional.
9116 [!__ASSUME_32BITUIDS]: Remove conditional code.
9117 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9118 <kernel-features.h>.
9119 [__ASSUME_32BITUIDS]: Make code unconditional.
9120 [!__ASSUME_32BITUIDS]: Remove conditional code.
9121 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9122 <kernel-features.h>.
9123 [__ASSUME_32BITUIDS]: Make code unconditional.
9124 [!__ASSUME_32BITUIDS]: Remove conditional code.
9125 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9126 <kernel-features.h>.
9127 [__ASSUME_32BITUIDS]: Make code unconditional.
9128 [!__ASSUME_32BITUIDS]: Remove conditional code.
9129 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9130 <kernel-features.h>.
9131 [__ASSUME_32BITUIDS]: Make code unconditional.
9132 [!__ASSUME_32BITUIDS]: Remove conditional code.
9133 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9134 <kernel-features.h>.
9135 [__ASSUME_32BITUIDS]: Make code unconditional.
9136 [!__ASSUME_32BITUIDS]: Remove conditional code.
9137 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9138 <kernel-features.h>.
9139 [__ASSUME_32BITUIDS]: Make code unconditional.
9140 [!__ASSUME_32BITUIDS]: Remove conditional code.
9141 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9142 <kernel-features.h>.
9143 [__ASSUME_32BITUIDS]: Make code unconditional.
9144 [!__ASSUME_32BITUIDS]: Remove conditional code.
9145 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9146 <kernel-features.h>.
9147 [__ASSUME_32BITUIDS]: Make code unconditional.
9148 [!__ASSUME_32BITUIDS]: Remove conditional code.
9149 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9150 <kernel-features.h>.
9151 [__NR_setresgid] (__setresgid): Do not declare.
9152 [__ASSUME_32BITUIDS]: Make code unconditional.
9153 [!__ASSUME_32BITUIDS]: Remove conditional code.
9154 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9155 <kernel-features.h>.
9156 [__NR_setresuid] (__setresuid): Do not declare.
9157 [__ASSUME_32BITUIDS]: Make code unconditional.
9158 [!__ASSUME_32BITUIDS]: Remove conditional code.
9159 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9160 <kernel-features.h>.
9161 [__ASSUME_32BITUIDS]: Make code unconditional.
9162 [!__ASSUME_32BITUIDS]: Remove conditional code.
9163 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9164 <kernel-features.h>.
9165 [__ASSUME_32BITUIDS]: Make code unconditional.
9166 [!__ASSUME_32BITUIDS]: Remove conditional code.
9167 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9168 <kernel-features.h>.
9169 [__ASSUME_32BITUIDS]: Make code unconditional.
9170 [!__ASSUME_32BITUIDS]: Remove conditional code.
9171 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9172 <kernel-features.h>.
9173 [__ASSUME_32BITUIDS]: Make code unconditional.
9174 [!__ASSUME_32BITUIDS]: Remove conditional code.
9175 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9176 <kernel-features.h>.
9177 [__ASSUME_32BITUIDS]: Make code unconditional.
9178 [!__ASSUME_32BITUIDS]: Remove conditional code.
9179 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9180 <kernel-features.h>.
9181 [__ASSUME_32BITUIDS]: Make code unconditional.
9182 [!__ASSUME_32BITUIDS]: Remove conditional code.
9183 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9184 <kernel-features.h>.
9185 [__ASSUME_32BITUIDS]: Make code unconditional.
9186 [!__ASSUME_32BITUIDS]: Remove conditional code.
9187 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9188 <kernel-features.h>.
9189 [__ASSUME_32BITUIDS]: Make code unconditional.
9190 [!__ASSUME_32BITUIDS]: Remove conditional code.
9191 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9192 <kernel-features.h>.
9193 [__ASSUME_32BITUIDS]: Make code unconditional.
9194 [!__ASSUME_32BITUIDS]: Remove conditional code.
9195 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9196 <kernel-features.h>.
9197 [__ASSUME_32BITUIDS]: Make code unconditional.
9198 [!__ASSUME_32BITUIDS]: Remove conditional code.
9199 * sysdeps/unix/sysv/linux/kernel-features.h
9200 (__ASSUME_SETRESUID_SYSCALL): Remove.
9201 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9202 (__ASSUME_32BITUIDS): Likewise.
9203 (__ASSUME_LDT_WORKS): Likewise.
9204 (__ASSUME_O_DIRECTORY): Likewise.
9205 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9206 architecture but not kernel version.
9207 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9208 (__ASSUME_MMAP2_SYSCALL): Likewise.
9209 (__ASSUME_STAT64_SYSCALL): Likewise.
9210 (__ASSUME_IPC64): Likewise.
9211 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9212 <kernel-features.h>.
9213 [__ASSUME_32BITUIDS]: Make code unconditional.
9214 [!__ASSUME_32BITUIDS]: Remove conditional code.
9215 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9216 <kernel-features.h>.
9217 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9218 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9219 132096]: Remove conditional code.
9220 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9221 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9222 <kernel-features.h>.
9223 [__ASSUME_32BITUIDS]: Make code unconditional.
9224 [!__ASSUME_32BITUIDS]: Remove conditional code.
9225 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9226 <kernel-features.h>.
9227 [__ASSUME_32BITUIDS]: Make code unconditional.
9228 [!__ASSUME_32BITUIDS]: Remove conditional code.
9229 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9230 <kernel-features.h>.
9231 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9233 (__setresgid): Do not declare.
9234 [__ASSUME_32BITUIDS]: Make code unconditional.
9235 [!__ASSUME_32BITUIDS]: Remove conditional code.
9236 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9237 <kernel-features.h>.
9238 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9240 (__setresuid): Do not declare.
9241 [__ASSUME_32BITUIDS]: Make code unconditional.
9242 [!__ASSUME_32BITUIDS]: Remove conditional code.
9243 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9244 <kernel-features.h>.
9245 [__ASSUME_32BITUIDS]: Make code unconditional.
9246 [!__ASSUME_32BITUIDS]: Remove conditional code.
9247 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9248 <kernel-features.h>.
9249 [__ASSUME_32BITUIDS]: Make code unconditional.
9250 [!__ASSUME_32BITUIDS]: Remove conditional code.
9252 2012-05-25 Richard Henderson <rth@twiddle.net>
9254 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9255 dl_hwcap to ifunc resolver.
9256 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9258 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9259 dl_hwcap to ifunc resolver.
9260 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9262 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9265 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9266 for |x| <= 2**-26, not 2**-57.
9267 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9270 2012-05-24 Jeff Law <law@redhat.com>
9272 * stdio-common/Makefile (tests): Add bug25.
9273 * stdio-common/bug25.c: New test.
9275 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9278 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9279 multiple of MALLOC_ALIGNMENT in size.
9280 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9282 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9284 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9286 (FILENAME_MAX): Use macro-int-constant.
9287 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9288 (_IOFBF): Use macro-int-constant.
9291 (SEEK_CUR): Likewise.
9292 (SEEK_END): Likewise.
9293 (SEEK_SET): Likewise.
9294 (TMP_MAX): Likewise.
9295 (EOF): Use macro-int-constant. Require < 0.
9296 (NULL): Use macro-constant. Require == 0.
9297 (stdin): Require type to be FILE *.
9300 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9302 (EXIT_SUCCESS): Likewise.
9303 (NULL): Use macro-constant. Require == 0.
9304 (RAND_MAX): Use macro-int-constant.
9305 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9306 [C99-based standards] (strtof): Require function.
9307 [C99-based standards] (strtold): Likewise.
9308 [C99-based standards] (strtoll): Likewise.
9309 [C99-based standards] (strtoull): Likewise.
9310 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9311 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9312 [ISO || ISO99 || ISO11] (math.h): Likewise.
9313 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9314 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9315 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9317 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9320 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9321 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9322 * intl/dgettext.c (DCGETTEXT): Likewise.
9323 * intl/gettext.c (DCGETTEXT): Likewise.
9324 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9325 * posix/regex_internal.h (gettext): Likewise.
9326 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9328 * include/argz.h (__argz_count_internal)
9329 (__argz_stringify_internal): Remove declaration.
9330 (__argz_count, __argz_stringify): Declare hidden proto.
9331 * intl/dcgettext.c: Remove use of INTDEF.
9332 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9333 * string/argz-stringify.c: Likewise.
9334 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9335 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9336 Declare hidden proto.
9337 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9338 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9339 Declare hidden proto.
9340 * include/stdio.h (__asprintf_internal): Don't declare.
9341 (__asprintf): Don't define as macro. Declare hidden proto.
9342 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9343 (__fsetlocking): Declare hidden proto.
9344 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9345 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9347 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9348 (_IO_setlinebuf): Remove use of INTUSE.
9349 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9350 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9351 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9353 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9354 (_IO_do_flush): Remove use of INTUSE.
9355 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9356 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9357 (_IO_adjust_column, _IO_least_wmarker)
9358 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9359 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9360 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9361 (_IO_default_doallocate, _IO_wdefault_doallocate)
9362 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9363 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9364 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9365 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9366 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9367 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9368 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9369 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9370 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9371 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9372 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9373 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9374 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9376 (_IO_flush_all_internal, _IO_adjust_column_internal)
9377 (_IO_default_uflow_internal, _IO_default_finish_internal)
9378 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9379 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9380 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9381 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9382 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9383 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9384 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9385 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9386 (_IO_file_close_internal, _IO_file_close_it_internal)
9387 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9388 (_IO_file_init_internal, _IO_file_attach_internal)
9389 (_IO_file_fopen_internal, _IO_file_read_internal)
9390 (_IO_file_sync_internal, _IO_file_seek_internal)
9391 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9392 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9393 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9394 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9395 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9396 (_IO_list_all_internal, _IO_link_in_internal)
9397 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9398 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9399 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9400 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9401 (_IO_do_write_internal, _IO_padn_internal)
9402 (_IO_getline_info_internal, _IO_getline_internal)
9403 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9404 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9405 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9406 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9407 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9408 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9409 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9410 with libc_hidden_ver, remove use of INTUSE.
9411 * libio/genops.c: Likewise.
9412 * libio/freopen.c: Likewise.
9413 * libio/freopen64.c: Likewise.
9414 * libio/iofclose.c: Likewise.
9415 * libio/iofdopen.c: Likewise.
9416 * libio/iofflush.c: Likewise.
9417 * libio/iofflush_u.c: Likewise.
9418 * libio/iofgets.c: Likewise.
9419 * libio/iofgets_u.c: Likewise.
9420 * libio/iofopen.c: Likewise.
9421 * libio/iofopncook.c: Likewise.
9422 * libio/iofread.c: Likewise.
9423 * libio/iofread_u.c: Likewise.
9424 * libio/ioftell.c: Likewise.
9425 * libio/iofwrite.c: Likewise.
9426 * libio/iogetline.c: Likewise.
9427 * libio/iogets.c: Likewise.
9428 * libio/iogetwline.c: Likewise.
9429 * libio/iopadn.c: Likewise.
9430 * libio/iopopen.c: Likewise.
9431 * libio/ioseekoff.c: Likewise.
9432 * libio/ioseekpos.c: Likewise.
9433 * libio/iosetbuffer.c: Likewise.
9434 * libio/iosetvbuf.c: Likewise.
9435 * libio/ioungetc.c: Likewise.
9436 * libio/ioungetwc.c: Likewise.
9437 * libio/iovdprintf.c: Likewise.
9438 * libio/iovsprintf.c: Likewise.
9439 * libio/iovsscanf.c: Likewise.
9440 * libio/memstream.c: Likewise.
9441 * libio/obprintf.c: Likewise.
9442 * libio/oldfileops.c: Likewise.
9443 * libio/oldiofclose.c: Likewise.
9444 * libio/oldiofdopen.c: Likewise.
9445 * libio/oldiofopen.c: Likewise.
9446 * libio/oldiopopen.c: Likewise.
9447 * libio/oldstdfiles.c: Likewise.
9448 * libio/putc.c: Likewise.
9449 * libio/setbuf.c: Likewise.
9450 * libio/setlinebuf.c: Likewise.
9451 * libio/stdfiles.c: Likewise.
9452 * libio/strops.c: Likewise.
9453 * libio/vasprintf.c: Likewise.
9454 * libio/vscanf.c: Likewise.
9455 * libio/vsnprintf.c: Likewise.
9456 * libio/vswprintf.c: Likewise.
9457 * libio/wfiledoalloc.c: Likewise.
9458 * libio/wfileops.c: Likewise.
9459 * libio/wgenops.c: Likewise.
9460 * libio/wmemstream.c: Likewise.
9461 * libio/wstrops.c: Likewise.
9462 * libio/__fpurge.c: Likewise.
9463 * libio/__fsetlocking.c: Likewise.
9464 * assert/assert.c: Likewise.
9465 * debug/fgets_chk.c: Likewise.
9466 * debug/fgets_u_chk.c: Likewise.
9467 * debug/fread_chk.c: Likewise.
9468 * debug/fread_u_chk.c: Likewise.
9469 * debug/gets_chk.c: Likewise.
9470 * debug/obprintf_chk.c: Likewise.
9471 * debug/vasprintf_chk.c: Likewise.
9472 * debug/vdprintf_chk.c: Likewise.
9473 * debug/vsnprintf_chk.c: Likewise.
9474 * debug/vsprintf_chk.c: Likewise.
9475 * malloc/mtrace.c: Likewise.
9476 * misc/error.c: Likewise.
9477 * misc/syslog.c: Likewise.
9478 * stdio-common/asprintf.c: Likewise.
9479 * stdio-common/fxprintf.c: Likewise.
9480 * stdio-common/getw.c: Likewise.
9481 * stdio-common/isoc99_fscanf.c: Likewise.
9482 * stdio-common/isoc99_scanf.c: Likewise.
9483 * stdio-common/isoc99_vfscanf.c: Likewise.
9484 * stdio-common/isoc99_vscanf.c: Likewise.
9485 * stdio-common/isoc99_vsscanf.c: Likewise.
9486 * stdio-common/printf-prs.c: Likewise.
9487 * stdio-common/printf_fp.c: Likewise.
9488 * stdio-common/printf_fphex.c: Likewise.
9489 * stdio-common/printf_size.c: Likewise.
9490 * stdio-common/putw.c: Likewise.
9491 * stdio-common/scanf.c: Likewise.
9492 * stdio-common/sprintf.c: Likewise.
9493 * stdio-common/tmpfile.c: Likewise.
9494 * stdio-common/vfprintf.c: Likewise.
9495 * stdio-common/vfscanf.c: Likewise.
9496 * stdlib/strfmon_l.c: Likewise.
9497 * sunrpc/openchild.c: Likewise.
9498 * sunrpc/xdr_stdio.c: Likewise.
9499 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9500 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9502 2012-05-24 Roland McGrath <roland@hack.frob.com>
9504 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9506 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9507 in the third column, to generate for the shared library an IFUNC
9508 that uses _dl_vdso_vsym.
9509 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9510 * Makeconfig (object-suffixes-noshared): New variable.
9512 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9513 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9514 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9515 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9518 * include/sys/time.h (__gettimeofday): Remove macro.
9519 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9520 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9522 (__gettimeofday): Add libc_hidden_def.
9523 (gettimeofday): Add libc_hidden_weak.
9524 * sysdeps/mach/gettimeofday.c: Likewise.
9525 * sysdeps/posix/gettimeofday.c: Likewise.
9526 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9527 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9529 (__gettimeofday_internal): Remove strong_alias.
9530 (__gettimeofday): Add libc_hidden_def.
9531 (gettimeofday): Add libc_hidden_weak.
9532 * sysdeps/unix/syscalls.list (gettimeofday):
9533 Remove __gettimeofday_internal alias.
9535 2012-05-24 Daniel Jacobowitz <drow@false.org>
9536 H.J. Lu <hongjiu.lu@intel.com>
9539 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9540 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9541 (largebin_index_32_big): New.
9542 (largebin_index): Use it for 16-byte alignment.
9543 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9544 correction with front_misalign.
9546 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9574 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9575 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9577 2012-05-24 Joseph Myers <joseph@codesourcery.com>
9581 * math/libm-test.inc (exp_test): Add test from bug 14036.
9582 (pow_test): Add test from bug 10846.
9584 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9586 (special_function): Do not include flags in test name.
9587 (parse_args): Likewise.
9588 * sysdeps/i386/fpu/libm-test-ulps: Update.
9589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9591 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9594 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9596 * math/libm-test.inc ("Philosophy"): Update comment about
9598 (UNDERFLOW_EXCEPTION): New macro.
9599 (UNDERFLOW_EXCEPTION_OK): Likewise.
9600 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9601 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9602 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9603 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9604 (INVALID_EXCEPTION_OK): Update value.
9605 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9606 (OVERFLOW_EXCEPTION_OK): Likewise.
9607 (IGNORE_ZERO_INF_SIGN): Likewise.
9608 (test_exceptions): Handle underflow exceptions.
9609 (acos_test): Update for underflow exception expectations.
9610 (cexp_test): Likewise.
9611 (clog_test): Likewise.
9612 (clog10_test): Likewise.
9613 (csqrt_test): Likewise.
9614 (ctan_test): Likewise.
9615 (ctanh_test): Likewise.
9616 (exp_test): Likewise.
9617 (exp10_test): Likewise.
9618 (exp2_test): Likewise.
9619 (expm1_test): Likewise.
9620 (fma_test): Likewise.
9621 (j0_test): Likewise.
9622 (jn_test): Likewise.
9623 (nexttoward_test): Likewise.
9624 (pow_test): Likewise.
9625 (scalbn_test): Likewise.
9626 (scalbln_test): Likewise.
9627 (tan_test): Likewise.
9628 (y1_test): Likewise.
9629 * sysdeps/i386/fpu/libm-test-ulps: Update.
9630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9632 2012-05-23 David S. Miller <davem@davemloft.net>
9634 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9635 (__libc_sigaction): Remove unused local variables.
9637 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9639 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9641 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9643 mktime: avoid signed integer overflow
9644 * time/mktime.c (__mktime_internal): Do not mishandle the case
9645 where diff == INT_MIN.
9647 mktime: simplify computation of average
9648 * time/mktime.c (ranged_convert): Use new time_t_avg function
9649 instead of rolling our own (probably-slower) code.
9651 mktime: do not assume signed right shift propagates sign bit
9652 * time/mktime.c (isdst_differ): New static function.
9653 (__mktime_internal): No need to normalize tm_isdst now.
9654 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9657 mktime: merge another wrapv change from gnulib
9658 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9659 from some compilers.
9661 mktime: remove incorrect attempt at unusual arithmetics
9662 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9663 The code didn't really work on such machines anyway.
9664 (TYPE_MINIMUM): Assume two's complement.
9665 (twos_complement_arithmetic): Verify that long_int and time_t
9666 are two's complement (or unsigned, in the latter case).
9668 mktime: check signed shifts on long_int and time_t, too
9669 * time/mktime.c (SHR): Check that shifts work as desired
9670 on the types long_int and time_t too, as SHR is used on
9673 mktime: do not assume 'long' is wide enough
9674 * time/mktime.c (verify): Move decl up.
9675 (long_int): New type.
9676 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9677 to remove assumption in the code that 'long' is wide enough to
9678 store year values. This assumption is not true on x32 and on
9679 some non-glibc platforms.
9681 mktime: merge wrapv change from gnulib
9682 * time/mktime.c (WRAPV): New macro.
9683 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9684 (guess_time_tm, __mktime_internal): Do not assume that signed
9685 integer overflow wraps around; modern compilers generate code
9686 where this assumption is no longer valid.
9688 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9690 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9691 Replace "jmp L(pseudo_end)" with "ret".
9692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9695 2012-05-23 Andreas Jaeger <aj@suse.de>
9697 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9698 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9700 2012-05-23 Andreas Jaeger <aj@suse.de>
9701 Maximilian Attems <max@stro.at>
9703 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9706 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9708 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9709 code so that pseudo_end is just ret and the stack pointer is
9710 correct also for static library in error case.
9712 2012-05-23 Joseph Myers <joseph@codesourcery.com>
9714 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9715 move to syscalls.list.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9721 * manual/install.texi (Running make install): Do not mention Linux
9722 kernel version for which pt_chown is not needed.
9723 (Linux): Do not mention problems with nscd with 2.0 kernels.
9724 * INSTALL: Regenerated.
9726 2012-05-23 Andreas Jaeger <aj@suse.de>
9728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9729 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9731 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9732 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9733 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9734 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9735 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9736 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9738 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9739 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9740 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9741 * sysdeps/unix/sysv/linux/bits/in.h
9742 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9744 2012-05-22 Roland McGrath <roland@hack.frob.com>
9746 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9747 (PREPARE_VERSION): Just use assert instead, it will be elided
9748 under [NDEBUG] anyway.
9750 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9752 * sysdeps/unix/sysv/linux/Makefile: Include
9753 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9754 (sysdep_routines): Remove sysctl.
9755 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9756 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9757 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9758 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9759 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9761 2012-05-22 Andreas Jaeger <aj@suse.de>
9763 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9764 that pseudo_end is just ret and the stack pointer is correct also
9765 for static library in error case.
9767 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9770 * nss/nsswitch.c (defconfig_entries): New variable.
9771 (__nss_database_lookup): Don't leak defconfig entries.
9772 (nss_parse_service_list): Don't leak on error paths.
9773 (free_database_entries): New function.
9774 (free_defconfig): New function.
9775 (free_mem): Move common code to free_database_entries.
9777 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9781 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9783 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9784 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9787 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9788 (INTERNAL_SYSCALL_TYPES): Likewise.
9789 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9790 (LOAD_REGS_TYPES_[1-6]): Likewise.
9791 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9792 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9794 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9797 copysignl for GLIBC_2_0.
9798 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9799 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9801 logbl for GLIBC_2_0.
9802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9803 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9808 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9810 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9813 * time/mktime.c: Update copyright years.
9815 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9817 mktime: merge comment-quoting-style change from gnulib
9818 * time/mktime.c: Quote 'like this' in comments.
9819 The GNU coding standards suggest that we no longer quote `like this',
9820 as "`" and "'" are typically rendered asymmetrically nowadays.
9821 The typical gnulib style is to quote 'like this' when quoting
9822 code, and "like this" when quoting English.
9824 * time/mktime.c (compile-command): Add "-I.".
9826 mktime: merge mktime-internal.h change from gnulib
9827 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9829 mktime: merge time_r change from gnulib
9830 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9832 mktime: merge DEBUG change from gnulib
9833 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9834 case system <time.h> has a #define.
9836 mktime: merge <sys/types.h> change from gnulib
9837 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9838 since <time.t> is now guaranteed to define time_t.
9840 mktime: merge HAVE_CONFIG_H change from gnulib
9841 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9843 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9848 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9850 (struct rusage): Use anonymous union to pad each field to
9853 2012-05-21 David S. Miller <davem@davemloft.net>
9855 * Makefules (o-iterator): Remove .s cases.
9856 (compile-command.s): Delete.
9857 (COMPILE.s): Delete.
9858 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9860 2012-05-21 Joseph Myers <joseph@codesourcery.com>
9862 * configure.in (libc_cv_predef_stack_protector): Only consider
9863 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9864 * configure: Regenerated.
9866 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9869 New macro. Use R*LP on int and pointer.
9870 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9871 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9872 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9873 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9875 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9876 [__WORDSIZE_TIME64_COMPAT32] instead of
9877 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9878 (struct utmp): Likewise.
9879 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9880 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9882 (__WORDSIZE_TIME64_COMPAT32): This.
9883 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9884 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9885 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9887 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9888 (__WORDSIZE_TIME64_COMPAT32): New macro.
9890 2012-05-21 Andreas Jaeger <aj@suse.de>
9892 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9893 only if [SHARED]. Add prototype for __wcschr_ia32.
9895 2012-05-21 Roland McGrath <roland@hack.frob.com>
9897 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9898 of %rbp unmolested in the jmp_buf while mangling the low bits.
9899 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9900 unmolested high bits of %rbp while demangling the low bits.
9901 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9903 2012-05-21 Andreas Jaeger <aj@suse.de>
9905 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9906 * sunrpc/svc_simple.c: Use it for registerrpc.
9907 * sunrpc/xcrypt.c: Use it for passwd2des.
9909 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9911 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9913 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9914 Don't define if [__SYSCALL_WORDSIZE != 32].
9915 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9918 2012-05-21 Bruno Haible <bruno@clisp.org>
9919 Andreas Jaeger <aj@suse.de>
9921 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9922 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9923 inptr and inend for must_buffer_ch.
9924 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9925 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9926 * stdio-common/Makefile (tests): Remove bug15.
9927 (bug15-ENV): Remove macro.
9928 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9931 2012-05-19 Andreas Jaeger <aj@suse.de>
9932 Roland McGrath <roland@hack.frob.com>
9934 * manual/contrib.texi: Completely rewritten. It contains now an
9935 alphabetical list of contributors and their contributions.
9937 2012-05-21 Richard Henderson <rth@twiddle.net>
9939 * misc/getauxval.c (__getauxval): Use unsigned long int.
9940 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9941 (getauxval): Use unsigned long int.
9943 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9945 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9947 2012-05-21 Roland McGrath <roland@hack.frob.com>
9949 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9950 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9951 __alignof__ (long double).
9953 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9957 2012-05-20 Richard Henderson <rth@twiddle.net>
9959 * misc/getauxval.c: New file.
9960 * misc/sys/auxv.h: New file.
9961 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9962 (routines): Add getauxval.
9963 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9964 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9965 * elf/dl-sysdep.c (_dl_auxv): Remove.
9966 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9967 * elf/dl-support.c (_dl_auxv): New variable.
9968 (_dl_aux_init): Initialize it.
9969 * manual/startup.texi (Auxiliary Vector): New node.
9970 * sysdeps/generic/bits/hwcap.h: New file.
9971 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9972 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9973 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9974 * sysdeps/sparc/sysdep.h: ... here. Include it.
9975 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9988 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9992 2012-05-19 David S. Miller <davem@davemloft.net>
9994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9996 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9999 * math/s_ccosh.c: Include <float.h>
10000 (__ccosh): Avoid internal overflow calculating sinh and cosh
10001 values before multiplying by sin and cos values.
10002 * math/s_ccoshf.c: Likewise.
10003 * math/s_ccoshl.c: Likewise.
10004 * math/s_csin.c: Likewise.
10005 * math/s_csinf.c: Likewise.
10006 * math/s_csinl.c: Likewise.
10007 * math/s_csinh.c: Likewise.
10008 * math/s_csinhf.c: Likewise.
10009 * math/s_csinhl.c: Likewise.
10010 * math/libm-test.inc (ccos_test): Add more tests.
10011 (ccosh_test): Likewise.
10012 (csin_test): Likewise.
10013 (csinh_test): Likewise.
10014 * sysdeps/i386/fpu/libm-test-ulps: Update.
10015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10017 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10019 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10020 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10022 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10024 2012-05-19 Joseph Myers <joseph@codesourcery.com>
10026 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10027 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10028 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10029 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10030 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10031 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10032 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10033 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10034 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10035 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10036 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10037 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10038 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10039 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10040 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10041 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10042 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10043 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10044 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10045 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10046 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10047 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10048 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10049 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10050 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10051 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10052 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10053 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10054 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10055 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10056 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10058 2012-05-18 Andreas Jaeger <aj@suse.de>
10060 * csu/.gitignore: Delete.
10062 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10064 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10065 (timex): Use __syscall_slong_t.
10067 2012-05-18 Andreas Jaeger <aj@suse.de>
10068 Carlos O'Donell <carlos_odonell@mentor.com>
10070 * manual/install.texi (Configuring and compiling): Update
10071 description about files modified in the source directory.
10072 * INSTALL: Regenerated.
10074 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10076 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10077 value. Use "or" to set return value to -1.
10078 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10079 negate return value.
10081 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10083 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10084 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10085 failure if the compiler has Graphite support disabled.
10086 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10088 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10089 CFLAGS-memmove.c): Likewise.
10090 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10093 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10095 * sysdeps/x86_64/x32/_itoa.h: New file.
10097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10098 getdents system call only if kernel and user dirents have the
10099 same d_ino and d_off.
10101 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10102 LLONG_MAX != LONG_MAX.
10103 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10104 (_fitoa_word): Likewise.
10106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10109 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10110 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10112 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10113 include <bits/wordsize.h>. Check __x86_64__ instead of
10115 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10116 if __x86_64__ is defined. Use anonymous union on fpstate.
10118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10121 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10123 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10124 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10125 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10126 Refer to _rtld_local_ro instead of _rtld_global_ro.
10127 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10129 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10131 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10133 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10134 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10135 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10137 * sysdeps/powerpc/powerpc32/dl-machine.c
10138 (__elf_machine_runtime_setup) [PROF]: Don't reference
10141 2012-05-18 Andreas Jaeger <aj@suse.de>
10143 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10144 function only available for GCCs before 3.4 since GCC 3.4
10145 introduced a builtin.
10147 (llrintf): Likewise.
10148 (llrint): Likewise.
10155 (nearbyint): Likewise.
10156 (nearbyintf): Likewise.
10160 (floorf): Likewise.
10162 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10164 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10165 on both fields and cast pointer to __syscall_ulong_t.
10167 * bits/types.h (__fsword_t): New type.
10168 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10169 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10171 (__FSWORD_T_TYPE): Likewise.
10172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10173 (__FSWORD_T_TYPE): Likewise.
10174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10175 (__FSWORD_T_TYPE): Likewise.
10176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10177 (__FSWORD_T_TYPE): Likewise.
10178 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10179 __SWORD_TYPE with __fsword_t.
10180 (statfs64): Likewise.
10182 2012-05-17 David S. Miller <davem@davemloft.net>
10184 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10186 2012-05-17 Andreas Jaeger <aj@suse.de>
10188 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10191 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10193 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10195 2012-05-17 Andreas Jaeger <aj@suse.de>
10197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10200 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10202 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10204 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10206 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10207 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10209 2012-05-17 Andreas Jaeger <aj@suse.de>
10210 Carlos O'Donell <carlos_odonell@mentor.com>
10213 * sysdeps/x86_64/multiarch/init-arch.h
10214 (bit_YMM_Usable): Rename to...
10215 (bit_AVX_Usable): ... this.
10216 (bit_FMA4_Usable): New macro.
10217 (bit_XMM_state): New macro.
10218 (bit_YMM_state): New macro.
10219 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10220 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10221 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10222 (CPUID_OSXSAVE): New macro.
10223 (CPUID_AVX): New macro.
10224 (CPUID_FMA4): New macro.
10225 (index_YMM_Usable): Rename to...
10226 (index_AVX_Usable): ... this.
10227 (HAS_AVX): Use HAS_ARCH_FEATURE.
10228 (HAS_FMA4): Likewise.
10229 (HAS_YMM_USABLE): Remove.
10230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10231 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10233 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10234 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10235 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10236 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10237 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10239 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10241 * math/libm-test.c: Support platforms without multiple rounding modes.
10242 * math/bug-nextafter.c: Support platforms without FP exceptions.
10243 * math/bug-nexttoward.c: Likewise.
10244 * math/test-fenv.c: Likewise.
10245 * math/test-misc.c: Likewise.
10246 * stdlib/bug-getcontext.c: Likewise.
10248 2012-05-17 Andreas Jaeger <aj@suse.de>
10250 * manual/examples/search.c (critter_cmp): Change signature to
10252 * manual/string.texi (Collation Functions): Likewise.
10254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10256 * bits/types.h: Fold copyright years.
10257 * bits/typesizes.h: Likewise.
10258 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10261 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10262 * time/time.h: Likewise.
10264 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10267 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10268 in instead of returning them. Return void.
10269 (__libc_mallinfo): Accumulate over all arenas.
10270 (__malloc_stats): Adjust for change in int_mallinfo interface.
10272 2012-05-16 Roland McGrath <roland@hack.frob.com>
10275 * configure.in (NM): Add AC_CHECK_TOOL for it.
10276 (libc_extra_cflags): New substituted variable.
10277 Check for -fstack-protector being used implicitly.
10278 * configure: Regenerated.
10279 * config.make.in (config-extra-cflags): New variable,
10280 gets @libc_extra_cflags@.
10281 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10284 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10285 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10286 * configure: Regenerated.
10287 * config.make.in (CPPUNDEFS): New substituted variable.
10288 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10289 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10290 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10292 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10294 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10295 (mq_attr): Use __syscall_slong_t.
10297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10299 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10300 Check __x86_64__ instead of __WORDSIZE.
10301 (_STAT_VER_LINUX): Likewise.
10302 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10303 __syscall_ulong_t and __syscall_slong_t.
10304 (stat64): Likewise.
10306 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10308 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10310 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10312 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10314 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10316 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10319 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10320 include <bits/wordsize.h>. Check __x86_64__ instead of
10322 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10324 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10327 include <bits/wordsize.h>. Check __x86_64__ instead of
10329 (user_regs_struct): Use "__extension__ unsigned long long"
10330 instead of "unsigned long" if __x86_64__ is defined.
10331 (user): Likewise. Pad after pointer field if __ILP32__ is
10334 2012-05-16 Joseph Myers <joseph@codesourcery.com>
10336 * configure.in (makeinfo): Require version 4.5 or later. Allow
10338 * configure: Regenerated.
10339 * manual/install.texi (texinfo): Increase version requirement to
10341 * INSTALL: Regenerated.
10343 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10345 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10347 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10349 * sysdeps/x86_64/x32/ffs.c: New file.
10351 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10353 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10354 defined. Use __syscall_ulong_t.
10355 (shminfo): Use __syscall_ulong_t.
10356 (shm_info): Likewise.
10358 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10361 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10363 (msgqnum_t): Use __syscall_ulong_t.
10364 (msglen_t): Likewise.
10365 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10368 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10369 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10371 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10373 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10374 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10376 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10379 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10380 include <bits/wordsize.h>. Check __x86_64__ instead of
10383 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10384 "unsigned long long int" if __x86_64__ is defined.
10385 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10387 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10388 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10389 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10391 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10393 (GET_PC): Cast to uintptr_t first.
10394 (GET_FRAME): Likewise.
10395 (GET_STACK): Likewise.
10397 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10398 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10399 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10400 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10401 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10402 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10403 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10404 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10408 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10409 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10410 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10411 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10412 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10413 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10414 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10415 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10416 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10418 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10420 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10422 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10424 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10425 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10427 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10429 * Makerules (+depfiles): Also collect depfiles from .oS in
10431 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10432 .oS, $(libnldbl-routines)).
10434 * Makerules (native-compile-mkdep-flags): Define.
10435 * sunrpc/Makefile (extra-objs): Add $(addprefix
10436 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10437 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10438 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10439 calling $(make-target-directory).
10441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10443 * bits/types.h (__snseconds_t): Removed.
10444 * time/time.h (struct timespec): Replace __snseconds_t with
10446 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10447 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10450 (__SNSECONDS_T_TYPE): Likewise.
10451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10452 (__SNSECONDS_T_TYPE): Likewise.
10453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10454 (__SNSECONDS_T_TYPE): Likewise.
10456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10458 * sysdeps/mach/hurd/bits/typesizes.h
10459 (__SYSCALL_SLONG_TYPE): New macro.
10460 (__SYSCALL_ULONG_TYPE): Likewise.
10462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10464 * bits/types.h (__syscall_slong_t): New type.
10465 (__syscall_ulong_t): Likewise.
10467 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10468 (__SYSCALL_ULONG_TYPE): Likewise.
10469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10470 (__SYSCALL_SLONG_TYPE): Likewise.
10471 (__SYSCALL_ULONG_TYPE): Likewise.
10472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10473 (__SYSCALL_SLONG_TYPE): Likewise.
10474 (__SYSCALL_ULONG_TYPE): Likewise.
10475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10476 (__SYSCALL_SLONG_TYPE): Likewise.
10477 (__SYSCALL_ULONG_TYPE): Likewise.
10479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10481 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10482 Add sigaltstack-offsets.sym.
10483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10484 <sigaltstack-offsets.h>.
10485 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10486 longjmp_msg pointer.
10487 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10488 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10490 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10492 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10494 * elf/stackguard-macros.h: Remove file.
10495 * sysdeps/generic/stackguard-macros.h: New file.
10496 * sysdeps/i386/stackguard-macros.h: Likewise.
10497 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10498 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10499 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10500 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10501 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10502 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10503 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10504 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10505 <elf/stackguard-macros.h>.
10508 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10509 __aligned__ in attribute.
10510 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10511 (gregset_t): Likewise.
10513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10515 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10516 * sysdeps/x86_64/64/Implies-after: Here. New file.
10517 * sysdeps/x86_64/x32/Implies-after: New file.
10519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10521 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10522 and access return value for _dl_profile_fixup. Use R10_LP to
10525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10527 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10531 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10532 * sysdeps/x86_64/x32/sysdep.h: New file.
10534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10536 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10537 * sysdeps/x86_64/setjmp.S: Likewise.
10539 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10542 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10543 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10544 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10545 remove unused global constant.
10547 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10549 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10550 include of <not-cancel.h>.
10552 2012-05-15 Roland McGrath <roland@hack.frob.com>
10554 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10556 2012-05-15 Jeff Law <law@redhat.com>
10557 Andreas Jaeger <aj@suse.de>
10560 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10562 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10563 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10564 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10565 code changing __hst_map_handle.map.
10567 2012-05-15 Roland McGrath <roland@hack.frob.com>
10569 * configure.in (sysnames): Look for Implies-before and Implies-after
10571 * configure: Regenerated.
10573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10575 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10576 8-byte data alignment with LP_SIZE alignment.
10578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10580 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10585 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10590 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10591 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10593 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10597 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10598 (stackinfo_sub_sp): Likewise.
10600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10607 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10617 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10621 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10622 into R11_LP and load __x86_64_shared_cache_size_half into
10625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10627 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10630 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10632 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10638 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10639 powerpc32/power7/fpu/s_logb.c via #include.
10640 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10641 powerpc32/power7/fpu/s_logbf.c via #include.
10642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10643 powerpc32/power7/fpu/s_logbl.c via #include.
10645 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10647 * README.libm: Remove file.
10649 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10651 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10652 count for x32. Use R*_LP and omit operand-size suffix.
10654 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10656 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10657 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10658 * sysdeps/x86_64/x32/shlib-versions: New file.
10660 2012-05-14 Roland McGrath <roland@hack.frob.com>
10662 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10663 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10664 Use _dl_fatal_printf instead.
10666 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10668 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10669 set if not set by the user. Do not allow for being unset.
10670 * sysdeps/unix/sysv/linux/configure: Regenerated.
10672 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10674 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10675 the `q' suffix from lea and replace .quad with ASM_ADDR.
10677 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10680 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10682 (PTR_DEMANGLE): Likewise.
10684 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10686 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10688 (ASM_ADDR): Likewise.
10689 (RAX_LP): Likewise.
10690 (RBP_LP): Likewise.
10691 (RBX_LP): Likewise.
10692 (RCX_LP): Likewise.
10693 (RDI_LP): Likewise.
10694 (RSI_LP): Likewise.
10695 (RSP_LP): Likewise.
10698 (R10_LP): Likewise.
10699 (R10_LP): Likewise.
10700 (R11_LP): Likewise.
10701 (R12_LP): Likewise.
10702 (R13_LP): Likewise.
10703 (R14_LP): Likewise.
10704 (R15_LP): Likewise.
10706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10708 * sysdeps/x86_64/x32/dl-machine.h: New file.
10710 2012-05-14 Andreas Jaeger <aj@suse.de>
10712 * manual/Makefile (subdir): Remove export of subdir.
10713 (all): Remove target.
10714 (.PHONY): Remove all from list.
10715 (mkinstalldirs): Remove.
10716 (.PHONY): Remove installdirs from list.
10717 ($(inst_infodir)/libc.info): Use make-target-directory.
10718 (installdirs): Remove.
10719 (subdir_%): Remove.
10720 (glibc-targets): Remove.
10723 ($(objpfx)stubs ../po/manual.pot): Remove.
10724 ($(objpfx)stamp%): Remove.
10725 (make-target-directory): Remove.
10726 (subdir_install): Remove.
10727 (routines): Remove.
10734 * manual/.gitignore: Remove, it's not needed anymore.
10735 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10737 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10739 (texis): Renamed to $(objpfx)texis.
10740 (texis-path): New, contains path to generated files.
10741 (chapters.%): Use texis-path for complete path, add extra argument
10743 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10744 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10745 (summary,texi, stamp-summary): Use complete path of
10746 files. Generate files in build dir.
10747 (dir-add.texi): Build in build dir.
10748 (libm-err.texi,stamp-libm-err): Likewise.
10749 (version.texi, stamp-version): Likewise.
10750 (.%c.texi): Likewise.
10751 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10752 (mostlyclean): Remove target.
10753 (realclean): Remove target.
10754 (generated): Add new variable with contents from mostlyclean and
10755 realclean, remove entries duplicated in common-mostlyclean, add
10756 stamp-libm-err and stamp-version.
10757 (generated-dirs): Add libc directory.
10758 ($(inst_infodir)/libc.info): Install files from build dir.
10760 * manual/install.texi (Configuring and compiling): Adjust since
10761 the info files are not part of the tar ball anymore.
10763 2012-05-14 Andreas Jaeger <aj@suse.de>
10765 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10768 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10772 to 2.2.0 where earlier.
10773 * sysdeps/unix/sysv/linux/configure: Regenerated.
10774 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10775 Remove conditional code.
10776 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10777 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10778 Remove conditional code.
10779 [!__NR_lchown]: Likewise.
10780 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10781 [__NR_lchown]: Likewise.
10782 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10783 comment referencing __ASSUME_LCHOWN_SYSCALL.
10784 * sysdeps/unix/sysv/linux/i386/sigaction.c
10785 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10786 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10787 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10788 Remove conditional code.
10789 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10790 (__protocol_available): Remove #if 0 code.
10791 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10793 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10794 * sysdeps/unix/sysv/linux/kernel-features.h
10795 (__ASSUME_GETCWD_SYSCALL): Don't define.
10796 (__ASSUME_REALTIME_SIGNALS): Likewise.
10797 (__ASSUME_PREAD_SYSCALL): Likewise.
10798 (__ASSUME_PWRITE_SYSCALL): Likewise.
10799 (__ASSUME_POLL_SYSCALL): Likewise.
10800 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10801 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10803 (__ASSUME_SIOCGIFNAME): Don't define.
10804 (__ASSUME_MSG_NOSIGNAL): Likewise.
10805 (__ASSUME_SENDFILE): Define unconditionally.
10806 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10807 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10809 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10810 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10811 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10812 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10813 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10814 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10815 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10817 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10829 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10840 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10841 Remove conditional code.
10842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10843 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10844 Remove conditional code.
10845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10846 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10847 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10848 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10849 Remove conditional code.
10850 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10851 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10852 Remove conditional code.
10853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10854 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10855 Remove conditional code.
10856 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10857 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10858 Remove conditional code.
10859 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10860 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10861 Remove conditional code.
10862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10863 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10864 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10866 * sysdeps/unix/sysv/linux/sigaction.c
10867 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10868 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10869 * sysdeps/unix/sysv/linux/sigpending.c
10870 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10871 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10872 * sysdeps/unix/sysv/linux/sigprocmask.c
10873 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10874 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10875 * sysdeps/unix/sysv/linux/sigsuspend.c
10876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10878 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10879 (__libc_missing_rt_sigs): Remove.
10880 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10881 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10882 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10883 Remove conditional code.
10884 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10885 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10887 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10888 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10889 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10890 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10892 2012-05-14 Andreas Jaeger <aj@suse.de>
10894 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10895 it's not used in glibc.
10896 (__coshm1): Likewise.
10897 (__acosh1p): Likewise.
10900 * manual/string.texi (Copying and Concatenation): Add missing
10901 variable in concat example.
10902 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10904 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10908 __builtin_clzl with __builtin_clzll.
10910 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10913 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10916 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10918 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10919 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10920 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10921 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10923 2012-05-14 Mike Frysinger <vapier@gentoo.org>
10925 * NEWS: Update ia64 info.
10927 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10929 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10932 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10934 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10935 * sysdeps/unix/syscalls.list (dup3): Likewise.
10936 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10937 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10939 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10941 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10942 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10944 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10946 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10948 (TLS_IE): Use mov/add instead of movq/addq to load thread
10950 (TLS_GD_PREFIX): New.
10953 2012-05-11 David S. Miller <davem@davemloft.net>
10955 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10956 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10957 (_FPU_SETCW): Likewise.
10959 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10961 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10962 is 32-byte aligned.
10964 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10967 * iconvdata/gb18030.c: Update tables.
10968 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10969 characters specially.
10970 (BODY for TO_LOOP): Add encoding of missing ranges.
10972 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10975 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10976 * sysdeps/mach/hurd/dup3.c: Likewise.
10977 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10978 * sysdeps/powerpc/memmove.c:: Likewise.
10980 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10983 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10985 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10987 * elf/elf.h (R_X86_64_RELATIVE64): New.
10988 (R_X86_64_NUM): Updated.
10989 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10990 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10991 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10992 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10993 tst-quad1pie tst-quad2pie
10994 (modules-names): Add tst-quadmod1 tst-quadmod2.
10995 ($(objpfx)tst-quad1): New dependency.
10996 ($(objpfx)tst-quad2): Likewise.
10997 ($(objpfx)tst-quad1pie): Likewise.
10998 ($(objpfx)tst-quad2pie): Likewise.
10999 * sysdeps/x86_64/tst-quad1.c: New file.
11000 * sysdeps/x86_64/tst-quad1pie.c: New file.
11001 * sysdeps/x86_64/tst-quad2.c: Likewise.
11002 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11003 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11004 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11005 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11006 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11010 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11011 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11012 * streams/stropts.h (t_scalar_t): Define type.
11014 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11015 (_PATH_PRESERVE): Set to "/var/lib".
11016 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11018 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11021 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11022 if __dir_mkfile succeeded.
11024 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11025 checking for _hurd_dtablesize. Unlock it right after having
11026 finished _hurd_dtable allocation.
11028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11030 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11031 * sysdeps/mach/hurd/configure: Regenerated.
11032 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11033 special-casing to...
11034 * sysdeps/gnu/configure.in: ... this new file.
11035 * sysdeps/unix/sysv/linux/configure: Regenerated.
11036 * sysdeps/gnu/configure: New generated file.
11038 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11039 for Linux: use nsec instead of usec, as well as:
11040 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11041 members of type struct timespec.
11042 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11044 (struct stat64): Likewise.
11045 (_STATBUF_ST_NSEC): New macro.
11046 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11048 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11049 __strtoul_internal rather than strtoul.
11051 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11053 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11056 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11058 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11059 which preserves existing values.
11060 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11062 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11064 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11065 TIMEOUT values. Return EINVAL for NFDS values either negative or
11066 greater than FD_SETSIZE.
11068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11070 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11071 allocated, call __vm_protect to finish enabling the existing space, and
11072 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11073 allocate the remainder.
11075 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11077 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11078 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11080 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11082 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11083 sysdeps/mach/hurd/readlink.c.
11085 * posix/tst-sysconf.c (posix_options): Only use
11086 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11087 _POSIX_SYNCHRONIZED_IO when they are defined
11088 * sysdeps/mach/hurd/bits/posix_opt.h:
11089 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11090 (_XOPEN_REALTIME): Undefine macro.
11091 (_XOPEN_REALTIME_THREADS): Undefine macro.
11092 (_XOPEN_SHM): Undefine macro.
11093 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11095 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11097 (_POSIX_ASYNC_IO): Undefine macro.
11098 (_POSIX_PRIORITIZED_IO): Undefine macro.
11099 (_POSIX_SPIN_LOCKS): Define macro to -1.
11101 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11102 SA_NODEFER, SA_RESETHAND.
11103 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11104 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11107 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11109 * elf/Makefile (pldd-modules): Define unconditionally.
11111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11113 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11117 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11118 Return ENOENT when name is empty.
11119 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11123 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11125 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11127 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11129 Fix mlock in all cases except non-readable pages.
11130 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11131 instead of VM_PROT_ALL as parameter to __vm_wire function.
11133 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11134 (__mkdir): When path is `/', just fail with EEXIST.
11135 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11139 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11140 <sys/uio.h> (for writev).
11141 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11142 and <sys/param.h> (for MIN).
11144 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11146 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11147 REQUESTED_TIME. Properly set the remaining time and return EINTR
11150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11152 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11153 Depend on against $(link-rpcuserlibs).
11155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11157 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11158 (__libc_stack_end): Do not use attribute_relro.
11159 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11160 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
11161 to libthread-provided value.
11162 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11168 * bits/libc-lock.h (__libc_once_get): New macro.
11169 * sysdeps/mach/bits/libc-lock.h: Likewise.
11170 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11172 instead of using implementation details.
11174 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11175 * libio/freopen.c: Likewise.
11176 * libio/freopen64.c: Likewise.
11177 * misc/syslog.c: Likewise.
11178 * nscd/connections.c: Likewise.
11179 * nscd/netgroupcache.c: Likewise.
11180 * sysdeps/posix/getcwd.c: Likewise.
11182 2012-05-10 Roland McGrath <roland@hack.frob.com>
11184 * math/w_ilogbf.c: Add #include <limits.h>.
11186 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11188 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
11189 path instead of returning without unlocking.
11191 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11192 immediate-write ioctls.
11193 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11197 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11198 __builtin_frame_address instead of making assumptions about the
11199 location of the return address relative to DATA. Force early load of
11200 the return address.
11201 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11202 __builtin_frame_address.
11205 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11206 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11207 implement dup3 and do some further code clean-ups.
11208 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11209 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11211 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11213 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11215 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11216 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11217 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11218 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11219 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11222 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11223 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11224 when handler == SIG_ERR, not when handler != SIG_ERR.
11226 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11228 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11229 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11232 accept4 for GNU Hurd.
11233 * include/sys/socket.h (__libc_accept4): New prototype.
11234 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11235 to implement __libc_accept4.
11236 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11238 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11240 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11241 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11242 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11243 signal-defines.sym.
11245 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11247 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
11249 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
11251 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11252 assertion on O_CLOEXEC flag.
11253 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11254 * hurd/intern-fd.c: Likewise.
11255 * hurd/port2fd.c: Likewise.
11257 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11260 * bits/in.h (IPV6_PKTINFO): Define new macro.
11261 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11263 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11268 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11270 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11271 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11273 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11274 * math/libm-test.inc (logb_test) : Additional logb tests.
11276 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11277 Andreas Jaeger <aj@suse.de>
11279 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11280 * configure: Regenerated.
11281 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11282 * config.make.in (link-obsolete-rpc): New substituted variable.
11283 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11284 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11285 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11286 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11287 so that libc.a contains the symbols.
11288 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11289 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11290 * sunrpc/auth_none.c: Likewise.
11291 * sunrpc/auth_unix.c: Likewise.
11292 * sunrpc/authdes_prot.c: Likewise.
11293 * sunrpc/authuxprot.c: Likewise.
11294 * sunrpc/clnt_gen.c: Likewise.
11295 * sunrpc/clnt_perr.c: Likewise.
11296 * sunrpc/clnt_raw.c: Likewise.
11297 * sunrpc/clnt_simp.c: Likewise.
11298 * sunrpc/clnt_tcp.c: Likewise.
11299 * sunrpc/clnt_udp.c: Likewise.
11300 * sunrpc/clnt_unix.c: Likewise.
11301 * sunrpc/des_crypt.c: Likewise.
11302 * sunrpc/des_soft.c: Likewise.
11303 * sunrpc/get_myaddr.c: Likewise.
11304 * sunrpc/key_call.c: Likewise.
11305 * sunrpc/key_prot.c: Likewise.
11306 * sunrpc/netname.c: Likewise.
11307 * sunrpc/pm_getmaps.c: Likewise.
11308 * sunrpc/pm_getport.c: Likewise.
11309 * sunrpc/pmap_clnt.c: Likewise.
11310 * sunrpc/pmap_prot.c: Likewise.
11311 * sunrpc/pmap_prot2.c: Likewise.
11312 * sunrpc/pmap_rmt.c: Likewise.
11313 * sunrpc/publickey.c: Likewise.
11314 * sunrpc/rpc_cmsg.c: Likewise.
11315 * sunrpc/rpc_common.c: Likewise.
11316 * sunrpc/rpc_dtable.c: Likewise.
11317 * sunrpc/rpc_prot.c: Likewise.
11318 * sunrpc/rpc_thread.c: Likewise.
11319 * sunrpc/rtime.c: Likewise.
11320 * sunrpc/svc.c: Likewise.
11321 * sunrpc/svc_auth.c: Likewise.
11322 * sunrpc/svc_raw.c: Likewise.
11323 * sunrpc/svc_run.c: Likewise.
11324 * sunrpc/svc_tcp.c: Likewise.
11325 * sunrpc/svc_udp.c: Likewise.
11326 * sunrpc/svc_unix.c: Likewise.
11327 * sunrpc/svcauth_des.c: Likewise.
11328 * sunrpc/xcrypt.c: Likewise.
11329 * sunrpc/xdr.c: Likewise.
11330 * sunrpc/xdr_array.c: Likewise.
11331 * sunrpc/xdr_float.c: Likewise.
11332 * sunrpc/xdr_intXX_t.c: Likewise.
11333 * sunrpc/xdr_mem.c: Likewise.
11334 * sunrpc/xdr_rec.c: Likewise.
11335 * sunrpc/xdr_ref.c: Likewise.
11336 * sunrpc/xdr_sizeof.c: Likewise.
11337 * sunrpc/xdr_stdio.c: Likewise.
11339 2012-05-10 Roland McGrath <roland@hack.frob.com>
11341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11342 change. Update copyright years.
11344 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11346 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11348 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11349 Joseph Myers <joseph@codesourcery.com>
11350 Paul Pluzhnikov <ppluzhnikov@google.com>
11353 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11355 [cross-compiling] (extra-libs): Likewise.
11356 [cross-compiling] (extra-libs-others): Likewise.
11357 [cross-compiling] (librpcsvc-routines): Likewise.
11358 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11359 [cross-compiling] (omit-deps): Likewise.
11360 (sunrpc-CPPFLAGS): New variable.
11361 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11362 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11363 (cross-rpcgen-objs): New variable.
11364 (extra-objs): Append $(cross-rpcgen-objs).
11365 ($(cross-rpcgen-objs)): New rule.
11366 ($(objpfx)cross-rpcgen): Likewise.
11367 (rpcgen-cmd): Define to use $(built-program-file). Expand
11369 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11370 ($(objpfx)x%.stmp): Likewise.
11371 * sunrpc/proto.h [IS_IN_build] (_): Define.
11372 [IS_IN_build] (_libc_intl_domainname): Likewise.
11374 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11377 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11378 and R_X86_64_TPOFF64.
11380 2012-05-10 Joseph Myers <joseph@codesourcery.com>
11382 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11383 sysdeps/unix/sysv/syscalls.list.
11386 * sysdeps/unix/sysv/syscalls.list: Remove file.
11388 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11391 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11392 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11393 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11394 (__LC_IDENTIFICATION): Make these macros useful in #if
11395 expressions, as required by C99.
11397 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11399 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11400 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11403 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11405 * stdlib/longlong.h: Updated from GCC.
11407 2012-05-09 Andreas Jaeger <aj@suse.de>
11409 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11410 default is first entry.
11411 (run_mode): Set type.
11412 (main): Remove informal message about syslog.
11413 (options): Fix typo.
11416 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
11419 (llrintf): Likewise.
11420 (llrint): Likewise.
11423 (nearbyint): Likewise.
11424 (nearbyintf): Likewise.
11426 2012-05-09 Andreas Jaeger <aj@suse.de>
11427 Pedro Alves <palves@redhat.com>
11429 * nscd/nscd.c (run_mode): Use enum.
11430 (main): Cleanup coding style issue.
11432 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
11433 Andreas Jaeger <aj@suse.de>
11435 * nscd/nscd.c (go_background): Replaced with...
11436 (run_mode): ... this.
11437 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
11438 (options): Add -F --foreground.
11439 (main): Implement it.
11440 (parse_opt): Parse it.
11442 2012-05-09 Andreas Jaeger <aj@suse.de>
11445 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11446 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11447 -Wconversion warning.
11448 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11451 2012-05-09 Joseph Myers <joseph@codesourcery.com>
11453 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11455 (LC_ALL): Use macro-int-constant.
11456 (LC_COLLATE): Likewise.
11457 (LC_CTYPE): Likewise.
11458 (LC_MESSAGES): Likewise.
11459 (LC_MONETARY): Likewise.
11460 (LC_NUMERIC): Likewise.
11461 (LC_TIME): Likewise.
11462 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11463 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11465 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11467 [C99-based standards] (float_t): Expect type.
11468 [C99-based standards] (double_t): Expect type.
11469 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11471 [C99-based standards] (HUGE_VALL): Likewise.
11472 [C99-based standards] (INFINITY): Likewise.
11473 [C99-based standards] (NAN): Likewise.
11474 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11475 [C99-based standards] (FP_NAN): Likewise.
11476 [C99-based standards] (FP_NORMAL): Likewise.
11477 [C99-based standards] (FP_SUBNORMAL): Likewise.
11478 [C99-based standards] (FP_ZERO): Likewise.
11479 [C99-based standards] (FP_FAST_FMA): Use
11480 optional-macro-int-constant. Specify type. Require == 1.
11481 [C99-based standards] (FP_FAST_FMAF): Likewise.
11482 [C99-based standards] (FP_FAST_FMAL): Likewise.
11483 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11484 [C99-based standards] (FP_ILOGBNAN): Likewise.
11485 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11487 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11488 [C99-based standards] (math_errhandling): Specify type.
11489 [ISO99 || ISO11] (signgam): Do not allow.
11490 [non-C99-based standards] (copysignf): Do not allow.
11491 [non-C99-based standards] (exp2f): Likewise.
11492 [non-C99-based standards] (log2f): Likewise.
11493 [non-C99-based standards] (modff): Allow.
11494 [non-C99-based standards] (erff): Do not allow.
11495 [non-C99-based standards] (erfcf): Likewise.
11496 [non-C99-based standards] (gammaf): Likewise.
11497 [non-C99-based standards] (hypotf): Likewise.
11498 [non-C99-based standards] (j0f): Likewise.
11499 [non-C99-based standards] (j1f): Likewise.
11500 [non-C99-based standards] (jnf): Likewise.
11501 [non-C99-based standards] (lgammaf): Likewise.
11502 [non-C99-based standards] (tgammaf): Likewise.
11503 [non-C99-based standards] (y0f): Likewise.
11504 [non-C99-based standards] (y1f): Likewise.
11505 [non-C99-based standards] (ynf): Likewise.
11506 [non-C99-based standards] (isnanf): Likewise.
11507 [non-C99-based standards] (acoshf): Likewise.
11508 [non-C99-based standards] (asinhf): Likewise.
11509 [non-C99-based standards] (atanhf): Likewise.
11510 [non-C99-based standards] (cbrtf): Likewise.
11511 [non-C99-based standards] (expm1f): Likewise.
11512 [non-C99-based standards] (ilogbf): Likewise.
11513 [non-C99-based standards] (log1pf): Likewise.
11514 [non-C99-based standards] (logbf): Likewise.
11515 [non-C99-based standards] (nextafterf): Likewise.
11516 [non-C99-based standards] (remainderf): Likewise.
11517 [non-C99-based standards] (rintf): Likewise.
11518 [non-C99-based standards] (scalbf): Likewise.
11519 [non-C99-based standards] (copysignl): Likewise.
11520 [non-C99-based standards] (exp2l): Likewise.
11521 [non-C99-based standards] (log2l): Likewise.
11522 [non-C99-based standards] (modfl): Allow.
11523 [non-C99-based standards] (erfl): Do not allow.
11524 [non-C99-based standards] (erfcl): Likewise.
11525 [non-C99-based standards] (gammal): Likewise.
11526 [non-C99-based standards] (hypotl): Likewise.
11527 [non-C99-based standards] (j0l): Likewise.
11528 [non-C99-based standards] (j1l): Likewise.
11529 [non-C99-based standards] (jnl): Likewise.
11530 [non-C99-based standards] (lgammal): Likewise.
11531 [non-C99-based standards] (tgammal): Likewise.
11532 [non-C99-based standards] (y0l): Likewise.
11533 [non-C99-based standards] (y1l): Likewise.
11534 [non-C99-based standards] (ynl): Likewise.
11535 [non-C99-based standards] (isnanl): Likewise.
11536 [non-C99-based standards] (acoshl): Likewise.
11537 [non-C99-based standards] (asinhl): Likewise.
11538 [non-C99-based standards] (atanhl): Likewise.
11539 [non-C99-based standards] (cbrtl): Likewise.
11540 [non-C99-based standards] (expm1l): Likewise.
11541 [non-C99-based standards] (ilogbl): Likewise.
11542 [non-C99-based standards] (log1pl): Likewise.
11543 [non-C99-based standards] (logbl): Likewise.
11544 [non-C99-based standards] (nextafterl): Likewise.
11545 [non-C99-based standards] (remainderl): Likewise.
11546 [non-C99-based standards] (rintl): Likewise.
11547 [non-C99-based standards] (scalbl): Likewise.
11548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11549 [non-C99-based standards] (FP_*): Do not allow.
11550 [C99-based standards] (FP_*): Change to
11551 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11552 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11554 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11555 (SIG_ERR): Likewise.
11556 [X/Open-based standards] (SIG_HOLD): Likewise.
11557 (SIG_IGN): Likewise.
11558 (SIGABRT): Use macro-int-constant. Specify type. Require
11560 (SIGFPE): Likewise.
11561 (SIGILL): Likewise.
11562 (SIGINT): Likewise.
11563 (SIGSEGV): Likewise.
11564 (SIGTER): Likewise.
11565 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11566 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11567 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11568 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11569 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11570 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11571 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11572 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11573 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11574 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11575 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11576 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11577 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11578 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11579 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11580 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11581 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11582 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11583 [X/Open-based standards] (SIGTRAP): Likewise.
11584 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11585 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11586 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11587 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11588 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11591 2012-05-08 Ian Wienand <ianw@vmware.com>
11594 * time/tzset.c (__tzset_parse_tz): Update default rules for
11595 daylight time changes in the Energy Policy Act of 2005.
11597 2012-05-09 Andreas Jaeger <aj@suse.de>
11600 * elf/ldconfig.c (parse_conf): Change string to make clear that
11601 ldconfig only issued a warning if ld.so.conf does not exist.
11603 2012-05-08 David S. Miller <davem@davemloft.net>
11605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11606 movxtod instead of popping the value on the stack.
11608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11610 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11612 * config.h.in: Add HAVE_ARM_PCS_VFP.
11614 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
11617 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11618 checking but the checks are disabled for any reason.
11620 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11622 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11623 and ELF64_R_TYPE with ELFW(R_TYPE).
11625 2012-05-08 Joseph Myers <joseph@codesourcery.com>
11627 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11628 (ulimit): Likewise.
11630 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11631 (settimeofday): Likewise.
11633 2012-05-08 Mike Frysinger <vapier@gentoo.org>
11635 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11636 a struct th_u2 inside the union, and move tu_block/tu_code into
11637 a new th_u3 union of tu_block/tu_code inside of that. Move
11638 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11639 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11640 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11641 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11642 (th_stuff): Change to th_u1.tu_stuff.
11644 (th_msg): Change to th_u1.th_u2.tu_data.
11646 2012-05-07 David S. Miller <davem@davemloft.net>
11648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11651 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11652 (SETUP_PIC_REG): Use it.
11653 (SETUP_PIC_REG_LEAF): Use it.
11655 2012-05-07 Joseph Myers <joseph@codesourcery.com>
11659 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11661 (EXPL_FINITE): Likewise.
11662 (FLDLOG): Likewise.
11663 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11664 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11666 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11668 (EXPL_FINITE): Likewise.
11669 (FLDLOG): Likewise.
11670 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11671 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11673 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11674 test of -max_value argument for long double.
11675 * sysdeps/i386/fpu/libm-test-ulps: Update.
11676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11678 2012-05-06 David S. Miller <davem@davemloft.net>
11680 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11681 quad soft-float symbols whose references which are compiler
11683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11685 2012-05-06 Joseph Myers <joseph@codesourcery.com>
11689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11691 (EXPL_FINITE): Likewise.
11692 (FLDLOG): Likewise.
11695 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11696 Adjust comments for base varying.
11697 (__expl_finite): Change alias to EXPL_FINITE.
11698 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11700 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11701 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11703 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11706 (EXPL_FINITE): Likewise.
11707 (FLDLOG): Likewise.
11710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11711 Adjust comments for base varying.
11712 (__expl_finite): Change alias to EXPL_FINITE.
11713 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11718 * math/libm-test.inc (check_float_internal): Correct ulp
11719 calculation for subnormal expected results.
11721 2012-05-06 Andreas Jaeger <aj@suse.de>
11723 * Makeconfig (+math-flags): New, set to -frounding-math.
11724 (+cflags): Add +math-flags so that all of glibc gets compiled with
11727 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11729 2012-05-05 Joseph Myers <joseph@codesourcery.com>
11731 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11737 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11738 (__ieee754_expl): Allow for and saturate large arguments.
11739 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11740 (u_threshold): Likewise.
11741 (__exp): Call __ieee754_exp before checking for overflow and
11743 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11744 (u_threshold): Likewise.
11745 (__expf): Call __ieee754_expf before checking for overflow and
11747 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11748 (u_threshold): Likewise.
11749 (__expl): Call __ieee754_expl before checking for overflow and
11751 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11752 (__ieee754_expl): Allow for and saturate large arguments.
11753 * math/libm-test.inc (exp_test): Add another test. Do not allow
11754 missing overflow exception on overflow.
11755 (expm1_test): Do not allow missing overflow exception on overflow.
11757 * sysdeps/i386/fpu/e_expl.c: Move to ...
11758 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11759 rather than using inline asm.
11760 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11761 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11762 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11764 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11767 (signal): Likewise.
11771 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11773 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11774 sysdeps/unix/common/syscalls.list.
11775 (fchmod): Likewise.
11776 (fchown): Likewise.
11777 (ftruncate): Likewise.
11778 (getrusage): Likewise.
11779 (gettimeofday): Likewise.
11780 (setpgid): Likewise.
11781 (setregid): Likewise.
11782 (setreuid): Likewise.
11783 (sigaction): Likewise.
11784 (truncate): Likewise.
11785 (vhangup): Likewise.
11786 * sysdeps/unix/common/syscalls.list: Remove file.
11787 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11788 * sysdeps/unix/sysv/linux/Implies: Likewise.
11790 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11792 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11794 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11798 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11801 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11804 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11807 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11810 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11813 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11816 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11820 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11824 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11827 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11831 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11835 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11837 * sysdeps/unix/common/bits/dirent.h: Remove file.
11838 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11840 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11841 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11842 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11843 * sysdeps/unix/bsd/isatty.c: Likewise.
11844 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11845 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11846 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11848 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11851 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11852 long double comparison inaccuracies.
11853 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11856 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11858 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11861 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11865 nonzero digits before rounding a hex value.
11866 * stdlib/tst-strtod.c (tests): Add another test.
11868 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11870 * sysdeps/s390/fpu/libm-test-ulps: Update.
11872 2012-05-03 Andreas Jaeger <aj@suse.de>
11874 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11875 does not get optimized out.
11876 (malloc_opt_barrier): New.
11878 2012-05-03 Andreas Jaeger <aj@suse.de>
11879 Roland McGrath <roland@hack.frob.com>
11881 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11882 intermediate file deletion.
11883 (generated): Add .symlist files.
11885 2012-05-03 Joseph Myers <joseph@codesourcery.com>
11888 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11889 Redirect under this condition.
11890 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11891 [__USE_GNU] (__dprintf_chk): Not under this condition.
11892 [__USE_GNU] (__vdprintf_chk): Likewise.
11893 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11894 under this condition.
11895 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11896 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11897 [__USE_XOPEN2K8] (vdprintf): Likewise.
11898 [__USE_GNU] (__dprintf_chk): Not under this condition.
11899 [__USE_GNU] (__vdprintf_chk): Likewise.
11900 [__USE_GNU] (dprintf): Likewise.
11901 [__USE_GNU] (vdprintf): Likewise.
11903 2012-05-03 Roland McGrath <roland@hack.frob.com>
11905 * elf/Makefile (common-generated): Set this instead of generated for
11906 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11907 $(all-built-dso)-derived lists.
11909 2012-05-03 Andreas Jaeger <aj@suse.de>
11911 * sysdeps/i386/fpu/libm-test-ulps: Update.
11914 * FAQ.in: Likewise.
11915 * scripts/gen-FAQ.pl: Likewise.
11916 * manual/install.texi (Installation): Point to online location of
11918 * Makefile (files-for-dist): Remove FAQ.
11921 2012-05-02 Allan McRae <allan@archlinux.org>
11923 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11924 (LDFLAGS-reldepmod5.so): Likewise.
11925 (LDFLAGS-reldep6mod1.so): Likewise.
11926 (LDFLAGS-reldep6mod4.so): Likewise.
11927 (LDFLAGS-reldep8mod3.so): Likewise.
11928 (LDFLAGS-unload4mod1.so): Likewise.
11929 (LDFLAGS-unload4mod2.so): Likewise.
11930 (LDFLAGS-tst-initorder): Likewise.
11931 (LDFLAGS-tst-initordera2.so): Likewise.
11932 (LDFLAGS-tst-initordera3.so): Likewise.
11933 (LDFLAGS-tst-initordera4.so): Likewise.
11934 (LDFLAGS-tst-initorderb2.so): Likewise.
11935 (LDFLAGS-noload): Likewise.
11936 (LDFLAGS-next): Likewise.
11937 (LDFLAGS-order2mod1.so): Likewise.
11938 (LDFLAGS-order2mod2.so): Likewise.
11939 (LDFLAGS-tst-initorder2): Likewise.
11940 (LDFLAGS-tst-initorder2a.so): Likewise.
11941 (LDFLAGS-tst-initorder2b.so): Likewise.
11942 (LDFLAGS-tst-initorder2c.so): Likewise.
11943 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11945 2012-05-02 David S. Miller <davem@davemloft.net>
11947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11949 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11952 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11954 2012-05-02 Andreas Jaeger <aj@suse.de>
11956 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11957 since we manipulate rounding mode.
11958 (CPPFLAGS-test-idouble.c): Likewise.
11959 (CPPFLAGS-test-ifloat.c): Likewise.
11960 (CFLAGS-test-ldouble.c): Likewise.
11961 (CFLAGS-test-double.c): Likewise.
11962 (CFLAGS-test-float.c): Likewise.
11963 (CFLAGS-test-misc.c): Likewise.
11964 (CFLAGS-test-test-fenv.c): Likewise.
11966 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11970 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11971 comparisons to determine direction to adjust input.
11973 2012-05-01 Roland McGrath <roland@hack.frob.com>
11975 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11976 output to the target.
11978 * scripts/localplt.awk: New file.
11979 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11980 (check-localplt-CFLAGS): Variable removed.
11981 ($(all-built-dso:=.jmprel)): New static pattern rule.
11982 (generated): Add those targets.
11983 (localplt-built-dso): New variable.
11984 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11986 * elf/check-localplt.c: File removed.
11988 * scripts/check-execstack.awk: New file.
11989 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11990 (check-execstack-CFLAGS): Variable removed.
11991 ($(objpfx)check-execstack.h): Target removed.
11992 ($(objpfx)execstack-default): New target.
11993 (generated): Add that instead of check-execstack.h.
11994 ($(all-built-dso:=.phdr)): New static pattern rule.
11995 (generated): Add those targets.
11996 * elf/check-execstack.c: File removed.
11998 * scripts/check-textrel.awk: New file.
11999 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12000 (check-textrel-CFLAGS): Variable removed.
12001 (all-built-dso): Use := to define.o
12002 ($(all-built-dso:=.dyn)): New static pattern rule.
12003 (generated): Add those targets.
12004 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12005 * config.make.in (READELF): New substituted variable.
12006 * elf/check-textrel.c: File removed.
12008 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12010 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12012 * conform/data/ctype.h-data [C99-based standards] (isblank):
12014 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12015 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12017 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12018 Specify type. Require positive value.
12019 (EILSEQ): Likewise.
12020 (ERANGE): Likewise.
12021 [ISO || POSIX] (EILSEQ): Do not expect.
12022 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12023 Specify type. Require positive value.
12024 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12025 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12026 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12027 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12028 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12029 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12030 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12031 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12032 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12033 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12034 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12035 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12036 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12037 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12038 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12039 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12040 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12041 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12042 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12043 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12044 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12045 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12046 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12047 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12048 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12049 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12050 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12051 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12052 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12054 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12055 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12056 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12057 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12058 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12059 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12060 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12061 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12062 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12063 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12064 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12065 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12066 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12067 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12068 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12069 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12070 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12071 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12072 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12073 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12074 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12075 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12076 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12077 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12078 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12079 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12080 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12081 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12082 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12083 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12084 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12085 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12086 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12087 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12088 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12089 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12090 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12091 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12092 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12093 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12094 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12095 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12096 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12097 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12098 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12099 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12100 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12102 (FLT_ROUNDS): Expect as macro, not constant.
12103 (FLT_MANT_DIG): Use macro-int-constant.
12104 (DBL_MANT_DIG): Likewise.
12105 (LDBL_MANT_DIG): Likewise.
12106 (FLT_DIG): Likewise.
12107 (DBL_DIG): Likewise.
12108 (LDBL_DIG): Likewise.
12109 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12110 (DBL_MIN_EXP): Likewise.
12111 (LDBL_MIN_EXP): Likewise.
12112 (FLT_MAX_EXP): Use macro-int-constant.
12113 (DBL_MAX_EXP): Likewise.
12114 (LDBL_MAX_EXP): Likewise.
12115 (FLT_MAX_10_EXP): Likewise.
12116 (DBL_MAX_10_EXP): Likewise.
12117 (LDBL_MAX_10_EXP): Likewise.
12118 (FLT_MAX): Use macro-constant.
12119 (DBL_MAX): Likewise.
12120 (LDBL_MAX): Likewise.
12121 (FLT_EPSILON): Use macro-constant. Give upper bound.
12122 (DBL_EPSILON): Likewise.
12123 (LDBL_EPSILON): Likewise.
12124 (FLT_MIN): Likewise.
12125 (DBL_MIN): Likewise.
12126 (LDBL_MIN): Likewise.
12127 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12128 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12129 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12130 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12131 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12132 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12133 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12134 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12135 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12136 [ISO11] (FLT_TRUE_MIN): Likewise.
12137 [ISO11] (LDBL_TRUE_MIN): Likewise.
12138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12139 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12140 (SCHAR_MIN): Use macro-int-constant. Specify type.
12141 (SCHAR_MAX): Likewise.
12142 (UCHAR_MAX): Likewise.
12143 (CHAR_MIN): Likewise.
12144 (CHAR_MAX): Likewise.
12145 (MB_LEN_MAX): Use macro-int-constant.
12146 (SHRT_MIN): Use macro-int-constant. Specify type.
12147 (SHRT_MAX): Likewise.
12148 (USHRT_MAX): Likewise.
12149 (INT_MAX): Likewise.
12150 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12152 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12154 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12156 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12157 bound negative. Suffix upper bound with "L".
12158 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12160 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12162 [C99-based standards] (LLONG_MAX): Likewise.
12163 [C99-based standards] (ULLONG_MAX): Likewise.
12164 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12166 [ISO11] (max_align_t): Require type.
12167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12169 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12170 from $CFLAGS, without defining away __attribute__ calls.
12171 (checknamespace): Use $CFLAGS_namespace.
12173 * conform/conformtest.pl (@keywords): Only include C99 keywords
12174 for standards based on C99 or C11.
12176 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12178 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12181 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12182 usability of symbols in #if.
12184 * conform/conformtest.pl: If macro or constant types start
12185 "promoted:", expect the symbol to be of the following type
12186 promoted by the integer promotions.
12188 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12189 in one place. Also handle "macro-constant".
12191 * conform/conformtest.pl: Only accept expected macro values with
12192 "==". Parse all "macro" lines in one place.
12193 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12195 * conform/conformtest.pl: Handle braced types on "constant" lines
12196 instead of handling "typed-constant".
12197 * conform/data/signal.h-data: Use "constant" instead of
12200 * conform/conformtest.pl: Handle "optional-" at start of lines in
12201 one place rather than duplicating several cases. Handle each
12202 format of "macro" line with initial "optional-".
12204 * conform/conformtest.pl: Only accept expected constant or
12205 optional-constant values with "==". Parse all "constant" lines in
12206 one place. Parse all "optional-constant" lines in one place.
12207 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12208 * conform/data/fmtmsg.h-data: Likewise.
12209 * conform/data/netinet/in.h-data: Likewise.
12210 * conform/data/tar.h-data: Likewise.
12211 * conform/data/limits.h-data: Use "==" form on "constant" and
12212 "optional-constant" lines.
12214 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12215 Use -std=c99 for XOPEN2K.
12216 (@knownproblems): Remove.
12217 (newtoken): Don't check %isknown.
12219 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12220 Do not expect macro.
12221 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12222 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12223 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12224 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12225 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12226 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12227 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12228 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12229 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12230 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12231 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12232 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12233 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12234 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12235 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12236 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12237 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12238 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12239 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12240 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12241 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12242 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12243 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12244 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12245 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12246 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12247 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12248 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12249 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12250 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12251 [XPG3] (acosh): Likewise.
12252 [XPG3] (asinh): Likewise.
12253 [XPG3] (atanh): Likewise.
12254 [XPG3] (cbrt): Likewise.
12255 [XPG3] (expm1): Likewise.
12256 [XPG3] (ilogb): Likewise.
12257 [XPG3] (log1p): Likewise.
12258 [XPG3] (logb): Likewise.
12259 [XPG3] (nextafter): Likewise.
12260 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12261 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12262 [XPG3] (remainder): Likewise.
12263 [XPG3] (rint): Likewise.
12264 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12265 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12266 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12267 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12268 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12269 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12270 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12271 [UNIX98 || XOPEN2K] (scalb): Expect.
12272 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12273 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12274 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12275 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12276 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12277 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12278 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12279 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12280 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12281 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12282 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12283 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12284 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12285 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12286 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12287 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12288 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12289 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12290 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12291 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12292 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12293 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12294 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12295 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12296 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12297 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12298 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12299 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12300 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12301 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12302 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12303 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12304 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12305 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12306 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12307 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12308 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12309 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12310 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12311 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12312 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12313 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12314 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12315 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12316 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12317 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12318 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12319 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12320 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12321 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12322 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12323 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12324 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12325 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12326 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12327 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12328 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12329 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12330 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12331 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12332 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12333 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12334 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12335 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12336 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12337 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12338 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12339 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12340 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12341 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12342 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12343 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12344 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12345 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12346 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12347 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12348 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12349 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12350 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12351 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12352 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12353 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12354 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12355 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12356 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12357 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12358 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12359 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12360 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12361 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12362 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12363 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12364 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12365 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12366 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12367 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12368 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12369 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12370 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12371 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12372 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12373 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12374 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12375 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12376 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12377 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12378 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12379 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12380 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12381 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12382 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12383 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12384 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12385 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12386 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12387 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12388 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12389 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12390 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12391 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12392 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12393 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12394 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12395 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12396 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12397 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12398 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12399 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12400 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12401 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12402 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12403 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12404 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12405 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12406 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12407 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12408 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12410 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12411 _XOPEN_SOURCE_EXTENDED for XPG4.
12413 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12415 * Makeconfig (localtime): Remove variable.
12416 (inst_localtime-file): Likewise.
12418 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12439 2012-05-01 Joseph Myers <joseph@codesourcery.com>
12443 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12444 comparisons to determine direction to adjust input.
12445 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12446 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12447 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12456 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12458 * math/libm-test.inc (nexttoward_test): Add more tests.
12460 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12463 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12464 in version GLIBC_2.1, not GLIBC_2.0.
12465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12468 2012-04-30 Joseph Myers <joseph@codesourcery.com>
12471 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12473 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12474 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12475 * math/libm-test.inc (acos_test): Add more tests.
12476 (asin_test): Likewise.
12477 * sysdeps/i386/fpu/libm-test-ulps: Update.
12478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12481 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12483 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12484 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12485 * math/libm-test.inc (acos_test_tonearest): New function.
12486 (acos_test_towardzero): Likewise.
12487 (acos_test_downward): Likewise.
12488 (acos_test_upward): Likewise.
12489 (asin_test_tonearest): Likewise.
12490 (asin_test_towardzero): Likewise.
12491 (asin_test_downward): Likewise.
12492 (asin_test_upward): Likewise.
12493 (main): Call the new functions.
12494 * sysdeps/i386/fpu/libm-test-ulps: Update.
12495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12499 * math/e_exp10.c: Include <float.h>.
12500 (__ieee754_exp10): Handle underflow here rather than multiplying
12501 large negative argument by M_LN10.
12502 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12504 * math/e_exp10l.c: Include <float.h>.
12505 (__ieee754_exp10l): Handle underflow here rather than multiplying
12506 large negative argument by M_LN10l.
12507 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12508 spurious overflow exception on underflow.
12510 2012-04-29 Marek Polacek <polacek@redhat.com>
12512 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12513 (__fortify_function): New macro.
12514 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12515 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12516 __extern_always_inline.
12517 * libio/bits/stdio2.h: Likewise.
12518 * libio/bits/stdio.h: Likewise.
12519 * string/string.h: Likewise.
12520 * string/bits/string3.h: Likewise.
12521 * include/stdio.h: Likewise.
12522 * stdlib/bits/stdlib.h: Likewise.
12523 * stdlib/stdlib.h: Likewise.
12524 * rt/bits/mqueue2.h: Likewise.
12525 * rt/mqueue.h: Likewise.
12526 * posix/bits/unistd.h: Likewise.
12527 * posix/unistd.h: Likewise.
12528 * io/bits/poll2.h: Likewise.
12529 * io/bits/fcntl2.h: Likewise.
12530 * io/fcntl.h: Likewise.
12531 * io/sys/poll.h: Likewise.
12532 * misc/bits/syslog.h: Likewise.
12533 * misc/bits/syslog-ldbl.h: Likewise.
12534 * misc/sys/syslog.h: Likewise.
12535 * socket/bits/socket2.h: Likewise.
12536 * socket/sys/socket.h: Likewise.
12537 * debug/tst-chk1.c: Likewise.
12538 * wcsmbs/bits/wchar2.h: Likewise.
12539 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12540 * wcsmbs/wchar.h: Likewise.
12542 2012-04-29 Andreas Jaeger <aj@suse.de>
12544 * Makerules (tests): Remove enable-check-abi protection.
12545 (check-abi-warn): Remove.
12546 (check-abi-%): Remove check-abi-warn usage.
12548 * configure.in: Remove check-abi configure option.
12549 * configure: Regenerated.
12550 * config.make.in (enable-check-abi): Remove.
12552 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12555 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12556 double functions to double *_finite functions.
12559 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12560 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12562 * stdio-common/Makefile (tests): Add tst-sprintf3.
12563 * stdio-common/tst-sprintf3.c: New file.
12565 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12566 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12568 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12570 * conform/conformtest.pl: Remove duplicate typed-constant
12573 2012-04-28 David S. Miller <davem@davemloft.net>
12575 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12576 (check-abi-%): Remove AWK script prerequisite and explicit
12578 (check-abi): Rewrite to just diff the symlist with the abilist.
12579 (config-tls, config-abi-config): Delete, no longer used.
12580 (update-abi-%): Remove AWK script and explicit abilist directory.
12581 (update-abi): Rewrite to simply compare and conditionally copy the
12582 symlist and the sysdep abilist file. Remove update-abi-config
12584 * abilist/ld.abilist: Remove.
12585 * abilist/libBrokenLocale.abilist: Remove.
12586 * abilist/libanl.abilist: Remove.
12587 * abilist/libcrypt.abilist: Remove.
12588 * abilist/libdl.abilist: Remove.
12589 * abilist/librt.abilist: Remove.
12590 * abilist/libthread_db.abilist: Remove.
12591 * abilist/libutil.abilist: Remove.
12592 * scripts/extract-abilist.awk: Remove.
12593 * scripts/merge-abilist.awk: Remove.
12594 * sysdeps/generic/libcidn.abilist: New file.
12595 * sysdeps/generic/libnss_compat.abilist: New file.
12596 * sysdeps/generic/libnss_db.abilist: New file.
12597 * sysdeps/generic/libnss_dns.abilist: New file.
12598 * sysdeps/generic/libnss_files.abilist: New file.
12599 * sysdeps/generic/libnss_hesiod.abilist: New file.
12600 * sysdeps/generic/libnss_nis.abilist: New file.
12601 * sysdeps/generic/libnss_nisplus.abilist: New file.
12602 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12603 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12604 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12607 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12608 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12609 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12610 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12611 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12612 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12613 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12614 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12616 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12618 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12621 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12622 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12623 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12624 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12625 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12626 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12628 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12629 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12630 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12632 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12735 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12736 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12737 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12739 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12740 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12741 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12742 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12743 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12744 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12745 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12746 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12747 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12748 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12800 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12802 * conform/conformtest.pl: Fix typo in handling typed-constant from
12805 2012-04-27 Joseph Myers <joseph@codesourcery.com>
12807 * README: Cut down references to pre-2.6 Linux kernels and
12808 Linuxthreads. Update lists of configurations in libc and ports
12809 and sort alphabetically. Say "or newer" with Linux kernel version
12812 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12814 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12817 * math/libm-test.inc (logb_test_downward): New test to expose
12818 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12821 2012-04-27 Joseph Myers <joseph@codesourcery.com>
12824 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12826 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12827 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12829 2012-04-26 Joseph Myers <joseph@codesourcery.com>
12831 * sysdeps/unix/i386/brk.S: Remove file.
12832 * sysdeps/unix/i386/dl-brk.S: Likewise.
12833 * sysdeps/unix/i386/pipe.S: Likewise.
12834 * sysdeps/unix/i386/sigreturn.S: Likewise.
12835 * sysdeps/unix/i386/syscall.S: Likewise.
12836 * sysdeps/unix/i386/vfork.S: Likewise.
12837 * sysdeps/unix/i386/wait.S: Likewise.
12839 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12840 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12842 * configure.in (arm*-none*): Do not allow without
12843 --enable-hacker-mode.
12844 (netbsd*): Remove case setting base_os.
12845 (386bsd*): Likewise.
12846 (freebsd*): Likewise.
12849 (sunos*): Likewise.
12850 (ultrix*): Likewise.
12851 (newsos*): Likewise.
12852 (dynix*): Likewise.
12858 (minix*): Likewise.
12859 (irix4*): Likewise.
12860 (irix6*): Likewise.
12861 (solaris[2-9]*): Likewise.
12863 * configure: Regenerated.
12865 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12868 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12869 overflow or cancellation in calculating denominator.
12870 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12872 down expression to avoid unexpected rounding in newer GCCs.
12873 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12875 2012-04-26 David S. Miller <davem@davemloft.net>
12877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12878 long-double compat symbols.
12879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12893 2012-04-25 David S. Miller <davem@davemloft.net>
12895 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12896 HWCAP_* values only after the memory barriers have been defined.
12897 (atomic_full_barrier): Define.
12898 (atomic_read_barrier): Define.
12899 (atomic_write_barrier): Define.
12901 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12903 * shlib-versions: Add libgcc_s version information.
12904 * sysdeps/generic/libgcc_s.h: Remove.
12905 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12907 * sysdeps/gnu/unwind-resume.c: Likewise.
12908 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12910 2012-04-25 David S. Miller <davem@davemloft.net>
12912 * sysdeps/unix/sparc/brk.S: Delete.
12913 * sysdeps/unix/sparc/dl-brk.S: Delete.
12914 * sysdeps/unix/sparc/pipe.S: Delete.
12915 * sysdeps/unix/sparc/sysdep.S: Delete.
12916 * sysdeps/unix/sparc/sysdep.h: Delete.
12917 * sysdeps/unix/sparc/vfork.S: Delete.
12918 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12919 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12920 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12921 ret_ERRVAL, r0, r1, MOVE): Define.
12922 (JUMPTARGET): Remove.
12923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12924 sysdeps/unix/sparc/sysdep.h
12925 (ENTRY, END): Remove.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12928 2012-04-25 Joseph Myers <joseph@codesourcery.com>
12930 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12931 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12934 * timezone/README: Update upstream location and email address for
12936 * timezone/zdump.c: Update from tzcode 2012b.
12937 * timezone/zic.c: Likewise.
12939 * configure.in (libc_cv_as_needed): Remove test.
12940 * configure: Regenerated.
12941 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12942 conditional definition.
12943 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12944 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12945 * config.make.in (have-as-needed): Remove variable.
12947 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12948 Paul Pluzhnikov <ppluzhnikov@google.com>
12950 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12953 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12955 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12956 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12957 * sysdeps/sh/strlen.S: Likewise.
12959 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12961 * sysdeps/unix/fork.S: Remove file.
12962 * sysdeps/unix/i386/fork.S: Likewise.
12963 * sysdeps/unix/sparc/fork.S: Likewise.
12965 * sysdeps/unix/system.c: Remove file.
12966 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12968 * sysdeps/unix/getegid.S: Remove file.
12969 * sysdeps/unix/geteuid.S: Likewise.
12971 2012-04-24 Roland McGrath <roland@hack.frob.com>
12973 * scripts/check-localplt.awk: New file.
12974 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12976 * scripts/data/localplt-generic.data: Add a comment.
12978 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12979 NODE when __dir_mkfile failed.
12980 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12981 Reported by Ludovic Courtès <ludo@gnu.org>.
12983 2012-04-24 Andreas Jaeger <aj@suse.de>
12985 * Makerules (common-clean): Also remove gen-as-const-headers
12988 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12990 * Makerules (native-compile): Do not change working directory for
12991 build. Use $(OUTPUT_OPTION) in command.
12992 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12994 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12997 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12998 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12999 * math/libm-test.inc (floor_test): Add more tests.
13000 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13002 2012-04-24 Joseph Myers <joseph@codesourcery.com>
13004 * sysdeps/unix/getdents.c: Remove file.
13005 * sysdeps/unix/sysv/getdents.c: Likewise.
13006 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13008 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13009 sysdeps/unix/mman/syscalls.list.
13011 (mprotect): Likewise.
13013 (munmap): Likewise.
13014 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13015 * sysdeps/unix/mman/syscalls.list: Remove.
13016 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13018 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13019 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13020 * configure: Regenerated.
13021 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13022 $(libgcc_s_suffix).
13023 * config.make.in (libgcc_s_suffix): Remove variable.
13025 2012-04-23 Joseph Myers <joseph@codesourcery.com>
13027 * sysdeps/unix/sysv/gethostname.c: Move to ...
13028 * sysdeps/posix/gethostname.c: ... here.
13030 * sysdeps/unix/execve.S: Remove file.
13032 * sysdeps/unix/_exit.S: Remove file.
13034 2012-04-23 Andreas Jaeger <aj@suse.de>
13037 * manual/Makefile: Remove make dist support, there's no
13038 need for a stand-alone documentation tar ball.
13039 (TEXI2DVI): Define always, it's not in Makeconfig.
13042 (edition): Removed.
13043 (glibc-doc-$(edition).tar): Removed
13047 (ETAGS): Remove, it's in Makeconfig.
13048 (move-if-change): Remove, it's in Makeconfig.
13050 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
13053 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13054 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13055 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13056 (strtod_l, strtof_l, strtold_l): Remove __wur.
13057 It is not necessarily an error to ignore strtol's return value.
13058 One can reliably look at the stored endptr to decide whether
13059 the number had valid syntax.
13061 2012-04-21 Andreas Jaeger <aj@suse.de>
13064 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13066 2012-04-21 Joseph Myers <joseph@codesourcery.com>
13068 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13069 * sysdeps/unix/sysv/Versions: Remove file.
13071 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13076 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
13079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13080 version from __vm86.
13082 2012-04-20 Joseph Myers <joseph@codesourcery.com>
13084 * sysdeps/unix/common/lxstat.c: Remove file.
13085 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13087 * sysdeps/unix/sysv/Makefile: Remove file.
13089 * sysdeps/unix/sysv/direct.h: Remove file.
13091 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13092 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13093 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13094 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13095 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13096 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13097 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13099 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13101 * sysdeps/unix/xmknod.c: Remove file.
13102 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13104 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13106 * sysdeps/unix/sysv/i386/time.S: Remove file.
13108 * sysdeps/unix/fxstat.c: Remove file.
13109 * sysdeps/unix/xstat.c: Likewise.
13110 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13112 * sysdeps/unix/sysv/sigaction.c: Remove file.
13114 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13115 (sysdep_headers): Remove variable.
13116 [termio.h not in sysdep_headers] (generated): Likewise.
13117 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13118 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13119 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13120 * sysdeps/unix/sysv/tcflow.c: Likewise.
13121 * sysdeps/unix/sysv/tcflush.c: Likewise.
13122 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13123 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13124 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13125 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13126 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13128 * sysdeps/unix/siglist.c: Remove file.
13130 * sysdeps/unix/getppid.S: Remove file.
13132 * sysdeps/unix/mkdir.c: Remove file.
13133 * sysdeps/unix/rmdir.c: Likewise.
13135 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13137 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13139 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13140 errlist-compat value.
13142 2012-04-18 David S. Miller <davem@davemloft.net>
13144 * sysdeps/generic/memcopy.h (reg_char): Delete.
13145 * debug/strcat_chk.c: Use char, not reg_char.
13146 * debug/strcpy_chk.c: Likewise.
13147 * debug/strncat_chk.c: Likewise.
13148 * debug/strncpy_chk.c: Likewise.
13149 * string/memchr.c: Likewise.
13150 * string/memrchr.c: Likewise.
13151 * string/rawmemchr.c: Likewise.
13152 * string/strcat.c: Likewise.
13153 * string/strchr.c: Likewise.
13154 * string/strchrnul.c: Likewise.
13155 * string/strcmp.c: Likewise.
13156 * string/strcpy.c: Likewise.
13157 * string/strncat.c: Likewise.
13158 * string/strncmp.c: Likewise.
13159 * string/strncpy.c: Likewise.
13161 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13163 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13164 __builtin_memcopy is called when src and dest ranges are known to not
13167 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13170 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13171 fwd_align_merge macro call.
13172 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13173 bwd_align_merge macro call.
13174 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13176 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13178 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13179 bwd_align_merge macros.
13180 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13181 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13182 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13184 2012-04-18 David S. Miller <davem@davemloft.net>
13186 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13188 2012-04-18 Andreas Jaeger <aj@suse.de>
13191 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13192 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13193 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13195 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13196 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13197 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13199 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13200 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13201 Adjust for changed ldbl-128 files.
13203 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13204 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13205 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13207 2012-04-17 David S. Miller <davem@davemloft.net>
13209 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13211 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13213 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13214 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13215 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13216 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13217 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13218 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13220 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13224 * math/libm-test.inc: Add ilogb errno and exception tests.
13225 * math/w_ilogb.c: New file: ilogb wrapper.
13226 * math/w_ilogbf.c: New file: ilogbf wrapper.
13227 * math/w_ilogbl.c: New file: ilogbl wrapper.
13228 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13229 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13230 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13231 exception being thrown with 0.0 as argument.
13232 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13233 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13234 exception being thrown with 0.0 as argument.
13235 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13236 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13237 exception being thrown with 0.0 as argument.
13238 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13239 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13240 exception being thrown with 0.0 as argument.
13241 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13242 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
13243 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
13244 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13246 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13247 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13248 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13249 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13251 2012-04-17 Petr Baudis <pasky@ucw.cz>
13253 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13256 2012-04-16 Marek Polacek <polacek@redhat.com>
13258 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13260 2012-04-16 Marek Polacek <polacek@redhat.com>
13262 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13263 operands of fdivp instruction.
13265 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13267 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13268 * elf/tst-auditmod3b.c: Likewise.
13269 * elf/tst-auditmod4b.c: Likewise.
13270 * elf/tst-auditmod5b.c: Likewise.
13271 * elf/tst-auditmod6b.c: Likewise.
13272 * elf/tst-auditmod6c.c: Likewise.
13273 * elf/tst-auditmod7b.c: Likewise.
13274 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13275 * sysdeps/x86_64/preconfigure.in: Likewise.
13276 * sysdeps/x86_64/preconfigure: Regenerated.
13278 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13280 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13283 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
13285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13286 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13288 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13291 * locale/iso-639.def: Fix gl language name. Spotted by
13294 2012-04-12 Roland McGrath <roland@hack.frob.com>
13297 * libio/libio.h (__io_write_fn): Update comment.
13299 2012-04-12 Petr Baudis <pasky@ucw.cz>
13302 * stdio.texi (Hook Functions): The user provided writer function
13303 is not allowed to return -1.
13305 2012-04-11 David S. Miller <davem@davemloft.net>
13307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13309 2012-04-11 Mike Frysinger <vapier@gentoo.org>
13311 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13312 Add a leading slash to rtkaio.
13314 2012-04-11 Jim Meyering <meyering@redhat.com>
13317 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13318 It is not necessarily an error to ignore fwrite's return
13319 value. One can reliably use ferror to test for errors after
13322 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13324 * bits/types.h (__snseconds_t): New type.
13325 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13327 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13329 (__SNSECONDS_T_TYPE): Likewise.
13330 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13331 (__SNSECONDS_T_TYPE): Likewise.
13332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13333 (__SNSECONDS_T_TYPE): Likewise.
13335 2012-04-10 Andreas Jaeger <aj@suse.de>
13338 * manual/time.texi (Processor Time): Return type of times is
13339 elapsed real time since an arbitrary point in the past.
13340 (CPU Time): Move CLK_TCK from here...
13341 (Processor Time): ...to here. Correct description.
13342 * manual/conf.texi (Constants for Sysconf): Correct description of
13345 2012-04-10 David S. Miller <davem@davemloft.net>
13348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13349 where the is a gap between DT_REL(A) and DT_JMPREL.
13351 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13353 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13354 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13355 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13357 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13359 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13360 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13361 (dl_main): Handle --inhibit-cache.
13362 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13364 * elf/dl-load.c (_dl_map_object): Use it.
13365 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13367 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13370 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13371 (__ieee754_powl): Saturate large exponents rather than testing for
13372 overflow of y*log2(x).
13373 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13374 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13378 * math/s_ctan.c: Include <float.h>.
13379 (__ctan): Avoid internal overflow or cancellation in calculating
13381 * math/s_ctanf.c: Likewise.
13382 * math/s_ctanl.c: Likewise.
13383 * math/s_ctanh.c: Likewise.
13384 * math/s_ctanhf.c: Likewise.
13385 * math/s_ctanhl.c: Likewise.
13386 * math/libm-test.inc (ctan_test): Add more tests.
13387 (ctanh_test): Likewise.
13388 * sysdeps/i386/fpu/libm-test-ulps: Update.
13389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13391 2012-04-09 Andreas Jaeger <aj@suse.de>
13394 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13395 is an optional BSD extension.
13398 * manual/stdio.texi (Opening Streams): Document additional fopen
13401 2012-04-09 Roland McGrath <roland@hack.frob.com>
13403 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13404 %eax without telling the compiler.
13406 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13409 * manual/install.texi: Use sourceware.org.
13411 2012-04-09 Joseph Myers <joseph@codesourcery.com>
13414 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13415 (__ieee754_pow): Generate overflow and underflow using huge*huge
13416 and tiny*tiny rather than just returning constant infinity or zero
13417 for large exponents.
13418 * math/libm-test.inc (pow_test): Require overflow exceptions for
13419 applicable cases of large exponents.
13422 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13423 (__ieee754_pow): Use iterative multiplication algorithm only for
13424 integer exponents with absolute value below 1024. Check for odd
13425 integer exponents when using algorithm for real exponents.
13426 * math/libm-test.inc (pow_test): Add more tests.
13427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13429 2012-04-08 Joseph Myers <joseph@codesourcery.com>
13432 * math/libm-test.inc (exp_test): Do not allow overflow exception
13435 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13438 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13439 instead of __kernel_standard_f.
13441 2012-04-08 Mike Frysinger <vapier@gentoo.org>
13443 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13444 * sysdeps/x86_64/memset_chk.S: Likewise.
13446 2012-04-08 Andreas Jaeger <aj@suse.de>
13449 * manual/startup.texi (Environment Access): Describe return value
13450 for putenv and setenv.
13453 * manual/filesys.texi (Directory Entries): Add description for
13457 * manual/filesys.texi (Directory Entries): Clarify that it's file
13458 system not operating system in the description of DT_UNKNOWN.
13461 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13463 2012-04-08 Stephen Compall <s11@member.fsf.org>
13466 * manual/llio.texi (Opening and Closing Files): Add cross
13467 reference to explain mode argument.
13469 2012-04-07 Mike Frysinger <vapier@gentoo.org>
13471 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13472 * sysdeps/x86_64/memset_chk.S: Likewise.
13474 2012-04-07 David S. Miller <davem@davemloft.net>
13476 * elf/elf.h (R_SPARC_WDISP10): Define.
13477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13480 R_SPARC_SIZE64 and R_SPARC_H34.
13482 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13485 conditions and remove no longer applicable assertion.
13487 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13489 * bits/byteswap.h: Include <features.h>.
13490 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13491 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13493 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13495 * bits/byteswap.h (__bswap_16): Removed.
13496 Include <bits/byteswap-16.h> to get __bswap_16.
13497 * sysdeps/i386/bits/byteswap.h: Likewise.
13498 * sysdeps/s390/bits/byteswap.h: Likewise.
13499 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13500 * bits/byteswap-16.h: New file.
13501 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13502 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13503 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13504 * string/Makefile (headers): Add bits/byteswap-16.h.
13506 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13509 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13511 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13512 * nss/tst-nss-static.c: New.
13514 2012-04-06 Robert Millan <rmh@gnu.org>
13517 * manual/llio.texi (File Position Primitive): lseek
13518 refers to WHENCE when it really means OFFSET.
13520 2012-04-06 Andreas Jaeger <aj@suse.de>
13522 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13523 strncmp declarations.
13525 * abilist/libc.abilist: Add __poll and __ppoll.
13527 2012-04-05 David S. Miller <davem@davemloft.net>
13529 * scripts/check-local-headers.sh: Accept a host triplet in the
13530 path matched by the exclude regexp.
13532 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13534 * sysdeps/powerpc/powerpc32/dl-machine.h
13535 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13536 * sysdeps/s390/s390-32/dl-machine.h
13537 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13538 * sysdeps/sparc/sparc32/dl-machine.h
13539 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13540 * sysdeps/sparc/sparc64/dl-machine.h
13541 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13543 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13545 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
13546 undefined symbol errors.
13548 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
13551 2012-04-05 Michael Matz <matz@suse.de>
13554 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13556 2012-04-05 Andreas Jaeger <aj@suse.de>
13559 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13562 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13565 which ROUND is no valid rounding mode.
13567 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13569 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13571 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13573 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13575 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13576 an exception using FPU order intentionally.
13578 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13580 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13581 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13582 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13583 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13585 2012-04-05 Simon Josefsson <simon@josefsson.org>
13588 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13589 EINVAL when BUFLEN is too smal.
13591 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13594 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13595 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13597 2012-04-03 Andreas Jaeger <aj@suse.de>
13600 * manual/setjmp.texi (System V contexts): Fix sentence.
13603 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13604 New macro for this case.
13605 [!__GNUC__] (__bswap_64): New inline function for this case.
13606 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13607 * bits/byteswap.h: Likewise.
13608 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13609 ull, guard with __GLIBC_HAVE_LONG_LONG.
13611 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13612 __GLIBC_HAVE_LONG_LONG.
13614 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13615 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13617 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13620 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13621 inptr and inend, rather than using last_ch.
13623 2012-04-02 David S. Miller <davem@davemloft.net>
13625 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13626 * stdio-common/printf-parse.h (read_int): Change return type to
13627 'int', return -1 on INT_MAX overflow.
13628 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13629 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13630 overflows INT_MAX. Check for overflow of in-format-string precision
13631 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13632 SIZE_MAX not INT_MAX for integer overflow test.
13633 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13634 skip the construct in the format string but do not record anything.
13635 * stdio-common/bug22.c: Adjust to test both width/prevision
13636 INT_MAX overflow as well as total length INT_MAX overflow. Check
13637 explicitly for proper errno values.
13639 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13641 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13643 * string/test-strcmp.c [! WIDE]: Likewise.
13644 * time/tst-mktime2.c: Likewise for INT_MAX.
13645 * string/test-string.h: #include <sys/param.h> for MIN.
13647 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13648 * sysdeps/i386/init-first.c (init): Likewise.
13649 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13650 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13651 * sysdeps/sh/init-first.c (init): Likewise.
13653 2012-04-01 Ulrich Drepper <drepper@gmail.com>
13655 * po/ru.po: Update from translation team.
13656 * po/vi.po: Likewise.
13658 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13660 * resolv/nss_dns/dns-host.c: Merge copyright years.
13662 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13664 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13665 Optimize memcpy with prefetch if
13666 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13667 src, dst pointers have unequal 16 byte alignments.
13669 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13672 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13673 from a CNAME entry and return the minimum ttl for the query.
13674 (gaih_getanswer_slice): Likewise.
13676 2012-03-30 Jeff Law <law@redhat.com>
13678 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13680 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13681 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13683 * resolv/nss_dns/dns-host.c: Update copyright year.
13685 2012-03-30 Ulrich Drepper <drepper@gmail.com>
13687 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13688 requests to save a system call. Fix check that all bytes are sent.
13690 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13691 comments for sendmmsg.
13693 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13696 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13697 with only 1 character between 0x0041 and 0x01b0.
13698 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13699 * wcsmbs/tst-mbsnrtowcs.c: New file.
13701 2012-03-29 David S. Miller <davem@davemloft.net>
13703 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13704 small copies by hand.
13706 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13709 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13710 _nss_compat_initgroups_dyn): Fall back to malloc/free
13711 for large group memberships.
13713 2012-03-28 David S. Miller <davem@davemloft.net>
13715 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13716 that branches into memcpy.
13717 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13718 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13720 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13723 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13724 implementation too.
13725 * sysdeps/sparc/mempcpy.S: New file.
13727 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13728 the IFUNC routine in the libc case.
13729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13731 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13732 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13733 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13734 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13735 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13736 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13737 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13738 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13740 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13741 loop to 256 bytes instead of 64 bytes and fix test signedness.
13743 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13744 * sysdeps/sparc/sparc32/Makefile: rather than here...
13745 * sysdeps/sparc/sparc64/Makefile: and here.
13747 2012-03-28 Ulrich Drepper <drepper@gmail.com>
13749 * malloc/mallocbug.c: Avoid warnings about unused variables.
13751 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13754 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13755 in the right place. Discard and retry query if response is
13756 larger than input buffer size.
13758 2012-03-28 Joseph Myers <joseph@codesourcery.com>
13763 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13764 x for large integer exponent.
13765 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13766 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13767 sign of result as needed afterwards.
13768 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13769 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13770 result for underflowing pow the same as for overflow.
13771 (__kernel_standard_l): Handle powl overflow and underflow here
13772 rather than calling __kernel_standard.
13773 * math/libm-test.inc (pow_test): Add more tests.
13788 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13789 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13790 (__kernel_standard_l): New function.
13791 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13793 * math/w_acosl.c (__acosl): Likewise.
13794 * math/w_asinl.c (__asinl): Likewise.
13795 * math/w_atan2l.c (__atan2l): Likewise.
13796 * math/w_atanhl.c (__atanhl): Likewise.
13797 * math/w_coshl.c (__coshl): Likewise.
13798 * math/w_exp10l.c (__exp10l): Likewise.
13799 * math/w_exp2l.c (__exp2l): Likewise.
13800 * math/w_fmodl.c (__fmodl): Likewise.
13801 * math/w_hypotl.c (__hypotl): Likewise.
13802 * math/w_j0l.c (__j0l, __y0l): Likewise.
13803 * math/w_j1l.c (__j1l, __y1l): Likewise.
13804 * math/w_jnl.c (__jnl, __ynl): Likewise.
13805 * math/w_lgammal.c (__lgammal): Likewise.
13806 * math/w_log10l.c (__log10l): Likewise.
13807 * math/w_log2l.c (__log2l): Likewise.
13808 * math/w_logl.c (__logl): Likewise.
13809 * math/w_powl.c (__powl): Likewise.
13810 * math/w_remainderl.c (__remainderl): Likewise.
13811 * math/w_scalbl.c (sysv_scalbl): Likewise.
13812 * math/w_sinhl.c (__sinhl): Likewise.
13813 * math/w_sqrtl.c (__sqrtl): Likewise.
13814 * math/w_tgammal.c (__tgammal): Likewise.
13815 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13816 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13817 * math/libm-test.inc (acos_test): Add more tests.
13818 (acosh_test): Likewise.
13819 (asin_test): Likewise.
13820 (atanh_test): Likewise.
13821 (exp_test): Likewise.
13822 (exp10_test): Likewise.
13823 (exp2_test): Likewise.
13824 (expm1_test): Likewise.
13825 (lgamma_test): Likewise.
13826 (log_test): Likewise.
13827 (log10_test): Likewise.
13828 (log1p_test): Likewise.
13829 (log2_test): Likewise.
13830 (pow_test): Do not allow some spurious overflow exceptions.
13831 (sqrt_test): Add more tests.
13832 (tgamma_test): Likewise.
13833 (y0_test): Likewise.
13834 (y1_test): Likewise.
13835 (yn_test): Likewise.
13837 2012-03-27 Anton Blanchard <anton@samba.org>
13839 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13841 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13845 2012-03-27 David S. Miller <davem@davemloft.net>
13847 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13849 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13850 have-as-vis3 check.
13852 2012-03-27 Andreas Jaeger <aj@suse.de>
13854 * sysdeps/x86_64/elf/configure.in: Moved to ...
13855 * sysdeps/x86_64/configure.in: ... here.
13856 * sysdeps/x86_64/elf/start.S: Moved to ...
13857 * sysdeps/x86_64/start.S: ... here.
13858 * sysdeps/x86_64/elf/configure: Delete.
13860 * sysdeps/x86_64/configure.in: Merge contents from
13861 sysdeps/i386/configure.in (without i686 check).
13863 * sysdeps/i386/elf/Versions: Merge into ...
13864 * sysdeps/i386/Versions: ... this.
13865 * sysdeps/i386/elf/Versions: Delete file.
13866 * sysdeps/i386/elf/start.S: Moved to ...
13867 * sysdeps/i386/start.S: ...here.
13868 * sysdeps/i386/elf/configure.in: Merge into...
13869 * sysdeps/i386/configure.in: ...here.
13870 * sysdeps/i386/elf/configure.in: Delete file.
13871 * sysdeps/i386/elf/configure: Delete file.
13873 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13874 * debug/backtracesyms.c: ... here.
13875 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13876 * debug/backtracesymsfd.c: ... here.
13877 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13878 * sysdeps/generic/ifunc-sel.h: ... here.
13880 * sysdeps/unix/i386/start.c: Delete file.
13881 * sysdeps/unix/sparc/start.c: Delete file.
13882 * sysdeps/unix/start.c: Delete file.
13884 * sysdeps/sh/elf/configure.in: Moved to ...
13885 * sysdeps/sh/configure.in: ... here.
13886 * sysdeps/sh/elf/start.S: Moved to ...
13887 * sysdeps/sh/start.S: ... here.
13888 * sysdeps/sh/elf/configure: Delete file.
13890 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13891 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13892 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13893 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13894 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13895 * sysdeps/powerpc/powerpc64/start.S: here.
13896 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13897 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13898 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13899 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13900 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13902 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13903 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13904 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13905 * sysdeps/powerpc/powerpc32/start.S: ... here.
13906 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13907 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13908 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13910 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13911 * sysdeps/powerpc/ifunc-sel.h: ... here.
13912 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13913 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13915 * sysdeps/sparc/elf/configure.in: Moved to ...
13916 * sysdeps/sparc/configure.in: ... here.
13917 * sysdeps/sparc/elf/configure: Delete file.
13918 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13919 * sysdeps/sparc/sparc32/start.S: ... here.
13920 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13921 * sysdeps/sparc/sparc64/start.S: ... here.
13922 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13923 * sysdeps/sparc/sparc32/Makefile: ... this.
13924 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13925 * sysdeps/sparc/sparc64/Makefile: ... this.
13927 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13928 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13929 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13930 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13931 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13932 * sysdeps/s390/s390-32/setjmp.S: ... here.
13933 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13934 * sysdeps/s390/s390-32/configure.in: ... here.
13935 * sysdeps/s390/s390-32/elf/configure: Delete file.
13936 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13937 * sysdeps/s390/s390-32/start.S: ... here.
13939 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13940 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13941 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13942 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13943 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13944 * sysdeps/s390/s390-64/setjmp.S: ... here.
13945 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13946 * sysdeps/s390/s390-64/configure.in: ... here
13947 * sysdeps/s390/s390-64/elf/configure: Delete file.
13948 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13949 * sysdeps/s390/s390-64/start.S: ... here.
13950 * sysdeps/s390/s390-64/elf/configure: Delete.
13952 * configure.in: Remove support for elf directories in sysdeps.
13954 * configure: Regenerated.
13955 * sysdeps/i386/configure: Regenerated.
13956 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13957 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13958 * sysdeps/s390/s390-32/configure: Regenerated.
13959 * sysdeps/s390/s390-64/configure: Regenerated.
13960 * sysdeps/sh/configure: Regenerated.
13961 * sysdeps/sparc/configure: Regenerated.
13962 * sysdeps/x86_64/configure: Regenerated.
13964 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13969 denormal result into account.
13971 2012-03-25 Roland McGrath <roland@hack.frob.com>
13973 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13974 Reported by Allan McRae <allan@archlinux.org>.
13976 2012-03-23 Jeff Law <law@redhat.com>
13978 * nss/getnssent.c (__nss_getent): Fix typo.
13980 2012-03-23 David S. Miller <davem@davemloft.net>
13982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13984 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13986 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13987 to pad to uint64_t for each field.
13988 (dl_tls_index): Replace unsigned long with uint64_t.
13990 2012-03-23 Daniel Jacobowitz <dmj@google.com>
13991 Paul Pluzhnikov <ppluzhnikov@google.com>
13994 * grp/Makefile (otherlibs): Don't set it.
13995 * inet/Makefile (otherlibs): Likewise.
13996 * login/Makefile (otherlibs): Likewise.
13997 * nscd/Makefile (otherlibs): Likewise.
13998 * posix/Makefile (otherlibs): Likewise.
13999 * pwd/Makefile (otherlibs): Likewise.
14000 * rt/Makefile (otherlibs): Likewise.
14001 * sunrpc/Makefile (otherlibs): Likewise.
14002 * nss/Makefile (otherlibs): Likewise.
14003 Add libnss_files to routines and static-only-routines.
14004 ($(objpfx)getent): Remove rule.
14005 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14006 static-only-routines.
14008 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14011 * math/s_cexp.c: Include <float.h>.
14012 (__cexp): Handle exp result overflowing not necessarily
14013 overflowing both real and imaginary parts of result.
14014 * math/s_cexpf.c: Likewise.
14015 * math/s_cexpl.c: Likewise.
14016 * math/libm-test.inc (cexp_test): Add more tests.
14017 * sysdeps/i386/fpu/libm-test-ulps: Update.
14018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14020 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14022 * include/link.h (ELFW): New macro.
14023 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14024 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14026 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14028 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14031 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14033 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14035 (struct La_x32_retval): Likewise.
14037 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14039 * sysdeps/x86_64/preconfigure.in: New file.
14040 * sysdeps/x86_64/preconfigure: New generated file.
14042 2012-03-22 Joseph Myers <joseph@codesourcery.com>
14045 * math/e_exp2l.c: Include <float.h>.
14046 (__ieee754_exp2l): Handle overflow and underflow cases
14047 separately. Only pass fractional part of argument to
14049 * math/libm-test.inc (exp2_test): Add more tests.
14051 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14052 negating x to take absolute value.
14053 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14055 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14056 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14058 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14059 computing low part if x was negated.
14060 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14062 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14064 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14065 la_x32_gnu_pltexit.
14066 (pltexit): Cast int_retval to ptrdiff_t.
14067 * elf/tst-auditmod3b.c: Likewise.
14068 * elf/tst-auditmod4b.c: Likewise.
14069 * elf/tst-auditmod5b.c: Likewise.
14070 * elf/tst-auditmod6b.c: Likewise.
14071 * elf/tst-auditmod6c.c: Likewise.
14072 * elf/tst-auditmod7b.c: Likewise.
14074 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14075 and x32_gnu_pltexit.
14077 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14078 __ELF_NATIVE_CLASS.
14079 (La_x32_regs): New macro.
14080 (La_x32_retval): Likewise.
14081 (la_x32_gnu_pltenter): New function prototype.
14082 (la_x32_gnu_pltexit): Likewise.
14084 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14086 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14091 * configure.in (libc_cv_cc_nofma): Check for option to disable
14092 generation of FMA instructions.
14093 * configure: Regenerate.
14094 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14095 * sysdeps/ieee754/dbl-64/Makefile: New file.
14096 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14097 Remove brandred-fma4.
14098 (CFLAGS-brandred-fma4.c): Remove.
14099 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14100 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14102 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14105 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14107 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14108 LLONG_MAX != LONG_MAX.
14109 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14110 (_fitoa_word): Likewise.
14111 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14112 LLONG_MAX != LONG_MAX.
14113 * stdio-common/_itowa.h: Include <_itoa.h>.
14114 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14115 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14116 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14117 only if not defined.
14118 (_ITOA_WORD_TYPE): Likewise.
14119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14120 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14122 2012-03-21 David S. Miller <davem@davemloft.net>
14124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14126 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14128 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14129 of x86_64 when setting libc_cv_slibdir, libdir and
14131 * sysdeps/unix/sysv/linux/configure: Regenerated.
14133 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14135 * manual/lang.texi (Old Varargs): Remove section.
14136 (How Variadic): Update menu.
14137 (va_start): Do not mention varargs.h.
14139 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14140 Joseph Myers <joseph@codesourcery.com>
14142 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14144 * configure: Regenerated.
14146 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14148 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14149 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14152 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14155 * Makefile (files-for-dist): Remove NOTES.
14156 (NOTES): Remove rule.
14157 * README: Don't refer to NOTES.
14158 * manual/creature.texi: Don't include macros.texi.
14159 * manual/intro.texi (creature.texi): Remove comment referring to
14162 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14163 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14164 * configure: Regenerated.
14165 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14166 LIBC_TRY_CC_OPTION.
14167 (libc_cv_as_i686): Likewise.
14168 (libc_cv_cc_avx): Likewise.
14169 (libc_cv_cc_sse2avx): Likewise.
14170 (libc_cv_cc_fma4): Likewise.
14171 (libc_cv_cc_novzeroupper): Likewise.
14172 * sysdeps/i386/configure: Regenerated.
14175 * sysdeps/i386/fpu/s_cexp.S: Remove.
14176 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14177 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14178 * math/libm-test.inc (cexp_test): Add more tests.
14179 * sysdeps/i386/fpu/libm-test-ulps: Update.
14180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14182 2012-03-21 Allan McRae <allan@archlinux.org>
14184 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14186 2012-03-21 Joseph Myers <joseph@codesourcery.com>
14189 * math/w_exp2.c: Do not include <float.h>.
14190 (o_threshold, u_threshold): Remove.
14191 (__exp2): Calculate result before checking finiteness and calling
14193 * math/w_exp2f.c: Likewise.
14194 * math/w_exp2l.c: Likewise.
14195 * math/libm-test.inc (exp2_test): Require overflow exception for
14199 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14200 range of signed 64-bit integers before using fistpll. Remove
14201 checks for whether integers fit in mantissa bits.
14202 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14203 the range of signed 32-bit integers before using fistpl. Remove
14204 checks for whether integers fit in mantissa bits.
14205 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14206 (__ieee754_powl): Test for y outside the range of signed 64-bit
14207 integers before using fistpll. Reduce 64-bit values to 63-bit
14209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14210 divide-by-zero is raised for zero to large negative powers.
14211 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14212 (__ieee754_powl): Test for y outside the range of signed 64-bit
14213 integers before using fistpll. Reduce 64-bit values to 63-bit
14215 * math/libm-test.inc (pow_test): Add more tests.
14217 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14219 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14220 <stdio-common/_itoa.h>.
14221 * debug/segfault.c: Likewise.
14222 * elf/dl-cache.c: Likewise.
14223 * elf/dl-minimal.c: Likewise.
14224 * elf/dl-misc.c: Likewise.
14225 * elf/dl-sysdep.c: Likewise.
14226 * elf/dl-version.c: Likewise.
14227 * elf/rtld.c: Likewise.
14228 * hurd/hurdsock.c: Likewise.
14229 * hurd/lookup-retry.c: Likewise.
14230 * malloc/malloc.c: Likewise.
14231 * malloc/mtrace.c: Likewise.
14232 * nscd/nscd_getgr_r.c: Likewise.
14233 * nscd/nscd_getpw_r.c: Likewise.
14234 * nscd/nscd_getserv_r.c: Likewise.
14235 * posix/getopt_init.c: Likewise.
14236 * posix/wordexp.c: Likewise.
14237 * stdio-common/_itoa.c: Likewise.
14238 * stdio-common/printf_fphex.c: Likewise.
14239 * stdio-common/vfprintf.c: Likewise.
14240 * string/_strerror.c: Likewise.
14241 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14242 * sysdeps/i386/i686/hp-timing.h: Likewise.
14243 * sysdeps/mach/_strerror.c: Likewise.
14244 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14245 * sysdeps/mach/hurd/sethostid.c: Likewise.
14246 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14247 * sysdeps/mach/xpg-strerror.c: Likewise.
14248 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14250 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14251 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14252 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14253 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14254 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14255 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14256 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14257 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14258 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14259 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14260 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14261 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14262 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14263 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14264 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14265 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14266 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14267 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14270 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14272 * stdio-common/_itoa.h: Moved to ...
14273 * sysdeps/generic/_itoa.h: Here.
14275 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14277 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14278 instead of "_itoa.h" and "_itowa.h".
14279 * stdio-common/vfprintf.: Likewise.
14281 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14283 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14285 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14286 (__signbit): Likwise.
14287 (llrintf): Likwise.
14290 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14292 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14295 2012-03-20 Joseph Myers <joseph@codesourcery.com>
14297 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14298 OVERFLOW_EXCEPTION_OK.
14299 * math/libm-test.inc ("Philosophy"): Update comment about
14301 (OVERFLOW_EXCEPTION): Define.
14302 (OVERFLOW_EXCEPTION_OK): Likewise.
14303 (INVALID_EXCEPTION_OK): Renumber.
14304 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14305 (IGNORE_ZERO_INF_SIGN): Likewise.
14306 (test_exceptions): Handle FE_OVERFLOW.
14307 (exp10_test): Expect overflow exceptions.
14308 (exp2_test): Likewise.
14309 (expm1_test): Likewise.
14310 (nextafter_test): Likewise.
14311 (pow_test): Likewise.
14312 (scalbn_test): Likewise.
14313 (scalbln_test): Likewise.
14315 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14317 * sysdeps/x86_64/bits/atomic.h
14318 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14320 (atomic_exchange_acq): Likewise.
14321 (__arch_exchange_and_add_body): Likewise.
14322 (__arch_add_body): Likewise.
14323 (atomic_add_negative): Likewise.
14324 (atomic_add_zero): Likewise.
14326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14328 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
14329 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14331 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14333 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14334 Check __x86_64__ instead of __WORDSIZE.
14336 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14338 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14340 2012-03-19 David S. Miller <davem@davemloft.net>
14342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14344 * sysdeps/sparc/fpu/fenv_private.h: New file.
14345 * sysdeps/sparc/fpu/math_private.h: Use it.
14346 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14348 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14349 (libc_feholdexcept_setroundl): Remove.
14350 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14352 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14353 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14355 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14357 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14358 int64_t instead of long int.
14359 (INSERT_WORDS64): Likwise.
14361 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14363 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14364 _Unwind_GetCFA return to _Unwind_Ptr first.
14366 2012-03-19 Joseph Myers <joseph@codesourcery.com>
14369 * math/s_clog.c: Include <float.h>.
14370 (__clog): Scale large or subnormal inputs.
14371 * math/s_clogf.c: Likewise.
14372 * math/s_clogl.c: Likewise.
14373 * math/s_clog10.c: Include <float.h>.
14374 (M_LOG10_2): Define.
14375 (__clog10): Scale large or subnormal inputs.
14376 * math/s_clog10f.c: Likewise.
14377 * math/s_clog10l.c: Likewise.
14378 * math/libm-test.inc (clog_test): Add more tests.
14379 (clog10_test): Likewise.
14380 * sysdeps/i386/fpu/libm-test-ulps: Update.
14381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14384 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14386 * math/libm-test.inc (atan2_test): Add another test.
14388 * Makerules (common-objdir-compile): Remove.
14389 * sysdeps/unix/Makefile (config-generated): Do not add
14390 $(unix-generated) to variable.
14391 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14392 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14394 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14396 [generic bits/local_lim.h] (before-compile): Do not append to
14398 [generic bits/local_lim.h] (common-generated): Likewise.
14399 [generic sys/param.h] (before-compile): Do not append to variable.
14400 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14401 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14402 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14403 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14405 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14406 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14407 [generic sys/param.h] ($(addprefix
14408 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14409 [generic sys/param.h] (common-generated): Do not append to
14411 [generic sys/param.h] (sysdep_headers): Likewise.
14412 [generic bits/errno.h] (before-compile): Do not append to
14414 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14416 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14417 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14418 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14419 [generic bits/errno.h] (common-generated): Do not append to
14421 [generic bits/ioctls.h] (before-compile): Do not append to
14423 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14425 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14426 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14427 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14429 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14430 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14431 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14432 [generic bits/ioctls.h] (common-generated): Do not append to
14434 [generic sys/syscall.h] (syscall.h): Remove variable.
14435 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14437 [generic sys/syscall.h] (before-compile): Do not append to
14439 [generic sys/syscall.h] (common-generated): Likewise.
14440 * sysdeps/unix/errnos-tmpl.c: Remove file.
14441 * sysdeps/unix/errnos.awk: Likewise.
14442 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14443 * sysdeps/unix/ioctls.awk: Likewise.
14444 * sysdeps/unix/mk-local_lim.c: Likewise.
14445 * sysdeps/unix/snarf-ioctls: Likewise.
14447 2012-03-19 Richard Henderson <rth@twiddle.net>
14449 * sysdeps/i386/fpu/fenv_private.h: New file.
14450 * sysdeps/i386/fpu/math_private.h: Use it.
14451 (math_opt_barrier, math_force_eval): Remove.
14452 (libc_feholdexcept_setround_53bit): Remove.
14453 (libc_feupdateenv_53bit): Remove.
14454 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14455 (math_opt_barrier, math_force_eval): Remove.
14456 (libc_feholdexcept): Remove.
14457 (libc_feholdexcept_setround): Remove.
14458 (libc_fetestexcept, libc_fesetenv): Remove.
14459 (libc_feupdateenv_test): Remove.
14460 (libc_feupdateenv, libc_feholdsetround): Remove.
14461 (libc_feresetround): Remove.
14463 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14464 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14466 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14467 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14468 (libc_feupdateenv_testl): New.
14469 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14470 (libc_feupdateenv_testf): New.
14471 (libc_feupdateenv): Use libc_feupdateenv_test.
14472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14473 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14475 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14476 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14477 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14478 (libc_feresetround_noex): New.
14479 (libc_feresetround_noexf): New.
14480 (libc_feresetround_noexl): New.
14481 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14482 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14483 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14484 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14489 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14490 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14491 SET_RESTORE_ROUND_NOEX.
14492 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14493 SET_RESTORE_ROUND_NOEXF.
14494 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14495 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14496 (libc_feholdsetroundf): New.
14497 (libc_feresetround, libc_feresetroundf): New.
14499 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14500 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14501 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14503 * sysdeps/generic/math_private.h: Include <fenv.h>.
14504 (default_libc_feholdexcept): New.
14505 (default_libc_feholdexcept_setround): New.
14506 (default_libc_fesetenv, default_libc_feupdateenv): New.
14507 (libc_feholdexcept): Only define if undefined.
14508 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14509 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14510 (libc_feholdexcept_setroundl): Likewise.
14511 (libc_feholdexcept_setround_53bit): Likewise.
14512 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14513 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14514 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14515 (libc_feupdateenv_53bit): Likewise.
14516 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14517 (libc_feholdexcept): Convert from macro to inline function.
14518 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14519 (libc_fesetenv, libc_feupdateenv): Likewise.
14521 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14522 not previously defined.
14523 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14524 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14525 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14526 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14527 * sysdeps/ieee754/flt-32/math_private.h: New file.
14528 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14529 math_private.h below SET_FLOAT_WORD.
14530 (__isnan, __isinf_ns, __finite): Remove.
14531 (__isnanf, __isinf_nsf, __finitef): Remove.
14533 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14537 2012-03-17 David S. Miller <davem@davemloft.net>
14540 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14543 2012-03-16 David S. Miller <davem@davemloft.net>
14545 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14549 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14551 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14552 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14553 sysdep_routines when subdir is sysvipc.
14554 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14555 __getshmlba helper.
14557 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14559 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14561 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14564 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14566 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14567 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14568 (__lround): Renamed to ...
14569 (__llround): This. Replace long int with long long int.
14570 Define lround functions as aliases of llround functions.
14571 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14573 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14575 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14576 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14577 adresses to uintptr_t. Replace "long int" and "unsigned long
14578 int" with "greg_t" on va_arg.
14580 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14582 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14583 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14585 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14586 Move e_machine check before EI_CLASS check. Handle x32
14587 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14588 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14589 SKIP_EM_IA_64 and include
14590 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14592 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14593 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14594 (add_system_dir): New macro.
14596 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14597 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14599 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14610 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14612 * math/w_j0f.c (j0f): Likewise.
14614 * math/w_j0l.c (__j0l): Likewise.
14616 * math/w_j1.c (j1): Likewise.
14618 * math/w_j1f.c (j1f): Likewise.
14620 * math/w_j1l.c (__j1l): Likewise.
14622 * math/w_jn.c (jn): Likewise.
14624 * math/w_jnf.c (jnf): Likewise.
14626 * math/w_jnl.c (__jnl): Likewise.
14628 * math/libm-test.inc (j0_test): Add more tests.
14629 (j1_test): Likewise.
14630 (jn_test): Likewise. Add trailing semicolon to existing test.
14631 (y0_test): Likewise.
14632 (y1_test): Likewise.
14633 * sysdeps/i386/fpu/libm-test-ulps: Update.
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14639 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14640 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14642 (__tanl): Set errno for infinite argument.
14643 * sysdeps/i386/fpu/mptan.c: Remove.
14644 * sysdeps/i386/fpu/s_tan.S: Likewise.
14645 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14646 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14647 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14648 * math/libm-test.inc (tan_test): Add more tests and enable more
14649 tests for double and long double.
14650 * sysdeps/i386/fpu/libm-test-ulps: Update.
14651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14653 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14655 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14656 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14658 2012-03-16 Roland McGrath <roland@hack.frob.com>
14660 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14661 * configure.in: Use it for both main tree and add-ons.
14662 * configure: Regenerated.
14664 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14666 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14668 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14670 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14674 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14675 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14680 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14682 != 0 for prec == 2.
14683 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14684 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14685 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14686 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14687 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14688 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14689 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14690 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14691 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14692 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14693 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14694 * math/libm-test.inc (cos_test): Add more tests and enable more
14695 tests for long double.
14696 (sin_test): Likewise.
14697 (sincos_test): Likewise.
14698 * sysdeps/i386/fpu/libm-test-ulps: Update.
14699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14701 2012-03-16 David S. Miller <davem@davemloft.net>
14703 * sysdeps/sparc/fpu/math_private.h: New file.
14705 2012-03-15 David S. Miller <davem@davemloft.net>
14707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14721 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14722 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14724 * sysdeps/sparc/sparc-ifunc.h: New file.
14725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14770 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14772 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14776 2012-03-15 Andreas Jaeger <aj@suse.de>
14779 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14780 ieee754/flt-32 implementation for sin, cos and sincos.
14781 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14782 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14783 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14784 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14785 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14786 ieee754/flt-32 implementation for tan.
14788 * math/libm-test.inc (cos_test): Enable some large input tests for
14790 (sin_test): Likewise.
14791 (sincos_test): Likewise.
14792 (tan_test): Add tests for large input.
14794 * sysdeps/i386/fpu/libm-test-ulps: Update.
14796 2012-03-15 Andreas Jaeger <aj@suse.de>
14799 * math/libm-test.inc (cos_test): Add more test cases.
14800 (sin_test): Likewise.
14801 (sincos_test): Likewise.
14803 2012-03-15 Andreas Jaeger <aj@suse.de>
14806 * math/libm-test.inc (cos_test): Add a test case for large input
14808 (sin_test): Likewise.
14809 (sincos_test): Likewise.
14811 2012-03-15 Andreas Jaeger <aj@suse.de>,
14812 Joseph Myers <joseph@codesourcery.com>
14815 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14816 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14817 * sysdeps/i386/fpu/branred.c: Likewise.
14818 * sysdeps/i386/fpu/dosincos.c: Likewise.
14819 * sysdeps/i386/fpu/mpa.c: Likewise.
14820 * sysdeps/i386/fpu/s_cos.S: Likewise.
14821 * sysdeps/i386/fpu/s_sin.S: Likewise.
14822 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14823 * sysdeps/i386/fpu/sincos32.c: Likewise.
14825 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14827 (libc_feupdateenv_53bit): Define.
14828 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14830 (libc_feupdateenv_53bit): Define.
14832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14833 53 bit (without extend i386 double precision).
14835 * math/libm-test.inc (sincos_test): Add tests for large input.
14839 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14841 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14845 2012-03-15 David S. Miller <davem@davemloft.net>
14847 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14848 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14849 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14850 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14875 fmin/fmax sysdep routines.
14876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14878 2012-03-14 David S. Miller <davem@davemloft.net>
14880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14884 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14885 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14901 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14902 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14903 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14904 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14905 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14952 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14957 * sysdeps/sparc/configure.in: New file.
14958 * sysdeps/sparc/configure: Generate.
14959 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14960 * configure: Regenerate.
14961 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14962 * config.make.in (have-as-vis3): New.
14963 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14964 available use -Av9d instead of -Av9a.
14965 * sysdeps/sparc/sparc64/Makefile: Likewise.
14966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14981 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14982 fzeros/fnegs to load 0x80000000 into a float register instead of
14984 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14986 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14990 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14991 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14992 ($(inst_includedir)/bits/syscall.h): Remove rule.
14993 ($(objpfx)bits/syscall.d): Include instead of
14994 $(objpfx)syscall-list.d.
14995 (generated): Change syscall-list.h and syscall-list.d to
14996 bits/syscall.h and bits/syscall.d.
14998 2012-03-14 Roland McGrath <roland@hack.frob.com>
15001 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15003 2012-03-14 Joseph Myers <joseph@codesourcery.com>
15006 * math/s_csqrt.c: Include <float.h>.
15007 (__csqrt): Scale large or subnormal inputs.
15008 * math/s_csqrtf.c: Likewise.
15009 * math/s_csqrtl.c: Likewise.
15010 * math/libm-test.inc (csqrt_test): Add more tests.
15011 * sysdeps/i386/fpu/libm-test-ulps: Update.
15012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15015 * math/libm-test.inc (hypot_test): Add more tests.
15017 2012-03-13 David S. Miller <davem@davemloft.net>
15020 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15021 double-precision for the calculation instead of scaling.
15023 2012-03-13 Joseph Myers <joseph@codesourcery.com>
15025 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15026 manipulate bits before adding and subtracting TWO52[sx].
15027 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15032 2012-03-13 David S. Miller <davem@davemloft.net>
15034 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15035 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15037 rtld-global-offsets.h
15038 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15040 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15043 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15045 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15046 'err' in the ifdef scope in which it is actually used.
15048 * nss/nss_db/db-init.c: Include string.h
15050 2012-03-12 David S. Miller <davem@davemloft.net>
15052 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15053 masking out of the most significant byte of random value used.
15054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15055 Fix coding style in previous change.
15057 * sysdeps/unix/sysv/linux/kernel-features.h
15058 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15059 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15061 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15064 2012-03-11 David S. Miller <davem@davemloft.net>
15066 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15067 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15068 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15069 for 'resultvar' otherwise things get truncated on 64-bit.
15071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15072 Fix masking out of the most significant byte of random value used.
15074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15076 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15080 2012-03-09 David S. Miller <davem@davemloft.net>
15082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15083 variables with appropriate CPP guards.
15084 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15085 frame pointer, not the stack pointer. Correct layout comments. Fix test
15086 on resulting framesize and the management of the outregs buffer for pltexit.
15087 Preserve floating point return values across _dl_call_pltexit call.
15088 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15089 framesize and the management of the outregs buffer for pltexit.
15090 Preserve floating point return values across _dl_call_pltexit
15092 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15093 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15094 (print_exit): Fix format string for return register value.
15096 2012-03-10 Joseph Myers <joseph@codesourcery.com>
15098 * sunrpc/Makefile (others): Add rpcgen.
15099 ($(objpfx)rpcgen): Remove special build rule and dependency on
15101 * sunrpc/rpcgen.c: New file.
15103 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15106 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15107 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15108 * sysdeps/i386/crti.S: Likewise.
15109 * sysdeps/i386/crtn.S: Likewise.
15110 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15111 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15112 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15113 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15114 * sysdeps/sh/crti.S: Likewise.
15115 * sysdeps/sh/crtn.S: Likewise.
15116 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15119 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15121 * locale/programs/locfile-kw.gperf: Likewise.
15122 * locale/programs/charmap-kw.h: Regenerated.
15123 * locale/programs/locfile-kw.h: Likewise.
15126 * intl/plural.y: Replace FSF snail mail address with URL.
15127 * intl/plural.c: Regenerated.
15129 2012-03-09 Richard Henderson <rth@twiddle.net>
15131 * include/math_private.h: Remove file.
15132 * math/math_private.h: Move file ...
15133 * sysdeps/generic/math_private.h: ... here.
15135 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15136 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15137 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15139 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
15140 and <math_private.h>.
15141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15181 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15229 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15230 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15231 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15232 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15233 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15235 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15236 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15237 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15238 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15239 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15240 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15241 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15242 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15243 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15244 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15245 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15246 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15247 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15248 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15249 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15251 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15252 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15253 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15254 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15255 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15256 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15257 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15258 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15259 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15260 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15261 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15262 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15263 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15264 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15265 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15266 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15267 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15268 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15269 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15270 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15271 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15272 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15273 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15274 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15275 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15276 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15278 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15279 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15280 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15281 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15282 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15283 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15284 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15285 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15286 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15287 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15288 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15289 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15290 * sysdeps/ieee754/k_standard.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15301 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15303 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15305 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15308 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15309 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15310 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15312 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15313 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15314 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15315 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15316 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15318 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15329 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15330 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15332 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15333 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15334 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15335 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15360 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15361 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15363 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15395 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15408 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15410 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15411 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15412 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15413 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15431 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15439 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15441 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15449 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15451 * sysdeps/ieee754/s_lib_version.c: Likewise.
15452 * sysdeps/ieee754/s_matherr.c: Likewise.
15453 * sysdeps/ieee754/s_signgam.c: Likewise.
15454 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15455 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15456 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15457 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15458 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15459 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15460 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15461 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15462 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15463 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15464 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15465 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15466 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15467 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15468 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15469 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15471 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15473 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15474 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15476 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15478 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15479 * sunrpc/rpc_main.c: Likewise.
15480 * sunrpc/rpc_svcout.c: Likewise.
15482 2012-03-09 David S. Miller <davem@davemloft.net>
15484 * include/math_private.h: New file.
15486 2012-03-09 Joseph Myers <joseph@codesourcery.com>
15488 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15489 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15490 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15491 from <bits/socket_type.h>.
15492 (enum __socket_type): Don't define here.
15493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15495 bits/socket_type.h.
15498 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15499 checking __USE_GNU.
15501 * Makerules ($(inst_includedir)/%.h): New rule.
15502 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15503 (install-others): Remove variable setting.
15504 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15506 2012-03-08 Richard Henderson <rth@twiddle.net>
15508 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15509 from macro to inline function; merge with the
15510 !__LIBC_INTERNAL_MATH_INLINES version.
15511 (__ieee754_sqrtf): Likewise.
15513 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15514 to inline function.
15515 (__rintf, __floor, __floorf): Likewise.
15517 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15518 macro to inline function.
15519 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15522 not <math/math_private.h>.
15524 2012-03-08 David S. Miller <davem@davemloft.net>
15526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15528 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15530 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15532 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15534 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15535 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15537 2012-03-08 Ulrich Drepper <drepper@gmail.com>
15539 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15540 be defined individually, they must be defined as a block. Define
15541 S for printing a string instead of hidint the different by using a
15542 macro for adding the 'l'.
15543 * stdio-common/tst-fphex-wide.c: Adjust.
15545 2012-03-07 Marek Polacek <polacek@redhat.com>
15547 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15549 2012-03-08 Marek Polacek <polacek@redhat.com>
15552 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15553 * stdio-common/tst-fphex.c: Define a few macros to make the
15554 test reusable. Use them.
15555 * stdio-common/tst-fphex-wide.c: New file.
15557 2012-03-08 Joseph Myers <joseph@codesourcery.com>
15560 * manual/macros.texi (gnusystems): New macro.
15561 (nongnusystems): Likewise.
15562 (gnulinuxhurdsystems): Likewise.
15563 (gnuhurdsystems): Likewise..
15564 (gnulinuxsystems): Likewise.
15565 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15566 variants of the GNU system, not "GNU system".
15567 * manual/conf.texi: Likewise.
15568 * manual/errno.texi: Likewise. Update example of errno macro
15570 * manual/filesys.texi: Likewise.
15571 (getumask): Document as specific to GNU/Hurd.
15572 * manual/install.texi: Likewise. Reword some references to
15574 * manual/intro.texi: Likewise.
15575 * manual/io.texi: Likewise.
15576 (File Name Portability): Detail which constraints are inapplicable
15577 to all GNU systems and which are only inapplicable to GNU/Hurd.
15578 * manual/job.texi: Likewise.
15579 * manual/llio.texi: Likewise.
15580 (O_NOCTTY): Document as present on GNU/Linux.
15581 * manual/maint.texi: Likewise.
15582 * manual/memory.texi: Likewise.
15583 * manual/pattern.texi: Likewise.
15584 * manual/pipe.texi: Likewise.
15585 * manual/process.texi: Likewise.
15586 * manual/resource.texi: Likewise.
15587 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15589 * manual/setjmp.texi: Likewise.
15590 * manual/signal.texi: Likewise.
15591 * manual/startup.texi: Likewise.
15592 * manual/stdio.texi: Likewise.
15593 * manual/terminal.texi: Likewise.
15594 (ONLCR): Document as POSIX.
15595 (OXTABS): Document availability on GNU/Linux as XTABS.
15596 (ONOEOT): Document availability separately from other bits.
15597 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15598 * manual/time.texi: Likewise.
15599 * manual/users.texi: Likewise.
15600 * INSTALL: Regenerated.
15601 * sysdeps/gnu/errlist.c: Regenerated.
15603 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15604 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15605 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15607 * configure: Regenerated.
15609 2012-03-07 Joseph Myers <joseph@codesourcery.com>
15611 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15612 default includes instead of AC_HEADER_CHECK.
15613 * sysdeps/i386/configure: Regenerated.
15616 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15617 * math/s_cacoshf.c (__cacoshf): Likewise.
15618 * math/s_cacoshl.c (__cacoshl): Likewise.
15619 * math/s_casinh.c (__casinh): Set signs of result from argument.
15620 * math/s_casinhf.c (__casinhf): Likewise.
15621 * math/s_casinhl.c (__casinhl): Likewise.
15622 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15623 (casinh_test): Add more tests.
15624 * sysdeps/i386/fpu/libm-test-ulps: Update.
15625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15627 2012-03-07 Ulrich Drepper <drepper@gmail.com>
15629 * po/zh_TW.po: Update from translation team.
15631 * login/Makefile (distribute): Remove variable.
15632 * catgets/Makefile: Likewise.
15633 * mach/Makefile: Likewise.
15634 * malloc/Makefile: Likewise.
15635 * misc/Makefile: Likewise.
15636 * iconv/Makefile: Likewise.
15637 * nscd/Makefile: Likewise.
15638 * hurd/Makefile: Likewise.
15639 * manual/Makefile: Likewise.
15640 * locale/Makefile: Likewise.
15641 * intl/Makefile: Likewise.
15642 * conform/Makefile: Likewise.
15643 * nss/Makefile: Likewise.
15644 * time/Makefile: Likewise.
15645 * soft-fp/Makefile: Likewise.
15646 * dirent/Makefile: Likewise.
15647 * gmon/Makefile: Likewise.
15648 * po/Makefile: Likewise.
15649 * rt/Makefile: Likewise.
15650 * socket/Makefile: Likewise.
15651 * math/Makefile: Likewise.
15652 * signal/Makefile: Likewise.
15653 * debug/Makefile: Likewise.
15654 * elf/Makefile: Likewise.
15655 * timezone/Makefile: Likewise.
15656 * stdlib/Makefile: Likewise.
15657 * iconvdata/Makefile: Likewise.
15658 * sunrpc/Makefile: Likewise.
15659 * io/Makefile: Likewise.
15660 * argp/Makefile: Likewise.
15661 * inet/Makefile: Likewise.
15662 * hesiod/Makefile: Likewise.
15663 * grp/Makefile: Likewise.
15664 * csu/Makefile: Likewise.
15665 * wctype/Makefile: Likewise.
15666 * crypt/Makefile: Likewise.
15667 * libio/Makefile: Likewise.
15668 * string/Makefile: Likewise.
15669 * nis/Makefile: Likewise.
15670 * resolv/Makefile: Likewise.
15671 * stdio-common/Makefile: Likewise.
15672 * wcsmbs/Makefile: Likewise.
15673 * dlfcn/Makefile: Likewise.
15674 * posix/Makefile: Likewise.
15677 * timezone/Makefile: Don't install timezone files, just the programs
15680 2012-03-06 Ulrich Drepper <drepper@gmail.com>
15682 * nss/databases.def: Add missing gshadow entry.
15684 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15686 2012-03-06 Marek Polacek <polacek@redhat.com>
15689 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15690 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15691 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15692 * stdio-common/tst-long-dbl-fphex.c: New file.
15694 2012-03-06 David S. Miller <davem@davemloft.net>
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15697 (set_obp_int): New function.
15698 (get_obp_int): New function.
15699 (__get_clockfreq_via_dev_openprom): Likewise.
15700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15701 Avoid unused variable warnings on 'val' and use builtin_expect.
15702 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15704 (INLINE_CLONE_SYSCALL): Likewise.
15706 2012-03-05 David S. Miller <davem@davemloft.net>
15708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15710 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15715 only for |x| >= 40.
15716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15718 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
15720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15721 Replace gettimeofday with __vdso_gettimeofday.
15723 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15724 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15725 __vdso_clock_gettime and __vdso_getcpu.
15727 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15728 time with __vdso_time.
15730 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15732 * manual/lang.texi (size_t): Note types to which size_t may be
15733 equivalent with the GNU C Library, but do not describe when
15734 differences between them are significant.
15736 2012-03-05 Andreas Jaeger <aj@suse.de>
15738 * sysdeps/i386/fpu/libm-test-ulps: Update.
15740 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15743 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15744 (__ieee754_pow): Save and restore rounding mode and use
15745 round-to-nearest for main computations.
15746 * math/libm-test.inc (pow_test_tonearest): New function.
15747 (pow_test_towardzero): Likewise.
15748 (pow_test_downward): Likewise.
15749 (pow_test_upward): Likewise.
15750 (main): Call the new functions.
15751 * sysdeps/i386/fpu/libm-test-ulps: Update.
15752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15755 * math/libm-test.inc (cosh_test_tonearest): New function.
15756 (cosh_test_towardzero): Likewise.
15757 (cosh_test_downward): Likewise.
15758 (cosh_test_upward): Likewise.
15759 (sinh_test_tonearest): Likewise.
15760 (sinh_test_towardzero): Likewise.
15761 (sinh_test_downward): Likewise.
15762 (sinh_test_upward): Likewise.
15763 (main): Call the new functions.
15764 * sysdeps/i386/fpu/libm-test-ulps: Update.
15765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15767 2012-03-05 Tom de Vries <tom@codesourcery.com>
15769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15770 default stack guard is set in last bytes.
15771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15773 2012-03-05 Kees Cook <keescook@chromium.org>
15775 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15778 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15779 possibly allocate from heap instead of stack.
15780 * stdio-common/bug-vfprintf-nargs.c: New file.
15781 * stdio-common/Makefile (tests): Add nargs overflow test.
15783 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15787 2012-03-03 Marek Polacek <polacek@redhat.com>
15789 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15790 * math/math_private.h: Likewise.
15791 * stdlib/tst-strtod.c: Likewise.
15792 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15793 * sysdeps/x86_64/bits/atomic.h: Likewise.
15795 2012-03-02 David S. Miller <davem@davemloft.net>
15797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15801 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15802 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15803 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15804 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15806 2012-03-02 Roland McGrath <roland@hack.frob.com>
15809 * manual/examples/README: New file, says the example source files
15810 can be used under GPL>=2.
15811 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15812 line containing just "*/".
15813 * manual/examples/add.c: Add copyright header (GPL>=2).
15814 * manual/examples/argp-ex1.c: Likewise.
15815 * manual/examples/argp-ex2.c: Likewise.
15816 * manual/examples/argp-ex3.c: Likewise.
15817 * manual/examples/argp-ex4.c: Likewise.
15818 * manual/examples/atexit.c: Likewise.
15819 * manual/examples/db.c: Likewise.
15820 * manual/examples/dir.c: Likewise.
15821 * manual/examples/dir2.c: Likewise.
15822 * manual/examples/execinfo.c: Likewise.
15823 * manual/examples/filecli.c: Likewise.
15824 * manual/examples/filesrv.c: Likewise.
15825 * manual/examples/fmtmsgexpl.c: Likewise.
15826 * manual/examples/genpass.c: Likewise.
15827 * manual/examples/inetcli.c: Likewise.
15828 * manual/examples/inetsrv.c: Likewise.
15829 * manual/examples/isockad.c: Likewise.
15830 * manual/examples/longopt.c: Likewise.
15831 * manual/examples/memopen.c: Likewise.
15832 * manual/examples/memstrm.c: Likewise.
15833 * manual/examples/mkfsock.c: Likewise.
15834 * manual/examples/mkisock.c: Likewise.
15835 * manual/examples/mygetpass.c: Likewise.
15836 * manual/examples/pipe.c: Likewise.
15837 * manual/examples/popen.c: Likewise.
15838 * manual/examples/rprintf.c: Likewise.
15839 * manual/examples/search.c: Likewise.
15840 * manual/examples/select.c: Likewise.
15841 * manual/examples/setjmp.c: Likewise.
15842 * manual/examples/sigh1.c: Likewise.
15843 * manual/examples/sigusr.c: Likewise.
15844 * manual/examples/stpcpy.c: Likewise.
15845 * manual/examples/strdupa.c: Likewise.
15846 * manual/examples/strftim.c: Likewise.
15847 * manual/examples/strncat.c: Likewise.
15848 * manual/examples/subopt.c: Likewise.
15849 * manual/examples/swapcontext.c: Likewise.
15850 * manual/examples/termios.c: Likewise.
15851 * manual/examples/testopt.c: Likewise.
15852 * manual/examples/testpass.c: Likewise.
15853 * manual/examples/timeval_subtract.c: Likewise.
15856 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15858 * manual/timeval_subtract.c.texi: ... here, new file.
15860 2012-03-02 David S. Miller <davem@davemloft.net>
15862 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15864 2012-03-02 Joseph Myers <joseph@codesourcery.com>
15867 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15868 (__sin): Save and restore rounding mode and use round-to-nearest
15869 for all computations.
15870 (__cos): Save and restore rounding mode and use round-to-nearest
15871 for all computations.
15872 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15874 (tan): Save and restore rounding mode and use round-to-nearest for
15876 * math/libm-test.inc (cos_test_tonearest): New function.
15877 (cos_test_towardzero): Likewise.
15878 (cos_test_downward): Likewise.
15879 (cos_test_upward): Likewise.
15880 (sin_test_tonearest): Likewise.
15881 (sin_test_towardzero): Likewise.
15882 (sin_test_downward): Likewise.
15883 (sin_test_upward): Likewise.
15884 (tan_test_tonearest): Likewise.
15885 (tan_test_towardzero): Likewise.
15886 (tan_test_downward): Likewise.
15887 (tan_test_upward): Likewise.
15888 (main): Call the new functions.
15889 * sysdeps/i386/fpu/libm-test-ulps: Update.
15890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15893 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15894 small n, then large n, before computing and testing k+n.
15895 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15900 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15901 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15903 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15906 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15907 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15908 * math/libm-test.inc (scalbn_test): Add more tests.
15909 (scalbln_test): Likewise.
15911 * manual/filesys.texi (mode_t): Describe constraints on size and
15912 signedness, not exact equivalence to a particular type.
15914 (ino64_t): Likewise.
15916 (nlink_t): Likewise.
15917 (blkcnt_t): Likewise.
15918 (blkcnt64_t): Likewise.
15919 * manual/llio.texi (off_t): Likewise.
15922 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15923 (__ieee754_exp): Save and restore rounding mode and use
15924 round-to-nearest for all computations.
15925 * math/libm-test.inc (exp_test_tonearest): New function.
15926 (exp_test_towardzero): Likewise.
15927 (exp_test_downward): Likewise.
15928 (exp_test_upward): Likewise.
15929 (main): Call the new functions.
15930 * sysdeps/i386/fpu/libm-test-ulps: Update.
15931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15933 2012-03-01 Chris Demetriou <cgd@google.com>
15935 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15936 have predictable order.
15938 2012-03-01 David S. Miller <davem@davemloft.net>
15940 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15942 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15943 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15944 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15945 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15947 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15948 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15949 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15951 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15952 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15953 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15954 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15955 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15959 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15960 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15963 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15964 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15965 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15966 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15967 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15969 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15970 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15971 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15972 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15973 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15974 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15976 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15977 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15979 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15980 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15981 * sysdeps/sparc/elf/configure: Regenerated.
15983 2012-03-01 Joseph Myers <joseph@codesourcery.com>
15985 * configure.in (AS, LD): Require binutils 2.20 or later.
15986 * configure: Regenerated.
15987 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15988 as required minimum version.
15989 * INSTALL: Regenerated.
15993 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15994 before squaring exponent.
15995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15996 bottom long double and 27 bits of top long double before squaring
15998 * math/libm-test.inc (erfc_test): Add more tests.
15999 * sysdeps/i386/fpu/libm-test-ulps: Update.
16000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16003 2012-03-01 Kai Tietz <ktietz@redhat.com>
16005 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16006 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16007 containing bit-fields.
16008 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16009 * soft-fp/single.h (_FP_UNION_S): Likewise.
16010 * soft-fp/double.h (_FP_UNION_D): Likewise.
16012 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16015 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16016 not include ../strcmp.S.
16017 [USE_AS_STRNCASECMP_L]: Likewise.
16018 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16019 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16020 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16021 (__strncasecmp_l_ia32): Define as alias to
16022 __strncasecmp_l_nonascii.
16025 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16026 * sysdeps/i386/fpu/libm-test-ulps: Update.
16027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16029 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16032 2012-02-29 Jeff Law <law@redhat.com>
16034 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16035 out of bounds read.
16037 2012-02-29 Marek Polacek <polacek@redhat.com>
16040 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16041 * elf/Makefile: Add rules to run tst-unused-dep.out.
16043 2012-02-28 David S. Miller <davem@davemloft.net>
16045 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16046 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16048 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16049 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16050 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16052 2012-02-29 Joseph Myers <joseph@codesourcery.com>
16054 * math/libm-test.inc (llround_test): Move one test from
16055 lround_test. Use TEST_f_L in moved test.
16056 (lround_test): Move misplaced test to llround_test. Add testcase
16059 2012-02-28 Ulrich Drepper <drepper@gmail.com>
16061 * sysdeps/x86_64/fpu/e_expf.S: New file.
16062 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16064 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16067 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16068 of remain_len that may cause incomplete multi-byte character and
16070 * posix/bug-regex33.c: New file.
16071 * posix/Makefile (tests): Add bug-regex33.
16073 2012-02-28 Joseph Myers <joseph@codesourcery.com>
16075 * manual/macros.texi: New file.
16076 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16077 * manual/libc.texinfo: Include macros.texi.
16078 * manual/creatute.texi: Likewise.
16079 * manual/install.texi: Likewise.
16080 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16081 @glibcadj{} in references to the GNU C Library.
16082 * manual/charset.texi: Likewise.
16083 * manual/conf.texi: Likewise.
16084 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16085 when not using those macros.
16086 * manual/creature.texi: Likewise.
16087 * manual/crypt.texi: Likewise.
16088 * manual/errno.texi: Likewise.
16089 * manual/filesys.texi: Likewise.
16090 * manual/header.texi: Likewise.
16091 * manual/install.texi: Likewise.
16092 * manual/intro.texi: Likewise.
16093 * manual/io.texi: Likewise.
16094 * manual/job.texi: Likewise.
16095 * manual/lang.texi: Likewise.
16096 * manual/libc.texiinfo: Likewise.
16097 * manual/llio.texi: Likewise.
16098 * manual/locale.texi: Likewise.
16099 * manual/maint.texi: Likewise.
16100 * manual/math.texi: Likewise.
16101 * manual/memory.texi: Likewise.
16102 * manual/message.texi: Likewise.
16103 * manual/nss.texi: Likewise.
16104 * manual/pattern.texi: Likewise.
16105 * manual/process.texi: Likewise.
16106 * manual/resource.texi: Likewise.
16107 * manual/search.texi: Likewise.
16108 * manual/setjmp.texi: Likewise.
16109 * manual/signal.texi: Likewise.
16110 * manual/socket.texi: Likewise.
16111 * manual/startup.texi: Likewise.
16112 * manual/stdio.texi: Likewise.
16113 * manual/string.texi: Likewise.
16114 * manual/sysinfo.texi: Likewise.
16115 * manual/syslog.texi: Likewise.
16116 * manual/terminal.texi: Likewise.
16117 * manual/time.texi: Likewise.
16118 * manual/users.texi: Likewise.
16119 * INSTALL: Regenerated.
16120 * NOTES: Regenerated.
16121 * sysdeps/gnu/errlist.c: Regenerated.
16123 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16125 * include/dirent.h: Include <dirstream.h> before
16128 2012-02-28 David S. Miller <davem@davemloft.net>
16130 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16131 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16132 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16133 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16135 2012-02-27 David S. Miller <davem@davemloft.net>
16137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16139 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16140 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16143 frame pointer instead of stack pointer relative arg slot.
16144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16145 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16146 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16148 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16151 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16153 2012-02-27 David S. Miller <davem@davemloft.net>
16155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16159 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16160 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16161 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16162 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16164 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16166 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16167 later. Allow versions 5-9.
16168 * configure: Regenerated.
16169 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16170 required minimum version and 4.6 as recommended version. Do not
16171 mention bugs in GCC 2.7 and 2.8.
16172 * INSTALL: Regenerated.
16174 2012-02-27 David S. Miller <davem@davemloft.net>
16176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16180 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16181 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16182 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16183 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16185 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16186 manipulate bits before adding and subtracting TWO112[sx].
16187 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16189 2012-02-27 Roland McGrath <roland@hack.frob.com>
16192 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16193 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16194 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16195 being in POSIX, because they are in 1003.1-2008.
16197 * rt/tst-aio.c: Include <fcntl.h>.
16198 * rt/tst-aio7.c: Likewise.
16199 * rt/tst-aio64.c: Likewise.
16201 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16203 2012-02-27 Joseph Myers <joseph@codesourcery.com>
16205 * manual/install.texi (--with-headers): Describe headers as
16206 interface headers, not private headers.
16207 (Specific advice for GNU/Linux systems): Describe use of headers
16208 from "make headers_install", not private headers from older
16210 * INSTALL: Regenerated.
16211 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16213 * sysdeps/unix/sysv/linux/configure: Regenerated.
16215 * manual/llio.texi (fclean): Remove documentation.
16217 * manual/Makefile (libc-texi-generated): New variable. Include
16219 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16220 $(libc-texi-generated), not duplicated list of files.
16221 (version.texi, stamp-version): New rules.
16222 (realclean): Remove $(libc-texi-generated), not individual files
16223 from that list. Do not remove dir-add.texinfo.
16224 * manual/libc.texinfo: Comment out uses of edition numbers and
16225 references to printed manual. Remove last-updated dates.
16226 (EDITION): Comment out.
16228 (VERSION, UPDATED): Remove.
16229 (version.texi): Include.
16231 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16233 * sysdeps/posix/spawni.c: Include <signal.h>.
16234 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16235 * sysdeps/pthread/aio_fsync.c: Likewise.
16237 2012-02-26 Ulrich Drepper <drepper@gmail.com>
16239 * conform/Makefile (tests): Run only when not cross-compiling and
16240 when fast-check is not defined.
16242 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16243 * conform/data/limits.h-data: Fixes for POSIX2008.
16244 * conform/run-conformtest.sh: Run all tests.
16245 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16247 * include/bits/dlfcn.h: Likewise.
16248 * include/langinfo.h: Likewise.
16249 * include/monetary.h: Likewise.
16250 * include/sys/poll.h: Likewise.
16252 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16254 * posix/spawn.h: Define __need_sigset_t.
16255 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16256 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16257 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16258 to get sigevent_t only.
16259 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16260 only for __USE_GNU.
16261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16262 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16263 process_vm_writev only for __USE_GNU.
16264 * termios/termios.h: Declare tcgetsid also for POSIX2008.
16266 * conform/Makefile: For now ignore errors from run-conformtest.
16267 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16268 POSIX to avoid namespace pollution. Don't prepend headers.
16269 * conform/data/aio.h-data: Fixes for POSIX testing.
16270 * conform/data/fcntl.h-data: Likewise.
16271 * conform/data/glob.h-data: Likewise.
16272 * conform/data/grp.h-data: Likewise.
16273 * conform/data/pthread.h-data: Likewise.
16274 * conform/data/pwd.h-data: Likewise.
16275 * conform/data/signal.h-data: Likewise.
16276 * conform/data/spawn.h-data: Likewise.
16277 * conform/data/stdio.h-data: Likewise.
16278 * conform/data/stdlib.h-data: Likewise.
16279 * conform/data/stropts.h-data: Likewise.
16280 * conform/data/sys/mman.h-data: Likewise.
16281 * conform/data/sys/stat.h-data: Likewise.
16282 * conform/data/sys/types.h-data: Likewise.
16283 * conform/data/sys/wait.h-data: Likewise.
16284 * conform/data/time.h-data: Likewise.
16285 * conform/data/unistd.h-data: Likewise.
16286 * conform/data/utime.h-data: Likewise.
16288 * io/sys/stat.h: fchmod was always in POSIX.
16289 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16290 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16291 * rt/aio.h: Define __need_timespec before including <time.h>.
16292 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16293 struct. Add forward declaration of pthread_attr_t and use it in
16295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16297 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16298 always remove CLK_TCK definition.
16300 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16302 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16304 2012-02-25 Ulrich Drepper <drepper@gmail.com>
16306 * conform/run-conformtest.sh: New file.
16307 * conform/Makefile: Run run-conformtest for tests.
16308 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16311 * conform/data/uchar.h-data: New file.
16312 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16313 * conform/data/arpa/inet.h-data: Likewise.
16314 * conform/data/assert.h-data: Likewise.
16315 * conform/data/complex.h-data: Likewise.
16316 * conform/data/cpio.h-data: Likewise.
16317 * conform/data/ctype.h-data: Likewise.
16318 * conform/data/dirent.h-data: Likewise.
16319 * conform/data/dlfcn.h-data: Likewise.
16320 * conform/data/errno.h-data: Likewise.
16321 * conform/data/fcntl.h-data: Likewise.
16322 * conform/data/float.h-data: Likewise.
16323 * conform/data/fmtmsg.h-data: Likewise.
16324 * conform/data/fnmatch.h-data: Likewise.
16325 * conform/data/ftw.h-data: Likewise.
16326 * conform/data/glob.h-data: Likewise.
16327 * conform/data/grp.h-data: Likewise.
16328 * conform/data/iconv.h-data: Likewise.
16329 * conform/data/inttypes.h-data: Likewise.
16330 * conform/data/langinfo.h-data: Likewise.
16331 * conform/data/libgen.h-data: Likewise.
16332 * conform/data/limits.h-data: Likewise.
16333 * conform/data/locale.h-data: Likewise.
16334 * conform/data/math.h-data: Likewise.
16335 * conform/data/monetary.h-data: Likewise.
16336 * conform/data/mqueue.h-data: Likewise.
16337 * conform/data/ndbm.h-data: Likewise.
16338 * conform/data/net/if.h-data: Likewise.
16339 * conform/data/netdb.h-data: Likewise.
16340 * conform/data/netinet/in.h-data: Likewise.
16341 * conform/data/nl_types.h-data: Likewise.
16342 * conform/data/poll.h-data: Likewise.
16343 * conform/data/pthread.h-data: Likewise.
16344 * conform/data/pwd.h-data: Likewise.
16345 * conform/data/regex.h-data: Likewise.
16346 * conform/data/sched.h-data: Likewise.
16347 * conform/data/search.h-data: Likewise.
16348 * conform/data/semaphore.h-data: Likewise.
16349 * conform/data/setjmp.h-data: Likewise.
16350 * conform/data/signal.h-data: Likewise.
16351 * conform/data/spawn.h-data: Likewise.
16352 * conform/data/stdarg.h-data: Likewise.
16353 * conform/data/stdio.h-data: Likewise.
16354 * conform/data/stdlib.h-data: Likewise.
16355 * conform/data/string.h-data: Likewise.
16356 * conform/data/strings.h-data: Likewise.
16357 * conform/data/stropts.h-data: Likewise.
16358 * conform/data/sys/ipc.h-data: Likewise.
16359 * conform/data/sys/mman.h-data: Likewise.
16360 * conform/data/sys/msg.h-data: Likewise.
16361 * conform/data/sys/resource.h-data: Likewise.
16362 * conform/data/sys/select.h-data: Likewise.
16363 * conform/data/sys/sem.h-data: Likewise.
16364 * conform/data/sys/shm.h-data: Likewise.
16365 * conform/data/sys/socket.h-data: Likewise.
16366 * conform/data/sys/stat.h-data: Likewise.
16367 * conform/data/sys/statvfs.h-data: Likewise.
16368 * conform/data/sys/time.h-data: Likewise.
16369 * conform/data/sys/timeb.h-data: Likewise.
16370 * conform/data/sys/times.h-data: Likewise.
16371 * conform/data/sys/types.h-data: Likewise.
16372 * conform/data/sys/uio.h-data: Likewise.
16373 * conform/data/sys/un.h-data: Likewise.
16374 * conform/data/sys/utsname.h-data: Likewise.
16375 * conform/data/sys/wait.h-data: Likewise.
16376 * conform/data/syslog.h-data: Likewise.
16377 * conform/data/tar.h-data: Likewise.
16378 * conform/data/termios.h-data: Likewise.
16379 * conform/data/utime.h-data: Likewise.
16380 * conform/data/utmpx.h-data: Likewise.
16381 * conform/data/varargs.h-data: Likewise.
16382 * conform/data/wchar.h-data: Likewise.
16383 * conform/data/wctype.h-data: Likewise.
16384 * conform/data/wordexp.h-data: Likewise.
16386 * include/stropts.h: New file.
16387 * include/uchar.h: New file.
16388 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16389 * include/assert.h: Likewise.
16390 * include/ctype.h: Likewise.
16391 * include/dirent.h: Likewise.
16392 * include/dlfcn.h: Likewise.
16393 * include/fcntl.h: Likewise.
16394 * include/fnmatch.h: Likewise.
16395 * include/glob.h: Likewise.
16396 * include/grp.h: Likewise.
16397 * include/libio.h: Likewise.
16398 * include/locale.h: Likewise.
16399 * include/math.h: Likewise.
16400 * include/net/if.h: Likewise.
16401 * include/netdb.h: Likewise.
16402 * include/netinet/in.h: Likewise.
16403 * include/pthread.h: Likewise.
16404 * include/pwd.h: Likewise.
16405 * include/regex.h: Likewise.
16406 * include/sched.h: Likewise.
16407 * include/search.h: Likewise.
16408 * include/setjmp.h: Likewise.
16409 * include/signal.h: Likewise.
16410 * include/stdio.h: Likewise.
16411 * include/stdlib.h: Likewise.
16412 * include/string.h: Likewise.
16413 * include/sys/cdefs.h: Likewise.
16414 * include/sys/mman.h: Likewise.
16415 * include/sys/msg.h: Likewise.
16416 * include/sys/resource.h: Likewise.
16417 * include/sys/select.h: Likewise.
16418 * include/sys/socket.h: Likewise.
16419 * include/sys/stat.h: Likewise.
16420 * include/sys/statvfs.h: Likewise.
16421 * include/sys/time.h: Likewise.
16422 * include/sys/times.h: Likewise.
16423 * include/sys/uio.h: Likewise.
16424 * include/sys/utsname.h: Likewise.
16425 * include/sys/wait.h: Likewise.
16426 * include/termios.h: Likewise.
16427 * include/time.h: Likewise.
16428 * include/ulimit.h: Likewise.
16429 * include/unistd.h: Likewise.
16430 * include/utime.h: Likewise.
16431 * include/wchar.h: Likewise.
16432 * include/wctype.h: Likewise.
16433 * include/wordexp.h: Likewise.
16435 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16437 * time/time.h: TIME_UTC must be a macro.
16438 Make timespec_get available for ISO C11 only as well.
16440 2012-02-24 Ulrich Drepper <drepper@gmail.com>
16442 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16443 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16445 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16447 * configure.in: Use -o not -a in test for unsupported multi-arch.
16449 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16451 * manual/texinfo.tex: Update to version 2012-01-19.16.
16453 2012-02-24 Joseph Myers <joseph@codesourcery.com>
16455 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16457 2012-02-24 Roland McGrath <roland@hack.frob.com>
16460 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16461 * manual/fdl-1.3.texi: New file.
16462 * manual/fdl-1.1.texi: File removed.
16465 * manual/libc.texinfo (FDL_VERSION): New @set.
16466 Use it for mention of FDL in cover text.
16467 (Documentation License): Use it in @include file name.
16469 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16470 Roland McGrath <roland@hack.frob.com>
16473 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16474 not LONG_LONG_MAX and LONG_LONG_MIN.
16475 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16476 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16478 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16480 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16484 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16485 manipulate bits before adding and subtracting TWO23[sx].
16486 * math/libm-test.inc (nearbyint_test): Add more tests.
16488 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16491 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16492 bits before adding and subtracting TWO23[sx].
16493 * math/libm-test.inc (rint_test): Add more tests.
16494 (rint_test_tonearest): Likewise.
16495 (rint_test_towardzero): Likewise.
16496 (rint_test_downward): Likewise.
16497 (rint_test_upward: Likewise.
16499 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16502 * include/stdc-predef.h: New file. Extracted from features.h.
16503 * include/features.h: Include stdc-predef.h.
16504 * Makefile (headers): Add stdc-predef.h.
16505 * CONFORMANCE (Compiler limitations): Update.
16507 2012-02-22 Joseph Myers <joseph@codesourcery.com>
16509 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16511 2012-02-21 David S. Miller <davem@davemloft.net>
16513 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16514 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16516 2012-02-20 David S. Miller <davem@davemloft.net>
16518 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16519 using a normal save/restore sequence, rather than allocating a
16520 dummy stack frame just to store a frame pointer and restore.
16521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16523 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16525 * manual/install.texi: Fix stray word in line-wrapped comment.
16527 2012-02-20 David S. Miller <davem@davemloft.net>
16529 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16530 both binutils and gcc support GOTDATA.
16532 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16533 "rd %pc" in the PIC register setup sequences.
16535 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16536 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16537 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16538 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16539 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16543 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16544 (SYSCALL_ERROR_HANDLER): Likewise.
16545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16548 (SYSCALL_ERROR_HANDLER): Likewise.
16550 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16551 (HAVE_GCC_GOTDATA): New.
16552 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16553 relocation support in both binutils and gcc.
16554 * sysdeps/sparc/elf/configure: Regenerate.
16556 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16557 * sysdeps/sparc/sparc32/elf/configure: Delete.
16558 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16559 * sysdeps/sparc/sparc64/elf/configure: Delete.
16560 * sysdeps/sparc/elf/configure.in: New file.
16561 * sysdeps/sparc/elf/configure: Generate.
16563 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16564 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16565 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16566 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16567 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16569 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16571 * manual/install.texi: Do not mention specific glibc version
16573 * manual/libc.texinfo (VERSION, UPDATED): Update.
16574 (@copying): Use @copyright{} and range of years.
16576 2012-02-21 Joseph Myers <joseph@codesourcery.com>
16579 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16580 [crti.S not in sysdirs] (generated): Do not append.
16581 [crti.S not in sysdirs] (omit-deps): Likewise.
16582 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16583 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16584 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16585 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16586 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16588 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16589 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16590 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16591 * csu/defs.awk: Remove file.
16592 * sysdeps/generic/initfini.c: Likewise.
16593 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16595 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16598 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16600 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16601 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16602 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16603 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16605 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16607 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16608 (__EPOLL_PACKED): Define to empty if not defined by
16610 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16614 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16616 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16617 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16618 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16619 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16621 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16625 2012-02-20 Joseph Myers <joseph@codesourcery.com>
16627 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16630 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16631 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16634 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16636 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16637 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16639 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16641 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16642 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16644 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16646 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16649 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16651 * math/w_acos.c: Use non-signaling floating-point comparisons.
16652 * math/w_acosf.c: Likewise.
16653 * math/w_acosh.c: Likewise.
16654 * math/w_acoshf.c: Likewise.
16655 * math/w_acoshl.c: Likewise.
16656 * math/w_acosl.c: Likewise.
16657 * math/w_asin.c: Likewise.
16658 * math/w_asinf.c: Likewise.
16659 * math/w_asinl.c: Likewise.
16660 * math/w_atanh.c: Likewise.
16661 * math/w_atanhf.c: Likewise.
16662 * math/w_atanhl.c: Likewise.
16663 * math/w_exp2.c: Likewise.
16664 * math/w_exp2f.c: Likewise.
16665 * math/w_exp2l.c: Likewise.
16666 * math/w_j0.c: Likewise.
16667 * math/w_j0f.c: Likewise.
16668 * math/w_j0l.c: Likewise.
16669 * math/w_j1.c: Likewise.
16670 * math/w_j1f.c: Likewise.
16671 * math/w_j1l.c: Likewise.
16672 * math/w_jn.c: Likewise.
16673 * math/w_jnf.c: Likewise.
16674 * math/w_log.c: Likewise.
16675 * math/w_log10.c: Likewise.
16676 * math/w_log10f.c: Likewise.
16677 * math/w_log10l.c: Likewise.
16678 * math/w_log2.c: Likewise.
16679 * math/w_log2f.c: Likewise.
16680 * math/w_log2l.c: Likewise.
16681 * math/w_logf.c: Likewise.
16682 * math/w_logl.c: Likewise.
16683 * math/w_sqrt.c: Likewise.
16684 * math/w_sqrtf.c: Likewise.
16685 * math/w_sqrtl.c: Likewise.
16686 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16687 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16690 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16692 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16695 * manual/string.texi (strnlen): Use correct parameter name in
16696 equivalent expression.
16698 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16701 * manual/users.texi (seteuid): Consistently use neweuid for
16704 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16707 * manual/nss.texi (Services in the NSS configuration): Correct
16708 list of services in example configuration file.
16710 2012-02-19 Nick Bowler <nbowler@draconx.ca>
16713 * manual/arith.texi: Remove statements about negative zero
16714 behaving identically to zero.
16716 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16719 * manual/install.texi: Do not document upgrading from libc5.
16721 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16724 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16726 2012-02-18 David S. Miller <davem@davemloft.net>
16728 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16729 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16730 %o7 across the call.
16731 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16734 SETUP_PIC_REG_LEAF.
16735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16736 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16737 * sysdeps/sparc/crtn.S: Likewise.
16739 2012-02-17 Ulrich Drepper <drepper@gmail.com>
16741 * aout/Makefile: Remove.
16743 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16746 * manual/examples/argp-ex1.c (main): Format definition in GNU
16748 * manual/examples/argp-ex2.c (main): Likewise.
16749 * manual/examples/argp-ex3.c (main): Likewise.
16750 * manual/examples/argp-ex4.c (main): Likewise.
16751 * manual/examples/longopt.c (main): Use new-style prototype
16753 * manual/examples/strncat.c (main): Specify return type and use
16754 (void) for arguments.
16755 * manual/examples/subopt.c (main): Use char **argv argument.
16757 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16760 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16763 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16766 * manual/string.texi (strchr): Change when strchrnul is
16769 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16772 * manual/locale.texi (setlocale): Document LOCPATH.
16774 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16777 * manual/process.texi (execle): Move @dots{} before last argument.
16779 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
16782 * manual/charset.texi (Generic Charset Conversion): Fix typo
16783 (LC_TYPE -> LC_CTYPE).
16785 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16788 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16789 (scalbnf): Likewise.
16790 (scalbnl): Likewise.
16791 (scalbln): Likewise.
16792 (scalblnf): Likewise.
16793 (scalblnl): Likewise.
16794 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16795 (vwarnx): Likewise.
16798 * manual/filesys.texi (telldir): Use braces around return type.
16799 * manual/llio.texi (mmap): Add space after comma.
16800 (mmap64): Likewise.
16801 * manual/math.texi (jn): Use @var{} on parameter names.
16807 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16809 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16811 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16812 (sched_get_priority_max): Likewise.
16813 * manual/signal.texi (sigvec): Add space after comma.
16814 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16816 (if_indextoname): Likewise.
16817 (if_freenameindex): Likewise.
16818 (sendto): Use ',' instead of '.' in prototype.
16819 * manual/startup.texi (syscall): Use @dots{} instead of literal
16821 * manual/stdio.texi (__fpending): Separate initial words of
16822 paragraph from @deftypefun line.
16823 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16825 (vsyslog): Use @var{} on parameter names.
16826 * manual/terminal.texi (stty): Use @var{} on parameter names.
16827 * manual/users.texi (getutmp): Use @var{} on parameter names.
16828 (getutmpx): Likewise.
16830 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16833 * manual/stdio.texi (fopen): Fix typos in description of
16836 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16839 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16840 get clock_id definition.
16842 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
16845 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16846 (madvise): Cast every argument to void on its own.
16848 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16851 * manual/startup.texi (Exit Status): Fix typo.
16853 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16856 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16857 * manual/examples/argp-ex2.c: Likewise.
16858 * manual/examples/argp-ex3.c: Likewise.
16860 2012-02-16 Richard Henderson <rth@redhat.com>
16862 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16863 * sysdeps/s390/s390-32/initfini.c: Remove.
16864 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16865 * sysdeps/s390/s390-64/initfini.c: Remove.
16867 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16869 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16870 compiler output for sysdeps/generic/initfini.c.
16871 * sysdeps/sh/elf/initfini.c: Remove file.
16873 2012-02-16 David S. Miller <davem@davemloft.net>
16876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16878 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16879 * sysdeps/sparc/crti.S: New file.
16880 * sysdeps/sparc/crtn.S: New file.
16881 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16882 * sysdeps/sparc/sparc64/Makefile: Likewise.
16884 2012-02-15 Mike Frysinger <vapier@gentoo.org>
16887 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16889 2012-02-15 Roland McGrath <roland@hack.frob.com>
16892 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16894 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16895 (write, read, close): Likewise.
16896 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16898 2012-02-15 Joseph Myers <joseph@codesourcery.com>
16900 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16901 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16902 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16903 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16905 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16909 2012-02-14 Marek Polacek <polacek@redhat.com>
16911 * sysdeps/x86_64/crti.S: New file.
16912 * sysdeps/x86_64/crtn.S: New file.
16913 * sysdeps/x86_64/elf/initfini.c: Remove file.
16915 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16917 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16918 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16919 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16920 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16922 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16926 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16928 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16929 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16930 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16931 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16933 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16937 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16939 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16940 __feraiseexcept instead of feraiseexcept.
16942 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16943 nanosleep invocations.
16944 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16945 strings, and add error checking for a nanosleep invocations.
16947 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16949 Replace FSF snail mail address with URLs, as per GNU coding standards.
16950 Most of the snail mail addresses were wrong anyway, and omitting
16951 them makes the source code easier to maintain. Almost all of the
16952 changes are to license notices and to locale LC_IDENTIFICATION
16953 addresses, except for this one:
16954 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16955 not its snail mail address.
16957 2012-02-09 Richard Henderson <rth@twiddle.net>
16959 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16960 of kernel-features.h.
16962 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16964 2012-02-08 Marek Polacek <polacek@redhat.com>
16966 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16967 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16968 * sysdeps/gnu/_G_config.h: Likewise.
16969 * sysdeps/generic/_G_config.h: Likewise.
16971 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16973 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16977 * sysdeps/powerpc/powerpc32/crti.S: New file.
16978 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16979 * sysdeps/powerpc/powerpc64/crti.S: New file.
16980 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16982 * Makeconfig (have-initfini): Don't set.
16983 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16984 * configure.in (nopic_initfini): Don't substitute.
16985 * config.h.in (HAVE_INITFINI): Don't #undef.
16986 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16987 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16989 2012-02-08 Joseph Myers <joseph@codesourcery.com>
16991 Support crti.S and crtn.S provided directly by architectures.
16992 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16993 [crti.S in sysdirs] (omit-deps): Likewise.
16994 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16995 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16996 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16997 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16998 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16999 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17000 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17001 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17002 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17003 compiler output for sysdeps/generic/initfini.c.
17004 * sysdeps/i386/elf/Makefile: Remove file.
17005 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17007 2012-02-07 Marek Polacek <polacek@redhat.com>
17009 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17010 * sysdeps/gnu/_G_config.h: Likewise.
17011 * sysdeps/mach/hurd/_G_config.h: Likewise.
17013 2012-02-07 Marek Polacek <polacek@redhat.com>
17015 * math/Makefile (tests): Add tst-CMPLX2.
17016 * math/tst-CMPLX2.c: New file.
17018 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17020 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17022 * math/libm-test.inc (jn_test): Add missing L suffix.
17024 2012-02-06 Marek Polacek <polacek@redhat.com>
17026 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17027 * sysdeps/i386/fpu/e_powf.S: Likewise.
17028 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17029 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17030 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17031 * sysdeps/i386/fpu/e_pow.S: Likewise.
17032 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17034 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17035 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17036 * sysdeps/i386/fpu/e_log2.S: Likewise.
17037 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17038 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17039 * sysdeps/i386/fpu/e_powl.S: Likewise.
17040 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17042 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17043 * sysdeps/i386/fpu/e_logl.S: Likewise.
17044 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17045 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17046 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17047 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17048 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17049 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17050 * sysdeps/i386/fpu/e_log.S: Likewise.
17051 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17053 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17054 * sysdeps/i386/fpu/e_logf.S: Likewise.
17055 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17056 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17057 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17058 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17059 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17060 * sysdeps/i386/fpu/e_log10.S: Likewise.
17061 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17062 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17063 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17064 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17065 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17066 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17067 * sysdeps/i386/asm-syntax.h: Likewise.
17068 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17069 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17070 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17071 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17072 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17073 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17074 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17075 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17076 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17077 * sysdeps/powerpc/sysdep.h: Likewise.
17078 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17079 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17081 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17084 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17086 2012-02-06 Joseph Myers <joseph@codesourcery.com>
17088 * sysdeps/i386/sysdep.h: Include <features.h>.
17089 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17092 2012-02-05 Joseph Myers <joseph@codesourcery.com>
17094 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17096 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17099 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17101 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17102 (SETUP_PIC_REG): Use GET_PC_THUNK.
17103 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17106 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17108 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17109 for non-PIC compilation.
17110 (SETUP_PIC_REG): Add .p2align directive.
17111 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17112 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17114 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17115 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17116 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17117 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17126 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17127 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17128 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17129 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17130 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17132 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17133 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17134 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17139 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17143 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17144 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17145 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17146 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17147 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17148 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17149 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17150 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17151 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17153 2012-02-03 Joseph Myers <joseph@codesourcery.com>
17155 * math/tst-CMPLX.c: Include <stdio.h>.
17157 2012-01-31 Joseph Myers <joseph@codesourcery.com>
17159 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17161 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17162 * sysdeps/sparc/bits/mathdef.h: Likewise.
17164 2012-01-31 Marek Polacek <polacek@redhat.com>
17166 * libio/libio.h: Don't define _PARAMS.
17167 * locale/programs/config.h: Don't define PARAMS.
17168 * stdlib/strtol_l.c: Likewise.
17169 (__strtol_l): Remove PARAMS from the prototype.
17171 2012-01-31 Ulrich Drepper <drepper@gmail.com>
17173 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17174 names. Just use the correct names. Remove unnecessary wrapper
17176 * malloc/arena.c: Likewise.
17177 * malloc/hooks.c: Likewise.
17179 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17180 ARENA_TEST says not to. Simplify test for creation of a new arena.
17181 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17183 2012-01-30 Ulrich Drepper <drepper@gmail.com>
17185 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17187 (update_get_addr): New function.
17188 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17189 GET_ADDR_MODULE parameter.
17191 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17193 * crypt/cert.c: Remove __STDC__ conditionals.
17194 * crypt/crypt-entry.c: Likewise.
17195 * crypt/crypt_util.c: Likewise.
17196 * libio/filedoalloc.c: Likewise.
17197 * libio/fileops.c: Likewise.
17198 * libio/genops.c: Likewise.
17199 * libio/iofclose.c: Likewise.
17200 * libio/iofdopen.c: Likewise.
17201 * libio/iofopen.c: Likewise.
17202 * libio/iofopen64.c: Likewise.
17203 * libio/iogetdelim.c: Likewise.
17204 * libio/iopopen.c: Likewise.
17205 * libio/obprintf.c: Likewise.
17206 * libio/oldfileops.c: Likewise.
17207 * libio/oldiofclose.c: Likewise.
17208 * libio/oldiofdopen.c: Likewise.
17209 * libio/oldiofopen.c: Likewise.
17210 * libio/oldiopopen.c: Likewise.
17211 * libio/wfiledoalloc.c: Likewise.
17212 * libio/wgenops.c: Likewise.
17213 * locale/programs/xmalloc.c: Likewise.
17214 * misc/syslog.c: Likewise.
17215 * stdio-common/xbug.c: Likewise.
17216 * string/memchr.c: Likewise.
17217 * string/memcmp.c: Likewise.
17218 * string/memrchr.c: Likewise.
17219 * string/rawmemchr.c: Likewise.
17220 * sysdeps/posix/getcwd.c: Likewise.
17221 * time/strftime_l.c: Likewise.
17223 2012-01-30 Joseph Myers <joseph@codesourcery.com>
17225 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
17226 * config.make.in (config-cflags-sse2avx): Define.
17227 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17230 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17232 * scripts/config.guess: Update from upstream config git repository.
17233 * scripts/config.sub: Likewise.
17235 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17237 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17239 (R_TILEPRO_*, R_TILEGX_*): New macros.
17241 * scripts/firstversions.awk: Fix bug in version range handling.
17243 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17245 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17247 * include/sys/epoll.h: New file.
17248 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17251 2012-01-28 Ulrich Drepper <drepper@gmail.com>
17253 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17254 Avoid unnecessary __WORDSIZE == 64 test.
17255 (fmaxf): Use VEX format if possible.
17260 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17261 * math/math_private.h: Remove libc_fegetround* and
17263 * sysdeps/i386/configure.in: Check for -msse2avx.
17264 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17265 also if SSE2AVX is defined.
17266 Remove libc_fegetround* and libc_fesetround*.
17267 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17268 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17277 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17279 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17281 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17283 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17285 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17288 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17290 * Makeconfig (libm): Define.
17291 * elf/Makefile: Add rules to build and run tst-relsort1.
17292 * elf/tst-relsort1.c: New file.
17293 * elf/tst-relsort1mod1.c: New file.
17294 * elf/tst-relsort1mod2.c: New file.
17296 2012-01-27 Joseph Myers <joseph@codesourcery.com>
17298 * math/s_ldexp.c: Remove __STDC__ conditionals.
17299 * math/s_ldexpf.c: Likewise.
17300 * math/s_ldexpl.c: Likewise.
17301 * math/s_nextafter.c: Likewise.
17302 * math/s_nexttowardf.c: Likewise.
17303 * math/s_significand.c: Likewise.
17304 * math/s_significandf.c: Likewise.
17305 * math/s_significandl.c: Likewise.
17306 * math/w_jnl.c: Likewise.
17307 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17308 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17309 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17310 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17311 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17326 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17327 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17328 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17329 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17330 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17331 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17332 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17333 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17334 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17335 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17336 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17337 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17340 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17341 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17342 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17343 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17344 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17345 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17346 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17347 * sysdeps/ieee754/k_standard.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17408 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17414 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17422 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17423 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17425 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17427 * sysdeps/ieee754/s_matherr.c: Likewise.
17428 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17433 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17435 * crypt/md5.h: Remove __STDC__ conditionals.
17436 * libio/libioP.h: Likewise.
17437 * locale/programs/config.h: Likewise.
17438 * sysdeps/generic/sysdep.h: Likewise.
17439 * sysdeps/i386/asm-syntax.h: Likewise.
17440 * sysdeps/s390/asm-syntax.h: Likewise.
17441 * sysdeps/unix/sysdep.h: Likewise.
17442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17445 2012-01-26 Joseph Myers <joseph@codesourcery.com>
17447 * libio/libio.h: Remove __STDC__ conditionals.
17448 * malloc/obstack.h: Likewise.
17449 * math/complex.h: Likewise.
17450 * math/math.h: Likewise.
17451 * sysdeps/generic/_G_config.h: Likewise.
17452 * sysdeps/gnu/_G_config.h: Likewise.
17453 * sysdeps/mach/hurd/_G_config.h: Likewise.
17454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17455 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17456 * sysdeps/sparc/bits/mathdef.h: Likewise.
17458 2012-01-26 Ulrich Drepper <drepper@gmail.com>
17461 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
17462 Clean up HAS_* macros.
17463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
17464 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17466 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17474 2012-01-25 Joseph Myers <joseph@codesourcery.com>
17476 * elf/tst-unique3.cc (gets): Remove declaration.
17477 * elf/tst-unique3lib.cc (gets): Likewise.
17478 * elf/tst-unique3lib2.cc (gets): Likewise.
17479 * elf/tst-unique4.cc (gets): Likewise.
17481 2012-01-24 Ulrich Drepper <drepper@gmail.com>
17483 * include/stdio.h: Add C++ protection. Add gets declarations and
17485 * debug/tst-chk1.c: Don't declare gets here.
17486 * stdio-common/tst-gets.c: Likewise.
17488 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17490 * posix/glob: Remove directory.
17492 2012-01-24 Joseph Myers <joseph@codesourcery.com>
17494 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17496 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17498 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17499 of the non-standard EPFNOSUPPORT.
17501 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17503 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17504 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17505 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17507 2012-01-21 Ulrich Drepper <drepper@gmail.com>
17509 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17511 2012-01-20 Ulrich Drepper <drepper@gmail.com>
17513 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17515 * nscd/grpcache.c (cache_addgr): Likewise.
17516 * nscd/hstcache.c (cache_addhst): Likewise.
17517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17518 * nscd/pwdcache.c (cache_addpw): Likewise.
17519 * nscd/servicescache.c (cache_addserv): Likewise.
17521 2012-01-16 Ulrich Drepper <drepper@gmail.com>
17523 * malloc/malloc.c: Various cleanups.
17524 * malloc/hooks.c: Likewise.
17526 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17527 * stdlib/bug-fmtmsg1.c: New file.
17529 * stdlib/fmtmsg.c (init): Add missing unlock.
17530 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17532 2012-01-12 Marek Polacek <polacek@redhat.com>
17534 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17537 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17539 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17540 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17541 macro to ensure uniqueness of label name.
17542 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17543 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17545 2012-01-11 Ulrich Drepper <drepper@gmail.com>
17547 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17549 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17550 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17554 2012-01-10 Ulrich Drepper <drepper@gmail.com>
17556 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17558 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17559 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17560 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17562 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17564 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
17565 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17566 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
17569 * math/bits/math-finite.h: Add ldexp support.
17571 2012-01-10 Marek Polacek <polacek@redhat.com>
17573 * locale/programs/localedef.h (show_archive_content): Add noreturn
17576 2012-01-09 Ulrich Drepper <drepper@gmail.com>
17578 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17580 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17582 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17584 * io/Makefile (headers): Add bits/poll2.h.
17586 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17589 typo #include statement.
17591 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17593 * include/sys/cdefs.h: Define __attribute_alloc_size.
17594 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17595 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17596 * elf/pldd.c: Likewise.
17597 * iconv/iconv_charmap.c: Likewise.
17598 * iconv/iconvconfig.c: Likewise.
17599 * iconv/strtab.c: Likewise.
17600 * locale/programs/locale.c: Likewise.
17601 * locale/programs/localedef.h: Likewise.
17602 * locale/programs/simple-hash.c: Likewise.
17603 * nscd/nscd.h: Likewise.
17604 * nss/makedb.c: Likewise.
17605 * sysdeps/generic/ldconfig.h: Likewise.
17606 * locale/programs/localedef.c: Remove xmalloc prototype.
17607 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17609 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17611 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17614 2012-01-08 Ulrich Drepper <drepper@gmail.com>
17616 * math/Makefile (tests): Add tst-CMPLX.
17617 * math/tst-CMPLX.c: New file.
17619 * math/complex.h (CMPLXL): Fix typo.
17621 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17622 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17624 * debug/tst-chk1.c: Add poll and ppoll tests.
17625 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17626 * include/sys/poll.h: Add hidden proto for ppoll.
17627 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17628 * sysdeps/mach/hurd/ppoll.c: Likewise.
17629 * io/ppoll.c: Likewise.
17630 * debug/poll_chk.c: New file.
17631 * debug/ppoll_chk.c: New file.
17632 * include/bits/poll2.h: New file.
17633 * io/bits/poll2.h: New file.
17636 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17638 * configure.in: static is always set to yes. Remove.
17639 * config.make.in: Don't set build-static.
17640 * Makeconfig: Remove use of build-static.
17641 * dlfcn/Makefile: Likewise.
17642 * elf/Makefile: Likewise.
17643 * math/Makefile: Likewise.
17644 * misc/Makefile: Likewise.
17645 * nptl/Makefile: Likewise.
17646 * sysdeps/mach/hurd/Makefile: Likewise.
17648 * configure.in: PWD_P is not used anymore.
17649 * config.make.in: Remove PWD_P entry.
17651 * configure.in: Remove last remnants of RANLIB.
17652 No need to check for signed size_t anymore.
17653 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17655 Remove __builtin_expect test because we require at least gcc 3.4.
17656 * aclocal.m4: Likewise.
17658 * wcsmbs/mbrtoc16.c: Implement using towc function.
17659 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17660 * wcsmbs/wcsmbsload.c: Likewise.
17661 * iconv/gconv_simple.c: Likewise.
17662 * iconv/gconv_int.h: Likewise.
17663 * iconv/gconv_builtin.h: Likewise.
17664 * iconv/iconv_prog.c: Remove CHAR16 handling.
17666 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17668 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17670 * configure.in: Remove --with-elf and --enable-bounded options.
17671 Dont set base_machine for ia64. More non-ELF conditions removed.
17672 Remove testing and setting of leading underscore information.
17673 * config.make.in (build-bounded): Set to no.
17674 * config.h.in: Remove NO_UNDERSCORES entry.
17675 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17677 * csu/start.c: Remove !NO_UNDERSCORE code.
17678 * locale/localeinfo.h: Likewise.
17679 * sysdeps/generic/machine-gmon.h: Likewise.
17680 * sysdeps/generic/sysdep.h: Likewise.
17681 * sysdeps/i386/sysdep.h: Likewise.
17682 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17683 * sysdeps/mach/sysdep.h: Likewise.
17684 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17685 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17686 * sysdeps/sh/sysdep.h: Likewise.
17687 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17688 * sysdeps/unix/i386/sysdep.S: Likewise.
17689 * sysdeps/unix/sparc/start.c: Likewise.
17690 * sysdeps/unix/sparc/sysdep.S: Likewise.
17691 * sysdeps/unix/sparc/sysdep.h: Likewise.
17692 * sysdeps/unix/start.c: Likewise.
17693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17694 * sysdeps/x86_64/sysdep.h: Likewise.
17696 2012-01-07 Ulrich Drepper <drepper@gmail.com>
17699 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17701 * argp/argp-fmtstream.h: Use const instead __const.
17702 * argp/argp.h: Likewise.
17703 * assert/assert.h: Likewise.
17704 * bits/fenv.h: Likewise.
17705 * bits/sched.h: Likewise.
17706 * bits/sigset.h: Likewise.
17707 * bits/sigthread.h: Likewise.
17708 * catgets/nl_types.h: Likewise.
17709 * conform/data/pthread.h-data: Likewise.
17710 * crypt/crypt-private.h: Likewise.
17711 * crypt/crypt.h: Likewise.
17712 * crypt/crypt_util.c: Likewise.
17713 * ctype/ctype.h: Likewise.
17714 * debug/execinfo.h: Likewise.
17715 * debug/mbsnrtowcs_chk.c: Likewise.
17716 * debug/mbsrtowcs_chk.c: Likewise.
17717 * debug/wcsnrtombs_chk.c: Likewise.
17718 * debug/wcsrtombs_chk.c: Likewise.
17719 * debug/wcstombs_chk.c: Likewise.
17720 * dirent/dirent.h: Likewise.
17721 * dlfcn/dlfcn.h: Likewise.
17722 * elf/neededtest4.c: Likewise.
17723 * grp/grp.h: Likewise.
17724 * gshadow/gshadow.h: Likewise.
17725 * iconv/gconv.h: Likewise.
17726 * iconv/gconv_int.h: Likewise.
17727 * iconv/gconv_simple.c: Likewise.
17728 * iconv/iconv.h: Likewise.
17729 * iconv/loop.c: Likewise.
17730 * iconv/skeleton.c: Likewise.
17731 * include/aio.h: Likewise.
17732 * include/aliases.h: Likewise.
17733 * include/argz.h: Likewise.
17734 * include/arpa/inet.h: Likewise.
17735 * include/assert.h: Likewise.
17736 * include/dirent.h: Likewise.
17737 * include/dlfcn.h: Likewise.
17738 * include/execinfo.h: Likewise.
17739 * include/fcntl.h: Likewise.
17740 * include/fenv.h: Likewise.
17741 * include/glob.h: Likewise.
17742 * include/grp.h: Likewise.
17743 * include/libintl.h: Likewise.
17744 * include/mntent.h: Likewise.
17745 * include/netdb.h: Likewise.
17746 * include/pwd.h: Likewise.
17747 * include/rpc/netdb.h: Likewise.
17748 * include/sched.h: Likewise.
17749 * include/search.h: Likewise.
17750 * include/shadow.h: Likewise.
17751 * include/signal.h: Likewise.
17752 * include/stdio.h: Likewise.
17753 * include/stdlib.h: Likewise.
17754 * include/string.h: Likewise.
17755 * include/sys/socket.h: Likewise.
17756 * include/sys/stat.h: Likewise.
17757 * include/sys/statfs.h: Likewise.
17758 * include/sys/statvfs.h: Likewise.
17759 * include/sys/syslog.h: Likewise.
17760 * include/sys/time.h: Likewise.
17761 * include/sys/uio.h: Likewise.
17762 * include/time.h: Likewise.
17763 * include/unistd.h: Likewise.
17764 * include/utmp.h: Likewise.
17765 * include/wchar.h: Likewise.
17766 * include/wctype.h: Likewise.
17767 * inet/aliases.h: Likewise.
17768 * inet/arpa/inet.h: Likewise.
17769 * inet/netinet/ether.h: Likewise.
17770 * inet/netinet/in.h: Likewise.
17771 * intl/libintl.h: Likewise.
17772 * io/bits/fcntl2.h: Likewise.
17773 * io/fcntl.h: Likewise.
17774 * io/ftw.h: Likewise.
17775 * io/sys/poll.h: Likewise.
17776 * io/sys/stat.h: Likewise.
17777 * io/sys/statfs.h: Likewise.
17778 * io/sys/statvfs.h: Likewise.
17779 * io/utime.h: Likewise.
17780 * libio/bits/stdio.h: Likewise.
17781 * libio/bits/stdio2.h: Likewise.
17782 * libio/libio.h: Likewise.
17783 * libio/libioP.h: Likewise.
17784 * libio/stdio.h: Likewise.
17785 * locale/lc-ctype.c: Likewise.
17786 * locale/locale.h: Likewise.
17787 * login/utmp.h: Likewise.
17788 * malloc/arena.c: Likewise.
17789 * malloc/malloc.c: Likewise.
17790 * malloc/malloc.h: Likewise.
17791 * malloc/mcheck.c: Likewise.
17792 * malloc/mtrace.c: Likewise.
17793 * math/bits/mathcalls.h: Likewise.
17794 * math/fenv.h: Likewise.
17795 * math/math_private.h: Likewise.
17796 * misc/bits/error.h: Likewise.
17797 * misc/bits/syslog.h: Likewise.
17798 * misc/err.h: Likewise.
17799 * misc/error.h: Likewise.
17800 * misc/fstab.h: Likewise.
17801 * misc/mntent.h: Likewise.
17802 * misc/regexp.h: Likewise.
17803 * misc/search.h: Likewise.
17804 * misc/sgtty.h: Likewise.
17805 * misc/sys/mman.h: Likewise.
17806 * misc/sys/syslog.h: Likewise.
17807 * misc/sys/uio.h: Likewise.
17808 * misc/sys/xattr.h: Likewise.
17809 * misc/ttyent.h: Likewise.
17810 * nis/rpcsvc/ypclnt.h: Likewise.
17811 * nss/nss.h: Likewise.
17812 * posix/bits/unistd.h: Likewise.
17813 * posix/fnmatch.h: Likewise.
17814 * posix/glob.h: Likewise.
17815 * posix/sched.h: Likewise.
17816 * posix/spawn.h: Likewise.
17817 * posix/sys/wait.h: Likewise.
17818 * posix/unistd.h: Likewise.
17819 * posix/wordexp.h: Likewise.
17820 * pwd/pwd.h: Likewise.
17821 * resolv/netdb.h: Likewise.
17822 * resource/sys/resource.h: Likewise.
17823 * rt/aio.h: Likewise.
17824 * rt/bits/mqueue2.h: Likewise.
17825 * rt/mqueue.h: Likewise.
17826 * shadow/shadow.h: Likewise.
17827 * signal/signal.h: Likewise.
17828 * socket/send.c: Likewise.
17829 * socket/sendto.c: Likewise.
17830 * socket/sys/socket.h: Likewise.
17831 * stdio-common/printf.h: Likewise.
17832 * stdlib/bits/stdlib.h: Likewise.
17833 * stdlib/fmtmsg.h: Likewise.
17834 * stdlib/monetary.h: Likewise.
17835 * stdlib/stdlib.h: Likewise.
17836 * stdlib/ucontext.h: Likewise.
17837 * streams/stropts.h: Likewise.
17838 * string/argz.h: Likewise.
17839 * string/bits/string2.h: Likewise.
17840 * string/string.h: Likewise.
17841 * string/strings.h: Likewise.
17842 * sunrpc/rpc/auth.h: Likewise.
17843 * sunrpc/rpc/auth_des.h: Likewise.
17844 * sunrpc/rpc/clnt.h: Likewise.
17845 * sunrpc/rpc/netdb.h: Likewise.
17846 * sunrpc/rpc/pmap_clnt.h: Likewise.
17847 * sunrpc/rpc/xdr.h: Likewise.
17848 * sysdeps/generic/inttypes.h: Likewise.
17849 * sysdeps/generic/net/if.h: Likewise.
17850 * sysdeps/generic/sys/swap.h: Likewise.
17851 * sysdeps/gnu/net/if.h: Likewise.
17852 * sysdeps/gnu/utmpx.h: Likewise.
17853 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17854 * sysdeps/i386/i486/bits/string.h: Likewise.
17855 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17856 * sysdeps/s390/bits/string.h: Likewise.
17857 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17858 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17859 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17860 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17861 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17862 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17863 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17864 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17865 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17866 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17867 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17868 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17869 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17870 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17871 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17873 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17875 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17877 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17878 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17879 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17880 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17881 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17882 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17883 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17885 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17886 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17887 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17888 * sysvipc/sys/ipc.h: Likewise.
17889 * sysvipc/sys/msg.h: Likewise.
17890 * sysvipc/sys/sem.h: Likewise.
17891 * sysvipc/sys/shm.h: Likewise.
17892 * termios/termios.h: Likewise.
17893 * time/sys/time.h: Likewise.
17894 * time/time.h: Likewise.
17895 * wcsmbs/bits/wchar2.h: Likewise.
17896 * wcsmbs/uchar.h: Likewise.
17897 * wcsmbs/wchar.h: Likewise.
17898 * wctype/wctype.h: Likewise.
17901 * Makeconfig: Remove all but ELF support including AIX support.
17902 * Makerules: Likewise.
17903 * config.h.in: Likewise.
17904 * config.make.in: Likewise.
17905 * configure: Likewise.
17906 * configure.in: Likewise.
17907 * csu/Makefile: Likewise.
17908 * csu/version.c: Likewise.
17909 * debug/Makefile: Likewise.
17910 * dlfcn/Makefile: Likewise.
17911 * elf/Makefile: Likewise.
17912 * extra-lib.mk: Likewise.
17913 * iconv/Makefile: Likewise.
17914 * include/libc-symbols.h: Likewise.
17915 * include/shlib-compat.h: Likewise.
17916 * resolv/Makefile: Likewise.
17917 * resolv/res_libc.c: Likewise.
17918 * rt/Makefile: Likewise.
17919 * sysdeps/i386/asm-syntax.h: Likewise.
17920 * sysdeps/i386/sysdep.h: Likewise.
17921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17922 * sysdeps/mach/sysdep.h: Likewise.
17923 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17924 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17925 * sysdeps/s390/asm-syntax.h: Likewise.
17926 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17928 * sysdeps/sh/sysdep.h: Likewise.
17929 * sysdeps/unix/sparc/sysdep.h: Likewise.
17930 * sysdeps/wordsize-32/divdi3.c: Likewise.
17931 * sysdeps/x86_64/sysdep.h: Likewise.
17933 * argp/Versions: Remove _argp_unlock_xxx.
17936 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17937 * abilist/libBrokenLocale.abilist: Likewise.
17938 * abilist/libanl.abilist: Likewise.
17939 * abilist/libc.abilist: Likewise.
17940 * abilist/libcrypt.abilist: Likewise.
17941 * abilist/libdl.abilist: Likewise.
17942 * abilist/libm.abilist: Likewise.
17943 * abilist/libnsl.abilist: Likewise.
17944 * abilist/libpthread.abilist: Likewise.
17945 * abilist/libresolv.abilist: Likewise.
17946 * abilist/librt.abilist: Likewise.
17947 * abilist/libthread_db.abilist: Likewise.
17948 * abilist/libutil.abilist: Likewise.
17949 * abilist/libnss_db.abilist: New file.
17951 * scripts/abilist.awk: Add support for indirect functions.
17953 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17955 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17957 * shlib-versions: Remove entries for ports architectures.
17959 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17961 * elf/stackguard-macros.h: Remove support for IA-64.
17962 * elf/tst-auditmod1.c: Likewise.
17963 * sysdeps/generic/ldsodefs.h: Likewise.
17965 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17966 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17970 * configure.in: Remove --enable-omitfp support.
17972 * config.make.in: Likewise.
17973 * Makeconfig: Likewise.
17974 * manual/install.texi: Likewise.
17976 In case anyone cares, the IA-64 architecture could move to ports.
17977 * sysdeps/ia64/*: Removed.
17978 * sysdeps/unix/sysv/linux/ia64/*: Removed.
17979 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17982 * configure.in: Remove entries for unsupported architectures.
17985 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17986 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17988 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17989 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17990 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17991 fall back to using wcrtomb.
17992 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17993 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17995 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17996 * wcsmbs/tst-c16c32-1.c: New file.
17998 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18001 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18003 * elf/tst-unique3.cc: Add explicit declaration of gets.
18004 * elf/tst-unique3lib.cc: Likewise.
18005 * elf/tst-unique3lib2.cc: Likewise.
18006 * elf/tst-unique4.cc: Likewise.
18008 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18010 2012-01-06 Joseph Myers <joseph@codesourcery.com>
18013 * assert/assert.h (static_assert): Don't define for C++.
18014 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18015 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18017 2012-01-03 Ulrich Drepper <drepper@gmail.com>
18019 * iconv/loop.c (single loop): Fix assertion in storing of
18022 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18024 2012-01-01 Ulrich Drepper <drepper@gmail.com>
18026 * posix/getconf.c: Update copyright year.
18027 * nss/getent.c: Likewise.
18028 * nss/makedb.c: Likewise.
18029 * iconv/iconvconfig.c: Likewise.
18030 * iconv/iconv_prog.c: Likewise.
18031 * elf/ldconfig.c: Likewise.
18032 * elf/pldd.c: Likewise.
18033 * elf/sotruss.ksh: Likewise.
18034 * catgets/gencat.c: Likewise.
18035 * csu/version.c: Likewise.
18036 * elf/ldd.bash.in: Likewise.
18037 * elf/sprof.c (print_version): Likewise.
18038 * locale/programs/locale.c: Likewise.
18039 * locale/programs/localedef.c: Likewise.
18040 * login/programs/pt_chown.c: Likewise.
18041 * nscd/nscd.c (print_version): Likewise.
18042 * debug/xtrace.sh: Likewise.
18043 * malloc/memusage.sh: Likewise.
18044 * malloc/mtrace.pl: Likewise.
18045 * debug/catchsegv.sh: Likewise.
18047 2011-12-30 Jakub Jelinek <jakub@redhat.com>
18049 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18052 2011-12-24 Ulrich Drepper <drepper@gmail.com>
18055 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18056 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18058 * iconv/gconv_int.h: Likewise.
18059 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18060 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18061 from libc for GLIBC_2.16.
18062 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18063 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18064 * wcsmbs/uchar.h: Really define mbstate_t.
18065 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18066 * wcsmbs/c16rtomb.c: New file.
18067 * wcsmbs/mbrtoc16.c: New file.
18068 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18069 for C/POSIX locale.
18070 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18071 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18073 * wcsmbs/wchar.h: Add missing __restrict.
18075 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18078 * time/Makefile (routines): Add timespec_get.
18079 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18080 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18081 timespec for ISO C11.
18082 * time/timespec_get.c: New file.
18083 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18084 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18087 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18088 * stdlib/stdlib.h: Declare aligned_alloc.
18089 * Versions.def: Add GLIBC_2.16 for libc.
18090 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18093 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18096 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
18100 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18103 * assert/assert.h (static_assert): Define.
18105 * version.h: Update for 2.16 development version.
18108 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18111 * version.h (RELEASE): Bump for 2.15 release.
18112 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18114 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18115 Patch by Marek Polacek <mpolacek@redhat.com>.
18117 * bits/byteswap.h: Protect long long constants with __extension__.
18118 * sysdeps/i386/bits/byteswap.h: Likewise.
18119 * sysdeps/ia64/bits/byteswap.h: Likewise.
18120 * sysdeps/s390/bits/byteswap.h: Likewise.
18121 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18123 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18126 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18127 destination buffer.
18128 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18130 2011-12-23 Marek Polacek <polacek@redhat.com>
18132 * elf/dl-addr.c (determine_info): Add inline keyword.
18133 * elf/tst-auditmod4b.c (check_avx): Likewise.
18134 * elf/tst-auditmod6b.c (check_avx): Likewise.
18135 * elf/tst-auditmod6c.c (check_avx): Likewise.
18136 * elf/tst-auditmod7b.c (check_avx): Likewise.
18138 2011-12-23 Ulrich Drepper <drepper@gmail.com>
18140 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18143 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18146 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18147 processing for last bytes.
18149 2011-08-06 Bruno Haible <bruno@clisp.org>
18152 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18153 U+0385, not to U+1FEE.
18156 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18157 entry for U+00A5 U+0301.
18159 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18162 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18163 buffer for the output is too small.
18165 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18169 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18170 SSE flags if possible.
18172 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18175 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18176 processing for last bytes.
18178 2011-12-22 Joseph Myers <joseph@codesourcery.com>
18180 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18181 (syscall-list-default-options, syscall-list-default-condition)
18182 (syscall-list-includes): Define.
18183 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18184 list of ABIs and options and #if conditions for each ABI. Do not
18185 handle common syscalls between ABIs specially.
18186 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18188 (syscall-list-variants, syscall-list-32bit-options)
18189 (syscall-list-32bit-condition, syscall-list-64bit-options)
18190 (syscall-list-64bit-condition): Define.
18191 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18192 (syscall-list-variants, syscall-list-32bit-options)
18193 (syscall-list-32bit-condition, syscall-list-64bit-options)
18194 (syscall-list-64bit-condition): Define.
18195 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18197 (syscall-list-variants, syscall-list-32bit-options)
18198 (syscall-list-32bit-condition, syscall-list-64bit-options)
18199 (syscall-list-64bit-condition): Define.
18200 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18202 (syscall-list-variants, syscall-list-32bit-options)
18203 (syscall-list-32bit-condition, syscall-list-64bit-options)
18204 (syscall-list-64bit-condition): Define.
18206 2011-12-22 Ulrich Drepper <drepper@gmail.com>
18208 * locale/iso-639.def: Add brx entry.
18211 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18212 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18214 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18215 __feraiseexcept_renamed.
18217 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18220 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18221 EPOLLET with unsigned values.
18222 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18223 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18225 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18226 to large cancellation.
18227 * math/s_cacoshf.c: Likewise.
18228 * math/s_cacoshl.c: Likewise.
18230 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18234 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18235 * math/s_cacoshf.c: Likewise.
18236 * math/s_cacoshl.c: Likewise.
18238 2011-12-21 Ulrich Drepper <drepper@gmail.com>
18241 * iconv/gconv.h: Define __GCONV_SWAP.
18242 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18243 * iconvdata/utf-16.c: Likewise.
18244 * iconvdata/utf-32.c: Likewise.
18246 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18250 numerator after shifting it by one limb.
18252 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18255 under [__USE_EXTERN_INLINES].
18257 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18260 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18262 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18264 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18265 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18267 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18268 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18269 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18270 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18271 for strncasecmp/strncasecmp_l compilation.
18272 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18273 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18275 2011-12-08 Marek Polacek <mpolacek@redhat.com>
18278 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18281 2011-12-17 Ulrich Drepper <drepper@gmail.com>
18284 * time/tzfile.c (__tzfile_read): Check values from file header.
18286 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18288 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18289 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18290 * powerpc/powerpc32/dl-start.S: Likewise.
18291 * powerpc/powerpc32/elf/start.S: Likewise.
18292 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18293 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18294 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18295 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18296 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18297 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18298 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18299 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18300 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18301 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18302 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18303 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18304 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18305 * powerpc/powerpc32/memset.S: Likewise.
18306 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18307 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18308 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18309 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18310 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18311 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18312 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18313 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18314 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18315 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18316 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18317 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18318 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18320 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18322 * math/libm-test.inc: Added more nearbyint tests.
18323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18328 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18330 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18333 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18335 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18336 Add wcscpy-ssse3 wcscpy-c.
18337 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18338 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18339 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18340 * sysdeps/x86_64/wcschr.S: New file.
18341 * sysdeps/x86_64/wcsrchr.S: New file.
18342 * string/test-strcmp.c: Remove checking of wcscmp function for
18344 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18345 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18346 wcsrchr-sse2 wcsrchr-c.
18347 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18348 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18349 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18350 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18351 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18352 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18353 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18354 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18355 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18356 * wcsmbc/wcschr.c (WCSCHR): New macro.
18358 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18360 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18361 * wcsmbs/test-wcsrchr.c: New file.
18362 * string/test-strrchr.c: Add wcsrchr support.
18364 * wcsmbs/test-wcscpy.c: New file.
18365 * string/test-strcpy.c: Add wcscpy support.
18368 2011-12-10 Ulrich Drepper <drepper@gmail.com>
18370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18373 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18376 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18378 2011-12-04 Ulrich Drepper <drepper@gmail.com>
18380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
18381 Minor optimizations.
18383 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18384 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18385 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18387 2011-12-03 Ulrich Drepper <drepper@gmail.com>
18389 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18390 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18391 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18392 for gcc to avoid warnings.
18393 * inet/Makefile (tests): Add tst-checks.
18394 * inet/tst-checks.c: New file.
18396 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18399 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18402 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18403 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18405 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18407 2011-12-02 Ulrich Drepper <drepper@gmail.com>
18409 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18412 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18414 2011-11-29 Joseph Myers <joseph@codesourcery.com>
18416 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18417 conditional on GCC version.
18418 (__arch_compare_and_exchange_val_8_acq)
18419 (__arch_compare_and_exchange_val_16_acq)
18420 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18421 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18422 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18424 2011-12-02 Joseph Myers <joseph@codesourcery.com>
18426 * sysdeps/sh/backtrace.c: New file.
18428 2011-12-02 Andreas Schwab <schwab@redhat.com>
18430 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18433 2011-12-01 Andreas Schwab <schwab@redhat.com>
18435 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18436 falling back to utime.
18438 2011-11-30 Andreas Schwab <schwab@redhat.com>
18440 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18441 expectations for float.
18443 2011-11-29 Andreas Schwab <schwab@redhat.com>
18445 * locale/weight.h (findidx): Add parameter len.
18446 * locale/weightwc.h (findidx): Likewise.
18447 * posix/fnmatch_loop.c (FCT): Adjust caller.
18448 * posix/regcomp.c (build_equiv_class): Likewise.
18449 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18450 * posix/regexec.c (check_node_accept_bytes): Likewise.
18451 * string/strcoll_l.c (STRCOLL): Likewise.
18452 * string/strxfrm_l.c (STRXFRM): Likewise.
18454 2011-11-17 Ulrich Drepper <drepper@gmail.com>
18456 * Makefile.in: Remove CVSOPT handling.
18457 * configure.in: Remove use of AC_REVISION.
18458 * iconvdata/Makefile (distribute): No need to filter out CVS.
18459 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18462 2011-11-16 Andreas Schwab <schwab@redhat.com>
18464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18465 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18466 [USE_AS_STRNCASECMP_L]: Likewise.
18467 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18468 NO_TLS_DIRECT_SEG_REFS.
18469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18470 Fix argument offsets for non-PIC.
18471 [USE_AS_STRNCASECMP_L]: Likewise.
18472 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18473 NO_TLS_DIRECT_SEG_REFS.
18475 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18477 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
18479 * locale/loadlocale.c (_nl_load_locale): Likewise.
18481 2011-11-15 Andreas Schwab <schwab@redhat.com>
18483 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18484 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18485 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18486 (SYSCALL_GETTIME): Set errno on error.
18488 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18489 count references to noai6ai_cached.
18491 2011-11-15 Ulrich Drepper <drepper@gmail.com>
18493 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18495 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18496 FD_CLOEXEC for /proc/self/maps.
18498 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18499 FD_CLOEXEC for /proc/meminfo.
18501 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18504 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18505 FD_CLOEXEC for given file.
18507 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18509 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18510 FD_CLOEXEC for /etc/hosts.
18511 (_gethtent): Likewise.
18513 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18515 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18516 cancellation and set FD_CLOEXEC for /etc/netgroup.
18518 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18519 reading /etc/publickey.
18521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18522 allow cancellation when reading /etc/group.
18524 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18526 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18528 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18529 when using data file.
18531 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18533 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18534 (write_nis_obj): Use "c" and "e" in fopen.
18536 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18538 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18540 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18542 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18544 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18547 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18549 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18551 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18553 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18554 file parsing and set FD_CLOEXEC.
18556 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18558 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18560 2011-11-14 Andreas Schwab <schwab@redhat.com>
18562 * malloc/arena.c (arena_get2): Don't call reused_arena when
18563 _int_new_arena failed.
18565 2011-11-14 Ulrich Drepper <drepper@gmail.com>
18567 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18568 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18570 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18573 to compile strcasecmp and strncasecmp.
18574 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18575 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18579 2011-11-13 Ulrich Drepper <drepper@gmail.com>
18581 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18582 locale-defines.sym to gen-as-const-headers.
18583 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18584 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18586 to compile strcasecmp and strncasecmp.
18587 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18588 strcasecmp_l and strncasecmp_l.
18589 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18590 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18591 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18592 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18593 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18594 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18595 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18596 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18597 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18598 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18599 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18601 2011-11-12 Ulrich Drepper <drepper@gmail.com>
18603 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18604 result of SYSDEP_GETTIME_CPU to retval.
18605 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18606 parameter list to macro. Remove trailing semicolon. Adjust users.
18608 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18611 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18613 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18616 from unused variable.
18618 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18620 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18623 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18626 * sunrpc/rpc_prot.c (rejected): Fix case value.
18628 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18629 unsigned long long int to avoid warnings in shift.
18631 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18633 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18637 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18638 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18640 * nis/nis_table.c (nis_list): Use variable of correct type for
18641 result of __follow_path call.
18643 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18645 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18646 of math functions ceil, trunc, floor, round, and sqrt, when
18647 avaliable on the platform.
18648 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18650 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18651 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18652 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18654 2011-10-30 Marek Polacek <mpolacek@redhat.com>
18656 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18657 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18659 2011-11-11 Roland McGrath <roland@hack.frob.com>
18661 * include/unistd.h: Fix __readlink return type.
18662 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18664 2011-11-11 Ulrich Drepper <drepper@gmail.com>
18666 * stdlib/ucontext.h: Undo last change for makecontext.
18668 2011-11-11 Andreas Schwab <schwab@redhat.com>
18670 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18672 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18673 * setjmp/setjmp.h: Mark functions as non-leaf.
18674 * setjmp/bits/setjmp2.h: Likewise.
18675 * stdlib/ucontext.h: Likewise.
18677 2011-11-10 Andreas Schwab <schwab@redhat.com>
18679 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18680 (reused_arena): Don't check arena limit.
18681 (arena_get2): Atomically check arena limit.
18683 2011-11-08 Ulrich Drepper <drepper@gmail.com>
18685 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18686 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18691 2011-11-07 Andreas Schwab <schwab@redhat.com>
18693 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18694 handler when locking.
18696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18697 Fix size of allocated buffer.
18699 2011-11-04 Andreas Schwab <schwab@redhat.com>
18702 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18703 declarations for long double functions.
18704 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18706 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18708 2011-11-03 Andreas Schwab <schwab@redhat.com>
18710 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18713 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18716 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18718 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18720 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18722 * include/alloca.h (stackinfo_alloca_round): Define.
18723 (extend_alloca): Use it.
18724 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18725 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18728 * scripts/check-local-headers.sh: Ignore libaudit.h.
18730 * nscd/Makefile (extra-objs): Make recursively expanded.
18732 2011-11-01 Ulrich Drepper <drepper@gmail.com>
18734 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18737 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18738 * posix/tst-rfc3484-2.c: Likewise.
18739 * posix/tst-rfc3484-3.c: Likewise.
18741 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18743 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18745 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18746 process_vm_writev from libc using GLIBC_2.15 version.
18748 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18750 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18752 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18755 2011-10-31 Ulrich Drepper <drepper@gmail.com>
18758 * nss/getent.c (initgroups_keys): Show error message in case no group
18761 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18762 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18763 __bump_nl_timestamp.
18764 * nscd/connections (nscd_init): When host database is served open
18765 netlink socket and request notification about configuration changes.
18766 (main_loop_poll): Track netlink file descriptor and bump timestamp
18767 in case data becomes available.
18768 (main_loop_epoll): Likewise.
18769 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18770 (database_pers_head): Add extra_data fileds.
18771 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18773 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18776 in6ai data, call __free_in6ai.
18777 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18778 Add -DHAVE_NETLINK.
18779 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18780 interface information. Reuse previous data if netlink timestamp
18782 (__bump_nl_timestamp): New function.
18783 (__free_in6ai): New function.
18785 2011-10-30 Ulrich Drepper <drepper@gmail.com>
18787 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18788 close_not_cancel_no_status here.
18789 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18791 2011-10-29 Ulrich Drepper <drepper@gmail.com>
18794 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18797 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18798 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18799 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18801 2011-07-03 Andreas Jaeger <aj@suse.de>
18804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18805 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18806 * math/libm-test.inc (sin_test): Add test case.
18808 2011-10-29 Ulrich Drepper <drepper@gmail.com>
18811 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18812 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18814 * elf/chroot_canon.c (chroot_canon): Cleanups.
18816 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18819 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18820 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18822 * string/test-strchr.c: Make usable for strchrnul testing.
18823 * string/test-strchrnul.c: New file.
18824 * string/Makefile (strop-tests): Add strchrnul.
18826 * po/it.po: Update from translation team.
18827 * po/es.po: Likewise.
18829 2011-10-28 Ulrich Drepper <drepper@gmail.com>
18831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18832 the three constants needed as parameters. Drop the others.
18833 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18834 __m128i_strloadu_tolower.
18835 Create and initialize variable zero and use it in all the places
18836 where _mm_setzero_si128 was used.
18838 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18839 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18840 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18841 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18843 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18844 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18845 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18846 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18847 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18848 __mpranred, __mptan.
18849 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18850 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18851 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18852 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18853 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18854 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18856 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18857 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18859 2011-10-28 Andreas Schwab <schwab@redhat.com>
18861 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18862 redefine if SHARED.
18863 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18866 wide char related routines to wcsmbs subdir.
18868 2011-10-27 Andreas Schwab <schwab@redhat.com>
18871 * misc/sys/cdefs.h (__THROWNL): Define.
18872 * posix/unistd.h: Use __THREADNL instead of __THREAD
18873 for memory synchronization functions.
18875 2011-10-26 Roland McGrath <roland@hack.frob.com>
18878 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18880 * manual/stdio.texi (Obstack Streams): Node removed.
18882 2011-10-26 Andreas Schwab <schwab@redhat.com>
18884 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18885 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18886 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18888 * math/math_private.h (math_force_eval): Allow non-addressable
18890 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18892 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18894 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18895 file is not needed.
18897 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18899 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18900 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18903 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18904 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18906 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18907 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18908 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18909 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18910 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18911 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18912 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18913 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18914 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18915 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18916 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18917 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18919 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18920 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18921 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18923 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18924 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18926 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18927 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18929 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18930 place. Use VEX encoding when compiling for AVX.
18932 2011-10-25 Andreas Schwab <schwab@redhat.com>
18934 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18935 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18937 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18939 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18941 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18942 useless if() expression.
18943 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18945 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18946 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18947 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18951 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18954 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18955 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18956 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18957 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18958 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18959 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18961 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18963 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18965 2011-10-25 Andreas Schwab <schwab@redhat.com>
18967 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18969 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18971 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18973 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18974 .text section. Avoid duplicate constants.
18975 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18985 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18987 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18990 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18992 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18998 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18999 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19000 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19001 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19002 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19003 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19004 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19005 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19006 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19008 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19009 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19010 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19011 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19012 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19013 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19014 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19015 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19016 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19017 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19018 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19019 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19021 2011-10-24 Ulrich Drepper <drepper@gmail.com>
19023 * sysdeps/x86_64/dla.h: Move to ...
19024 * sysdeps/x86_64/fpu/dla.h: ...here.
19025 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19026 situations. Use __builtin_fma only for gcc 4.6 and up.
19028 * config.make.in: Add have-mfma4 entry.
19029 * configure.in: Substitute libc_cv_cc_fma4.
19030 * math/Makefile (dbl-only-routines): Add sincostab.
19031 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19032 Use __sincostab not sincos.
19033 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19035 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19040 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19041 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19042 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19043 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19046 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19048 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19049 define aliases when function name is a macro.
19050 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19051 sysdeps/ieee754/dbl-64/sincos.tbl.
19052 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19053 fma4-enabled routines.
19054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19055 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19056 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19057 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19058 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19059 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19061 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19063 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19064 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19065 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19066 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19067 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19068 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19069 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19070 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19071 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19072 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19074 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19075 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19077 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19079 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19080 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19081 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19082 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19083 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19085 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19096 2011-10-24 Andreas Schwab <schwab@redhat.com>
19098 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19100 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19102 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19104 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19106 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19108 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19109 Remove unused variable magic_bits.
19110 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19112 * string/strnlen.c: Define and use STRNLEN macro.
19113 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19114 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19116 * wcsmbs/wcslen.c: Define and use WCSLEN.
19117 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19118 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19119 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19120 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19121 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19122 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19123 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19125 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19128 strnlen-sse2-no-bsf.
19129 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19130 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19131 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19132 Add strnlen support.
19133 (USE_AS_STRNLEN): New macro.
19134 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19136 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19137 * sysdeps/x86_64/wcslen.S: New file.
19139 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19142 XMM-moves are used for copying on small sizes.
19144 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19146 * wcsmbs/Makefile (strop-tests): Add wcschr.
19147 * wcsmbs/test-wcschr.c: New file.
19148 * string/test-strchr.c: Update.
19149 Add wcschr support.
19152 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19154 * wcsmbs/Makefile (strop-tests): Add wcslen.
19155 * wcsmbs/test-wcslen.c: New file.
19156 * string/test-strlen.c: Update.
19157 Add wcslen support.
19160 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19162 * po/it.po: Update from translation team.
19164 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19166 * sysdeps/x86_64/wcscmp.S: Update.
19167 Fix wrong comparison semantics.
19168 wcscmp shall use signed comparison not unsigned.
19169 Don't use substraction to avoid overflow bug.
19170 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19171 * wcsmbc/wcscmp.c: Likewise.
19172 * string/test-strcmp.c: Likewise.
19173 Add new tests to check cases with negative values.
19175 2011-10-23 Ulrich Drepper <drepper@gmail.com>
19177 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19178 * sysdeps/x86_64/dla.h: ...here. New file.
19179 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19189 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19192 __ynl_finite aliases.
19194 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19198 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19200 [DLA_FMA] (EMULV): Use DLA_FMA.
19201 [DLA_FMA] (MUL12): Use EMULV.
19202 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19203 that are not needed.
19204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19212 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19214 * math/s_nan.c: Undef __nan.
19215 * math/s_nanf.c: Undef __nanf.
19216 * math/s_nanl.c: Undef __nanl.
19217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19220 2011-10-22 Ulrich Drepper <drepper@gmail.com>
19222 * math/s_catan.c: Add branch predictions.
19223 * math/s_catanf.c: Likewise.
19224 * math/s_catanh.c: Likewise.
19225 * math/s_catanhf.c: Likewise.
19226 * math/s_catanhl.c: Likewise.
19227 * math/s_catanl.c: Likewise.
19228 * math/s_cexp.c: Likewise.
19229 * math/s_cexpf.c: Likewise.
19230 * math/s_cexpl.c: Likewise.
19231 * math/s_clog.c: Likewise.
19232 * math/s_clog10.c: Likewise.
19233 * math/s_clog10f.c: Likewise.
19234 * math/s_clog10l.c: Likewise.
19235 * math/s_clogf.c: Likewise.
19236 * math/s_clogl.c: Likewise.
19237 * math/s_csqrt.c: Likewise.
19238 * math/s_csqrtf.c: Likewise.
19239 * math/s_csqrtl.c: Likewise.
19240 * math/s_ctanf.c: Likewise.
19241 * math/s_ctanh.c: Likewise.
19242 * math/s_ctanhf.c: Likewise.
19243 * math/s_ctanhl.c: Likewise.
19244 * math/s_ctanl.c: Likewise.
19246 * math/math_private.h: Define __nan, __nanf, __nanl.
19247 * math/s_cacosh.c: Include <math_private.h>.
19248 * math/s_cacoshl.c: Likewise.
19249 * math/s_casinh.c: Likewise.
19250 * math/s_casinhf.c: Likewise.
19251 * math/s_casinhl.c: Likewise.
19252 * math/s_ccos.c: Rely entire on ccosh.
19253 * math/s_ccosf.c: Rely entire on ccoshf.
19254 * math/s_ccosl.c: Rely entirely on ccoshl.
19255 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19256 Remove tests for FE_INVALID.
19257 * math/s_ccoshf.c: Likewise.
19258 * math/s_ccoshl.c: Likewise.
19259 * math/s_csin.c: Likewise.
19260 * math/s_csinf.c: Likewise.
19261 * math/s_csinh.c Likewise.
19262 * math/s_csinhf.c: Likewise.
19263 * math/s_csinhl.c: Likewise.
19264 * math/s_csinl.c: Likewise.
19265 * math/s_ctan.c: Likewise.
19266 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19267 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19268 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19270 2011-10-21 Ulrich Drepper <drepper@gmail.com>
19272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19273 compilation problems.
19275 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19278 2011-10-20 Ulrich Drepper <drepper@gmail.com>
19280 * sysdeps/i386/configure.in: Test for -mfma4 option.
19281 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19282 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19283 COMMON_CPUID_INDEX_80000001.
19284 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19285 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19286 use it if FMA3 is not supported.
19287 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19289 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19290 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19292 2011-10-20 Andreas Schwab <schwab@redhat.com>
19295 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19296 it would create a cycle with a link time dependency.
19298 2011-10-19 Ulrich Drepper <drepper@gmail.com>
19300 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19302 * string/Makefile (strop-tests): Add rawmemchr.
19303 * string/test-rawmemchr.c: New file.
19305 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19306 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19307 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19308 when compiling str{,n}casecmp and when AVX is available. Hook up
19309 new optimized code in initializers.
19311 2011-10-19 Andreas Schwab <schwab@redhat.com>
19313 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19314 __feraiseexcept instead of feraiseexcept.
19316 2011-10-18 Ulrich Drepper <drepper@gmail.com>
19318 * math/math_private.h: Define defaults for libc_fetestexcept and
19320 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19321 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19322 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19323 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19324 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19325 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19326 libc_fetestexcept and libc_feupdateenv.
19328 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19329 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19330 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19331 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19332 libc_feholdexcept_setround.
19334 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19335 Add s_nearbyint-c and s_nearbyintf-c.
19336 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19337 nearbyintf inlines.
19338 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19339 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19340 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19341 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19343 * math/math_private.h: Define defaults for libc_fegetround,
19344 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19345 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19346 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19347 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19348 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19349 standard functions.
19350 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19351 Remove comments and hacks for old compiler versions.
19352 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19353 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19354 libc_feholdexceptl.
19356 2011-10-18 Andreas Schwab <schwab@redhat.com>
19358 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
19359 (__feraiseexcept_renamed): Add __NTH.
19360 (feraiseexcept): Add __NTH. Rename local variables to fix
19361 namespace violations.
19363 2011-10-17 Ulrich Drepper <drepper@gmail.com>
19365 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19367 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19369 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19370 recently added interfaces.
19371 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19373 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19374 about macro parameter expansion.
19376 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19377 __NO_MATH_INLINES is defined. Cleanups.
19379 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19380 and __floorf is target has SSE4.1.
19381 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19382 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19383 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19384 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19386 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19388 (floorf): Likewise.
19390 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19392 2011-10-17 Andreas Schwab <schwab@redhat.com>
19394 * misc/sys/cdefs.h: Fix last change.
19396 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19399 2011-10-16 Ulrich Drepper <drepper@gmail.com>
19401 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19403 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19404 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19409 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19410 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19411 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19412 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19413 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19414 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19415 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19416 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19417 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19418 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19419 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19420 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19421 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19422 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19423 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19424 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19426 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19427 ceil, ceilf, floor, floorf.
19429 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19430 Perform IRELATIVE relocations last.
19432 * elf/do-rel.h: Add another parameter nrelative, replacing the
19433 local variable with the same name. Change name of the function
19434 to end in Rel or Rela (uppercase).
19435 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19436 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19437 elf_dynamic_do_##reloc function.
19439 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19441 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19442 is sufficient, at least on modern CPUs.
19444 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19446 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19447 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19449 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19451 * math/bits/math-finite.h: Add entries for exp.
19452 * math/e_expl.c: Add __*_finite alias.
19453 * sysdeps/i386/fpu/e_exp.S: Likewise.
19454 * sysdeps/i386/fpu/e_expf.S: Likewise.
19455 * sysdeps/i386/fpu/e_expl.c: Likewise.
19456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19457 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19460 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19461 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19462 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19464 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19465 is sufficient, at least on modern CPUs.
19467 * ctype/ctype-info.c (__ctype_init): Define.
19468 * include/ctype.h (__ctype_init): Declare.
19469 (__ctype_b_loc): The variable is always initialized.
19470 (__ctype_toupper_loc): Likewise.
19471 (__ctype_tolower_loc): Likewise.
19472 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19473 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19475 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19477 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19479 * configure.in: Also look in $cxxmachine/include for C++ system
19482 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19484 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19485 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19486 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19487 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19488 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19489 (USE_AS_WMEMCMP): New macro.
19491 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19492 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19493 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19494 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19496 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19497 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19498 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19499 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19500 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19501 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19502 (USE_AS_WMEMCMP): New macro.
19503 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19504 * sysdeps/string/test-memcmp.c: Update.
19505 Fix simple_wmemcmp.
19507 * wcsmbs/wmemcmp.c: Update.
19508 (WMEMCMP): New macro.
19511 2011-10-12 Andreas Jaeger <aj@suse.de>
19514 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19516 2011-10-15 Ulrich Drepper <drepper@gmail.com>
19518 * libio/iofwide.c (do_length): Avoid warning.
19520 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19522 2011-10-14 Ulrich Drepper <drepper@gmail.com>
19524 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19526 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19527 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19528 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19529 * sysdeps/i386/i686/fpu/e_log.S: New file.
19530 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19531 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19533 * ctype/ctype.h: Add support for inlined isXXX functions when
19534 compiling C++ code.
19536 2011-10-14 Andreas Schwab <schwab@redhat.com>
19538 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19540 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19542 2011-10-13 Roland McGrath <roland@hack.frob.com>
19545 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19547 2011-10-13 Andreas Schwab <schwab@redhat.com>
19549 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19550 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19553 * sysdeps/x86_64/memrchr.S: Check for zero size.
19555 * string/stratcliff.c: Add memrchr tests.
19557 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19560 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19561 rawmemchr-sse2 rawmemchr-sse2-bsf.
19562 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19563 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19564 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19565 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19566 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19567 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19568 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19569 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19570 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19571 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19572 * string/memrchr.c (MEMRCHR): New macro.
19574 2011-10-12 Ulrich Drepper <drepper@gmail.com>
19576 Add integration with gcc's -ffinite-math-only and optimize wrapper
19578 * Versions.def: Define GLIBC_2.15 version for libm.
19579 * math/Makefile (headers): Add bits/math-finite.h.
19580 * math/bits/math-finite.h: New file.
19581 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19582 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19583 * math/e_acoshl.c: Add __*_finite alias.
19584 * math/e_acosl.c: Likewise.
19585 * math/e_asinl.c: Likewise.
19586 * math/e_atan2l.c: Likewise.
19587 * math/e_atanhl.c: Likewise.
19588 * math/e_coshl.c: Likewise.
19589 * math/e_exp10.c: Likewise.
19590 * math/e_exp10f.c: Likewise.
19591 * math/e_exp10l.c: Likewise.
19592 * math/e_exp2l.c: Likewise.
19593 * math/e_fmodl.c: Likewise.
19594 * math/e_gammal_r.c: Likewise.
19595 * math/e_hypotl.c: Likewise.
19596 * math/e_j0l.c: Likewise.
19597 * math/e_j1l.c: Likewise.
19598 * math/e_jnl.c: Likewise.
19599 * math/e_lgammal_r.c: Likewise.
19600 * math/e_log10l.c: Likewise.
19601 * math/e_log2l.c: Likewise.
19602 * math/e_logl.c: Likewise.
19603 * math/e_powl.c: Likewise.
19604 * math/e_sinhl.c: Likewise.
19605 * math/e_sqrtl.c: Likewise.
19606 * math/e_scalb.c: Completely rewritten and optimized.
19607 * math/e_scalbf.c: Likewise.
19608 * math/e_scalbl.c: Likewise.
19609 * math/w_acos.c: Likewise.
19610 * math/w_acosf.c: Likewise.
19611 * math/w_acosl.c: Likewise.
19612 * math/w_acosh.c: Likewise.
19613 * math/w_acoshf.c: Likewise.
19614 * math/w_acoshl.c: Likewise.
19615 * math/w_asin.c: Likewise.
19616 * math/w_asinf.c: Likewise.
19617 * math/w_asinl.c: Likewise.
19618 * math/w_atan2.c: Likewise.
19619 * math/w_atan2f.c: Likewise.
19620 * math/w_atan2l.c: Likewise.
19621 * math/w_atanh.c: Likewise.
19622 * math/w_atanhf.c: Likewise.
19623 * math/w_atanhl.c: Likewise.
19624 * math/w_exp10.c: Likewise.
19625 * math/w_exp10f.c: Likewise.
19626 * math/w_exp10l.c: Likewise.
19627 * math/w_fmod.c: Likewise.
19628 * math/w_fmodf.c: Likewise.
19629 * math/w_fmodl.c: Likewise.
19630 * math/w_j0.c: Likewise.
19631 * math/w_j0f.c: Likewise.
19632 * math/w_j0l.c: Likewise.
19633 * math/w_j1.c: Likewise.
19634 * math/w_j1f.c: Likewise.
19635 * math/w_j1l.c: Likewise.
19636 * math/w_jn.c: Likewise.
19637 * math/w_jnf.c: Likewise.
19638 * math/w_log.c: Likewise.
19639 * math/w_logf.c: Likewise.
19640 * math/w_logl.c: Likewise.
19641 * math/w_log10.c: Likewise.
19642 * math/w_log10f.c: Likewise.
19643 * math/w_log10l.c: Likewise.
19644 * math/w_log2.c: Likewise.
19645 * math/w_log2f.c: Likewise.
19646 * math/w_log2l.c: Likewise.
19647 * math/w_pow.c: Likewise.
19648 * math/w_powf.c: Likewise.
19649 * math/w_powl.c: Likewise.
19650 * math/w_remainder.c: Likewise.
19651 * math/w_remainderf.c: Likewise.
19652 * math/w_remainderl.c: Likewise.
19653 * math/w_scalb.c: Likewise.
19654 * math/w_scalbf.c: Likewise.
19655 * math/w_scalbl.c: Likewise.
19656 * math/w_sqrt.c: Likewise.
19657 * math/w_sqrtf.c: Likewise.
19658 * math/w_sqrtl.c: Likewise.
19659 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19660 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19662 * math/math_private.h: Declare __kernel_standard_f.
19663 * math/w_cosh.c: Remove cruft and optimize a bit.
19664 * math/w_coshf.c: Likewise.
19665 * math/w_coshl.c: Likewise.
19666 * math/w_exp2.c: Likewise.
19667 * math/w_exp2f.c: Likewise.
19668 * math/w_exp2l.c: Likewise.
19669 * math/w_hypot.c: Likewise.
19670 * math/w_hypotf.c: Likewise.
19671 * math/w_hypotl.c: Likewise.
19672 * math/w_lgamma.c: Likewise.
19673 * math/w_lgamma_r.c: Likewise.
19674 * math/w_lgammaf.c: Likewise.
19675 * math/w_lgammaf_r.c: Likewise.
19676 * math/w_lgammal.c: Likewise.
19677 * math/w_lgammal_r.c: Likewise.
19678 * math/w_sinh.c: Likewise.
19679 * math/w_sinhf.c: Likewise.
19680 * math/w_sinhl.c: Likewise.
19681 * math/w_tgamma.c: Likewise.
19682 * math/w_tgammaf.c: Likewise.
19683 * math/w_tgammal.c: Likewise.
19684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19686 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19687 Minor optimizations. Pretty printing. Remove cruft.
19688 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19689 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19690 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19691 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19692 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19693 * sysdeps/i386/fpu/e_asin.S: Likewise.
19694 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19695 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19696 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19697 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19698 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19699 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19700 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19701 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19702 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19703 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19704 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19705 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19706 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19707 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19708 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19709 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19710 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19711 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19712 * sysdeps/i386/fpu/e_log.S: Likewise.
19713 * sysdeps/i386/fpu/e_log10.S: Likewise.
19714 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19715 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19716 * sysdeps/i386/fpu/e_log2.S: Likewise.
19717 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19719 * sysdeps/i386/fpu/e_logf.S: Likewise.
19720 * sysdeps/i386/fpu/e_logl.S: Likewise.
19721 * sysdeps/i386/fpu/e_pow.S: Likewise.
19722 * sysdeps/i386/fpu/e_powf.S: Likewise.
19723 * sysdeps/i386/fpu/e_powl.S: Likewise.
19724 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19725 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19726 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19727 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19728 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19729 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19730 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19731 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19732 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19738 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19743 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19747 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19754 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19755 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19756 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19757 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19758 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19759 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19760 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19761 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19762 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19763 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19764 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19765 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19767 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19768 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19769 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19770 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19771 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19772 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19773 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19774 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19775 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19776 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19779 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19780 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19781 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19782 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19783 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19786 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19789 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19790 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19791 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19792 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19793 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19794 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19797 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19798 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19799 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19803 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19805 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19806 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19809 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19810 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19813 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19816 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19824 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19825 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19826 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19827 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19828 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19829 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19830 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19831 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19832 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19833 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19834 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19835 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19836 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19838 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19839 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19841 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19842 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19843 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19844 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19845 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19846 (__isnanf): Likewise.
19847 (__isinf_ns): Likewise.
19848 (__isinf_nsf): Likewise.
19849 (__finite): Likewise.
19850 (__finitef): Likewise.
19851 (__ieee754_sqrt): Define as macro.
19852 (__ieee754_sqrtf): Define as macro.
19853 (__ieee754_sqrtl): Define as macro.
19854 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19856 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19857 __FINITE_MATH_ONLY__ consistent.
19858 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19860 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19862 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19867 2011-10-09 Ulrich Drepper <drepper@gmail.com>
19869 * po/ja.po: Update from translation team.
19871 2011-10-08 Roland McGrath <roland@hack.frob.com>
19873 * locale/programs/locarchive.c (prepare_address_space): New function.
19874 (create_archive, enlarge_archive, open_archive): Use it.
19876 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19877 inside [SHARED], where it is used.
19879 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19881 * nss/getent.c (netgroup_keys): Remove unused variable.
19882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19884 2011-10-08 Ulrich Drepper <drepper@gmail.com>
19886 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19887 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19889 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19891 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19892 * math/Makefile (libm-calls): Add s_isinf_ns.
19893 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19894 * math/multc3.c: Likewise.
19895 * math/s_casin.c: Likewise.
19896 * math/s_casinf.c: Likewise.
19897 * math/s_casinl.c: Likewise.
19898 * math/s_ccos.c: Likewise.
19899 * math/s_ccosf.c: Likewise.
19900 * math/s_ccosl.c: Likewise.
19901 * math/s_ctan.c: Likewise.
19902 * math/s_ctanf.c: Likewise.
19903 * math/s_ctanh.c: Likewise.
19904 * math/s_ctanhf.c: Likewise.
19905 * math/s_ctanhl.c: Likewise.
19906 * math/s_ctanl.c: Likewise.
19907 * math/w_fmod.c: Likewise.
19908 * math/w_fmodf.c: Likewise.
19909 * math/w_fmodl.c: Likewise.
19910 * math/w_remainder.c: Likewise.
19911 * math/w_remainderf.c: Likewise.
19912 * math/w_remainderl.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19914 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19915 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19917 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19918 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19919 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19920 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19922 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19924 * stdio-common/printf_fphex.c: Likewise.
19925 * stdio-common/printf_size.c: Likewise.
19927 * math/e_exp10.c: Include math_private.h using <...> not "...".
19928 * math/e_exp10f.c: Likewise.
19929 * math/e_exp10l.c: Likewise.
19930 * math/e_exp2l.c: Likewise.
19931 * math/e_j0l.c: Likewise.
19932 * math/e_j1l.c: Likewise.
19933 * math/e_jnl.c: Likewise.
19934 * math/e_lgammal_r.c: Likewise.
19935 * math/e_rem_pio2l.c: Likewise.
19936 * math/e_scalb.c: Likewise.
19937 * math/e_scalbf.c: Likewise.
19938 * math/e_scalbl.c: Likewise.
19939 * math/k_cosl.c: Likewise.
19940 * math/k_sinl.c: Likewise.
19941 * math/k_tanl.c: Likewise.
19942 * math/s_cacoshf.c: Likewise.
19943 * math/s_catan.c: Likewise.
19944 * math/s_catanf.c: Likewise.
19945 * math/s_catanh.c: Likewise.
19946 * math/s_catanhf.c: Likewise.
19947 * math/s_catanhl.c: Likewise.
19948 * math/s_catanl.c: Likewise.
19949 * math/s_ccosh.c: Likewise.
19950 * math/s_ccoshf.c: Likewise.
19951 * math/s_ccoshl.c: Likewise.
19952 * math/s_cexp.c: Likewise.
19953 * math/s_cexpf.c: Likewise.
19954 * math/s_cexpl.c: Likewise.
19955 * math/s_clog.c: Likewise.
19956 * math/s_clog10.c: Likewise.
19957 * math/s_clog10f.c: Likewise.
19958 * math/s_clog10l.c: Likewise.
19959 * math/s_clogf.c: Likewise.
19960 * math/s_clogl.c: Likewise.
19961 * math/s_csin.c: Likewise.
19962 * math/s_csinf.c: Likewise.
19963 * math/s_csinh.c: Likewise.
19964 * math/s_csinhf.c: Likewise.
19965 * math/s_csinhl.c: Likewise.
19966 * math/s_csinl.c: Likewise.
19967 * math/s_csqrt.c: Likewise.
19968 * math/s_csqrtf.c: Likewise.
19969 * math/s_csqrtl.c: Likewise.
19970 * math/s_ctan.c: Likewise.
19971 * math/s_ctanf.c: Likewise.
19972 * math/s_ctanh.c: Likewise.
19973 * math/s_ctanhf.c: Likewise.
19974 * math/s_ctanhl.c: Likewise.
19975 * math/s_ctanl.c: Likewise.
19976 * math/s_ldexp.c: Likewise.
19977 * math/s_ldexpf.c: Likewise.
19978 * math/s_ldexpl.c: Likewise.
19979 * math/s_significand.c: Likewise.
19980 * math/s_significandf.c: Likewise.
19981 * math/s_significandl.c: Likewise.
19982 * math/w_acos.c: Likewise.
19983 * math/w_acosf.c: Likewise.
19984 * math/w_acosh.c: Likewise.
19985 * math/w_acoshf.c: Likewise.
19986 * math/w_acoshl.c: Likewise.
19987 * math/w_acosl.c: Likewise.
19988 * math/w_asin.c: Likewise.
19989 * math/w_asinf.c: Likewise.
19990 * math/w_asinl.c: Likewise.
19991 * math/w_atan2.c: Likewise.
19992 * math/w_atan2f.c: Likewise.
19993 * math/w_atan2l.c: Likewise.
19994 * math/w_atanh.c: Likewise.
19995 * math/w_atanhf.c: Likewise.
19996 * math/w_atanhl.c: Likewise.
19997 * math/w_cosh.c: Likewise.
19998 * math/w_coshf.c: Likewise.
19999 * math/w_coshl.c: Likewise.
20000 * math/w_dremf.c: Likewise.
20001 * math/w_exp10.c: Likewise.
20002 * math/w_exp10f.c: Likewise.
20003 * math/w_exp10l.c: Likewise.
20004 * math/w_exp2.c: Likewise.
20005 * math/w_exp2f.c: Likewise.
20006 * math/w_fmod.c: Likewise.
20007 * math/w_fmodf.c: Likewise.
20008 * math/w_fmodl.c: Likewise.
20009 * math/w_hypot.c: Likewise.
20010 * math/w_hypotf.c: Likewise.
20011 * math/w_hypotl.c: Likewise.
20012 * math/w_j0.c: Likewise.
20013 * math/w_j0f.c: Likewise.
20014 * math/w_j0l.c: Likewise.
20015 * math/w_j1.c: Likewise.
20016 * math/w_j1f.c: Likewise.
20017 * math/w_j1l.c: Likewise.
20018 * math/w_jn.c: Likewise.
20019 * math/w_jnf.c: Likewise.
20020 * math/w_jnl.c: Likewise.
20021 * math/w_lgamma.c: Likewise.
20022 * math/w_lgamma_r.c: Likewise.
20023 * math/w_lgammaf.c: Likewise.
20024 * math/w_lgammaf_r.c: Likewise.
20025 * math/w_lgammal.c: Likewise.
20026 * math/w_lgammal_r.c: Likewise.
20027 * math/w_log.c: Likewise.
20028 * math/w_log10.c: Likewise.
20029 * math/w_log10f.c: Likewise.
20030 * math/w_log10l.c: Likewise.
20031 * math/w_log2.c: Likewise.
20032 * math/w_log2f.c: Likewise.
20033 * math/w_log2l.c: Likewise.
20034 * math/w_logf.c: Likewise.
20035 * math/w_logl.c: Likewise.
20036 * math/w_pow.c: Likewise.
20037 * math/w_powf.c: Likewise.
20038 * math/w_powl.c: Likewise.
20039 * math/w_remainder.c: Likewise.
20040 * math/w_remainderf.c: Likewise.
20041 * math/w_remainderl.c: Likewise.
20042 * math/w_scalb.c: Likewise.
20043 * math/w_scalbf.c: Likewise.
20044 * math/w_scalbl.c: Likewise.
20045 * math/w_sinh.c: Likewise.
20046 * math/w_sinhf.c: Likewise.
20047 * math/w_sinhl.c: Likewise.
20048 * math/w_sqrt.c: Likewise.
20049 * math/w_sqrtf.c: Likewise.
20050 * math/w_sqrtl.c: Likewise.
20051 * math/w_tgamma.c: Likewise.
20052 * math/w_tgammaf.c: Likewise.
20053 * math/w_tgammal.c: Likewise.
20055 * po/ja.po: Update from translation team.
20057 2011-09-29 Andreas Jaeger <aj@suse.de>
20060 * sunrpc/netname.c (netname2host): Fix logic.
20064 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20066 * math/w_remainder.c (__remainder): Likewise.
20067 * math/w_remainderf.c (__remainderf): Likewise.
20068 * math/libm-test.inc (remainder_test): Add test cases.
20070 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20072 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20075 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20077 * string/test-memcmp.c: Avoid unncessary #defines.
20078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20080 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20082 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20083 Use new sse2 version for core i3 - i7 as it's faster
20084 than sse42 version.
20085 (bit_Prefer_PMINUB_for_stringop): New.
20086 * sysdeps/x86_64/rawmemchr.S: Update.
20087 Replace with faster SSE2 version.
20088 * sysdeps/x86_64/memrchr.S: New file.
20089 * sysdeps/x86_64/memchr.S: Update.
20090 Replace with faster SSE2 version.
20092 2011-09-12 Marek Polacek <mpolacek@redhat.com>
20094 * elf/dl-load.c (lose): Add cast to avoid warning.
20096 2011-10-07 Ulrich Drepper <drepper@gmail.com>
20098 * po/ca.po: Update from translation team.
20100 * inet/getnetgrent_r.c: Hook up nscd.
20101 * nscd/Makefile (routines): Add nscd_netgroup.
20102 (nscd-modules): Add netgroupcache.
20103 (CFLAGS-netgroupcache.c): Define.
20104 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20105 (cache_search): Add const to second parameter.
20106 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20108 (dbs): Add netgrdb entry.
20109 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20110 (verify_persistent_db): Handle netgrdb.
20111 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20112 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20114 (netgroup_response_header): Define.
20115 (innetgroup_response_header): Define.
20116 (datahead): Add netgroup_response_header and innetgroup_response_header
20118 * nscd/nscd.conf: Add entries for netgroup cache.
20119 * nscd/nscd.h (dbtype): Add netgrdb.
20120 (_PATH_NSCD_NETGROUP_DB): Define.
20121 (netgroup_iov_disabled): Declare.
20122 (xmalloc, xcalloc, xrealloc): Move declarations here.
20123 (cache_search): Adjust prototype.
20124 Add netgroup-related prototypes.
20125 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20126 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20127 (__nscd_innetgr): Declare.
20128 * nscd/selinux.c (perms): Use access_vector_t as element type and
20129 add netgroup-related initializers.
20130 * nscd/netgroupcache.c: New file.
20131 * nscd/nscd_netgroup.c: New file.
20132 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20133 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20134 For four parameters use innetgr.
20135 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20136 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20137 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20138 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20140 * nscd/connections.c (register_traced_file): Don't register file
20141 for disabled databases.
20143 2011-10-06 Ulrich Drepper <drepper@gmail.com>
20145 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20147 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20148 from tree and freeing node.
20150 2011-09-25 Jiri Olsa <jolsa@redhat.com>
20152 * nss/nsswitch.c (__nss_database_lookup): Handle
20153 nss_parse_service_list out of memory case.
20155 2011-09-15 Jiri Olsa <jolsa@redhat.com>
20157 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20158 out of memory case.
20160 2011-10-04 Andreas Schwab <schwab@redhat.com>
20162 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20163 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20165 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20166 elf_machine_rela, elf_machine_lazy_rel.
20167 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20168 (ELF_DYNAMIC_DO_REL): Likewise.
20169 (ELF_DYNAMIC_DO_RELA): Likewise.
20170 (ELF_DYNAMIC_RELOCATE): Likewise.
20171 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20172 to ELF_DYNAMIC_DO_REL.
20173 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20174 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20175 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20178 skip_ifunc, don't call ifunc function if non-zero.
20179 (elf_machine_rela): Likewise.
20180 (elf_machine_lazy_rel): Likewise.
20181 (elf_machine_lazy_rela): Likewise.
20182 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20183 (elf_machine_lazy_rel): Likewise.
20184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20186 (elf_machine_lazy_rel): Likewise.
20187 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20189 (elf_machine_lazy_rel): Likewise.
20190 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20191 (elf_machine_lazy_rel): Likewise.
20192 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20193 (elf_machine_lazy_rel): Likewise.
20194 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20195 (elf_machine_lazy_rel): Likewise.
20196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20197 (elf_machine_lazy_rel): Likewise.
20198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20199 (elf_machine_lazy_rel): Likewise.
20200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20201 (elf_machine_lazy_rel): Likewise.
20203 2011-09-28 Ulrich Drepper <drepper@gmail.com>
20205 * nss/nss_files/files-init.c (_nss_files_init): Use static
20206 initialization for all the *_traced_file variables.
20208 2011-09-28 Andreas Schwab <schwab@redhat.com>
20210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20212 2011-09-27 Roland McGrath <roland@hack.frob.com>
20215 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20217 2011-09-27 Andreas Schwab <schwab@redhat.com>
20219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20220 Reread the line before reparsing it.
20222 2011-09-26 Andreas Schwab <schwab@redhat.com>
20224 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20226 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20227 Maxim Kuvyrkov <maxim@codesourcery.com>
20228 Joseph Myers <joseph@codesourcery.com>
20230 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20231 if needed for __stack_chk_guard.
20233 2011-09-19 Roland McGrath <roland@hack.frob.com>
20235 * sysdeps/posix/spawni.c (script_execute): Always define it.
20236 It will be optimized away if unused.
20237 (maybe_script_execute): New function.
20238 (__spawni): Call it.
20240 * Makerules: Don't include tls.make.
20241 (config-tls): Always set to thread.
20242 * tls.make.c: File removed.
20244 2011-09-19 Mike Frysinger <vapier@gentoo.org>
20246 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20247 * config.make.in (CPPFLAGS-config): New substituted variable.
20249 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20251 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20254 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20255 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20257 2011-09-15 Roland McGrath <roland@hack.frob.com>
20259 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20260 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20262 (CALL_FAIL): Likewise.
20263 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20264 (CALL_FAIL): Macro removed.
20265 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20267 2011-09-15 Ulrich Drepper <drepper@gmail.com>
20269 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20270 for __FINITE_MATH_ONLY__ == 1.
20272 2011-09-15 Andreas Schwab <schwab@redhat.com>
20274 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20275 __ieee754_sqrt instead of sqrt.
20276 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20277 __ieee754_sqrtf instead of sqrtf.
20278 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20279 __floorf instead of floorf.
20280 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20281 __floorf, __truncf instead of floorf, truncf.
20283 2011-09-14 Ulrich Drepper <drepper@gmail.com>
20285 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20287 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20288 __extern_always_inline.
20289 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20292 2011-09-14 Andreas Schwab <schwab@redhat.com>
20294 * elf/rtld.c (dl_main): Also relocate in dependency order when
20295 doing symbol dependency testing.
20297 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20300 Always define `refsym'.
20302 2011-09-13 Andreas Schwab <schwab@redhat.com>
20304 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20305 (__FD_ELT): Renamed from __FDELT.
20306 * misc/bits/select2.h (__FD_ELT): Likewise.
20307 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20308 __FD_MASK instead of __FDELT, __FDMASK.
20309 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20311 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20314 * elf/Makefile (gen-ldd): Fix pattern.
20316 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20317 (init_tls): Likewise.
20319 2011-09-12 Ulrich Drepper <drepper@gmail.com>
20321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20323 2011-09-12 Andreas Schwab <schwab@redhat.com>
20325 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20326 `struct cmsghdr *' instead of `void *'.
20327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20330 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20332 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20334 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20335 ldd_rewrite_script.
20337 2011-09-11 Ulrich Drepper <drepper@gmail.com>
20339 * configure.in: Remove --with-tls option.
20340 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20341 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20342 out in case it is missing.
20343 * sysdeps/ia64/elf/configure.in: Likewise.
20344 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20345 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20346 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20347 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20348 * sysdeps/sh/elf/configure.in: Likewise.
20349 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20350 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20351 * sysdeps/x86_64/elf/configure.in: Likewise.
20352 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20353 * sysdeps/mach/hurd/tls.h: Likewise.
20356 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20359 * configure.in: Fix use of AC_INIT.
20361 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20363 2011-09-10 Ulrich Drepper <drepper@gmail.com>
20365 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20367 * malloc/hooks.c: Likewise.
20370 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20371 variables statically.
20372 (narenas): Initialize.
20373 (list_lock): Initialize.
20374 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20375 initializtion of main_arena and list_lock. Small cleanups.
20376 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20377 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20378 Add initializers to main_arena and mp_.
20379 (malloc_state): Remove pagesize member. Change all users to use
20382 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20383 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20384 is always initialized.
20386 * malloc/malloc.c: Removed unused configurations and dead code.
20387 * malloc/arena.c: Likewise.
20388 * malloc/hooks.c: Likewise.
20389 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
20391 * include/tls.h: Removed. USE___THREAD must always be defined.
20392 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20393 * elf/dl-libc.c: Likewise.
20394 * elf/dl-tsd.c: Likewise.
20395 * include/errno.h: Likewise.
20396 * include/netdb.h: Likewise.
20397 * include/resolv.h: Likewise.
20398 * inet/herrno-loc.c: Likewise.
20399 * inet/herrno.c: Likewise.
20400 * malloc/arena.c: Likewise.
20401 * malloc/hooks.c: Likewise.
20402 * malloc/malloc.c: Likewise.
20403 * resolv/res-state.c: Likewise.
20404 * resolv/res_libc.c: Likewise.
20405 * sysdeps/i386/dl-machine.h: Likewise.
20406 * sysdeps/ia64/dl-machine.h: Likewise.
20407 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20408 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20409 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20410 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20411 * sysdeps/sh/dl-machine.h: Likewise.
20412 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20413 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20414 * sysdeps/unix/i386/sysdep.S: Likewise.
20415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20416 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20418 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20419 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20420 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20421 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20425 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20426 * sysdeps/x86_64/dl-machine.h: Likewise.
20427 * tls.make.c: Likewise.
20429 * configure.in: Remove --with-__thread option. Make tests for
20430 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20431 tls_model attribute fail if no support is available. Remove
20433 * Makeconfig: Adjust for dropped configure option. All features are
20435 * Makerules: Likewise.
20436 * Versions.def: Likewise.
20437 * argp/argp-fmtstream.c: Likewise.
20438 * argp/argp-fmtstream.h: Likewise.
20439 * argp/argp-help.c: Likewise.
20440 * assert/assert.c: Likewise.
20441 * config.h.in: Likewise.
20442 * config.make.in: Likewise.
20443 * configure: Likewise.
20444 * configure.in: Likewise.
20445 * csu/Versions: Likewise.
20446 * csu/init.c: Likewise.
20447 * elf/tst-audit2.c: Likewise.
20448 * elf/tst-tls10.c: Likewise.
20449 * elf/tst-tls10.h: Likewise.
20450 * elf/tst-tls11.c: Likewise.
20451 * elf/tst-tls12.c: Likewise.
20452 * elf/tst-tls14.c: Likewise.
20453 * elf/tst-tlsmod11.c: Likewise.
20454 * elf/tst-tlsmod12.c: Likewise.
20455 * elf/tst-tlsmod13.c: Likewise.
20456 * elf/tst-tlsmod13a.c: Likewise.
20457 * elf/tst-tlsmod14a.c: Likewise.
20458 * elf/tst-tlsmod15b.c: Likewise.
20459 * elf/tst-tlsmod16a.c: Likewise.
20460 * elf/tst-tlsmod16b.c: Likewise.
20461 * elf/tst-tlsmod7.c: Likewise.
20462 * elf/tst-tlsmod8.c: Likewise.
20463 * elf/tst-tlsmod9.c: Likewise.
20464 * gmon/gmon.c: Likewise.
20465 * grp/fgetgrent_r.c: Likewise.
20466 * grp/putgrent.c: Likewise.
20467 * hurd/fopenport.c: Likewise.
20468 * include/libc-symbols.h: Likewise.
20469 * include/tls.h: Likewise.
20470 * intl/gettextP.h: Likewise.
20471 * intl/loadinfo.h: Likewise.
20472 * locale/global-locale.c: Likewise.
20473 * locale/localeinfo.h: Likewise.
20474 * mach/devstream.c: Likewise.
20475 * malloc/arena.c: Likewise.
20476 * malloc/set-freeres.c: Likewise.
20477 * misc/err.c: Likewise.
20478 * misc/getttyent.c: Likewise.
20479 * misc/mntent_r.c: Likewise.
20480 * posix/getopt.c: Likewise.
20481 * posix/wordexp.c: Likewise.
20482 * pwd/fgetpwent_r.c: Likewise.
20483 * resolv/Versions: Likewise.
20484 * resolv/res_hconf.c: Likewise.
20485 * shadow/fgetspent_r.c: Likewise.
20486 * shadow/putspent.c: Likewise.
20487 * stdio-common/printf_fphex.c: Likewise.
20488 * stdio-common/tmpfile.c: Likewise.
20489 * stdlib/abort.c: Likewise.
20490 * stdlib/fmtmsg.c: Likewise.
20491 * sunrpc/auth_unix.c: Likewise.
20492 * sunrpc/clnt_perr.c: Likewise.
20493 * sunrpc/clnt_tcp.c: Likewise.
20494 * sunrpc/clnt_udp.c: Likewise.
20495 * sunrpc/clnt_unix.c: Likewise.
20496 * sunrpc/openchild.c: Likewise.
20497 * sunrpc/svc_simple.c: Likewise.
20498 * sunrpc/svc_tcp.c: Likewise.
20499 * sunrpc/svc_udp.c: Likewise.
20500 * sunrpc/svc_unix.c: Likewise.
20501 * sunrpc/xdr.c: Likewise.
20502 * sunrpc/xdr_array.c: Likewise.
20503 * sunrpc/xdr_rec.c: Likewise.
20504 * sunrpc/xdr_ref.c: Likewise.
20505 * sunrpc/xdr_stdio.c: Likewise.
20507 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20509 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20511 2011-07-03 Andreas Jaeger <aj@suse.de>
20513 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20514 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20515 regenerate with gen-libm-tests.pl.
20517 2010-05-12 Petr Baudis <pasky@suse.cz>
20520 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20521 around j0() zero points by switching to j1().
20522 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20523 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20527 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20529 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20531 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
20533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20534 Patch in part by Pavel Roskin <proski@gnu.org>.
20537 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20539 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20540 Free memory block if necessary.
20543 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20544 be NULL. Don't lock in this case.
20546 2011-09-09 Roland McGrath <roland@hack.frob.com>
20548 * elf/elf.h (ELFOSABI_GNU): New macro.
20549 (ELFOSABI_LINUX): Define to that.
20551 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20553 * string/strncat.c (strncat): Undef the symbol in case it has been
20554 defined in bits/string.h.
20556 2011-09-09 Ulrich Drepper <drepper@gmail.com>
20558 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20560 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
20563 2011-08-17 Andreas Jaeger <aj@suse.de>
20565 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20567 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20568 Ian Lance Taylor <iant@google.com>
20570 * math/libm-test.inc (lround_test): New testcase.
20571 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20573 2011-09-08 Ulrich Drepper <drepper@gmail.com>
20575 * Makefile: Remove support for automatic cvs check-ins.
20576 * Makerules: Likewise.
20577 * config.make.in: Likewise.
20578 * configure.in: Likewise.
20579 * intl/Makefile: Likewise.
20580 * locale/Makefile: Likewise.
20581 * po/Makefile: Likewise.
20582 * posix/Makefile: Likewise.
20583 * sysdeps/gnu/Makefile: Likewise.
20584 * sysdeps/mach/hurd/Makefile: Likewise.
20585 * sysdeps/sparc/sparc32/Makefile: Likewise.
20588 * posix/Makefile (bug-regex32-ENV): Define.
20589 Patch by John Stanley <jpsinthemix@verizon.net>.
20591 * misc/Makefile (headers): Add bits/select2.h.
20592 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20593 * misc/bits/select2.h: New file.
20594 * include/bits/select2.h: New file.
20595 * debug/Makefile (routines): Add fdelt_chk.
20596 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20597 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20599 * debug/fdelt_chk.c: New file.
20601 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20602 * wcsmbs/test-wmemcmp.c: Likewise.
20603 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
20604 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
20606 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20608 * string/Makefile (strop-tests): Add memcmp.
20609 * string/test-wmemcmp.c: New file.
20610 * string/test-memcmp.c: Add wmemcmp support.
20612 2011-09-08 Roland McGrath <roland@hack.frob.com>
20615 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20618 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20619 garbage value in a __mach_port_mod_refs call in the cases of the
20620 task-self and thread-self ports.
20622 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20624 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20626 2011-09-08 Andreas Schwab <schwab@redhat.com>
20628 * elf/dl-load.c (lose): Check for non-null L.
20630 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20632 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20634 * elf/dl-libc.c (dlerror_run): Pass back error code from
20638 * elf/dl-load.c (lose): Free l_origin if it is valid.
20640 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20642 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20643 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20646 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20647 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20649 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20651 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20652 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20653 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20654 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20655 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20656 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20657 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20658 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20659 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20660 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20662 2011-08-15 Alan Modra <amodra@gmail.com>
20665 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20666 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20667 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20668 ppc_mcount to static-only-routines.
20669 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20671 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20672 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20674 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20676 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20677 for finite and infinity parameters.
20679 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20682 and add nop instructions for throughput optimization.
20683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20685 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20688 aligned copy for power7 with vector-scalar instructions.
20689 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20691 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20696 2011-09-07 Andreas Schwab <schwab@redhat.com>
20699 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20702 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20704 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20705 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20706 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20707 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20710 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20713 Forgot to demangle the pointer.
20715 * sysdeps/i386/sysdep.h: Define atom_text_section.
20716 * sysdeps/x86_64/sysdep.h: Likewise.
20717 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20718 section with atom_text_section.
20719 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20721 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20722 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20725 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20726 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20727 already be defined. Change to take two parameters and don't assign
20728 result to variable. Adjust all users.
20729 Define INTERNAL_GETTIME if not already defined.
20730 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20733 HAVE_CLOCK_GETTIME_VSYSCALL.
20734 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20736 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20737 gettimeofday vsyscall, just use time.
20739 2011-09-06 Andreas Schwab <schwab@redhat.com>
20741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20744 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20746 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20750 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20751 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20752 syscall if possible.
20754 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20756 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20757 e_ident. Don't pass to find_mapsXX.
20758 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20760 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20763 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20764 * sysdeps/x86_64/multiarch/strchr.S: Update.
20765 Check bit_slow_BSF bit.
20766 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20767 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20768 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20770 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20773 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20775 (tryshell): Define.
20776 (__spawni): Change last parameter to be flag. Test
20777 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20778 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20779 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20780 * posix/spawni.c: Likewise.
20781 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20782 * posix/spawnp.c: Likewise. Change normal version to use
20783 SPAWN_XFLAGS_USE_PATH.
20784 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20785 SPAWN_XFLAGS_TRY_SHELL.
20788 * posix/glob.h: Remove gcc 1.x support.
20791 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20793 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20796 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20798 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20799 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20800 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20801 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20802 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20803 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20805 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20807 * sysdeps/x86_64/wcscmp.S: New file.
20809 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20810 wcscmp-c wcscmp-sse2
20811 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20812 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20814 * wcsmbs/wcscmp.c: Allow renaming.
20816 2011-09-05 David S. Miller <davem@davemloft.net>
20818 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20819 stack slot, rather than the struct return pointer slot.
20820 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20821 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20823 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20825 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20827 * po/ja.po: Update from translation team.
20830 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20831 kernel in 64-bit binaries.
20833 2011-09-01 David S. Miller <davem@davemloft.net>
20835 * elf/elf.h (HWCAP_SPARC_*): Move to..
20836 * sysdeps/sparc/sysdep.h: this new file and add new values.
20837 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20838 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20839 _DL_HWCAP_COUNT to 24.
20840 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20842 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20843 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20844 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20846 instead of magic constants.
20847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20849 2011-08-31 David S. Miller <davem@davemloft.net>
20851 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20853 Reimplement to do errno handling inline.
20854 (SYSCALL_ERROR_HANDLER): New macro.
20855 (__SYSCALL_STRING): Do not do errno handling in asm.
20856 (__CLONE_SYSCALL_STRING): Delete.
20857 (__INTERNAL_SYSCALL_STRING): Delete.
20858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20859 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20860 (PSEUDO): Reimplement to do errno handling inline.
20861 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20862 (SYSCALL_ERROR_HANDLER): New macro.
20863 (__SYSCALL_STRING): Do not do errno handling in asm.
20864 (__CLONE_SYSCALL_STRING): Delete.
20865 (__INTERNAL_SYSCALL_STRING): Delete.
20866 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20867 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20869 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20870 (inline_syscall*): Add 'err' argument.
20871 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20872 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20873 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20874 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20876 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20877 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20879 2011-08-30 Andreas Schwab <schwab@redhat.com>
20881 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20883 2011-08-29 Jiri Olsa <jolsa@redhat.com>
20885 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20888 2011-08-24 David S. Miller <davem@davemloft.net>
20890 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20892 2011-08-24 Andreas Schwab <schwab@redhat.com>
20894 * elf/Makefile: Add rules to build and run unload8 test.
20895 * elf/unload8.c: New file.
20896 * elf/unload8mod1.c: New file.
20897 * elf/unload8mod1x.c: New file.
20898 * elf/unload8mod2.c: New file.
20899 * elf/unload8mod3.c: New file.
20901 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20904 2011-08-23 David S. Miller <davem@davemloft.net>
20906 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20907 subtract stack bias.
20908 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20909 %sp not %fp in calculations.
20910 (_JMPBUF_UNWINDS_ADJ): Likewise.
20912 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20913 (aio_suspend): Call it to force an exception region around the
20914 AIO_MISC_WAIT() invocation.
20916 2011-08-23 Andreas Schwab <schwab@redhat.com>
20918 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20921 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20923 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20925 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20926 and <dl-machine.h>.
20927 (Elf64_FuncDesc): Remove.
20929 2011-08-22 David S. Miller <davem@davemloft.net>
20931 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20932 sigaltstack check, add missing cfi directives.
20933 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20934 missing cfi directives, and sigaltstack handling.
20936 2011-08-16 Andreas Schwab <schwab@redhat.com>
20939 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20940 object is seen twice.
20941 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20943 * elf/Makefile (distribute): Add tst-initorder2.c.
20944 (tests): Add tst-initorder2.
20945 (modules-names): Add tst-initorder2a tst-initorder2b
20946 tst-initorder2c tst-initorder2d. Add rules to build them.
20947 ($(objpfx)tst-initorder2.out): New rule.
20948 * elf/tst-initorder2.c: New file.
20949 * elf/tst-initorder2.exp: New file.
20951 2011-08-22 Andreas Schwab <schwab@redhat.com>
20953 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20955 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20956 dependencies back to end of function.
20958 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20959 $(elfobjdir)/ld.so.
20961 2011-08-21 Ulrich Drepper <drepper@gmail.com>
20963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20964 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20966 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20967 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20968 of __vdso_gettimeofday.
20969 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20970 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20972 (_libc_vdso_platform_setup): Remove initialization of
20973 __vdso_gettimeofday and __vdso_time.
20975 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20977 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20978 and fgetc_unlocked.
20979 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20982 * elf/dl-open.c (add_to_global): Report additions to the global scope
20983 for LD_DEBUG=scopes.
20984 (dl_open_worker): Also print scope of newly loaded dependencies.
20985 (_dl_show_scope): Indicate if there is no scope.
20988 * stdio-common/Makefile (tests): Add bug24.
20989 * stdio-common/bug24.c: New file.
20991 2011-08-19 Andreas Jaeger <aj@suse.de>
20994 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20995 non-existant file when using close-on-exec mode.
20997 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21000 the very first instruction.
21002 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21003 the CFI state in the end.
21004 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21005 inclusion of dl-trampoline.h.
21006 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21008 2011-08-19 Andreas Schwab <schwab@redhat.com>
21010 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21011 expectations for long double.
21013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21014 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21016 2011-08-14 David S. Miller <davem@davemloft.net>
21018 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21019 artificual limit depends upon the system page size.
21021 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21023 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21024 * resolv/Makefile: Define CFLAGS-libresolv.
21026 2011-08-17 Andreas Schwab <schwab@redhat.com>
21028 * nss/makedb.c (compute_tables): Make variables used in nested
21031 2011-08-17 Ulrich Drepper <drepper@gmail.com>
21033 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21034 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21035 if buffer was too small.
21037 * elf/pldd.c (main): Attach to all threads in the process.
21038 Rewrite /proc handling to use *at functions.
21040 2011-08-16 Ulrich Drepper <drepper@gmail.com>
21042 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21043 specifies first scope to show.
21044 (dl_open_worker): Update callers. Move printing scope of new
21045 object to before the relocation.
21046 * elf/rtld.c (dl_main): Update _dl_show_scope call.
21047 * sysdeps/generic/ldsodefs.h: Update declaration.
21049 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21050 string for the scope number.
21052 2011-08-14 Ulrich Drepper <drepper@gmail.com>
21054 * nscd/servicescache.c (cache_addserv): Make sure written is always
21057 2011-08-14 Roland McGrath <roland@hack.frob.com>
21059 * sysdeps/i386/i486/bits/atomic.h
21060 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21061 statement expression, so as to suppress "set but not used" warning.
21062 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21064 * string/strncat.c (STRNCAT): Use prototype definition.
21066 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21067 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21069 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21070 (localedef-modules): Add localedef.
21071 (locale-modules): Add locale.
21073 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21074 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21075 to avoid a warning.
21077 2011-08-14 David S. Miller <davem@davemloft.net>
21079 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21080 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21082 2011-08-13 Ulrich Drepper <drepper@gmail.com>
21084 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
21085 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21086 * elf/rtld.c (dl_main): Set l_name of vDSO.
21087 Call _dl_show_scope when DL_DEBUG_SCOPES.
21088 (process_dl_debug): Recognize scopes flag and also set it for all.
21089 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21090 Declare _dl_show_scope.
21092 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21093 (do_dlopen): Pass caller_dlopen to dl_open.
21094 (__libc_dlopen_mode): Initialize caller_dlopen.
21096 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21097 of libc. Make tolower call locale-independent. Optimize a bit by
21098 using isdigit instead of isalnum.
21099 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21101 2011-08-12 Ulrich Drepper <drepper@gmail.com>
21103 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21104 was a dependency or dynamically loaded.
21106 2011-08-11 Ulrich Drepper <drepper@gmail.com>
21108 * intl/l10nflist.c: Allow architecture-specific pop function.
21109 * sysdeps/x86_64/l10nflist.c: New file.
21111 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21114 2011-08-10 Andreas Schwab <schwab@redhat.com>
21116 * include/dirent.h: Add libc_hidden_proto for scandirat and
21117 scandirat64. Don't declare __scandirat64.
21118 * dirent/scandirat.c: Add libc_hidden_def.
21119 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21120 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21122 2011-08-10 David S. Miller <davem@davemloft.net>
21124 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21127 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21130 2011-08-09 Ulrich Drepper <drepper@gmail.com>
21132 * Versions.def [libc]: Add GLIBC_2.15.
21133 * dirent/Makefile (routines): Add scandirat and scandirat64.
21134 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21136 * dirent/dirent.h: Declare scandirat and scandirat64.
21137 * dirent/scandirat.c: New file.
21138 * dirent/scandirat64.c: New file.
21139 * sysdeps/wordsize-64/scandirat.c: New file.
21140 * sysdeps/wordsize-64/scandirat64.c: New file.
21141 * dirent/opendir.c: Define opendirat.
21142 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21144 * dirent/scandir64.c: Adjust for scandir.c change.
21145 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21146 __scandirat64, and __scandir_cancel_handler.
21147 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21148 additional parameter and use openat instead of open (outside of ld.so).
21149 Add new __opendir as wrapper around __opendirat.
21150 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21151 here without requiring old scandirat implementation.
21153 2011-08-08 Ulrich Drepper <drepper@gmail.com>
21155 * dirent/scandir.c (cancel_handler): Renamed to
21156 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21157 defined. Adjust users.
21158 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21159 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21161 2011-08-04 Ulrich Drepper <drepper@gmail.com>
21163 * string/test-string.h (IMPL): Use __STRING to expand name and then
21166 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21169 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21171 * string/Makefile: Update.
21172 (strop-tests): Append strncat.
21173 * string/test-wcscmp.c: New file.
21174 New comprehensive test for wcscmp.
21175 * string/test-strcmp.c: Update.
21176 (WIDE): New define.
21178 2011-07-22 Andreas Schwab <schwab@redhat.com>
21180 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21183 2011-07-26 Andreas Schwab <schwab@redhat.com>
21185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21186 encoding to ACE if AI_IDN.
21188 2011-08-01 Jakub Jelinek <jakub@redhat.com>
21190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21191 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21193 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21196 Fix overflow bug in strncat.
21197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21199 * string/test-strncat.c: Update.
21200 Add new tests for checking overflow bugs.
21202 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21204 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21205 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21206 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21207 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21208 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21209 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21210 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21211 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21212 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21215 (USE_AS_STRCAT): Define.
21216 Add strcat and strncat support.
21217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21219 2011-07-25 Andreas Schwab <schwab@redhat.com>
21221 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21222 __n bigger than INT_MAX+1.
21223 (__strncmp_g): Likewise.
21225 2011-07-23 Ulrich Drepper <drepper@gmail.com>
21227 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21228 * libio/stido.h: Likewise.
21230 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21235 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21236 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21238 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21242 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21247 (_dl_x86_64_save_sse): Likewise.
21249 2011-07-22 Ulrich Drepper <drepper@gmail.com>
21251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21253 (_dl_x86_64_save_sse): Likewise.
21255 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21257 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21259 2011-07-21 Andreas Schwab <schwab@redhat.com>
21261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21263 (_dl_x86_64_save_sse): Use correct AVX check.
21265 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21268 bug in strncpy/strncat.
21269 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21271 2011-07-21 Ulrich Drepper <drepper@gmail.com>
21273 * string/tester.c (test_strcat): Add tests for different alignments
21274 of source and destination.
21275 (test_strncat): Likewise.
21277 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21280 * posix/glob.c (glob): Check passed in values before using them in
21281 expressions to avoid some overflows.
21282 (glob_in_dir): Likewise.
21285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21286 check for AVX enablement so that we don't crash with old kernels and
21288 * elf/tst-audit4.c: Add same checks here.
21289 * elf/tst-audit6.c: Likewise.
21291 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
21293 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21295 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21297 2011-07-20 Ulrich Drepper <drepper@gmail.com>
21299 * po/cs.po: Update from translation team.
21300 * po/bg.po: Likewise.
21302 2011-07-12 Marek Polacek <mpolacek@redhat.com>
21304 * misc/sys/cdefs.h: Add support for const attribute.
21305 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21306 to gnu_dev_{major,minor,makedev} functions.
21308 2011-07-20 Marek Polacek <mpolacek@redhat.com>
21310 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21312 2011-07-20 Andreas Schwab <schwab@redhat.com>
21314 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21317 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21320 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21321 register in order to avoid conflicts with the soft frame pointer
21322 being held in r11 when necessary.
21323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21324 (INTERNAL_VSYSCALL_NCS): Likewise.
21326 2011-07-14 Marek Polacek <mpolacek@redhat.com>
21328 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21329 * elf/dl-fini.c (_dl_fini): Adjust caller.
21330 * elf/dl-close.c (_dl_close_worker): Likewise.
21331 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21333 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21335 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21336 "aux_cache->nlibs < 0".
21338 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21339 in the reload-count case.
21341 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21344 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21345 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21346 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21347 * sysdeps/x86_64/multiarch/strcat.S: New file.
21348 * sysdeps/x86_64/multiarch/strncat.S: New file.
21349 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21350 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21351 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21352 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21354 (USE_AS_STRCAT): Define.
21355 Add strcat and strncat support.
21356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21358 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21359 * string/strncat.c: Update.
21360 (USE_AS_STRNCAT): Define.
21361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21362 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21364 * sysdeps/x86_64/multiarch/init-arch.h
21365 (bit_Prefer_PMINUB_for_stringop): New.
21366 (index_Prefer_PMINUB_for_stringop): Likewise.
21367 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21368 bit_Prefer_PMINUB_for_stringop.
21370 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21372 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21374 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21375 of casting of buffer.
21376 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21377 buffer32 and buffer64.
21378 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21379 writes instead of casting of buffer.
21380 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21382 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21385 2011-07-19 Andreas Schwab <schwab@redhat.com>
21387 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21389 2011-07-19 Ulrich Drepper <drepper@gmail.com>
21391 * nscd/nscd.c (termination_handler): Don't do anything for a database
21392 if it has not yet been initialized.
21394 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21396 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21398 2011-07-15 Marek Polacek <mpolacek@redhat.com>
21400 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21402 2011-07-18 Ulrich Drepper <drepper@gmail.com>
21404 * po/nl.po: Update from translation team.
21405 * po/sv.po: Likewise.
21407 2011-07-16 Roland McGrath <roland@hack.frob.com>
21409 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21410 now disallowed by GCC.
21412 * configure.in (use-default-link): Default to yes if a test -shared
21413 link meets our qualifications.
21414 * configure: Regenerated.
21416 * config.make.in (output-format): New variable.
21417 * configure.in: Check for ld --print-output-format support.
21418 * configure: Regenerated.
21419 * Makerules ($(common-objpfx)format.lds)
21420 [$(output-format) != unknown]: Just use $(output-format),
21421 instead of the linker-script munging.
21423 2011-07-14 Roland McGrath <roland@hack.frob.com>
21425 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21426 of $(common-objpfx)shlib.lds.
21427 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21429 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21430 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21432 * configure.in (-z relro check): Adjust test code to add a large
21433 writable data section after it.
21434 * configure: Regenerated.
21436 2011-07-11 Roland McGrath <roland@hack.frob.com>
21438 * configure.in (-z relro check): Fix test code to make the variable
21440 * configure: Regenerated.
21442 2011-07-11 Ulrich Drepper <drepper@gmail.com>
21444 * nscd/nscd.h (struct traced_file): Define.
21445 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21446 elements. Add traced_files.
21447 (inotify_fd): Declare.
21448 (register_traced_file): Declare.
21449 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21450 (inotify_fd): Export.
21451 (resolv_conf_descr): Remove.
21452 (nscd_init): Move inotify descriptor creation to main.
21453 Don't register files for notification here.
21454 (register_traced_file): New function.
21455 (invalidate_cache): Don't use reset_res to determine whether to call
21456 res_init, go through the list of registered files.
21457 (main_loop_poll): The inotify descriptors are now stored in the
21458 structures for the traced files.
21459 (main_loop_epoll): Likewise
21460 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21461 to __nss_disable_nscd.
21462 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21463 for a database anymore. Check the records for all the registered
21465 * nss/Makefile (libnss_files-routines): Add files-init.
21466 (libnss_db-routines): Add db-init.
21467 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21468 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21469 * nss/nss_db/db-init.c: New file.
21470 * nss/nss_files/files-init.c: New file.
21471 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21472 __nss_lookup_function.
21473 (__nss_lookup_function): Call nss_load_library.
21474 (nss_load_all_libraries): New function.
21475 (__nss_disable_nscd): Take parameter with callback function for files
21476 to register. Set is_nscd. Load all the DSOs for the NSS modules
21477 used for the cached services.
21478 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21479 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21480 options for features to all the files in nscd.
21482 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21484 2011-07-10 Roland McGrath <roland@hack.frob.com>
21486 * csu/elf-init.c (__libc_csu_init): Comment typo.
21488 2011-07-09 Ulrich Drepper <drepper@gmail.com>
21490 * po/pl.po: Update from translation team.
21491 * po/ja.po: Likewise.
21492 * po/ru.po: Likewise.
21493 * po/ko.po: Likewise.
21494 * po/fr.po: Likewise.
21496 2011-07-09 Roland McGrath <roland@hack.frob.com>
21498 * configure.in (.ctors/.dtors header and trailer check):
21499 Use an empirical test on a built program.
21500 * configure: Regenerated.
21502 * configure.in (-z relro check): Use an empirical test on a built DSO.
21503 Detect, but do not require, on ia64.
21504 * configure: Regenerated.
21506 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21507 Update tests that use readelf to use $READELF instead.
21508 * configure: Regenerated.
21510 2011-07-08 Ulrich Drepper <drepper@gmail.com>
21512 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21513 if the result is not used.
21515 2011-07-05 Andreas Jaeger <aj@suse.de>
21518 * stdlib/tst-strtod.c: Add testcase.
21520 2011-07-07 Ulrich Drepper <drepper@gmail.com>
21522 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
21523 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
21524 The latter has a higher limit. Take additional parameter to pass to
21526 (__pathconf): Pass file to __statfs_link_max.
21527 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21529 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21533 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21534 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21536 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21537 (__statfs_filesize_max): Likewise.
21538 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21540 2011-07-05 Andreas Jaeger <aj@suse.de>
21542 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21544 2011-07-06 Marek Polacek <mpolacek@redhat.com>
21546 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21548 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21551 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21553 * Makefile (strop-tests): Add strncat.
21554 * string/test-strncat.c: New file.
21556 2011-06-30 Marek Polacek <mpolacek@redhat.com>
21558 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21560 2011-06-21 Andreas Jaeger <aj@suse.de>
21562 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21563 Copy rule from iconvdata/Makefile.
21565 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21568 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21569 but no long options are defined, just return 'W'.
21571 2011-06-22 Marek Polacek <mpolacek@redhat.com>
21574 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21576 2011-07-06 Ulrich Drepper <drepper@gmail.com>
21578 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21580 (innetgr): Likewise.
21582 2011-07-05 Roland McGrath <roland@hack.frob.com>
21584 * config.make.in (install_root): Default to $(DESTDIR).
21586 2011-07-05 Ulrich Drepper <drepper@gmail.com>
21588 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21590 2011-07-02 Roland McGrath <roland@hack.frob.com>
21592 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21594 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21595 containing directory rather than embedding absolute directory names.
21597 * scripts/check-local-headers.sh: Rewritten using awk.
21598 Match by word, not by line. Print error messages for matches.
21599 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21601 * Makerules [shlib-lds-flags empty]:
21602 ($(common-objpfx)libc_pic.opts): New target.
21603 ($(common-objpfx)libc_pic.os.clean): New target.
21604 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21606 * config.make.in (OBJCOPY): New variable.
21607 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21608 * configure: Regenerated.
21610 * config.make.in (use-default-link): New variable.
21611 * configure.in (use_default_link): Grok --with-default-link to set it.
21612 * configure: Regenerated.
21613 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21614 (shlib-lds, shlib-lds-flags): Define to empty.
21616 * Makerules (shlib-lds): New variable.
21617 (shlib-lds-flags): New variable.
21618 (build-shlib, build-moduile, build-module-asneeded): Use it.
21619 ($(common-objpfx)libc.so): Use $(shlib-lds).
21620 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21621 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21623 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21624 DT_FLAGS/DT_FLAGS_1 with zero flags.
21626 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21627 linker script munging.
21629 2011-07-02 Ulrich Drepper <drepper@gmail.com>
21631 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21633 * crypt/sha512.c (sha512_process_block): Perform total addition using
21634 128-bit if possible.
21635 (__sha512_finish_ctx): Likewise.
21636 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21638 * crypt/sha256.c (SWAP64): Define.
21639 (sha256_process_block): Perform total addition using 64-bit if
21641 (__sha256_finish_ctx): Likewise.
21643 2011-07-01 Ulrich Drepper <drepper@gmail.com>
21645 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21647 * nscd/hstcache.c (cache_addhst): Likewise.
21648 * nscd/grpcache.c (cache_addgr): Likewise.
21649 * nscd/aicache.c (addhstaiX): Likewise
21650 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21652 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
21654 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21656 * nscd/hstcache.c (cache_addhst): Likewise.
21657 * nscd/grpcache.c (cache_addgr): Likewise.
21658 * nscd/aicache.c (addhstaiX): Likewise
21660 2011-07-01 Andreas Schwab <schwab@redhat.com>
21662 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21663 domain only when needed.
21665 2011-06-30 Andreas Schwab <schwab@redhat.com>
21667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21668 is always restored.
21670 2011-06-29 Ulrich Drepper <drepper@gmail.com>
21672 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21673 are re-adding the entry.
21674 * nscd/servicescache.c (cache_addserv): Likewise.
21676 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21678 * sysdeps/generic/dl-irel.h: fix protection against multiple
21680 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21682 2011-06-28 Ulrich Drepper <drepper@gmail.com>
21685 * malloc/memusage.sh: Fix quoting in message.
21686 * debug/xtrace.sh: Likewise.
21688 * configure.in: Remove support for --experimental-malloc option, make
21690 * config.make.in: Likewise.
21691 * malloc/Makefile: Likewise.
21693 2011-06-27 Andreas Schwab <schwab@redhat.com>
21695 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21696 two-byte characters.
21698 2011-06-27 Roland McGrath <roland@hack.frob.com>
21700 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21701 AC_CACHE_CHECK invocation.
21702 * configure: Regenerated.
21704 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21706 2011-06-27 Ulrich Drepper <drepper@gmail.com>
21709 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21710 bit from old_res_options.
21712 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21714 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21715 value type for setfct.
21717 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21720 __gettimeofday instead of gettimeofday.
21722 2011-06-26 Ulrich Drepper <drepper@gmail.com>
21724 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21726 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21728 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21733 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21736 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21737 strcpy-sse2-unaligned strncpy-sse2-unaligned
21738 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21739 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21740 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21741 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21742 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21745 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21746 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21747 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21748 (STRCPY): Support SSE2 and SSSE3 versions.
21750 2011-06-24 Ulrich Drepper <drepper@gmail.com>
21753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21754 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21755 kernels which artificially limit size of requests.
21757 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21760 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21761 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21762 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21763 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21764 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21765 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21766 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21769 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21770 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21771 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21772 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21773 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21775 Enable unaligned load optimization for Intel Core i3, i5 and i7
21777 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21779 (index_Fast_Unaligned_Load): Define.
21780 (HAS_FAST_UNALIGNED_LOAD): Define.
21782 2011-06-23 Marek Polacek <mpolacek@redhat.com>
21784 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21786 2011-06-22 Ulrich Drepper <drepper@gmail.com>
21789 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21790 until it is clear that the information is realy needed.
21791 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21793 2011-06-22 Andreas Schwab <schwab@redhat.com>
21795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21797 2011-06-22 Ulrich Drepper <drepper@gmail.com>
21799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21800 /sys/devices/system/cpu/online if it is usable.
21802 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21803 reading the information from the /proc filesystem to once a second.
21805 2011-06-21 Andreas Jaeger <aj@suse.de>
21807 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21808 NULL after inclusion of kernel headers.
21810 2011-06-21 Ulrich Drepper <drepper@gmail.com>
21812 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21813 calls to internal_setent.
21816 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21817 addresses using gethostbyname4_r ignore IPv4 addresses.
21819 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21820 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21822 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21824 2011-06-20 David S. Miller <davem@davemloft.net>
21826 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21828 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21830 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21831 (elf_irel): Use it.
21832 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21833 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21834 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21835 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21836 * sysdeps/x86_64/dl-irel.h: Likewise.
21838 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21839 * elf/dl-sym.c: Likewise.
21841 2011-06-15 Ulrich Drepper <drepper@gmail.com>
21843 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21844 need to dereference resplen2.
21846 2011-06-14 Andreas Schwab <schwab@redhat.com>
21848 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21850 2011-06-15 Ulrich Drepper <drepper@gmail.com>
21852 * Makeconfig: Define vardbdir and inst_vardbdir.
21853 * nss/Makefile: Add rules to install db-Makefile.
21855 * nss/nss_db/db-XXX.c: Cleanup.
21857 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21858 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21860 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21861 * nss/makedb.c: Implement -g option to specify that value strings
21862 are generated and should not be added to table iterated over for
21864 * nss/nss_db/db-initgroups.c: New file.
21866 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21869 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21870 (internal_getgrouplist): Adjust to name change.
21871 Update use_initgroups_entry if this is not the first call.
21872 * nss/databases.def: Add initgroups entry.
21874 * nss/makedb.c (compute_tables): Check result of multiple hash table
21875 sizes to minimize maximum chain length.
21877 2011-06-14 Ulrich Drepper <drepper@gmail.com>
21879 * Versions.def: Add entry for libnss_db.
21880 * shlib-versions: Likewise.
21881 * nss/Makefile: Add rules to build libnss_db.
21882 * nss/Versions: Add libnss_db information. Organize libnss_files
21884 * nss/db-Makefile: Add gshadow support. Change rules for the new
21885 makedb progra. Some minor improvements to generate smaller files.
21886 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21888 * nss/makedb.c: ...here.
21889 Improve database format to be smaller and require less memory at
21891 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21893 * nss/nss_db/db-netgrp.c: Likewise.
21894 * nss/nss_db/db-open.c: Likewise.
21895 * nss/nss_files/flies-XXX.x: Adjust comments.
21896 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21897 * nss/nss_files/files-grp.c: Likewise.
21898 * nss/nss_files/files-hosts.c: Likewise.
21899 * nss/nss_files/files-network.c: Likewise.
21900 * nss/nss_files/files-proto.c: Likewise.
21901 * nss/nss_files/files-pwd.c: Likewise.
21902 * nss/nss_files/files-rpc.c: Likewise.
21903 * nss/nss_files/files-service.c: Likewise.
21904 * nss/nss_files/files-sgrp.c: Likewise.
21905 * nss/nss_files/files-spwd.c: Likewise.
21906 * nss/nss_db/db-alias.c: Removed.
21907 * nss/nss_db/dummy-db.h: Removed.
21909 2011-06-02 Ulrich Drepper <drepper@gmail.com>
21911 * nss/makedb.c: Rewritten to not use database library.
21912 * nss/Makefile: Update to build new makedb program.
21914 2011-06-14 Andreas Jaeger <aj@suse.de>
21916 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21917 memset declaration.
21919 2011-06-10 Andreas Schwab <schwab@redhat.com>
21921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21924 2011-06-10 Roland McGrath <roland@hack.frob.com>
21926 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21927 * elf/Makefile ($(objpfx)ld.so): Likewise.
21929 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21930 Don't list ld.so twice in dependencies.
21932 * posix/bug-regex31.c: Include <stdlib.h>.
21934 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21936 * nis/nss_compat/compat-spwd.c
21937 (getspent_next_nss_netgr): Remove unused variable.
21938 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21940 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21941 nonmembers" output to use the right array.
21943 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21945 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21947 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21948 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21949 * catgets/gencat.c (read_input_file): Likewise.
21950 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21952 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21953 variable definition inside #if's controlling its use.
21955 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21957 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21959 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21961 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21964 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21966 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21967 * configure: Regenerated.
21969 * Makerules: Revert last change.
21970 * elf/Makefile: Likewise.
21972 2011-06-09 Roland McGrath <roland@hack.frob.com>
21974 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21975 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21976 (reloc-link): Likewise.
21978 2011-06-09 Ulrich Drepper <drepper@gmail.com>
21980 * elf/Makefile: Add rules to build pldd.
21981 * elf/pldd.c: New file.
21982 * elf/pldd-xx.c: New file.
21984 2011-06-07 Ulrich Drepper <drepper@gmail.com>
21986 * version.h: Update for 2.15 development version.
21988 2011-06-07 David S. Miller <davem@davemloft.net>
21990 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21993 elf_machine_lazy_rel): Likewise.
21994 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21995 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21996 elf_machine_lazy_rel): Likewise.
21997 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21998 dl_hwcap via passed in argument.
21999 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22002 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22004 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22006 2011-06-06 Roland McGrath <roland@hack.frob.com>
22009 * manual/fdl-1.1.texi: New file, verbatim from:
22010 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22011 * manual/lgpl-2.1.texi: New file, verbatim from:
22012 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22013 * manual/Makefile (licenses): New variable, list those new file names.
22015 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22017 * manual/fdl.texi: File removed.
22018 * manual/lesser.texi: File removed.
22019 * manual/libc.texinfo (Copying, Documentation License):
22020 Use new @include file names, put @appendix directive before @include.
22022 2011-06-04 Jakub Jelinek <jakub@redhat.com>
22025 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22026 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22027 (mq_open): Add __NTH.
22029 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22031 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22032 Assume Intel Core i3/i5/i7 processor if AVX is available.
22034 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22039 2011-05-31 Andreas Schwab <schwab@redhat.com>
22041 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22042 memory. Use alloca_account. Fix memory leak when retrying.
22044 2011-05-31 Ulrich Drepper <drepper@gmail.com>
22046 * version.h (RELEASE): Bump for 2.14 release.
22047 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22049 * config.make.in (RANLIB): Remove entry.
22051 2011-05-30 Ulrich Drepper <drepper@gmail.com>
22053 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22054 (libc.pot): Work around missing support for .ksh extension in xgettext.
22057 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22058 if both request failed.
22059 (send_dg): In case of server errors clear resplen or *resplen2.
22062 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22063 when there are multiple maps.
22064 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22065 (_dl_fini): Remove test here.
22067 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22069 2011-05-29 Ulrich Drepper <drepper@gmail.com>
22072 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22073 bit from old_res_options.
22074 (gaih_inet): Likewise.
22077 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
22080 * resolv/res_init.c (res_setoptions): Make the code more compact.
22083 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22087 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22089 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22092 * malloc/malloc.h: Declare malloc hook variables as volatile.
22094 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22098 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
22099 raise in the comment.
22100 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22101 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22102 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
22104 2011-05-28 Ulrich Drepper <drepper@gmail.com>
22107 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22108 grow the buffers more if it already has to be sufficient.
22109 (build_wcs_upper_buffer): Likewise.
22110 * posix/regexec.c (check_matching): Likewise.
22111 (clean_state_log_if_needed): Likewise.
22112 (extend_buffers): Don't enlarge buffers beyond size of the input
22114 Patches mostly by Emil Wojak <emil@wojak.eu>.
22115 * posix/bug-regex32.c: New file.
22116 * posix/Makefile (tests): Add bug-regex32.
22118 * locale/findlocale.c (_nl_find_locale): Return right away if
22119 _nl_explode_name failed.
22120 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22122 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22124 * debug/xtrace.sh: Unify messages.
22125 * malloc/memusage.sh: Likewise.
22128 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22129 time symbol from vDSO. Substitute with vsyscall if not available.
22130 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22133 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22134 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22135 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22136 Add sendmmsg and internal_sendmmsg.
22137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22138 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22139 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22141 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22142 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22143 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22145 2011-05-27 Ulrich Drepper <drepper@gmail.com>
22148 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22149 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22155 * iconvdata/Makefile (tests): Add bug-iconv9.
22156 * iconvdata/bug-iconv9.c: New file.
22158 2011-05-27 Andreas Schwab <schwab@redhat.com>
22161 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22163 2011-05-25 Jakub Jelinek <jakub@redhat.com>
22165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22166 (struct user_regs_struct): Change intcs field back to cs.
22168 2011-05-25 Ulrich Drepper <drepper@gmail.com>
22170 * po/ja.po: Update from translation team.
22172 2011-05-23 Ulrich Drepper <drepper@gmail.com>
22175 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22176 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22178 2011-05-20 Andreas Schwab <schwab@redhat.com>
22180 * stdlib/longlong.h: Update from GCC.
22182 2011-05-23 Andreas Schwab <schwab@redhat.com>
22184 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22186 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22187 Add parameter name.
22188 (__sysconf): Pass it down.
22190 2011-05-22 Ulrich Drepper <drepper@gmail.com>
22193 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22195 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22196 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22197 add in in __libc_use_alloca calls. Adjust callers.
22198 (glob): Use malloc in some situations.
22200 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22201 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22204 2011-05-21 Ulrich Drepper <drepper@gmail.com>
22206 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22207 and CLOCK_BOOTTIME_ALARM.
22210 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22213 * string/_strerror.c (__strerror_r): Print negative errors as signed
22217 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22218 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22219 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22221 * configure.in: Fix typo in redirection and correct removal of test
22222 files in two cases.
22225 * locale/setlocale.c (new_composite_name): Fix test to check for
22226 identical name of all categories.
22229 * libio/filedoalloc.c (local_isatty): New function.
22230 (_IO_file_doallocate): Use local_isatty.
22231 * stdio-common/perror.c (perror): In case a new stream is used
22232 forward the stream error.
22233 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22236 2011-05-20 Ulrich Drepper <drepper@gmail.com>
22239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22241 * include/alloca.h (extend_alloca_account): Define.
22244 * posix/regex.h: Fix comments with documentation of user-accessible
22245 fields after compilation and describe correct free'ing of pattern
22246 after re_compile_pattern.
22247 Patch by Reuben Thomas <rrt@sc3d.org>.
22249 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22251 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22252 and -mno-altivec to prevent the compiler from using Altivec and/or
22253 VSX instructions when the corresponding registers are not available.
22255 2011-05-19 Andreas Schwab <schwab@redhat.com>
22257 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22259 2011-05-19 Ulrich Drepper <drepper@gmail.com>
22261 * libio/freopen.c (freopen): Use __dup2, not dup2.
22262 * libio/freopen64.c (freopen64): Likewise.
22264 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22267 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22268 * math/Makefile (tests): Add test-powl.
22269 (CFLAGS-test-powl.c): Define.
22270 * math/test-powl.c: New file.
22272 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22274 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22276 2011-05-17 Ulrich Drepper <drepper@gmail.com>
22279 * iconvdata/gb18030.c: Update to GB18020-2005.
22281 2011-05-16 Ulrich Drepper <drepper@gmail.com>
22283 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22284 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22285 Patch by Aharon Robbins <arnold@skeeve.com>.
22288 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22292 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22293 through underflows.
22296 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22297 point to strings before performing equality test for error_one_per_line
22301 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22304 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22305 (struct user_fpregs_struct): Avoid __uint*_t types.
22308 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22309 symbol info. Use it instead of calling _dl_addr locally.
22310 (lock_and_info): New function.
22311 (tr_freehook): Call lock_and_info and pass symbol info as additional
22312 parameter to tr_where.
22313 (tr_mallochook): Likewise.
22314 (tr_reallochook): Likewise.
22315 (tr_memalignhook): Likewise.
22317 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22318 used and couldn't be at all thread-safe.
22320 2011-05-15 Ulrich Drepper <drepper@gmail.com>
22322 * libio/freopen.c (freopen): Don't close old file descriptor
22323 before the new one is opened. Instead dup the new file descriptor
22324 to the old one after the new stream is created.
22325 * libio/freopen64.c (freopen64): Likewise.
22326 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22327 * libio/fileops.c (_IO_new_file_close_it): Handle new
22328 _IO_FLAGS2_NOCLOSE flag.
22329 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22330 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22331 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22332 _IO_FLAGS2_NOCLOSE flag.
22333 * include/unistd.h: Add hidden_proto for dup3.
22334 Define __have_dup3.
22335 * io/dup3.c: Define hidden symbol.
22336 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22339 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22340 when an incomplete long option is used.
22341 * posix/tst-getopt_long1.c: New file.
22342 * posix/Makefile (tests): Add tst-getopt_long1.
22345 * scripts/config.guess: Update from autoconf-2.68.
22346 * scripts/config.sub: Likewise.
22349 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22351 (has_cpuclock): ...this. New function.
22352 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22353 macro here based on has_cpuclock code.
22356 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22357 First byte (not low byte) is now always NUL.
22358 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22361 Use non-cancelable interfaces.
22364 * locale/iso-639.def: Add entry for Sorani.
22367 * include/stdlib.h: Move include protection to the right place.
22368 Define abort_msg_s. Declare __abort_msg with it.
22369 * stdlib/abort.c (__abort_msg): Adjust type.
22370 * assert/assert.c (__assert_fail_base): New function. Majority
22371 of code from __assert_fail. Allocate memory for __abort_msg with
22373 (__assert_fail): Now call __assert_fail_base.
22374 * assert/assert-perr.c: Remove bulk of implementation. Use
22375 __assert_fail_base.
22376 * include/assert.hL Declare __assert_fail_base.
22377 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22379 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22381 2011-05-14 Ulrich Drepper <drepper@gmail.com>
22385 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22386 until all modules are registered in the DTV.
22387 * elf/Makefile: Add rules to build and run tst-tls19.
22388 * elf/tst-tls19.c: New file.
22389 * elf/tst-tls19mod1.c: New file.
22390 * elf/tst-tls19mod2.c: New file.
22391 * elf/tst-tls19mod3.c: New file.
22392 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22395 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22399 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22400 two-byte sequence errors.
22401 * iconvdata/Makefile (tests): Add bug-iconv8.
22402 * iconvdata/bug-iconv8.c: New file.
22405 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22408 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22411 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22412 (dummy_getcfa): New function.
22413 (init): Get _Unwind_GetCFA address, use dummy if not found.
22414 (backtrace_helper): In recursion check, also check whether CFA changes.
22415 (__backtrace): Completely initialize arg.
22417 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
22418 storing incomplete byte sequence in state object. Avoid testing for
22419 guaranteed too small input if we know there is enough data available.
22421 2011-05-11 Andreas Schwab <schwab@redhat.com>
22423 * Makeconfig (+link-pie): Indent.
22424 * Rules (binaries-pie): Define if $(have-fpie) and
22426 (binaries-shared): Also filter out $(binaries-pie).
22427 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22428 * nscd/Makefile (others-pie): Add nscd.
22429 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22430 ($(objpfx)nscd): Remove command override.
22431 * login/Makefile (others-pie): Add pt_chown.
22432 ($(objpfx)pt_chown): Remove command override.
22433 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22434 remove command overrides.
22436 2011-05-13 Ulrich Drepper <drepper@gmail.com>
22438 * libio/tst_putwc.c: Fix error messages.
22441 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22442 currently writing and seek to current position when not.
22443 * libio/Makefile (tests): Add bug-fclose1.
22444 * libio/bug-fclose1.c: New file.
22446 2011-05-12 Ulrich Drepper <drepper@gmail.com>
22449 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22450 don't set DF_1_NODELETE here.
22451 (do_lookup_x): When entering new entry test for copy relocation
22452 and if necessary set DF_1_NODELETE flag.
22453 * elf/tst-unique4.cc: New file.
22454 * elf/tst-unique4.h: New file.
22455 * elf/tst-unique4lib.cc: New file.
22456 * elf/Makefile: Add rules to build and run tst-unique4.
22457 Patch by Piotr Bury <pbury@goahead.com>.
22459 2011-05-11 Ulrich Drepper <drepper@gmail.com>
22462 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22465 * misc/mntent_r.c (addmntent): Flush the stream after the output
22468 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22469 (is_trusted_path_normalize): Skip initial colon. Append slash
22470 to empty buffer. Duplicate is_trusted_path code but allow
22471 constructed patch to be prefix.
22472 (is_dst): Allow $ORIGIN followed by /.
22473 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22474 Correct testing of result of is_trusted_path_normalize
22475 (decompose_rpath): Fix warning.
22477 2011-05-10 Ulrich Drepper <drepper@gmail.com>
22480 * grp/initgroups.c (internal_getgrouplist): When we found the service
22481 list through the initgroups entry in nsswitch.conf do not always
22482 continue on a successful lookup. Don't always use the
22483 __nss_group_database value if it is set.
22484 * nss/nsswitch.conf (initgroups): Change action for successful db
22485 lookup to continue for compatibility.
22487 2011-05-09 Ulrich Drepper <drepper@gmail.com>
22490 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22492 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22494 * iconvdata/tst-tables.sh: Likewise.
22495 * iconvdata/cp770.c: New file.
22496 * iconvdata/cp771.c: New file.
22497 * iconvdata/cp772.c: New file.
22498 * iconvdata/cp773.c: New file.
22499 * iconvdata/cp774.c: New file.
22500 * iconvdata/testdata/CP770: New file.
22501 * iconvdata/testdata/CP770..UTF8: New file.
22502 * iconvdata/testdata/CP771: New file.
22503 * iconvdata/testdata/CP771..UTF8: New file.
22504 * iconvdata/testdata/CP772: New file.
22505 * iconvdata/testdata/CP772..UTF8: New file.
22506 * iconvdata/testdata/CP773: New file.
22507 * iconvdata/testdata/CP773..UTF8: New file.
22508 * iconvdata/testdata/CP774: New file.
22509 * iconvdata/testdata/CP774..UTF8: New file.
22511 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22513 * iconvdata/gen-8bit-gap.sh: Likewise.
22514 * iconvdata/gen-8bit.sh: Likewise.
22516 * locale/iso-639.def: Add ary entry.
22519 * locale/C-translit.h.in: Add U20A1 transliteration.
22522 * locale/iso-639.def: Add wae entry.
22523 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22526 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22530 * locale/C-translit.h.in: Add entry for U20B9.
22531 Patch by pravin.d.s@gmail.com.
22533 2011-05-08 Ulrich Drepper <drepper@gmail.com>
22536 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22537 ENAMETOOLONG use generic getcwd.
22538 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22539 in rtld. Use *stat64.
22540 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
22541 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
22542 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
22543 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22544 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22545 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22546 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22547 __fstatat64 macros.
22548 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22549 * dirent/rewinddir.c: Add libc_hidden_def.
22550 * sysdeps/mach/hurd/rewinddir.c: Likewise.
22551 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
22553 * include/dirent.h (__alloc_dir): Add flags parameter.
22554 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22555 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22557 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22558 from fdopendir if O_CLOEXEC is already set.
22560 2011-03-15 Alan Modra <amodra@gmail.com>
22562 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22563 l_tls_firstbyte_offset non-zero. Save padding offset in
22564 l_tls_firstbyte_offset for later use.
22565 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22566 freeing static tls block.
22568 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22570 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22571 where #ifdef was intended. The intent is to prevent ARG_MAX from
22572 being defined by the kernel headers.
22574 2011-05-07 Ulrich Drepper <drepper@gmail.com>
22577 * resolv/resolv.h: Define RES_NOTLDQUERY.
22578 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22579 no-tld-query and set RES_NOTLDQUERY.
22580 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22581 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22582 modern BIND to search name as TLD unless forbidden.
22584 2011-05-07 Petr Baudis <pasky@suse.cz>
22585 Ulrich Drepper <drepper@gmail.com>
22588 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22589 (is_trusted_path): ...to here.
22590 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
22591 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
22592 using is_trusted_path_normalize() in setuid scripts.
22594 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22596 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22597 __BEGIN/__END_DECLS.
22599 2011-05-06 Ulrich Drepper <drepper@gmail.com>
22601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22602 NSS_STATUS_NOTFOUND if no record was found.
22604 2011-05-05 Andreas Schwab <schwab@redhat.com>
22606 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22607 (headers-not-in-tirpc): Remove rpc/netdb.h
22608 * resolv/netdb.h: Revert last change.
22610 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22612 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22613 circular dependency between libgcc.a and libc.a.
22615 2011-05-05 Andreas Schwab <schwab@redhat.com>
22617 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22618 * nis/Makefile: Don't install rpcsvc/*.
22619 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22620 instead of <rpc/types.h>.
22621 (MAXHOSTNAMELEN): Define.
22623 2011-05-03 Andreas Schwab <schwab@redhat.com>
22625 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22627 2011-04-28 Maciej Babinski <mbabinski@google.com>
22630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22631 gethostbyname4_r when IPv6 results are possible.
22633 2011-05-02 Ulrich Drepper <drepper@gmail.com>
22636 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22637 _PC_PIPE_BUF handling.
22639 2011-04-30 Bruno Haible <bruno@clisp.org>
22642 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22643 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22645 * inet/getnameinfo.c (getnameinfo): Likewise.
22647 2011-04-29 Ulrich Drepper <drepper@gmail.com>
22649 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22650 to groups setting in database lookup.
22651 * nss/nsswitch.conf: Add initgroups entry.
22653 2011-04-22 Ulrich Drepper <drepper@gmail.com>
22656 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22658 Patch by Eric Blake <eblake@redhat.com>.
22660 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22662 * sunrpc/Makefile (need-export-routines): Add svc_run.
22663 (routines): Remove svc_run.
22664 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22665 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22666 * sunrpc/svc_run.c (svc_run): Likewise.
22667 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22669 2011-04-21 Ulrich Drepper <drepper@gmail.com>
22671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22672 problem in reallocation in last patch.
22674 2011-04-20 Ulrich Drepper <drepper@gmail.com>
22676 * sunrpc/Makefile: Move inclusion of Rules.
22678 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22680 * nss/nss_files/files-initgroups.c: New file.
22681 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22682 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22683 _nss_files_initgroups_dyn.
22685 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22687 * elf/elf.h (R_ARM_IRELATIVE): Define.
22689 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22691 * po/ru.po: Update from translation team.
22693 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22695 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22698 2011-02-06 Mike Frysinger <vapier@gentoo.org>
22701 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22702 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22704 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22707 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22709 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22711 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22712 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22713 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22715 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22718 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22720 * stdlib/bug-getcontext.c: New file.
22721 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22723 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22725 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22726 instructions into .machine "z9-109".
22727 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22728 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22730 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22732 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22733 between environment variables and auxiliary vector.
22735 2011-04-16 Ulrich Drepper <drepper@gmail.com>
22737 * Makefile: Add rules to build linkobj/libc.so.
22738 * include/libc-symbols.h: Define libc_hidden_nolink.
22739 * include/rpc/auth.h: Mark functions which are to be hidden.
22740 * include/rpc/auth_des.h: Likewise.
22741 * include/rpc/auth_unix.h: Likewise.
22742 * include/rpc/clnt.h: Likewise.
22743 * include/rpc/des_crypt.h: Likewise.
22744 * include/rpc/key_prot.h: Likewise.
22745 * include/rpc/pmap_clnt.h: Likewise.
22746 * include/rpc/pmap_prot.h: Likewise.
22747 * include/rpc/pmap_rmt.h: Likewise.
22748 * include/rpc/rpc_msg.h: Likewise.
22749 * include/rpc/svc.h: Likewise.
22750 * include/rpc/svc_auth.h: Likewise.
22751 * include/rpc/xdr.h: Likewise.
22752 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22753 * nss/Makefile: Likewise.
22754 * sunrpc/Makefile: Don't install headers. Build library with normal
22755 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22756 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22757 for the compat linking library. Remove use of INTDEF/INTUSE.
22758 * sunrpc/auth_none.c: Likewise.
22759 * sunrpc/auth_unix.c: Likewise.
22760 * sunrpc/authdes_prot.c: Likewise.
22761 * sunrpc/authuxprot.c: Likewise.
22762 * sunrpc/clnt_gen.c: Likewise.
22763 * sunrpc/clnt_perr.c: Likewise.
22764 * sunrpc/clnt_raw.c: Likewise.
22765 * sunrpc/clnt_simp.c: Likewise.
22766 * sunrpc/clnt_tcp.c: Likewise.
22767 * sunrpc/clnt_udp.c: Likewise.
22768 * sunrpc/clnt_unix.c: Likewise.
22769 * sunrpc/des_crypt.c: Likewise.
22770 * sunrpc/des_soft.c: Likewise.
22771 * sunrpc/get_myaddr.c: Likewise.
22772 * sunrpc/key_call.c: Likewise.
22773 * sunrpc/key_prot.c: Likewise.
22774 * sunrpc/netname.c: Likewise.
22775 * sunrpc/pm_getmaps.c: Likewise.
22776 * sunrpc/pm_getport.c: Likewise.
22777 * sunrpc/pmap_clnt.c: Likewise.
22778 * sunrpc/pmap_prot.c: Likewise.
22779 * sunrpc/pmap_prot2.c: Likewise.
22780 * sunrpc/pmap_rmt.c: Likewise.
22781 * sunrpc/publickey.c: Likewise.
22782 * sunrpc/rpc_cmsg.c: Likewise.
22783 * sunrpc/rpc_common.c: Likewise.
22784 * sunrpc/rpc_dtable.c: Likewise.
22785 * sunrpc/rpc_prot.c: Likewise.
22786 * sunrpc/rpc_thread.c: Likewise.
22787 * sunrpc/rtime.c: Likewise.
22788 * sunrpc/svc.c: Likewise.
22789 * sunrpc/svc_auth.c: Likewise.
22790 * sunrpc/svc_authux.c: Likewise.
22791 * sunrpc/svc_raw.c: Likewise.
22792 * sunrpc/svc_run.c: Likewise.
22793 * sunrpc/svc_simple.c: Likewise.
22794 * sunrpc/svc_tcp.c: Likewise.
22795 * sunrpc/svc_udp.c: Likewise.
22796 * sunrpc/svc_unix.c: Likewise.
22797 * sunrpc/svcauth_des.c: Likewise.
22798 * sunrpc/xcrypt.c: Likewise.
22799 * sunrpc/xdr.c: Likewise.
22800 * sunrpc/xdr_array.c: Likewise.
22801 * sunrpc/xdr_float.c: Likewise.
22802 * sunrpc/xdr_intXX_t.c: Likewise.
22803 * sunrpc/xdr_mem.c: Likewise.
22804 * sunrpc/xdr_rec.c: Likewise.
22805 * sunrpc/xdr_ref.c: Likewise.
22806 * sunrpc/xdr_sizeof.c: Likewise.
22807 * sunrpc/xdr_stdio.c: Likewise.
22809 2011-04-10 Ulrich Drepper <drepper@gmail.com>
22812 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22813 * sysdeps/ia64/dl-tls.h: Likewise.
22814 * sysdeps/powerpc/dl-tls.h: Likewise.
22815 * sysdeps/s390/dl-tls.h: Likewise.
22816 * sysdeps/sh/dl-tls.h: Likewise.
22817 * sysdeps/sparc/dl-tls.h: Likewise.
22818 * sysdeps/x86_64/dl-tls.h: Likewise.
22819 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22821 2011-03-14 Andreas Schwab <schwab@redhat.com>
22823 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22824 rpath element also skip the following colon.
22825 (expand_dynamic_string_token): Add is_path parameter and pass
22826 down to DL_DST_REQUIRED and _dl_dst_substitute.
22827 (decompose_rpath): Call expand_dynamic_string_token with
22828 non-zero is_path. Ignore empty rpaths.
22829 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22832 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22837 2011-04-09 Ulrich Drepper <drepper@gmail.com>
22840 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22841 Patch by Filipe David Manana <fdmanana@apache.org>.
22843 2011-04-07 Andreas Schwab <schwab@redhat.com>
22845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22846 Maintain aligned stack.
22847 (CHECK_RSP): Remove unused macro.
22849 2011-04-03 Ulrich Drepper <drepper@gmail.com>
22851 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22852 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22854 2011-04-02 Ulrich Drepper <drepper@gmail.com>
22856 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22858 * include/features.h: Mention __USE_XOPEN2K8 in comment.
22860 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22863 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22864 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22865 * sysdeps/x86_64/memmove.c: New file.
22866 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22867 (memcpy): Renamed to ...
22868 (__new_memcpy): This.
22869 (memcpy): Provide GLIBC_2_14 memcpy.
22870 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22871 (memcpy): Provide GLIBC_2_2_5 memcpy.
22873 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22876 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22878 2011-03-30 Andreas Schwab <schwab@redhat.com>
22880 * misc/syncfs.c: New file.
22881 * misc/Makefile (routines): Add syncfs.
22882 * posix/unistd.h: Declare syncfs.
22883 * sysdeps/unix/syscalls.list: Add syncfs.
22885 2011-04-01 Andreas Schwab <schwab@redhat.com>
22887 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22890 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22894 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22897 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22907 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22908 sync_file_range.c with -fexceptions.
22909 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22910 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22911 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22912 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22913 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22914 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22915 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22916 sync_file_range as cancellation point
22917 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22918 now a wrapper around __call_sync_file_range with cancellation handling.
22919 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22920 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22921 function name to __call_sync_file_range.
22922 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22923 Add call_sync_file_range.
22925 2011-04-01 Andreas Schwab <schwab@redhat.com>
22927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22930 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22932 * iconv/iconv.h: Fix typo in comment.
22933 * io/fcntl.h: Likewise.
22934 * libio/stdio.h: Likewise.
22935 * posix/spawn.h: Likewise.
22936 * posix/unistd.h: Likewise.
22937 * stdlib/stdlib.h: Likewise.
22938 * time/time.h: Likewise.
22939 * wcsmbs/wchar.h: Likewise.
22941 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22942 open_by_handle): Add.
22943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22944 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22945 Augment a few comments.
22946 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22948 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22951 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22954 * io/fcntl.h (AT_EMPTY_PATH): Define.
22956 2011-03-30 Ulrich Drepper <drepper@gmail.com>
22958 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22959 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22960 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22962 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
22963 * Versions.def: Add GLIBC_2.14.
22964 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22967 2011-03-22 Ulrich Drepper <drepper@gmail.com>
22969 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22971 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22973 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22976 * string/test-strncmp.c (do_page_test): New function.
22977 (check2): Likewise.
22978 (test_main): Call check2.
22979 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22981 2011-03-20 Ulrich Drepper <drepper@gmail.com>
22984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22985 Handle cache information in CPU leaf 4.
22986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22988 2011-03-18 Ulrich Drepper <drepper@gmail.com>
22991 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22992 character representation.
22993 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22995 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22997 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22998 END(__isnan) to END(__isnanf) to match function entry point/label
22999 EALIGN(__isnanf,...).
23001 2011-03-10 Jakub Jelinek <jakub@redhat.com>
23003 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23005 2011-03-10 Ulrich Drepper <drepper@gmail.com>
23008 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23009 copy from the symbol referenced in the relocation to initialize the
23011 Patch by Piotr Bury <pbury@goahead.com>.
23012 * elf/Makefile: Add rules to build and tst-unique3.
23013 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23014 * elf/tst-unique3.cc: New file.
23015 * elf/tst-unique3.h: New file.
23016 * elf/tst-unique3lib.cc: New file.
23017 * elf/tst-unique3lib2.cc: New file.
23019 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23021 2011-03-10 Mike Frysinger <vapier@gentoo.org>
23023 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23024 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23027 2011-03-06 Ulrich Drepper <drepper@gmail.com>
23029 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23030 to-be-loaded object along a path to loader is ld.so.
23032 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23033 Ulrich Drepper <drepper@gmail.com>
23035 * sysdeps/x86_64/memset.S: After aligning destination, code
23036 branches to different locations depending on the value of
23037 misalignment, when multiarch is enabled. Fix this.
23039 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23041 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23042 Set _x86_64_preferred_memory_instruction for AMD processsors.
23043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23044 Set bit_Prefer_SSE_for_memop for AMD processors.
23046 2011-03-04 Ulrich Drepper <drepper@gmail.com>
23048 * libio/fmemopen.c (fmemopen): Optimize a bit.
23050 2011-03-03 Andreas Schwab <schwab@redhat.com>
23052 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23054 2011-03-03 Roland McGrath <roland@redhat.com>
23056 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23058 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23060 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
23061 __bzero_ultra1 instead of __memset_ultra1.
23063 2011-02-23 Andreas Schwab <schwab@redhat.com>
23064 Ulrich Drepper <drepper@gmail.com>
23067 * include/link.h (struct link_map): Add l_orig_initfini.
23068 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23069 returning unsuccessfully.
23070 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23071 close of a file loaded at startup, restore the original l_initfini
23073 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23074 list, store the pointer.
23075 * elf/Makefile ($(objpfx)noload-mem): New rule.
23076 (noload-ENV): Define.
23077 (tests): Add $(objpfx)noload-mem.
23078 * elf/noload.c: Include <memcheck.h>.
23079 (main): Call mtrace. Close all opened handles.
23081 2011-02-17 Andreas Schwab <schwab@redhat.com>
23084 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23085 dependencies are missing.
23087 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23089 Fix __if_freereq crash: Unlike the generic version which uses free,
23091 * sysdeps/mach/hurd/ifreq.h: New file.
23093 2011-01-27 Petr Baudis <pasky@suse.cz>
23094 Ulrich Drepper <drepper@gmail.com>
23097 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23098 to extend_alloca().
23099 * stdio-common/bug23.c: New file.
23100 * stdio-common/Makefile (tests): Add bug23.
23102 2010-09-28 Andreas Schwab <schwab@redhat.com>
23103 Ulrich Drepper <drepper@gmail.com>
23106 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23107 before performing relro protection. At old place add assertion
23108 to make sure nothing changed.
23110 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23111 Glauber de Oliveira Costa <glommer@gmail.com>
23113 * elf/elf.h: Add new ARM TLS relocs.
23115 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23118 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23120 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23122 * sysdeps/wordsize-64/tst-writev.c: New file.
23124 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23126 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23127 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23128 insns in _dl_start to prevent a TOC reference before relocs are
23131 2011-02-15 Ulrich Drepper <drepper@gmail.com>
23134 * Makeconfig: Remove RANLIB definition.
23135 * Makerules: Don't use RANLIB.
23136 * aclocal.m4: Remove ranlib test.
23137 * configure.in: No need to check for ranlib.
23138 * elf/rtld-Rules: Don't use RANLIB.
23140 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23142 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23144 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23145 inclusion protection macro.
23147 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23148 SIGRTMIN and SIGRTMAX and print information in that case only when
23149 SIGRTMIN is defined.
23151 2011-02-11 Jakub Jelinek <jakub@redhat.com>
23153 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23154 arginfo fn returning -1.
23156 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23157 and thousands string is zero terminated.
23159 2011-02-03 Andreas Schwab <schwab@redhat.com>
23161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23162 sysdeps/unix/sysv/linux/bits/socket.h.
23164 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23166 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23167 (__CPU_COUNT): Remove old macros.
23168 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23169 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23170 (__CPU_ALLOC, __CPU_FREE): Add macros.
23171 (__sched_cpualloc, __sched_cpufree): Add declarations.
23173 2011-02-05 Ulrich Drepper <drepper@gmail.com>
23175 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23176 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23177 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23178 (readdhstai): Return value of addhstaiX call.
23179 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23180 (addgrbyX): Return value returned by cache_addgr.
23181 (readdgrbyname): Return value returned by addgrbyX.
23182 (readdgrbygid): Likewise.
23183 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23184 (addpwbyX): Return value returned by cache_addpw.
23185 (readdpwbyname): Return value returned by addhstbyX.
23186 (readdpwbyuid): Likewise.
23187 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23188 (addservbyX): Return value returned by cache_addserv.
23189 (readdservbyname): Return value returned by addservbyX:
23190 (readdservbyport): Likewise.
23191 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23192 (addhstbyX): Return value returned by cache_addhst.
23193 (readdhstbyname): Return value returned by addhstbyX.
23194 (readdhstbyaddr): Likewise.
23195 (readdhstbynamev6): Likewise.
23196 (readdhstbyaddrv6): Likewise.
23197 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23198 (readdinitgroups): Return value returned by addinitgroupsX.
23199 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23200 (prune_cache): Keep track of timeout value of re-added entries.
23201 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23202 * nscd/nscd.h: Adjust prototypes of readd* functions.
23204 2011-02-04 Roland McGrath <roland@redhat.com>
23206 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23207 (nis_stats): Likewise.
23208 * nis/nis_modify.c (nis_modify): Likewise.
23209 * nis/nis_remove.c (nis_remove): Likewise.
23210 * nis/nis_add.c (nis_add): Likewise.
23212 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23214 * posix/fnmatch_loop.c: Add some consts.
23216 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23218 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23221 * config.make.in (config-cflags-novzeroupper): Define.
23222 * configure.in: Substitute libc_cv_cc_novzeroupper.
23223 * elf/Makefile (AVX-CFLAGS): Define.
23224 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23225 (CFLAGS-tst-auditmod4a.c): Likewise.
23226 (CFLAGS-tst-auditmod4b.c): Likewise.
23227 (CFLAGS-tst-auditmod6b.c): Likewise.
23228 (CFLAGS-tst-auditmod6c.c): Likewise.
23229 (CFLAGS-tst-auditmod7b.c): Likewise.
23230 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23232 2011-02-02 Ulrich Drepper <drepper@gmail.com>
23234 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23235 function to the callback.
23236 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23238 2011-02-02 Andreas Schwab <schwab@redhat.com>
23240 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23243 2011-01-19 Ulrich Drepper <drepper@gmail.com>
23246 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23248 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23250 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23253 * elf/Makefile: Add rules to build and run new test.
23254 * elf/tst-initorder.c: New file.
23255 * elf/tst-initorder.exp: New file.
23256 * elf/tst-initordera1.c: New file.
23257 * elf/tst-initordera2.c: New file.
23258 * elf/tst-initordera3.c: New file.
23259 * elf/tst-initordera4.c: New file.
23260 * elf/tst-initorderb1.c: New file.
23261 * elf/tst-initorderb2.c: New file.
23262 * elf/tst-order-a1.c: New file.
23263 * elf/tst-order-a2.c: New file.
23264 * elf/tst-order-a3.c: New file.
23265 * elf/tst-order-a4.c: New file.
23266 * elf/tst-order-b1.c: New file.
23267 * elf/tst-order-b2.c: New file.
23268 * elf/tst-order-main.c: New file.
23269 New test case by George Gensure <werkt0@gmail.com>.
23271 2010-10-01 Andreas Schwab <schwab@redhat.com>
23273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23274 decoding ACE if AI_CANONIDN.
23276 2011-01-18 Ulrich Drepper <drepper@gmail.com>
23278 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23280 2011-01-17 Ulrich Drepper <drepper@gmail.com>
23282 * version.h (RELEASE): Bump for 2.13 release.
23283 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23285 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23287 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23289 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23294 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23296 * posix/getconf.c: Update copyright year.
23297 * catgets/gencat.c: Likewise.
23298 * csu/version.c: Likewise.
23299 * debug/catchsegv.sh: Likewise.
23300 * debug/xtrace.sh: Likewise.
23301 * elf/ldconfig.c: Likewise.
23302 * elf/ldd.bash.in: Likewise.
23303 * elf/sprof.c (print_version): Likewise.
23304 * iconv/iconv_prog.c: Likewise.
23305 * iconv/iconvconfig.c: Likewise.
23306 * locale/programs/locale.c: Likewise.
23307 * locale/programs/localedef.c: Likewise.
23308 * malloc/memusage.sh: Likewise.
23309 * malloc/mtrace.pl: Likewise.
23310 * nscd/nscd.c (print_version): Likewise.
23311 * nss/getent.c: Likewise.
23313 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23314 PF_CAIF, and PF_ALG.
23315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23317 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23319 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23320 (modules-names): Use them.
23321 (ifunc-test-modules, ifunc-pie-tests): Define.
23322 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23323 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23324 (test-extras): Likewise.
23325 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23326 $(compile-command.c).
23327 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23328 (all-built-dso): Define.
23329 (check-textrel.out, check-execstack.out): Depend on it.
23331 * configure.in: Don't override --enable-multi-arch.
23333 2011-01-15 Ulrich Drepper <drepper@gmail.com>
23336 * nscd/hstcache.c (tryagain): Define.
23337 (cache_addhst): Return tryagain not notfound for temporary errors.
23338 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23341 2011-01-14 Ulrich Drepper <drepper@gmail.com>
23344 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23345 to make the syscall.
23346 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23349 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23350 and fall back to matching as normal character if the string ends before
23351 the matching ']' is found. This is what POSIX requires.
23352 * posix/testfnm.c: Adjust test result.
23353 * posix/globtest.sh: Adjust test result. Add new test.
23354 * posix/tst-fnmatch.input: Likewise.
23355 * posix/tst-fnmatch2.c: Add new test.
23357 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23359 * elf/Makefile (check-execstack): Revert last change. Depend on
23361 (check-execstack.h): New target.
23362 (generated): Add check-execstack.h.
23363 * elf/check-execstack.c: Include "check-execstack.h".
23364 (main): Revert last change.
23365 (handle_file): Return zero if GNU_STACK is absent and
23366 DEFAULT_STACK_PERMS doesn't include PF_X.
23368 2011-01-13 Ulrich Drepper <drepper@gmail.com>
23370 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23371 in child fails because the descriptor is already closed.
23372 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23373 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23374 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
23377 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23381 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23382 temporary buffer used to handle multi lookups locally.
23383 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
23385 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23387 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23390 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23392 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23393 alignment for SSE2.
23395 2011-01-12 Ulrich Drepper <drepper@gmail.com>
23398 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23399 characters. When rounding increased number of integer digits recompute
23401 * stdio-common/tst-grouping.c: New file.
23402 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23404 2011-01-09 Ulrich Drepper <drepper@gmail.com>
23406 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23407 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23409 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23411 * bits/select.h: Likewise.
23413 2011-01-08 Ulrich Drepper <drepper@gmail.com>
23415 * po/ja.po: Update from translation team.
23417 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
23420 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23421 implementation just like for lxstat, fxstatat, et al.
23423 2010-12-27 Jim Meyering <meyering@redhat.com>
23426 * posix/regexec.c (build_trtable): Return failure indication upon
23427 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23429 2010-12-25 Ulrich Drepper <drepper@gmail.com>
23432 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23433 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23434 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23435 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23438 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23441 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23442 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23444 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23446 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23447 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23448 script has SORT_BY_INIT_PRIORITY.
23449 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23450 NO_CTORS_DTORS_SECTIONS is defined.
23451 * elf/soinit.c: Likewise.
23452 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23453 NO_CTORS_DTORS_SECTIONS is defined.
23454 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23455 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23456 * sysdeps/sh/init-first.c: Likewise.
23457 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23459 2010-12-24 Ulrich Drepper <drepper@gmail.com>
23461 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23462 always use the slow path.
23464 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23466 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23467 similar rule which adds the sysdep directories to the header search in
23468 order to pick up the correct platform stackinfo.h.
23469 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23470 perform test if it is, otherwise return successfully without testing.
23471 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23472 DEFAULT_STACK_PERMS define in stackinfo.h.
23473 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23474 defined in stackinfo.h.
23475 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23476 DEFAULT_STACK_PERMS defined in stackinfo.h.
23477 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23478 * sysdeps/ia64/stackinfo.h: Likewise.
23479 * sysdeps/s390/stackinfo.h: Likewise.
23480 * sysdeps/sh/stackinfo.h: Likewise.
23481 * sysdeps/sparc/stackinfo.h: Likewise.
23482 * sysdeps/x86_64/stackinfo.h: Likewise.
23483 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23484 PF_X for powerpc64. Retain PF_X for powerpc32.
23486 2010-12-19 Ulrich Drepper <drepper@gmail.com>
23488 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23490 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23491 GETDENTS_64BIT_ALIGNED.
23493 2010-12-14 Ulrich Drepper <dreper@gmail.com>
23495 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
23497 2010-12-10 Andreas Schwab <schwab@redhat.com>
23499 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23502 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23503 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23505 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23506 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23508 2010-12-09 Ulrich Drepper <drepper@gmail.com>
23511 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23514 2010-12-09 Jakub Jelinek <jakub@redhat.com>
23516 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23518 2010-12-03 Ulrich Drepper <drepper@gmail.com>
23520 * po/it.po: Update from translation team.
23522 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23527 2010-11-30 Ulrich Drepper <drepper@gmail.com>
23529 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23531 2010-11-24 Andreas Schwab <schwab@redhat.com>
23533 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23535 (gaih_getanswer_slice): Likewise.
23537 2010-10-20 Jakub Jelinek <jakub@redhat.com>
23539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23541 2010-05-31 Petr Baudis <pasky@suse.cz>
23544 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23545 silently even in the chroot mode.
23547 2010-11-22 Ulrich Drepper <drepper@gmail.com>
23549 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23550 last patch a bit. Pretty printing
23552 2010-05-31 Petr Baudis <pasky@suse.cz>
23555 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23556 initialization of skip_initgroups_dyn.
23558 2010-11-19 Ulrich Drepper <drepper@gmail.com>
23560 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23561 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23563 2010-11-16 Ulrich Drepper <drepper@gmail.com>
23565 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23567 2010-11-11 Andreas Schwab <schwab@redhat.com>
23569 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23570 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23571 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23572 ($(objpfx)tst-fnmatch-mem): New rule.
23573 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23574 * posix/tst-fnmatch.c (main): Call mtrace.
23576 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23579 Support Intel processor model 6 and model 0x2c.
23581 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
23583 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23586 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23589 * string/test-strncasecmp.c (check_result): New function.
23590 (do_one_test): Use it.
23591 (check1): New function.
23592 (test_main): Use it.
23593 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23594 Support strcasecmp and strncasecmp.
23596 2010-11-08 Ulrich Drepper <drepper@gmail.com>
23599 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23600 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23602 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23604 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23608 * sysdeps/x86_64/multiarch/bzero.S: New file.
23609 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23610 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23611 * sysdeps/x86_64/multiarch/memset.S: New file.
23612 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23614 Set bit_Prefer_SSE_for_memop for Intel processors.
23615 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23617 (index_Prefer_SSE_for_memop): Define.
23618 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23620 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
23622 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23623 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23625 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23628 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23629 (__x86_64_raw_data_cache_size_half): Likewise.
23630 (__x86_64_raw_shared_cache_size): Likewise.
23631 (__x86_64_raw_shared_cache_size_half): Likewise.
23633 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23634 (__x86_64_raw_data_cache_size_half): Likewise.
23635 (__x86_64_raw_shared_cache_size): Likewise.
23636 (__x86_64_raw_shared_cache_size_half): Likewise.
23637 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23638 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23639 and __x86_64_raw_shared_cache_size_half. Round
23640 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23641 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23642 to multiple of 256 bytes.
23644 2010-11-03 Ulrich Drepper <drepper@gmail.com>
23647 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23648 of inacessible symlinks. Verify result of symlink before returning it.
23649 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23650 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23652 2010-10-28 Erich Ritz <erichritz@gmail.com>
23654 * math/math.h (isinf): Fix typo in comment.
23656 2010-11-01 Ulrich Drepper <drepper@gmail.com>
23658 * po/da.po: Update from translation team.
23660 2010-10-26 Ulrich Drepper <drepper@gmail.com>
23662 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23663 is added to the list.
23665 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23666 Ulrich Drepper <drepper@gmail.com>
23668 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23669 the global list here. Move code to...
23670 (_dl_add_to_namespace_list): ...here. New function.
23671 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23672 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23673 * elf/dl-load.c (lose): Don't remove the element from the list.
23674 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23675 (_dl_map_object): Likewise.
23677 2010-10-25 Ulrich Drepper <drepper@gmail.com>
23680 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23681 into all bytes of SSE register.
23682 Patch by Richard Li <richardpku@gmail.com>.
23684 2010-10-24 Ulrich Drepper <drepper@gmail.com>
23687 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23690 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23692 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23693 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23694 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23695 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23700 2010-10-22 Andreas Schwab <schwab@redhat.com>
23702 * include/dlfcn.h (__RTLD_SECURE): Define.
23703 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23704 mode & __RTLD_SECURE instead.
23705 (open_path): Rename preloaded parameter to secure.
23706 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23707 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23708 * elf/dl-deps.c (openaux): Likewise.
23709 * elf/rtld.c (struct map_args): Remove is_preloaded.
23710 (map_doit): Don't use it.
23711 (dl_main): Likewise.
23712 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23713 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23715 2010-09-09 Andreas Schwab <schwab@redhat.com>
23717 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23718 (sysd-rules-targets): Remove duplicates.
23719 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23720 rtld-%.$o dependency.
23722 2010-10-18 Andreas Schwab <schwab@redhat.com>
23724 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23725 _dl_map_object do it.
23727 2010-10-19 Ulrich Drepper <drepper@gmail.com>
23729 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23730 fast fma builtins, define the macros in the C99 standard.
23731 (FP_FAST_FMAF): Likewise.
23732 (FP_FAST_FMAL): Likewise.
23733 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23735 * bits/mathdef.h: Update copyright year.
23736 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23738 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23740 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23741 builtins, define the macros in the C99 standard.
23742 (FP_FAST_FMAF): Likewise.
23743 (FP_FAST_FMAL): Likewise.
23744 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23746 (FP_FAST_FMAF): Likewise.
23748 2010-10-15 Jakub Jelinek <jakub@redhat.com>
23751 * math/libm-test.inc (fma_test): Some new testcases.
23752 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23753 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23754 y and infinite z. Do multiplication by C already in long double.
23755 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23757 y and infinite z. Do bitwise or of inexact bit into u.d.
23758 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23759 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23760 * sysdeps/i386/fpu/s_fma.S: Removed.
23761 * sysdeps/i386/fpu/s_fmal.S: Removed.
23763 2010-10-16 Jakub Jelinek <jakub@redhat.com>
23766 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23768 computation is not scheduled after fetestexcept. Fix value
23769 of minimum denormal long double.
23771 2010-10-14 Jakub Jelinek <jakub@redhat.com>
23774 * math/libm-test.inc (fma_test): Add some more tests.
23775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23778 2010-10-15 Andreas Schwab <schwab@redhat.com>
23780 * scripts/data/localplt-s390-linux-gnu.data: New file.
23781 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23783 2010-10-13 Jakub Jelinek <jakub@redhat.com>
23786 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23787 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23789 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23791 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23793 if one of x and y is very large and the other is subnormal.
23794 * sysdeps/s390/fpu/s_fmaf.c: New file.
23795 * sysdeps/s390/fpu/s_fma.c: New file.
23796 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23797 * sysdeps/powerpc/fpu/s_fma.S: New file.
23798 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23799 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23800 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23802 2010-10-12 Jakub Jelinek <jakub@redhat.com>
23805 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23808 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23809 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23810 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23811 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23812 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23815 2010-10-12 Ulrich Drepper <drepper@redhat.com>
23818 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23819 * posix/bug-regex31.input: Add test case.
23821 2010-10-11 Ulrich Drepper <drepper@gmail.com>
23823 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23824 * posix/bug-regex31.input: New file.
23827 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23828 (parse_sub_exp): Fix last change, use postorder.
23830 * posix/bug-regex31.c: New file.
23831 * posix/Makefile: Add rules to build and run bug-regex31.
23833 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23836 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23839 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23840 to have entries in sys_siglist.
23843 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23846 2010-10-07 Jakub Jelinek <jakub@redhat.com>
23849 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23850 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23851 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23852 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23853 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23854 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23855 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23856 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23857 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23858 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23859 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23860 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23861 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23862 * math/ftestexcept.c (fetestexcept): Likewise.
23863 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23864 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23865 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23866 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23867 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23868 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23869 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23871 2010-10-11 Ulrich Drepper <drepper@gmail.com>
23874 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23877 2010-10-06 Ulrich Drepper <drepper@gmail.com>
23879 * string/bug-strstr1.c: New file.
23880 * string/Makefile: Add rules to build and run bug-strstr1.
23882 2010-10-05 Eric Blake <eblake@redhat.com>
23885 * string/str-two-way.h (two_way_long_needle): Always clear memory
23886 when skipping input due to the shift table.
23888 2010-10-03 Ulrich Drepper <drepper@gmail.com>
23891 * malloc/mcheck.c: Handle large requests.
23894 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23895 for strncmp and strncasecmp.
23896 * string/stratcliff.c: Add tests for strcmp and strncmp.
23897 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23899 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23901 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23904 2010-09-30 Andreas Jaeger <aj@suse.de>
23906 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23907 (CGROUP_SUPER_MAGIC): Define.
23908 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23909 Handle btrfs and cgroup file systems.
23910 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23913 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
23915 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23916 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23918 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23921 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23922 trying to locate the ELF header.
23924 2010-09-27 Andreas Schwab <schwab@redhat.com>
23927 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23928 Mask out sign-bit copies when constructing f_fsid.
23930 2010-09-24 Petr Baudis <pasky@suse.cz>
23932 * debug/stack_chk_fail_local.c: Add missing licence exception.
23933 * debug/warning-nop.c: Likewise.
23935 2010-09-15 Joseph Myers <joseph@codesourcery.com>
23937 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23938 implementing getdents64 using getdents syscall, set d_type if
23939 __ASSUME_GETDENTS32_D_TYPE.
23941 2010-09-16 Andreas Schwab <schwab@redhat.com>
23943 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23944 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23946 2010-09-21 Ulrich Drepper <drepper@redhat.com>
23949 * posix/unistd.h: Undo change of feature selection for ftruncate from
23952 2010-09-20 Ulrich Drepper <drepper@redhat.com>
23954 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23957 2010-09-20 Andreas Schwab <schwab@redhat.com>
23959 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23961 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23963 2010-09-14 Andreas Schwab <schwab@redhat.com>
23965 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23966 variables after CHECK_SP call.
23967 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23969 2010-09-13 Andreas Schwab <schwab@redhat.com>
23970 Ulrich Drepper <drepper@redhat.com>
23972 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23973 re-relocationg ld.so.
23974 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23975 _dl_init_paths call.
23976 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23979 2010-09-14 Ulrich Drepper <drepper@redhat.com>
23981 * resolv/res_init.c (__res_vinit): Count the default server we added.
23983 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23984 Ulrich Drepper <drepper@redhat.com>
23987 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23988 (____longjmp_chk): Use %ebx for saving value across system call.
23991 2010-09-06 Andreas Schwab <schwab@redhat.com>
23993 * manual/Makefile: Don't mix pattern rules with normal rules.
23995 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23997 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23999 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24000 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24001 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24002 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24006 2010-09-04 Ulrich Drepper <drepper@redhat.com>
24009 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24010 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24012 2010-09-02 Ulrich Drepper <drepper@redhat.com>
24014 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24015 * sysdeps/x86_64/addmul_1.S: Likewise.
24016 * sysdeps/x86_64/lshift.S: Likewise.
24017 * sysdeps/x86_64/mul_1.S: Likewise.
24018 * sysdeps/x86_64/rshift.S: Likewise.
24019 * sysdeps/x86_64/sub_n.S: Likewise.
24020 * sysdeps/x86_64/submul_1.S: Likewise.
24022 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24024 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24025 Define __sched_param instead of SCHED_* and sched_param when
24026 <bits/sched.h> is included with __need_schedparam defined.
24027 * bits/sched.h [__need_schedparam]
24028 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24029 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24030 (__defined_schedparam): Define to 1.
24031 (__sched_param): New structure, identical to sched_param.
24032 (__need_schedparam): Undefine.
24034 2010-08-31 Mike Frysinger <vapier@gentoo.org>
24036 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24037 (epoll_create1): Declare.
24039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24041 2010-08-31 Andreas Schwab <schwab@redhat.com>
24044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24045 shifting retval into place.
24047 2010-09-01 Ulrich Drepper <drepper@redhat.com>
24049 * nis/rpcsvc/nis.h: Update copyright notice.
24050 * nis/rpcsvc/nis.x: Likewise.
24051 * nis/rpcsvc/nis_callback.h: Likewise.
24052 * nis/rpcsvc/nis_callback.x: Likewise.
24053 * nis/rpcsvc/nis_object.x: Likewise.
24054 * nis/rpcsvc/nis_tags.h: Likewise.
24055 * nis/rpcsvc/yp.h: Likewise.
24056 * nis/rpcsvc/yp.x: Likewise.
24057 * nis/rpcsvc/ypupd.h: Likewise.
24058 * nis/yp_xdr.c: Likewise.
24059 * nis/ypupdate_xdr.c: Likewise.
24061 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24062 mainly the body of pmap_getport. Add parameters to specify timeouts.
24063 (pmap_getport): Use __libc_rpc_getport.
24064 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24065 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24066 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24068 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24073 2010-08-27 Roland McGrath <roland@redhat.com>
24075 * sysdeps/i386/i686/multiarch/Makefile
24076 (CFLAGS-varshift.c): New variable.
24078 2010-08-27 Ulrich Drepper <drepper@redhat.com>
24080 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24081 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24085 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24087 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24089 * sysdeps/x86_64/strlen.S: Unroll the loop.
24090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24091 strlen-sse2 strlen-sse2-bsf.
24092 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24093 __strlen_no_bsf if bit_Slow_BSF is set.
24094 (__strlen_sse42): Removed.
24095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24096 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24098 2010-08-25 Roland McGrath <roland@redhat.com>
24100 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24101 * sysdeps/x86_64/multiarch/varshift.c: New file.
24102 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24103 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24104 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24105 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24107 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24110 strlen-sse2 strlen-sse2-bsf.
24111 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24112 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24113 (__strlen_sse2): Removed.
24114 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24117 bit_Slow_BSF for Atom.
24118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24119 (index_Slow_BSF): Define.
24120 (HAS_SLOW_BSF): Define.
24122 2010-08-25 Ulrich Drepper <drepper@redhat.com>
24125 * resolv/res_init.c (__res_vinit): When no server address at all
24126 is given default to loopback.
24128 2010-08-24 Roland McGrath <roland@redhat.com>
24130 * configure.in: Remove config-name.h generation.
24131 * configure: Regenerated.
24132 * config-name.in: File removed.
24133 * scripts/config-uname.sh: New file.
24134 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24135 ($(objdir)config-name.h): New target.
24137 * sunrpc/rpc_parse.h: Avoid nested comment.
24139 2010-08-24 Richard Henderson <rth@redhat.com>
24140 Ulrich Drepper <drepper@redhat.com>
24141 H.J. Lu <hongjiu.lu@intel.com>
24143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24145 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24146 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24147 _mm_alignr_epi8 with _mm_loadu_si128.
24148 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24149 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24150 (__m128i_shift_right): Removed.
24151 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24152 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24153 * sysdeps/x86_64/multiarch/varshift.h: New file.
24154 * sysdeps/x86_64/multiarch/varshift.S: New file.
24156 2010-08-21 Mike Frysinger <vapier@gentoo.org>
24158 * configure.in: Move assembler checks to before sysdep dir checking.
24160 2010-08-20 Petr Baudis <pasky@suse.cz>
24162 * LICENSES: Sync the sunrpc license.
24164 2010-08-19 Ulrich Drepper <drepper@redhat.com>
24166 * sunrpc/auth_des.c: Update copyright notice once again.
24167 * sunrpc/auth_none.c: Likewise.
24168 * sunrpc/auth_unix.c: Likewise.
24169 * sunrpc/authdes_prot.c: Likewise.
24170 * sunrpc/authuxprot.c: Likewise.
24171 * sunrpc/bindrsvprt.c: Likewise.
24172 * sunrpc/clnt_gen.c: Likewise.
24173 * sunrpc/clnt_perr.c: Likewise.
24174 * sunrpc/clnt_raw.c: Likewise.
24175 * sunrpc/clnt_simp.c: Likewise.
24176 * sunrpc/clnt_tcp.c: Likewise.
24177 * sunrpc/clnt_udp.c: Likewise.
24178 * sunrpc/clnt_unix.c: Likewise.
24179 * sunrpc/des_crypt.c: Likewise.
24180 * sunrpc/des_soft.c: Likewise.
24181 * sunrpc/get_myaddr.c: Likewise.
24182 * sunrpc/getrpcport.c: Likewise.
24183 * sunrpc/key_call.c: Likewise.
24184 * sunrpc/key_prot.c: Likewise.
24185 * sunrpc/openchild.c: Likewise.
24186 * sunrpc/pm_getmaps.c: Likewise.
24187 * sunrpc/pm_getport.c: Likewise.
24188 * sunrpc/pmap_clnt.c: Likewise.
24189 * sunrpc/pmap_prot.c: Likewise.
24190 * sunrpc/pmap_prot2.c: Likewise.
24191 * sunrpc/pmap_rmt.c: Likewise.
24192 * sunrpc/rpc/auth.h: Likewise.
24193 * sunrpc/rpc/auth_unix.h: Likewise.
24194 * sunrpc/rpc/clnt.h: Likewise.
24195 * sunrpc/rpc/des_crypt.h: Likewise.
24196 * sunrpc/rpc/key_prot.h: Likewise.
24197 * sunrpc/rpc/netdb.h: Likewise.
24198 * sunrpc/rpc/pmap_clnt.h: Likewise.
24199 * sunrpc/rpc/pmap_prot.h: Likewise.
24200 * sunrpc/rpc/pmap_rmt.h: Likewise.
24201 * sunrpc/rpc/rpc.h: Likewise.
24202 * sunrpc/rpc/rpc_des.h: Likewise.
24203 * sunrpc/rpc/rpc_msg.h: Likewise.
24204 * sunrpc/rpc/svc.h: Likewise.
24205 * sunrpc/rpc/svc_auth.h: Likewise.
24206 * sunrpc/rpc/types.h: Likewise.
24207 * sunrpc/rpc/xdr.h: Likewise.
24208 * sunrpc/rpc_clntout.c: Likewise.
24209 * sunrpc/rpc_cmsg.c: Likewise.
24210 * sunrpc/rpc_common.c: Likewise.
24211 * sunrpc/rpc_cout.c: Likewise.
24212 * sunrpc/rpc_dtable.c: Likewise.
24213 * sunrpc/rpc_hout.c: Likewise.
24214 * sunrpc/rpc_main.c: Likewise.
24215 * sunrpc/rpc_parse.c: Likewise.
24216 * sunrpc/rpc_parse.h: Likewise.
24217 * sunrpc/rpc_prot.c: Likewise.
24218 * sunrpc/rpc_sample.c: Likewise.
24219 * sunrpc/rpc_scan.c: Likewise.
24220 * sunrpc/rpc_scan.h: Likewise.
24221 * sunrpc/rpc_svcout.c: Likewise.
24222 * sunrpc/rpc_tblout.c: Likewise.
24223 * sunrpc/rpc_util.c: Likewise.
24224 * sunrpc/rpc_util.h: Likewise.
24225 * sunrpc/rpcinfo.c: Likewise.
24226 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24227 * sunrpc/rpcsvc/key_prot.x: Likewise.
24228 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24229 * sunrpc/rpcsvc/mount.x: Likewise.
24230 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24231 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24232 * sunrpc/rpcsvc/rex.x: Likewise.
24233 * sunrpc/rpcsvc/rstat.x: Likewise.
24234 * sunrpc/rpcsvc/rusers.x: Likewise.
24235 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24236 * sunrpc/rpcsvc/spray.x: Likewise.
24237 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24238 * sunrpc/rtime.c: Likewise.
24239 * sunrpc/svc.c: Likewise.
24240 * sunrpc/svc_auth.c: Likewise.
24241 * sunrpc/svc_authux.c: Likewise.
24242 * sunrpc/svc_raw.c: Likewise.
24243 * sunrpc/svc_run.c: Likewise.
24244 * sunrpc/svc_simple.c: Likewise.
24245 * sunrpc/svc_tcp.c: Likewise.
24246 * sunrpc/svc_udp.c: Likewise.
24247 * sunrpc/svc_unix.c: Likewise.
24248 * sunrpc/svcauth_des.c: Likewise.
24249 * sunrpc/xcrypt.c: Likewise.
24250 * sunrpc/xdr.c: Likewise.
24251 * sunrpc/xdr_array.c: Likewise.
24252 * sunrpc/xdr_float.c: Likewise.
24253 * sunrpc/xdr_mem.c: Likewise.
24254 * sunrpc/xdr_rec.c: Likewise.
24255 * sunrpc/xdr_ref.c: Likewise.
24256 * sunrpc/xdr_sizeof.c: Likewise.
24257 * sunrpc/xdr_stdio.c: Likewise.
24259 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24262 2010-08-19 Andreas Schwab <schwab@redhat.com>
24264 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24266 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
24268 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24269 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24270 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24271 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24272 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24273 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24274 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24275 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24276 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24277 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24278 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24279 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24280 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24281 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24283 2010-07-26 Anton Blanchard <anton@samba.org>
24285 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24286 * malloc/arena.c (heap_trim): Likewise.
24288 2010-08-16 Ulrich Drepper <drepper@redhat.com>
24290 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24293 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24295 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24297 * sysdeps/i386/elf/Makefile: New file.
24299 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24301 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24302 from fanotify_init.
24303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24306 2010-08-15 Ulrich Drepper <drepper@redhat.com>
24308 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24310 * sysdeps/multiarch/strcmp.S: Likewise.
24312 2010-08-14 Ulrich Drepper <drepper@redhat.com>
24314 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24315 strncase_l-nonascii.
24316 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24317 Add strncase_l-ssse3.
24318 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24319 * sysdeps/x86_64/strcmp.S: Likewise.
24320 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24321 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24322 * sysdeps/x86_64/strncase.S: New file.
24323 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24324 * sysdeps/x86_64/strncase_l.S: New file.
24325 * string/Makefile (strop-tests): Add strncasecmp.
24326 * string/test-strncasecmp.c: New file.
24328 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24331 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24332 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24334 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24336 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24338 2010-08-12 Ulrich Drepper <drepper@redhat.com>
24340 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24341 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24342 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24344 2010-05-01 Alan Modra <amodra@gmail.com>
24346 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24347 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24348 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24349 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24350 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24351 tidying. Don't tail-call __sigjmp_save for static lib.
24352 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24354 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24355 (CALL_MCOUNT): Add eh info, and nop after bl.
24356 (TAIL_CALL_SYSCALL_ERROR): New macro.
24357 (PSEUDO_RET): Use it.
24358 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24359 Correct save location of integer regs and cr.
24360 (_dl_profile_resolve): Correct cr save location. Delete nops
24361 after bl when SHARED. Reduce cfi size a little by better
24362 placement of cfi directives.
24363 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24364 make a stack frame. Instead use parm save area as a temp.
24365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24366 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24368 Don't make a stack frame for parent, use parm save area.
24369 Increase child stack frame to 112 bytes. Don't save unused reg,
24370 and adjust reg usage. Set up cfi on error recovery and
24371 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24373 (__makecontext): Add dummy nop after jump to exit.
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24375 Use correct parm save area and cr save, reduce stack frame.
24376 Correct cfi for possible PSEUDO_RET frame setup.
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24378 Branch to local label emitted by PSEUDO_RET rather than
24381 2010-08-12 Andreas Schwab <schwab@redhat.com>
24384 * locale/programs/locale.c (print_assignment): New function.
24385 (show_locale_vars): Use it.
24387 2010-08-11 Ulrich Drepper <drepper@redhat.com>
24389 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24391 (struct statfs64): Likewise.
24392 (_STATFS_F_FLAGS): Define.
24393 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24394 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24395 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24396 (ST_VALID): Define locally.
24397 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24398 __statvfs_getflags, use the provided value.
24399 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24400 __ASSUME_STATFS_F_FLAGS.
24402 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24404 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24405 Add sys/fanotify.h.
24406 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24407 fanotify_mask for GLIBC_2.13.
24408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24409 fanotify_init and fanotify_mark.
24410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24411 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24413 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24415 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24416 prlimit64 for GLIBC_2.13.
24417 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24422 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24423 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24424 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24427 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24430 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24431 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24433 * nss/Makefile: Add rules to build and run tst-nss-test1.
24434 * shlib-versions: Add entry for libnss_test1.
24435 * nss/nss_test1.c: New file.
24436 * nss/tst-nss-test1.c: New file.
24438 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24439 (__nss_configure_lookup): Set appropriate entry in
24440 __nss_configure_lookup to true.
24441 * nss/nsswitch.h: Define enum with indeces of databases in
24442 databases and __nss_database_custom arrays. Declare
24443 __nss_database_custom.
24444 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24445 to avoid using nscd when custom rules are installed.
24446 * nss/getXXbyYY_r.c: Likewise.
24447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24449 * nss/nss_files/files-parse.c: Whitespace fixes.
24451 2010-08-09 Ulrich Drepper <drepper@redhat.com>
24454 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24455 * posix/fnmatch_loop.c: Likewise.
24457 2010-07-17 Andi Kleen <ak@linux.intel.com>
24459 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24460 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24461 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24462 * Versions.def [GLIBC_2.13]: Add.
24464 2010-08-06 Ulrich Drepper <drepper@redhat.com>
24466 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24467 Also fail if tpwd after pwuid call is NULL.
24469 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24471 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24472 when converting to ms.
24474 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24476 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24477 EOPNOTSUPP errors with ENOTTY.
24478 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24479 EOPNOTSUPP errors with ENOTTY.
24481 2010-07-31 Ulrich Drepper <drepper@redhat.com>
24483 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24484 Add strcasecmp_l-ssse3.
24485 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24487 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24488 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24489 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24491 2010-07-30 Ulrich Drepper <drepper@redhat.com>
24493 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24495 * string/Makefile (strop-tests): Add strcasecmp.
24496 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24497 strcasecmp_l-nonascii.
24498 (gen-as-const-headers): Add locale-defines.sym.
24499 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24500 * sysdeps/x86_64/strcasecmp.S: New file.
24501 * sysdeps/x86_64/strcasecmp_l.S: New file.
24502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24503 * sysdeps/x86_64/locale-defines.sym: New file.
24504 * string/test-strcasecmp.c: New file.
24506 * string/test-strcasestr.c: Test both ends of the range of characters.
24507 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24509 2010-07-29 Roland McGrath <roland@redhat.com>
24512 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24514 2010-07-27 Ulrich Drepper <drepper@redhat.com>
24516 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24519 2010-07-27 Andreas Schwab <schwab@redhat.com>
24521 * manual/memory.texi (Malloc Tunable Parameters): Document
24524 2010-07-26 Roland McGrath <roland@redhat.com>
24527 * configure.in (-fgnu89-inline check): Set and substitute
24528 gnu89_inline, not libc_cv_gnu89_inline.
24529 * configure: Regenerated.
24530 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24532 2010-07-26 Ulrich Drepper <drepper@redhat.com>
24534 * string/test-strnlen.c: New file.
24535 * string/Makefile (strop-tests): Add strnlen.
24536 * string/tester.c (test_strnlen): Add a few more test cases.
24537 * string/tst-strlen.c: Better error reporting.
24539 * sysdeps/x86_64/strnlen.S: New file.
24541 2010-07-24 Ulrich Drepper <drepper@redhat.com>
24543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24544 lower-latency instructions.
24546 2010-07-23 Ulrich Drepper <drepper@redhat.com>
24548 * string/test-strcasestr.c: New file.
24549 * string/test-strstr.c: New file.
24550 * string/Makefile (strop-tests): Add strstr and strcasestr.
24551 * string/str-two-way.h: Don't undefine MAX.
24552 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24554 2010-07-21 Andreas Schwab <schwab@redhat.com>
24556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24557 strcasestr-nonascii.
24558 (CFLAGS-strcasestr-nonascii.c): Define.
24559 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24560 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24561 Remove unused attribute.
24563 2010-07-20 Roland McGrath <roland@redhat.com>
24565 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24566 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24567 ld.so.cache was broken. With it, there is no way to disable dsocaps
24568 like LD_HWCAP_MASK can disable hwcaps.
24570 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24572 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24574 2010-07-16 Ulrich Drepper <drepper@redhat.com>
24576 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24577 call in strcasestr.
24578 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24579 __strcasestr_sse42_nonascii.
24580 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24581 strcasestr-nonascii.c.
24582 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24584 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
24586 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24587 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24588 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24589 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24591 2010-07-09 Ulrich Drepper <drepper@redhat.com>
24593 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24596 2010-07-06 Andreas Schwab <schwab@redhat.com>
24599 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24602 2010-07-06 Ulrich Drepper <drepper@redhat.com>
24604 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24605 _PC_PIPE_BUF using F_GETPIPE_SZ.
24607 2010-07-05 Roland McGrath <roland@redhat.com>
24609 * manual/arith.texi (Rounding Functions): Fix rint description
24610 implicit in round description.
24612 2010-07-02 Ulrich Drepper <drepper@redhat.com>
24614 * elf/Makefile: Fix linking for a few tests to make recent linker
24617 2010-06-30 Andreas Schwab <schwab@redhat.com>
24619 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24620 $(common-objpfx)libc_nonshared.a.
24622 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
24624 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24625 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24626 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24627 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24628 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24629 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24630 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24631 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24646 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24647 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24648 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24649 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24650 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24651 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24652 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24653 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24654 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24655 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24656 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24657 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24673 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24675 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24676 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24677 * string/memmove.c (memmove): Renamed to ...
24678 (MEMMOVE): ...this. Default to memmove.
24679 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24680 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24683 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24684 mempcpy-ssse3-back memmove-ssse3-back.
24685 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24686 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24688 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24689 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24690 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24691 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24692 * sysdeps/x86_64/multiarch/memmove.c: New file.
24693 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24694 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24695 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24696 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24697 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24700 (index_Fast_Copy_Backward): Define.
24701 (HAS_ARCH_FEATURE): Define.
24702 (HAS_FAST_REP_STRING): Define.
24703 (HAS_FAST_COPY_BACKWARD): Define.
24705 2010-06-21 Andreas Schwab <schwab@redhat.com>
24707 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24708 Restore proper fallback handling.
24710 2010-06-19 Ulrich Drepper <drepper@redhat.com>
24713 * posix/group_member.c (__group_member): Correct checking loop.
24715 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24716 OOM in getpwuid_r correctly. Return error number when the caller
24717 should return, otherwise -1.
24718 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24719 call returning > 0 value.
24720 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24722 2010-06-07 Andreas Schwab <schwab@redhat.com>
24724 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24725 libc_nonshared.a from targets in modules-names.
24727 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24729 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24732 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
24734 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24735 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24739 2010-06-02 Andreas Schwab <schwab@redhat.com>
24741 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24743 2010-06-14 Ulrich Drepper <drepper@redhat.com>
24745 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24754 2010-06-14 Roland McGrath <roland@redhat.com>
24756 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24758 2010-06-07 Jakub Jelinek <jakub@redhat.com>
24760 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24761 __REDIRECT followed by __THROW.
24762 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24763 * posix/getopt.h (getopt): Likewise.
24765 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24767 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24768 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24769 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24771 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24772 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24774 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
24776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24778 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24782 Properly check family and model.
24784 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24786 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24788 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
24790 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24792 2010-05-21 Ulrich Drepper <drepper@redhat.com>
24794 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24797 2010-05-19 Andreas Schwab <schwab@redhat.com>
24799 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24802 2010-05-21 Andreas Schwab <schwab@redhat.com>
24804 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24805 and internal_recvmmsg.
24806 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24807 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24809 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24811 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24812 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24813 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24815 2010-05-20 Andreas Schwab <schwab@redhat.com>
24817 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24819 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
24821 POWER7 optimizations.
24822 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24823 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24825 2010-05-19 Ulrich Drepper <drepper@redhat.com>
24827 * version.h: Update for 2.13 development version.
24829 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
24831 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24832 exceptions. Return 0.
24834 2010-05-07 Roland McGrath <roland@redhat.com>
24836 * elf/ldconfig.c (main): Add a const.
24838 2010-05-06 Ulrich Drepper <drepper@redhat.com>
24840 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24841 (args_options): Add no-idn option.
24842 (ahosts_keys_int): Add idn_flags to ai_flags.
24843 (parse_option): Handle 'i' option to clear idn_flags.
24845 * malloc/malloc.c (_int_free): Possible race in the most recently
24846 added check. Only act on the data if no current modification
24849 See ChangeLog.17 for earlier changes.