1 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7 (__cxa_atexit): Use libc_hidden_proto.
8 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14 [!_ISOMAC] (__iswspace_l_internal): Likewise.
15 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
16 [!_ISOMAC] (__iswctype_internal): Likewise.
17 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20 (fcntl): Remove __fcntl_internal alias.
21 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22 __connect_internal alias.
23 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29 (_FP_CHECK_FLUSH_ZERO): New macro.
30 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32 (_FP_CMP_EQ): Likewise.
33 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39 treated as invalid conversion, not as normal exponent.
41 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
43 (_FP_CMP_EQ): Likewise.
44 (_FP_CMP_UNORD): Likewise.
45 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
46 (FP_CMP_EQ_D): Likewise.
47 (FP_CMP_UNORD_D): Likewise.
48 * soft-fp/extended.h (FP_CMP_E): Likewise.
49 (FP_CMP_EQ_E): Likewise.
50 (FP_CMP_UNORD_E): Likewise.
51 * soft-fp/quad.h (FP_CMP_Q): Likewise.
52 (FP_CMP_EQ_Q): Likewise.
53 (FP_CMP_UNORD_Q): Likewise.
54 * soft-fp/single.h (FP_CMP_S): Likewise.
55 (FP_CMP_EQ_S): Likewise.
56 (FP_CMP_UNORD_S): Likewise.
57 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
58 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
59 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
60 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
61 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
62 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
63 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
64 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
65 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
66 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
67 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
68 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
69 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
71 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
73 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
74 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
76 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
78 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
79 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
80 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
81 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
83 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
85 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
86 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
88 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
90 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
91 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
92 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
93 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
96 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
97 a subnormal result, set the underflow exception if trapping on
99 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
100 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
101 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
103 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
104 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
105 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
106 * soft-fp/extendxftf2.c (__extendxftf2): Use
107 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
109 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
110 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
111 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
112 FP_HANDLE_EXCEPTIONS.
113 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
114 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
115 FP_HANDLE_EXCEPTIONS.
116 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
117 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
118 FP_HANDLE_EXCEPTIONS.
119 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
120 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
121 FP_HANDLE_EXCEPTIONS.
123 2014-10-08 Joseph Myers <joseph@codesourcery.com>
126 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
127 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
129 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
130 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
132 (__adjtimex): Define using libc_hidden_ver.
133 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
135 (ntp_gettime): Call __adjtimex directly.
136 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
138 (ntp_gettimex): Call __adjtimex directly.
139 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
140 __adjtimex_internal alias.
142 2014-10-08 Roland McGrath <roland@hack.frob.com>
145 * nscd/nscd.c (more_help): Rewrite list of tables collection
146 using xstrdup and asprintf.
148 * nscd/nscd_conf.c: Remove local xstrdup declaration.
150 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
151 Roland McGrath <roland@hack.frob.com>
153 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
154 (do_lookup_unique): ... local function 'enter' here; update callers.
156 2014-10-06 Joseph Myers <joseph@codesourcery.com>
158 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
159 compat_symbol calls on [SHARED].
160 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
161 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
163 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
164 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
165 (oldsetrlimit): Remove.
166 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
168 (lchown): New syscall entry.
169 (oldsetrlimit): Remove.
170 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
172 (oldsetrlimit): Remove.
173 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
176 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
177 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
178 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
179 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
180 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
181 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
183 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
188 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
190 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
191 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
192 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
193 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
194 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
196 (__old_sem_post): Likewise.
198 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
200 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
201 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
202 HAVE_CLOCK_GETTIME_VSYSCALL macros.
203 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
204 Use INLINE_VSYSCALL macro.
205 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
206 __vdso_clock_gettime.
207 * sysdeps/unix/sysv/linux/tile/init-first.c
208 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
209 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
210 __vdso_clock_gettime.
212 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
213 to set up frame more cleanly.
215 * sysdeps/tile/memcmp.c: New file.
217 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
219 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
220 * sysdeps/tile/tilegx/strcasestr.c: New file.
221 * sysdeps/tile/tilegx/strnlen.c: New file.
222 * sysdeps/tile/tilegx/strstr.c: New file.
224 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
226 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
228 * nptl/tst-setuid3.c: Write errors to stdout.
230 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
233 (preload): New functions broken out of _dl_map_object_deps.
234 (_dl_map_object_deps): Remove a nested function. Update call sites.
236 2014-10-01 Joseph Myers <joseph@codesourcery.com>
239 * sysdeps/unix/sysv/linux/execve.c: Remove file.
240 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
242 2014-10-01 Steve Ellcey <sellcey@mips.com>
244 * sysdeps/mips/strcmp.S: New.
246 2014-09-30 Joseph Myers <joseph@codesourcery.com>
249 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
252 (readlinkat): Likewise.
253 (renameat): Likewise.
254 (symlinkat): Likewise.
255 (unlinkat): Likewise.
256 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
257 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
258 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
259 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
260 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
261 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
262 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
264 2014-09-30 Will Newton <will.newton@linaro.org>
266 * math/math.h: Define long double math functions if
267 _LIBC_TEST is defined.
268 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
270 * localedata/Makefile: Move assignment to tests-special
271 into an ifdef testing run-built-tests.
272 * timezone/Makefile: Likewise.
274 2014-09-29 Joseph Myers <joseph@codesourcery.com>
276 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
277 with $(BASH) not $(SHELL).
279 2014-09-29 Carlos O'Donell <carlos@redhat.com>
280 Matthew LeGendre <legendre1@llnl.gov>
283 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
286 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
288 * stdio-common/printf_fp.c
289 (hack_digit): New function, broken out of ...
290 (__printf_fp): ... local function here. Update call sites.
291 hack_digit now takes an additional parameter that is a pointer
292 to a struct of the referenced locals. Those locals moved inside
293 the struct and references updated.
295 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
297 * aclocal.m4: Require autoconf 2.69.
298 * configure: Regenerated.
299 * sysdeps/aarch64/configure: Likewise.
300 * sysdeps/alpha/configure: Likewise.
301 * sysdeps/arm/armv7/configure: Likewise.
302 * sysdeps/arm/configure: Likewise.
303 * sysdeps/ia64/configure: Likewise.
304 * sysdeps/mach/configure: Likewise.
305 * sysdeps/mips/configure: Likewise.
306 * sysdeps/s390/configure: Likewise.
307 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
310 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
312 * sysdeps/ia64/configure.ac: Likewise.
314 2014-09-26 Joseph Myers <joseph@codesourcery.com>
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
317 specify symbol version for ld.so. Do not include entry for
319 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
320 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
321 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
324 * Makeconfig [$(build-shared) = yes]
325 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
327 [$(build-shared) = yes && $(soversions.mk-done) = t]
328 ($(common-objpfx)gnu/lib-names.h): Remove rule.
329 [$(build-shared) = yes && $(soversions.mk-done) = t]
330 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
332 [$(build-shared) = yes && $(soversions.mk-done) = t]
333 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
335 [$(build-shared) = yes && $(soversions.mk-done) = t]
336 (common-generated): Don't append gnu/lib-names.h and
337 gnu/lib-names.stmp here.
338 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
339 (lib-names-h-abi): New variable.
340 [$(build-shared) = yes && $(soversions.mk-done) = t]
341 (lib-names-stmp-abi): Likewise.
342 [$(build-shared) = yes && $(soversions.mk-done) = t &&
343 abi-variants] (before-compile): Append
344 $(common-objpfx)$(lib-names-h-abi).
345 [$(build-shared) = yes && $(soversions.mk-done) = t &&
346 abi-variants] (common-generated): Append gnu/lib-names.h.
347 [$(build-shared) = yes && $(soversions.mk-done) = t &&
348 abi-variants] (install-others-nosubdir): Depend on
349 $(inst_includedir)/$(lib-names-h-abi).
350 [$(build-shared) = yes && $(soversions.mk-done) = t &&
351 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
352 [$(build-shared) = yes && $(soversions.mk-done) = t]
353 ($(common-objpfx)$(lib-names-h-abi)): New rule.
354 [$(build-shared) = yes && $(soversions.mk-done) = t]
355 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
356 [$(build-shared) = yes && $(soversions.mk-done) = t]
357 (common-generated): Append $(lib-names-h-abi) and
358 $(lib-names-stmp-abi).
359 * scripts/lib-names.awk: Do not handle multi being set.
360 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
362 (abi-lp64_be-ld-soname): Likewise.
363 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
365 (abi-hard-ld-soname): Likewise.
366 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
367 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
369 (abi-o32_hard-ld-soname): Likewise.
370 (abi-o32_soft_2008-ld-soname): Likewise.
371 (abi-o32_hard_2008-ld-soname): Likewise.
372 (abi-n32_soft-ld-soname): Likewise.
373 (abi-n32_hard-ld-soname): Likewise.
374 (abi-n32_soft_2008-ld-soname): Likewise.
375 (abi-n32_hard_2008-ld-soname): Likewise.
376 (abi-n64_soft-ld-soname): Likewise.
377 (abi-n64_hard-ld-soname): Likewise.
378 (abi-n64_soft_2008-ld-soname): Likewise.
379 (abi-n64_hard_2008-ld-soname): Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
382 (abi-64-v2-ld-soname): Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
385 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
387 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
389 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
391 (abi-64-ld-soname): Likewise.
392 (abi-x32-ld-soname): Likewise.
393 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
395 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
397 2014-09-23 Joseph Myers <joseph@codesourcery.com>
400 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
401 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
402 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
404 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
405 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
406 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
407 syscall entry for GLIBC_2.2 symbol version.
408 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
411 (setrlimit): Likewise.
412 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
415 2014-09-23 Will Newton <will.newton@linaro.org>
417 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
418 _LINUX_ARM_SYSDEP_H include guard too.
419 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
422 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
424 * sysdeps/unix/sysv/linux/eventfd.c:
425 Make first argument unsigned.
426 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
427 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
429 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
431 * socket/recvmmsg.c (recvmmsg): Drop const argument.
432 * socket/sys/socket.h: Likewise
433 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
435 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
437 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
439 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
441 * time/tst-ftime.c: New test.
442 * time/Makefile (tests): Add tst-ftime.
444 2014-09-17 Joseph Myers <joseph@codesourcery.com>
446 * soft-fp/extended.h: Fix comment formatting.
447 * soft-fp/op-1.h: Likewise.
448 * soft-fp/op-2.h: Likewise.
449 * soft-fp/op-4.h: Likewise.
450 * soft-fp/op-8.h: Likewise.
451 * soft-fp/op-common.h: Likewise.
452 * soft-fp/soft-fp.h: Likewise.
454 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
456 2014-09-16 Joseph Myers <joseph@codesourcery.com>
459 * Makeconfig (soversions-default-setname): Remove variable.
460 ($(common-objpfx)soversions.i): Don't pass default_setname to
462 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
463 oldest_abi to abi-versions.awk.
464 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
465 * config.make.in (oldest-abi): Remove variable.
466 * configure.ac (--enable-oldest-abi): Remove configure option.
467 * configure: Regenerated.
468 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
470 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
471 * scripts/soversions.awk: Do not handle default_setname variable.
472 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
474 * sysdeps/mach/hurd/configure: Regenerated.
475 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
477 * sysdeps/unix/sysv/linux/configure: Regenerated.
479 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
481 * elf/Makefile (CFLAGS-interp.c): Remove.
482 ($(elf-objpfx)runtime-linker.h): Generate header with linker
484 * elf/interp.c: Include generated runtime-linker.h
486 * Makerules (lib%.so): Don't include $(+interp) in
488 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
489 * dlfcn/eval.c: Remove file.
491 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
495 * misc/sys/cdefs.h: Define __extern_always_inline for clang
499 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
501 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
502 Jakub Jelinek <jakub@redhat.com>
505 * libio/stdio.h: Check definition of __fortify_function
506 instead of __extern_always_inline to include bits/stdio2.h.
507 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
508 check if __extern_always_inline is defined.
509 [__USE_MISC || __USE_XOPEN]: Likewise.
510 [__USE_ISOC99] Likewise.
511 * misc/sys/cdefs.h (__fortify_function): Define only if
512 __extern_always_inline is defined.
513 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
514 __extern_always_inline and __extern_inline only for g++-4.3
515 and newer or a compatible gcc.
517 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
520 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
521 last change to handle zero prefix length.
523 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
525 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
528 * posix/getconf.c (vars): Add _POSIX_IPV6 and
531 2014-09-13 Allan McRae <allan@archlinux.org>
533 * po/ru.po: Update Russian translation from translation project.
535 2014-09-12 Roland McGrath <roland@hack.frob.com>
537 * locale/programs/locale.c (show_locale_vars): Inline local function
538 into its sole call site. Clean up some style nits.
539 (print_item): New function, broken out of ...
540 (show_info): ... local function here. Clean up style nits.
542 * locale/programs/ld-ctype.c (set_one_default): New function, broken
544 (set_class_defaults): ... local function set_default here.
545 Define set_default as a macro locally to pass constant parameters.
546 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
547 rather than a shared local.
549 * stdlib/rpmatch.c (try): New function, broken out of ...
550 (rpmatch): ... local function here. Also, prototypify definition.
552 2014-09-12 Joseph Myers <joseph@codesourcery.com>
554 * scripts/soversions.awk: Do not handle configuration names.
555 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
556 vendor and os variables to soversions.awk.
557 * configure.ac: Do not modify gnu-* host_os.
558 * configure: Regenerated
559 * shlib-versions: Remove first column with configuration names.
560 * nptl/shlib-versions: Likewise.
561 * nptl_db/shlib-versions: Likewise.
562 * sysdeps/hppa/shlib-versions: Likewise.
563 * sysdeps/m68k/shlib-versions: Likewise.
564 * sysdeps/mach/hurd/shlib-versions: Likewise.
565 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
566 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
567 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
568 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
569 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
570 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
571 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
572 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
575 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
576 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
577 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
578 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
579 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
580 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
585 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
588 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
590 Condition symbol version definitions on [HAVE_ELFV2_ABI].
592 * shlib-versions: Remove OS-specific entries. Moved to files in
594 * sysdeps/mach/hurd/shlib-versions: New file.
595 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
597 * nptl/shlib-versions: Remove architecture-specific entries.
598 Moved to files in sysdeps.
599 * shlib-versions: Likewise.
600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
602 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
603 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
604 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
605 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
607 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
608 (UDP_NO_CHECK6_RX): Likewise.
610 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
612 * sysdeps/posix/sysconf.c (__sysconf): Spell
613 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
615 2014-08-12 Florian Weimer <fweimer@redhat.com>
617 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
619 * iconv/Versions (__gconv_transliterate): Export for use from
621 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
622 (struct __gconv_trans_data, __gconv_trans_fct,
623 __gconv_trans_context_fct, __gconv_trans_query_fct,
624 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
626 (struct __gconv_step_data): Remove __trans member.
627 (__gconv_transliterate): Declaration moved from gconv_int.h. No
628 longer hidden. Remove unused trans_data argument.
629 * iconv/gconv_int.h (struct trans_struct): Remove definition.
630 (__gconv_translit_find): Remove declaration.
631 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
633 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
634 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
635 trans_data argument. Add hidden definition.
636 (__gconv_translit_find): Remove.
637 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
638 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
639 * iconv/skeleton.c: Remove transliteration initialization.
640 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
641 __gconv_step_data initialization.
642 * libio/iofwide.c (__libio_translit_): Remove.
643 (_IO_fwide): Adjust struct __gconv_step_data initialization.
644 * wcsmbs/btowc.c (__btowc): Likewise.
645 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
646 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
647 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
648 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
649 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
650 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
651 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
652 * wcsmbs/wctob.c (wctob): Likewise.
654 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
657 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
658 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
660 * sysdeps/x86/Makefile: Adjust.
662 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
663 Roland McGrath <roland@hack.frob.com>
665 * locale/weight.h: Add include guard.
666 (findidx): Make static rather than auto; take new parameters
667 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
668 * locale/weightwc.h: Likewise.
669 * posix/fnmatch_loop.c
670 (FCT): Change type of EXTRA from int32_t to wint_t.
671 Don't include either header inside the function.
672 Call FINDIDX rather than findidx, and pass new arguments.
673 #undef FINDIDX at the end of the file.
674 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
675 FINDIDX before including fnmatch_loop.c for the non-wide version.
676 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
677 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
678 for the wide version.
679 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
680 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
681 Pass new arguments to findidx.
682 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
683 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
684 Don't #include it inside the function. Pass new arguments to findidx.
685 * posix/regex_internal.h
686 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
687 (re_string_elem_size_at): Don't #include it inside the function.
688 Pass new arguments to findidx.
689 * string/strcoll_l.c: #include WEIGHT_H at top level.
690 (get_next_seq): Don't #include it inside the function.
691 Pass new arguments to findidx.
692 (get_next_seq_nocache): Likewise.
693 * string/strxfrm_l.c: #include WEIGHT_H at top level.
694 (STRXFRM): Don't #include it inside the function.
695 Pass new arguments to findidx.
697 2014-09-11 Florian Weimer <fweimer@redhat.com>
700 * malloc/malloc.c (unlink): Turn asserts into a call to
703 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
706 * libio/wfileops (do_ftell_wide): Free OUT.
708 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
710 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
712 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
715 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
716 group if the current group is empty.
718 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720 * benchtests/bench-memset.c (test_main): Add more test from size
721 from 32 to 512 bytes.
722 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
723 Add POWER8 memset object.
724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
725 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
726 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
728 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
730 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
731 multiarch POWER8 memset optimization.
732 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
733 POWER8 memset optimization.
735 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
736 Remove bzero multiarch objects.
737 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
738 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
739 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
740 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
742 [__bzero]: Redefine to specific name.
743 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
744 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
745 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
747 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
748 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
750 2014-09-10 Florian Weimer <fweimer@redhat.com>
752 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
753 warnings into errors.
755 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
756 __cxa_thread_atexit_impl prototype.
758 2014-09-09 Steve Ellcey <sellcey@mips.com>
760 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
761 Fix capitalization of error message.
763 2014-09-09 Steve Ellcey <sellcey@mips.com>
765 * sysdeps/mips/preconfigure: Modify ABI tests.
767 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
769 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
771 2014-09-07 Roland McGrath <roland@hack.frob.com>
772 Carlos O'Donell <carlos@systemhalted.org>
774 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
775 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
776 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
777 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
778 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
779 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
780 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
781 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
782 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
783 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
784 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
785 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
786 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
787 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
788 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
789 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
790 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
791 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
792 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
793 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
794 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
795 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
796 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
797 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
798 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
799 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
800 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
801 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
802 Deconditionalize the code that was previously under [RESET_PID].
803 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
804 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
805 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
806 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
809 2014-09-08 Allan McRae <allan@archlinux.org>
811 * version.h (RELEASE): Set to "development".
812 (VERSION): Set to "2.20.90"
814 2014-09-07 Allan McRae <allan@archlinux.org
816 * version.h (RELEASE): Set to "stable".
817 (VERSION): Set to "2.20"
818 * include/features.h (__GLIBC_MINOR__): Set to 20.
820 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
823 * po/ko.po: Update Korean translation from translation project.
825 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
828 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
829 macro for handling signed relocations.
831 2014-09-03 Florian Weimer <fweimer@redhat.com>
834 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
835 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
837 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
838 * iconvdata/ibm935.c (BODY): Likewise.
839 * iconvdata/ibm937.c (BODY): Likewise.
840 * iconvdata/ibm939.c (BODY): Likewise.
841 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
843 * iconvdata/Makefile (iconv-test.out): Pass module list to test
845 * iconvdata/run-iconv-test.sh: New test loop for checking for
848 2014-09-02 Khem Raj <raj.khem@gmail.com>
850 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
853 2014-09-01 Allan McRae <allan@archlinux.org>
855 * po/eo.po: Update Esperanto translation from translation project.
857 * po/ca.po: Update Catalan translation from translation project.
859 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
861 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
864 2014-08-27 Mark Wielaard <mjw@redhat.com>
867 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
868 to call set_thread_area instead of hand written asm.
869 (__NR_set_thread_area): Removed define.
870 (TLS_FLAG_WRITABLE): Likewise.
871 (__ASSUME_SET_THREAD_AREA): Remove check.
872 (TLS_EBX_ARG): Remove define.
873 (TLS_LOAD_EBX): Likewise.
875 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
877 Simplify atomicity of socket creation in bind.
879 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
880 looking up the name after linking the file.
882 2014-08-27 Allan McRae <allan@archlinux.org>
884 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
886 2014-08-26 Florian Weimer <fweimer@redhat.com>
889 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
890 trans_compare, open_translit, __gconv_translit_find):
891 Remove module loading code.
893 2014-08-26 Allan McRae <allan@archlinux.org>
895 * po/vi.po: Update Vietnamese translation from translation project.
897 * po/uk.po: Update Ukrainian translation from translation project.
899 * po/fr.po: Update French translation from translation project.
901 * po/ru.po: Update Russian translation from translation project.
903 * po/pl.po: Update Polish translation from translation project.
905 * po/cs.po: Update Czech translation from translation project.
907 * po/de.po: Update German translation from translation project.
909 * po/bg.po: Update Bulgarian translation from translation project.
911 * po/sv.po: Update Sweedish translation from translation project.
913 * po/nl.po: Update Dutch translation from translation project.
915 * po/es.po: Update Spanish translation from translation project.
917 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
919 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
921 * catgets/Makefile (CPPFLAGS-gencat): Remove.
922 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
923 (CPPFLAGS-iconvconfig): Likewise.
924 * timezone/Makefile (CPPFLAGS-zic): Likewise.
926 * include/libc-symbols.h: Remove unnecessary check for
928 * nptl/pthreadP.h: Likewise.
929 * sysdeps/aarch64/setjmp.S: Likewise.
930 * sysdeps/alpha/setjmp.S: Likewise.
931 * sysdeps/arm/sysdep.h: Likewise.
932 * sysdeps/i386/setjmp.S: Likewise.
933 * sysdeps/m68k/setjmp.c: Likewise.
934 * sysdeps/posix/getcwd.c: Likewise.
935 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
936 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
937 * sysdeps/s390/s390-32/setjmp.S: Likewise.
938 * sysdeps/s390/s390-64/setjmp.S: Likewise.
939 * sysdeps/sh/sh3/setjmp.S: Likewise.
940 * sysdeps/sh/sh4/setjmp.S: Likewise.
941 * sysdeps/unix/alpha/sysdep.h: Likewise.
942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
943 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
944 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
945 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
950 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
953 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
955 * sysdeps/x86_64/setjmp.S: Likewise.
957 2014-08-13 Joseph Myers <joseph@codesourcery.com>
960 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
962 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
963 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
965 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
967 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
970 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
971 and __x86_64__ when disabling x87 inline functions.
973 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
976 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
977 asm statement with __cpuid_count.
979 2014-08-12 Mike Frysinger <vapier@gentoo.org>
981 * configure.ac: Change __ehdr_start code to dereference the struct.
982 Run readelf on the output to look for relocations.
983 * configure: Regenerated.
985 2014-08-12 Joseph Myers <joseph@codesourcery.com>
988 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
990 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
992 2014-08-12 Roland McGrath <roland@hack.frob.com>
994 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
996 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
999 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1000 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1002 2014-08-12 Sean Anderson <seanga2@gmail.com>
1004 * malloc/malloc.c: Fix typo in comment.
1006 2014-08-09 Allan McRae <allan@archlinux.org>
1008 * Regenerate libc.po.
1010 2014-08-08 Mike Frysinger <vapier@gentoo.org>
1012 * intl/tst-gettext2.sh: Check every lang file for creation.
1014 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1016 * sysdeps/aarch64/fpu/math_private.h
1017 (libc_feholdsetround_noex_aarch64_ctx): New function.
1019 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1021 * sysdeps/arm/armv6/strcpy.S (strcpy):
1022 Fix performance issue in misaligned cases.
1024 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1026 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1027 Move definition from termios.h.
1028 (struct termio): Likewise.
1029 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1030 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1031 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1032 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1034 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1035 Move definition to ioctl-types.h
1036 (struct termio): Likewise.
1037 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1038 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1039 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1040 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1043 2014-08-05 Richard Henderson <rth@redhat.com>
1045 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1047 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1049 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1050 Use __feraiseexcept.
1051 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1052 Protect libm symbols with IS_IN_libm.
1054 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1056 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1058 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1060 2014-08-04 Will Newton <will.newton@linaro.org>
1062 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1065 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1067 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1068 variants for each function.
1070 2014-08-04 Roland McGrath <roland@hack.frob.com>
1072 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1074 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1075 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1077 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1078 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1079 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1080 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1081 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1082 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1083 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1084 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1085 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1086 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1101 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1105 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1109 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1111 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1112 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1113 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1114 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1115 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1116 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1117 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1118 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1119 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1120 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1121 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1122 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1123 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1124 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1125 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1126 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1127 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1128 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1129 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1131 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1132 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1134 2014-08-04 Roland McGrath <roland@hack.frob.com>
1136 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1137 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1138 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1139 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1140 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1141 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1143 2014-08-04 Roland McGrath <roland@hack.frob.com>
1145 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1146 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1147 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1148 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1150 2014-08-04 Roland McGrath <roland@hack.frob.com>
1152 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1153 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1154 (__libc_vfork): Define function under this name.
1155 (__vfork): Define as an alias.
1156 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1157 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1159 2014-08-04 Roland McGrath <roland@hack.frob.com>
1161 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1162 that was previously under [RESET_PID].
1163 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1165 2014-08-04 Andreas Schwab <schwab@suse.de>
1167 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1169 2014-08-03 Mike Frysinger <vapier@gentoo.org>
1171 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1174 2014-08-01 Roland McGrath <roland@hack.frob.com>
1176 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1178 2014-08-01 Richard Henderon <rth@redhat.com>
1180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1181 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1182 typo in exact zero test.
1183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1184 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1185 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1187 2014-08-01 Roland McGrath <roland@hack.frob.com>
1189 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1190 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1191 * sysdeps/arm/sysdep.h: ... here.
1192 [!__ASSEMBLER__]: Include <stdint.h>.
1194 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1196 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1197 (HAVE_WCTYPE_H): Likewise.
1198 (HAVE_ISWCTYPE): Likewise.
1199 (ENABLE_NLS): Likewise.
1200 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1201 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1203 * posix/regex_internal.c: Check if DEBUG is defined and is
1206 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1207 (HAVE_MBSRTOWCS): Likewise.
1208 * posix/fnmatch.c: Include string.h unconditionally.
1210 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1212 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1215 2014-07-31 Roland McGrath <roland@hack.frob.com>
1217 * sysdeps/generic/safe-fatal.h: New file.
1218 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1219 * nptl/forward.c: Include it.
1220 (__pthread_unwind): Use __safe_fatal as default action, rather
1221 than a bogus use of INTERNAL_SYSCALL that could never work.
1223 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1224 * configure.ac (libc_cv_builtin_trap): New test.
1225 * configure: Regenerated.
1226 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1227 (ABORT_INSTRUCTION): Define using __builtin_trap.
1229 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1230 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1231 * sysdeps/nptl/nptl-signals.h: New file.
1232 * nptl/pthreadP.h: Include <nptl-signals.h>.
1234 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1236 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1237 (ONE_DIRECTION): Define.
1238 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1239 (ONE_DIRECTION): Define.
1240 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1241 (ONE_DIRECTION): Define.
1243 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1245 * sysdeps/s390/Makefile: Delete file.
1246 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1247 * sysdeps/s390/__longjmp.c: Delete file.
1248 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1249 Remove fields __flags and __reserved.
1250 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1252 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1253 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1254 * sysdeps/s390/rtld-setjmp.S: Likewise.
1255 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1256 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1257 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1258 * sysdeps/s390/s390-32/setjmp.S: ... here.
1260 (__sigsetjmp): Remove setting __flags field.
1261 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1262 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1263 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1264 * sysdeps/s390/s390-64/setjmp.S: ... here.
1266 (__sigsetjmp): Remove setting __flags field.
1267 * sysdeps/s390/setjmp.S: Delete file.
1268 * sysdeps/s390/sigjmp.c: Likewise.
1269 * sysdeps/s390/v1-longjmp.c: Likewise.
1270 * sysdeps/s390/v1-setjmp.h: Likewise.
1271 * sysdeps/s390/v1-sigjmp.c: Likewise.
1272 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1273 Remove v1-longjmp_chk.
1274 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1275 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1276 Include debug/longjmp_chk.c and add versioning.
1277 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1278 Include nptl/pt-longjmp.c and add versioning.
1279 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1280 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1281 Include __longjmp.c.
1282 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1284 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1285 (__getcontext): Remove setting __flags field.
1287 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1288 Don't restore upper high grps.
1289 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1291 (__swapcontext): Remove setting uc_flags field.
1292 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1294 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1295 Include __longjmp.c.
1296 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1298 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1299 (__getcontext): Remove setting __flags field.
1301 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1302 (__swapcontext): Remove setting uc_flags field.
1303 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1304 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1305 Remove fields uc_high_gprs and __reserved.
1306 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1307 New file with reverted content.
1308 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1309 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1311 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1314 2014-07-31 Andreas Schwab <schwab@suse.de>
1316 * config.h.in (HAVE_IFUNC): Define to 0.
1317 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1320 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1323 memmove-avx-unaligned, memcpy-avx-unaligned and
1324 mempcpy-avx-unaligned.
1325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1326 Add tests for AVX memcpy functions.
1327 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1328 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1330 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1331 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1333 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1334 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1336 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1337 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1338 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1340 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1346 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1349 * manual/llio.texi: Add section about open file description locks.
1350 * manual/examples/ofdlocks.c: Example of open file description
1352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1353 F_OFD_SETLK, and F_OFD_SETLKW.
1355 2014-07-23 Allan McRae <allan@archlinux.org>
1357 * po/es.po: Update Spanish translation from translation project.
1359 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1361 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1363 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1366 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1367 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1368 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1370 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1373 * math/fesetenv.c (__fesetenv)
1374 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1375 * math/feupdateenv.c (__feupdateenv)
1376 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1378 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1379 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1380 (__ASSUME_SOCKETCALL): Do not define.
1382 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1383 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1384 (__ASSUME_SOCKETCALL): Do not define.
1385 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1386 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1387 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1388 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1389 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1390 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1391 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1392 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1394 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1395 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1396 (__ASSUME_SOCKETCALL): Do not define.
1397 (__ASSUME_IPC64): Define unconditionally.
1398 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1399 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1400 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1401 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1402 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1403 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1404 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1407 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1408 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1409 (__ASSUME_SOCKETCALL): Do not define.
1410 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1411 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1412 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1413 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1414 (__ASSUME_REQUEUE_PI): Define unconditionally.
1415 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1416 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1417 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1418 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1419 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1420 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1422 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1423 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1424 (__ASSUME_SOCKETCALL): Do not define.
1425 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1426 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1427 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1428 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1429 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1430 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1432 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1433 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1434 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1435 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1436 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1437 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1438 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1439 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1440 (__ASSUME_GETCPU_SYSCALL): Likewise.
1442 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1443 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1444 cases for individual architectures.
1445 * sysdeps/gnu/configure: Regenerated.
1446 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1447 LIBC_SLIBDIR_RTLDDIR.
1448 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1449 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1450 LIBC_SLIBDIR_RTLDDIR.
1451 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1453 LIBC_SLIBDIR_RTLDDIR.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1456 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1457 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1459 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1460 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1462 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1463 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1464 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1465 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1467 * sysdeps/aarch64/shlib-versions: Move to ...
1468 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1469 * sysdeps/alpha/shlib-versions: Move to ...
1470 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1471 * sysdeps/arm/shlib-versions: Move to ...
1472 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1473 * sysdeps/hppa/shlib-versions: Move all contents except for
1474 libgcc_s entry to ...
1475 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1477 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1478 * sysdeps/ia64/shlib-versions: Move to ...
1479 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1481 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1482 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1483 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1484 * sysdeps/microblaze/shlib-versions: Move to ...
1485 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1486 * sysdeps/mips/shlib-versions: Move to ...
1487 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1489 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1490 * sysdeps/tile/shlib-versions: Move to ...
1491 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1492 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1494 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1495 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1497 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1499 2014-07-17 Will Newton <will.newton@linaro.org>
1501 * sysdeps/arm/bits/atomic.h
1502 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1503 (__arch_compare_and_exchange_bool_16_int): Likewise.
1504 (__arch_compare_and_exchange_bool_64_int): Likewise.
1506 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1507 into an #else block.
1509 2014-07-16 Roland McGrath <roland@hack.frob.com>
1511 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1512 just Linux configurations. Test empirically that the compiler sets
1513 __ARM_EABI__, rather than using the tuple to decide.
1514 * sysdeps/arm/preconfigure: Regenerated.
1515 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1516 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1517 contents appended ...
1518 * sysdeps/arm/configure.ac: ... here.
1519 * sysdeps/arm/configure: Regenerated.
1521 2014-07-15 Roland McGrath <roland@hack.frob.com>
1523 * nptl/pthread_kill.c: New file.
1524 * nptl/pthread_sigmask.c: New file.
1525 * nptl/pthread_sigqueue.c: New file.
1527 * sysdeps/nptl/lowlevellock.h: New file.
1528 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1529 * sysdeps/nptl/lowlevellock-futex.h: New file.
1531 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1532 Remove dead declarations.
1534 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1536 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1537 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1539 * sysdeps/x86_64/configure.ac: Likewise.
1540 * sysdeps/i386/configure: Regenerated.
1541 * sysdeps/x86_64/configure: Likewise.
1542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1543 memset-avx2 only if config-cflags-avx2 is yes.
1544 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1545 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1547 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1548 only if HAVE_AVX2_SUPPORT is defined.
1549 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1551 2014-07-14 Alan Modra <amodra@gmail.com>
1554 * elf/elf.h (DT_PPC64_NUM): Correct value.
1555 * NEWS: Add to fixed bug list.
1557 2014-07-13 Jim Meyering <meyering@fb.com>
1560 regex: don't deref NULL upon heap allocation failure
1561 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1562 failure in one more place.
1563 To trigger the segfault, configure grep -with-included-regex,
1564 build it, and run these commands:
1565 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1567 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1569 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1571 2014-07-11 Richard Henderson <rth@redhat.com>
1573 * sysdeps/aarch64/libm-test-ulps: Update.
1575 2014-07-10 Florian Weimer <fweimer@redhat.com>
1578 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1579 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1580 (__nptl_setxid): Initialize error member. Call
1581 __nptl_setxid_error.
1582 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1583 * nptl/descr.h (struct xid_command): Add error member.
1584 * nptl/tst-setuid3.c: New file.
1585 * nptl/Makefile (tests): Add it.
1587 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1591 (__lll_trylock): Use __lll_base_trylock.
1592 (__lll_cond_trylock): Likewise.
1594 2014-07-10 Roland McGrath <roland@hack.frob.com>
1596 * nptl/pthread_create.c (start_thread): Use atomic_or and
1597 lll_futex_wake directly rather than lll_robust_dead.
1598 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1599 (lll_robust_dead): Macro removed.
1600 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1601 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1602 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1603 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1604 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1605 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1606 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1607 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1608 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1610 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1611 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1612 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1613 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1614 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1616 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1617 Use atomic_compare_and_exchange_val_acq directly rather than
1619 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1620 (__lll_robust_trylock, lll_robust_trylock): Removed.
1621 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1622 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1623 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1624 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1625 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1626 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1627 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1628 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1629 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1630 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1631 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1632 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1633 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1634 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1636 2014-07-02 Florian Weimer <fweimer@redhat.com>
1638 * manual/locale.texi (Locale Names): New section documenting
1639 locale name syntax. Adjust menu and node chaining accordingly.
1640 (Choosing Locale): Reference Locale Names, Locale Categories.
1641 Mention setting LC_ALL=C. Reflect that name syntax is now
1643 (Locale Categories): New section title. Reference Locale Names.
1644 LC_ALL is an environment variable, but not a category.
1645 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1646 description, now in Locale Name. Reference that section. Locale
1647 name syntax is now documented.
1649 2014-07-02 Florian Weimer <fweimer@redhat.com>
1652 * locale/findlocale.c (name_present, valid_locale_name): New
1654 (_nl_find_locale): Use the loc_name variable to store name
1655 candidates. Call name_present and valid_locale_name to check and
1656 validate locale names. Return an error if the locale is invalid.
1658 2014-07-02 Florian Weimer <fweimer@redhat.com>
1660 * locale/setlocale.c (setlocale): Use strdup for allocating
1661 composite name copy.
1663 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1665 Sync up with gnulib.
1666 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1667 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1668 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1669 and _GL_ARG_NONNULL.
1670 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1671 [!_LIBC]: Include code for Windows and Cygwin.
1672 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1673 Include prototype for int strerror_r.
1674 [!_LIBC] (is_open): New function.
1675 (flush_stdout): New function.
1676 (print_errno_message): Use it.
1678 (error_at_line): Likewise.
1679 (error_tail) Add function attribute macros. Use
1682 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1684 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1686 * io/ftw.c: Include sys/param.h unconditionally.
1688 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1691 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1693 (freecache): New function to free CACHE on exit.
1695 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1698 2014-07-09 David S. Miller <davem@davemloft.net>
1700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1702 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1703 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1704 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1705 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1706 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1707 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1708 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1709 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1710 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1711 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1712 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1713 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1714 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1716 2014-07-09 Andreas Schwab <schwab@suse.de>
1718 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1720 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1721 (do_test): Likewise.
1723 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1725 2014-07-09 Will Newton <will.newton@linaro.org>
1727 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1728 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1729 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1730 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1731 * sysdeps/hppa/start.S (_start): Likewise.
1733 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1735 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1737 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1740 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1742 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1743 after checking that it is non-NULL.
1745 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1747 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1749 * sysdeps/powerpc/memmove.c: Remove file.
1750 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1751 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1752 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1753 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1754 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1755 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1756 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1757 string memmove instead of removed powerpc one.
1759 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1760 [weak_alias]: Fix compiler warning due trailing data.
1761 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1762 [weak_alias]: Likewise.
1763 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1764 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1767 (__libc_ifunc_impl_list): Add memmove functions.
1769 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1771 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1773 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1775 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1777 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1779 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1781 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1783 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1785 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1787 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1789 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1791 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1793 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1795 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1797 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1799 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1801 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1803 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1806 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1809 to avoid alignment traps in non-cacheable memory.
1810 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1815 file: multiarch power7 memmove.
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1817 multiarch default memmove.
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1819 multiarch memove for powerpc32/power4.
1821 * string/bcopy.c: Use full path to include memmove.c.
1822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1824 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1825 bcopy for powerpc64.
1826 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1827 bcopy for powerpc64.
1828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1829 and memmove implementations.
1830 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1831 optimized multiarch memmove for POWER7/powerpc64.
1832 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1833 default multiarch memmove for powerpc64.
1834 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1835 multiarch for powerpc64.
1836 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1837 for POWER7/powerpc64.
1838 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1839 memmove for POWER7/powerpc64.
1841 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1844 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1845 __ELF_NATIVE_CLASS equal to 64.
1847 2014-07-07 Roland McGrath <roland@hack.frob.com>
1849 * sysdeps/nptl/lowlevellock.h: File removed.
1851 * NEWS: NPTL is no longer an add-on!
1852 * nptl/internaltypes.h: Moved ...
1853 * sysdeps/nptl/internaltypes.h: ... here.
1854 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1855 * sysdeps/nptl/fork.c: Likewise.
1856 * sysdeps/nptl/gai_misc.h: Likewise.
1857 * sysdeps/nptl/librt-cancellation.c: Likewise.
1858 * sysdeps/nptl/jmp-unwind.c: Likewise.
1859 * sysdeps/nptl/setxid.h: Likewise.
1860 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1861 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1862 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1863 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1864 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1865 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1866 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1867 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1868 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1869 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1870 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1871 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1872 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1873 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1874 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1875 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1876 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1877 * nptl/Makeconfig: Moved ...
1878 * sysdeps/nptl/Makeconfig: ... here.
1879 * nptl/configure: File removed.
1880 * nptl/ANNOUNCE: File removed.
1881 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1882 * sysdeps/unix/sysv/linux/configure: Regenerated.
1884 * nptl/Makefile (routines): Add libc_pthread_init,
1885 libc_multiple_threads, register-atfork and unregister-atfork.
1886 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1887 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1888 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1889 pthread-pi-defines.sym, structsem.sym.
1890 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1891 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1892 [$(subdir) = nptl] (tests): Add tst-setgetname.
1893 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1894 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1895 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1896 [!LIBC_SIGACTION]: Remove aliases.
1897 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1898 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1899 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1900 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1901 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1902 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1905 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1906 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1907 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1908 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1909 __libc_allocate_rtsig_private.
1910 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1911 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1912 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1913 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1914 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1915 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1916 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1917 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1918 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1919 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1920 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1921 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1922 * nptl/internaltypes.h: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1924 * sysdeps/nptl/jmp-unwind.c: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1926 * nptl/libc-lowlevellock.c: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1928 * nptl/libc_multiple_threads.c: ... here.
1929 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1930 * nptl/libc_pthread_init.c: ... here.
1931 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1932 * nptl/lowlevelbarrier.sym: ... here.
1933 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1934 * nptl/lowlevelcond.sym: ... here.
1935 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1936 * nptl/lowlevellock.c: ... here.
1937 * nptl/lowlevellock.h: Moved ...
1938 * sysdeps/nptl/lowlevellock.h: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1940 * nptl/lowlevelrobustlock.c: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1942 * nptl/lowlevelrobustlock.sym: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1944 * nptl/lowlevelrwlock.sym: ... here.
1945 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1946 * nptl/pt-fork.c: ... here.
1947 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1948 * nptl/pthread-pi-defines.sym: ... here.
1949 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1950 * nptl/pthread_attr_getaffinity.c: ... here.
1951 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1952 * nptl/pthread_attr_setaffinity.c: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1954 * nptl/pthread_mutex_cond_lock.c: ... here.
1955 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1957 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1958 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1959 * nptl/pthread_once.c: ... here, replacing old file.
1960 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1961 * nptl/pthread_yield.c: ... here.
1962 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1963 * nptl/register-atfork.c: ... here.
1964 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1965 * nptl/sem_post.c: ... here.
1966 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1967 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1968 * nptl/sem_timedwait.c: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1970 * nptl/sem_trywait.c: ... here.
1971 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1972 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1973 * nptl/sem_wait.c: ... here.
1974 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1975 * nptl/structsem.sym: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1977 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1978 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1979 * nptl/unregister-atfork.c: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1981 * nptl/unwindbuf.sym: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1983 * sysdeps/nptl/fork.c: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1985 * sysdeps/nptl/fork.h: ... here.
1986 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1987 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1988 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1990 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1992 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1994 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1996 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1998 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1999 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2000 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2002 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2003 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2004 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2005 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2006 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2007 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2008 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2009 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2010 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2011 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2012 * sysdeps/unix/sysv/linux/raise.c: ... here.
2013 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2014 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2016 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2017 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2018 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2019 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2020 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2021 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2022 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2024 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2026 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2027 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2029 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2031 * sysdeps/generic/memcopy.h: Add comment for
2032 MEMCPY_OK_FOR_FWD_MEMMOVE.
2034 2014-07-04 Will Newton <will.newton@linaro.org>
2036 * string/memchr.c: Merge from gnulib.
2037 [_LIBC]: Remove conditionals.
2038 (__ptr_t): Remove define.
2039 (LONG_MAX_32_BITS): Likewise.
2040 (LONG_MAX): Likewise.
2041 (MEMCHR): Use ANSI prototype and optimize algorithm.
2043 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2045 2014-07-03 Roland McGrath <roland@hack.frob.com>
2047 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2048 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2050 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2051 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2052 in a bare environment with no <stdlib.h> installed.
2053 * sysdeps/nptl/configure: Regenerated.
2055 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2057 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2058 AC_EGREP_CPP for kernel header checks, so they only succeed if
2059 including <linux/version.h> actually works right.
2060 * sysdeps/unix/sysv/linux/configure: Regenerated.
2062 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2063 value so it's not diagnosed as unused.
2065 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2066 thing) with "ifeq ($(subdir),rt)".
2068 2014-07-03 Richard Henderson <rth@redhat.com>
2070 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2071 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2072 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2074 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2075 (math_force_eval): New.
2077 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2078 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2080 * sysdeps/alpha/fpu/s_round.c: Remove file.
2081 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2083 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2084 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2085 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2086 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2087 (_dl_start, print_statistics): Likewise.
2088 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2089 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2091 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2092 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2093 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2094 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2095 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2096 (HP_SMALL_TIMING_AVAIL): Define.
2097 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2098 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2099 (HP_SMALL_TIMING_AVAIL): Define.
2100 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2101 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2103 * sysdeps/aarch64/hp-timing.h: New file.
2105 * sysdeps/generic/hp-timing.h: Remove dead comment.
2106 * sysdeps/generic/hp-timing-common.h: New file.
2107 * sysdeps/alpha/hp-timing.h: Include it.
2108 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2109 * sysdeps/i386/i686/hp-timing.h: Likewise.
2110 * sysdeps/ia64/hp-timing.h: Likewise.
2111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2112 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2113 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2114 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2115 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2116 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2119 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2120 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2121 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2122 * elf/rtld.c (_dl_start_final): Likewise.
2123 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2124 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2125 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2126 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2127 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2129 (HP_TIMING_DIFF_INIT): Remove.
2130 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2131 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2132 (HP_TIMING_DIFF_INIT): Remove.
2133 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2134 * sysdeps/i386/i686/hp-timing.c: Remove file.
2135 * sysdeps/x86_64/hp-timing.c: Remove file.
2136 * sysdeps/ia64/hp-timing.c: Remove file.
2137 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2138 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2139 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2140 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2142 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2143 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2144 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2145 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2146 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2147 (HP_TIMING_ACCUM): Remove.
2148 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2149 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2150 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2152 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2153 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2154 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2155 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2156 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2157 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2159 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2161 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2163 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2165 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2167 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2169 Sync up with gettext.
2170 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2171 [_MSC_VER]: Include malloc.h
2172 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2173 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2174 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2175 TEMP_FAILURE_RETRY. Cast return of alloca.
2176 [!_LIBC] Call gl_rwlock_init.
2177 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2179 2014-07-02 Roland McGrath <roland@hack.frob.com>
2181 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2182 before checking its value.
2184 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2186 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2188 * debug/memcpy_chk.c: Don't include pagecopy.h.
2189 * debug/mempcpy_chk.c: Likewise.
2190 * string/memcpy.c: Likewise.
2191 * string/memmove.c: Likewise.
2192 * sysdeps/powerpc/memmove.c: Likewise.
2193 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2194 definition of PAGE_COPY_FWD_MAYBE here...
2195 * sysdeps/generic/pagecopy.h: ... from here.
2196 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2198 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2199 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2205 (__libc_ifunc_impl_list): Likewise.
2206 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2207 multiarch strcat for PPC64.
2208 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2209 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2211 2014-07-02 Roland McGrath <roland@hack.frob.com>
2213 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2215 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2217 * intl/loadmsgcat.c: Remove declaration of
2218 get_sysdep_segment_value.
2219 (get_sysdep_segment_value): Use ISO C style.
2220 (_nl_load_domain): Use ISO C style. Get rid of redundant
2221 semicolon. Fix typo and formatting in comment.
2222 (_nl_unload_domain): Use ISO C style.
2224 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2226 2014-07-02 Will Newton <will.newton@linaro.org>
2228 * malloc/obstack.c: Merge from gnulib master.
2229 [HAVE_CONFIG_H]: Remove conditional code.
2230 [!_LIBC]: Include config.h.
2231 [!ELIDE_CODE]: Don't include inttypes.h, include
2232 stdint.h unconditionally.
2233 (print_and_abort): Mark as _Noreturn.
2234 (_obstack_allocated_p): Mark as __attribute_pure__.
2235 (obstack_free): Rename to __obstack_free.
2236 [!__attribute__]: Remove conditional code.
2237 * malloc/obstack.h: Merge from gnulib master.
2238 [__cplusplus]: Move conditional down.
2239 [!__attribute_pure__]: Define __attribute_pure__ here
2240 if it is not already defined.
2241 (_obstack_memory_used): Mark as __attribute_pure__.
2242 [!__obstack_free]: Define as obstack_free.
2243 [__GNUC__]: Remove check for ancient NeXT gcc.
2245 2014-07-02 Will Newton <will.newton@linaro.org>
2246 Paul Eggert <eggert@cs.ucla.edu>
2248 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2250 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2252 * resolv/gethnamaddr.c: Add comment warning that the file is
2255 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2257 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2260 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2261 entry for aio_cancel and aio_cancel64.
2262 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2263 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2264 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2265 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2266 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2267 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2268 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2269 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2270 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2271 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2272 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2273 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2274 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2276 2014-07-01 Roland McGrath <roland@hack.frob.com>
2278 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2279 * nptl/pthread_mutex_lock.c: Likewise.
2280 * nptl/pthread_mutex_timedlock.c: Likewise.
2281 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2283 2014-07-01 Richard henderson <rth@redhat.com>
2285 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2286 (__isnan, __isnanl): Remove.
2287 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2289 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2291 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2295 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2297 * resolv/nss_dns/dns-host.c (getanswer_r)
2298 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2300 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2303 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2305 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2306 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2308 2014-07-01 Roland McGrath <roland@hack.frob.com>
2310 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2311 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2313 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2314 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2316 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2317 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2319 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2320 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2322 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2323 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2324 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2325 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2327 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2328 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2329 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2330 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2333 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2335 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2336 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2356 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2357 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2359 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2360 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2361 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2362 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2363 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2365 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2367 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2368 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2369 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2372 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2376 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2378 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2379 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2381 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2383 * sysdeps/arm/libm-test-ulps: Regenerated.
2385 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2386 Roland McGrath <roland@hack.frob.com>
2388 * test-skeleton.c (signal_handler): Kill the whole process group
2389 before killing the child individually.
2390 (main): Report any failure on `setpgid'.
2392 2014-06-30 Roland McGrath <roland@hack.frob.com>
2394 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2395 from _TLS_H to _ARM_NPTL_TLS_H.
2396 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2397 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2399 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2402 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2403 (__expm1l): Return argument unchanged when small but not
2406 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2408 (_FP_UNPACK_RAW_1_P): Likewise.
2409 (_FP_PACK_RAW_1): Likewise.
2410 (_FP_PACK_RAW_1_P): Likewise.
2411 (_FP_MUL_MEAT_1_wide): Likewise.
2412 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2413 (_FP_MUL_MEAT_1_hard): Likewise.
2414 (_FP_DIV_MEAT_1_imm): Likewise.
2415 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2416 (_FP_DIV_MEAT_1_udiv): Likewise.
2417 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2418 (_FP_UNPACK_RAW_2): Likewise.
2419 (_FP_UNPACK_RAW_2_P): Likewise.
2420 (_FP_PACK_RAW_2): Likewise.
2421 (_FP_PACK_RAW_2_P): Likewise.
2422 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2423 (_FP_MUL_MEAT_2_wide): Likewise.
2424 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2425 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2426 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2427 (_FP_MUL_MEAT_2_gmp): Likewise.
2428 (_FP_DIV_MEAT_2_udiv): Likewise.
2429 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2430 (_FP_FRAC_SRL_4): Likewise.
2431 (_FP_FRAC_SRST_4): Likewise.
2432 (_FP_FRAC_SRS_4): Likewise.
2433 (_FP_UNPACK_RAW_4): Likewise.
2434 (_FP_UNPACK_RAW_4_P): Likewise.
2435 (_FP_PACK_RAW_4): Likewise.
2436 (_FP_PACK_RAW_4_P): Likewise.
2437 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2438 (_FP_MUL_MEAT_4_wide): Likewise.
2439 (_FP_MUL_MEAT_4_gmp): Likewise.
2440 (umul_ppppmnnn): Likewise.
2441 (_FP_DIV_MEAT_4_udiv): Likewise.
2442 (__FP_FRAC_ADD_4): Likewise.
2443 (__FP_FRAC_SUB_3): Likewise.
2444 (__FP_FRAC_SUB_4): Likewise.
2445 (__FP_FRAC_DEC_3): Likewise.
2446 (__FP_FRAC_DEC_4): Likewise.
2447 (__FP_FRAC_ADDI_4): Likewise.
2448 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2449 (_FP_FRAC_SRL_8): Likewise.
2450 (_FP_FRAC_SRS_8): Likewise.
2452 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2454 (FP_UNPACK_RAW_EP): Likewise.
2455 (FP_PACK_RAW_E): Likewise.
2456 (FP_PACK_RAW_EP): Likewise.
2457 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2458 (_FP_ISSIGNAN): Likewise.
2459 (_FP_ADD_INTERNAL): Likewise.
2460 (_FP_FMA): Likewise.
2461 (_FP_CMP): Likewise.
2462 (_FP_SQRT): Likewise.
2463 (_FP_TO_INT): Likewise.
2464 (_FP_FROM_INT): Likewise.
2465 (FP_EXTEND): Likewise.
2466 (_FP_DIV_MEAT_N_loop): Likewise.
2468 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2470 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2473 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2476 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2477 result with correct sign in case of exponents that produce
2478 overflow except for X very close to 1.
2480 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2482 mktime: merge #if/#ifdef usage from glibc
2483 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2484 as that works with both Glibc's and Gnulib's style.
2485 See thread starting at Siddhesh Poyarekar's bug report at:
2486 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2488 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2490 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2491 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2492 * sysdeps/tile/tilegx/memmove.c: Remove file.
2494 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2496 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2497 abi-name definition.
2498 * scripts/soversions.awk: Do not handle or generate ABI lines.
2499 * shlib-versions: Remove ABI entries.
2500 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2501 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2503 2014-06-27 Roland McGrath <roland@hack.frob.com>
2505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2506 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2507 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2513 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2515 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2516 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2518 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2520 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2522 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2523 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2524 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2526 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2527 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2529 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2531 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2533 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2536 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2537 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2539 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2541 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2544 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2545 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2546 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2547 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2548 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2549 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2550 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2551 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2553 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2555 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2556 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2558 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2561 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2563 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2566 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2569 Identical file removed.
2570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2572 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2573 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2574 Identical file removed.
2575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2576 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2579 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2580 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2581 Identical file removed.
2582 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2583 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2585 Identical file removed.
2586 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2587 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2588 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2589 Identical file removed.
2590 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2591 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2593 Identical file removed.
2594 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2596 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2598 Identical file removed.
2599 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2601 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2602 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2603 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2605 Identical file removed.
2606 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2608 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2610 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2611 Identical file removed.
2612 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2614 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2615 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2616 Identical file removed.
2617 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2619 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2620 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2621 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2623 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2626 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2627 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2628 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2630 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2631 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2632 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2633 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2634 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2636 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2639 * nscd/nscd.c (monitor_child): Return exit status of child
2640 instead of return value from wait syscall.
2642 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2644 * configure.ac (libc_commonpagesize): Remove variable.
2645 (libc_relro_required): Likewise.
2646 (libc_cv_z_relro): Remove configure test.
2647 * configure: Regenerated.
2648 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2650 (libc_relro_required): Likewise.
2651 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2652 (libc_relro_required): Likewise.
2653 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2654 (libc_relro_required): Likewise.
2655 * sysdeps/arm/preconfigure: Regenerated.
2656 * sysdeps/ia64/preconfigure: Remove file.
2657 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2659 (libc_relro_required): Likewise.
2663 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2664 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2665 recompute overflowing results in original rounding mode.
2666 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2667 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2668 recompute overflowing results in original rounding mode.
2669 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2670 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2671 recompute overflowing results in original rounding mode.
2672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2673 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2674 recompute overflowing results in original rounding mode.
2675 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2676 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2677 recompute overflowing results in original rounding mode.
2678 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2679 (libc_feholdsetround_ctx): New macro.
2680 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2681 * sysdeps/i386/fpu/libm-test-ulps: Update.
2682 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2684 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2686 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2687 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2688 corresponding .cpsetup call.
2690 2014-06-26 Roland McGrath <roland@hack.frob.com>
2692 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2693 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2694 * sysdeps/arm/Makefile [$(subdir) = csu]
2695 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2696 (static-only-routines): Add aeabi_read_tp here.
2697 (shared-only-routines): Add libc-aeabi_read_tp here.
2698 (CFLAGS-libc-start.c): Add -fexceptions here.
2699 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2700 (sysdep_routines, static-only-routines, shared-only-routines):
2701 Don't add to these here.
2702 (CFLAGS-libc-start.c): Likewise.
2704 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2705 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2706 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2707 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2708 * sysdeps/arm/Makefile [$(subdir) = rt]
2709 (librt-sysdep_routines, librt-shared-only-routines):
2710 Append rt-aeabi_unwind_cpp_pr1 here.
2711 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2712 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2713 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2714 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2715 Append nptl-aeabi_unwind_cpp_pr1 here.
2716 (tests): Filter out tst-cleanupx4 here.
2717 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2718 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2719 Don't do those here.
2721 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2723 * scripts/list-sources.sh: Do not handle ports specially.
2725 2014-06-26 Roland McGrath <roland@hack.frob.com>
2727 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2728 * sysdeps/arm/feupdateenv.c: Likewise.
2730 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2732 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2734 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2735 trailing whitespace removed.
2736 * scripts/config.guess: Update to version 2014-03-23.
2737 * scripts/config.sub: Update to version 2014-05-01
2738 * scripts/install-sh: Update to version 2013-12-25.23.
2739 * scripts/move-if-change: Update from gnulib.
2741 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2743 * debug/memmove_chk.c: Remove pagecopy.h include.
2745 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2747 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2748 identical to gnulib mktime.
2750 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2752 * configure.ac: Do not test for machine being rs6000. Do not test
2754 * configure: Regenerated.
2756 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2758 * configure: Regenerated.
2759 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2760 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2761 Remove configure test.
2762 * sysdeps/arm/configure: Regenerated.
2763 * sysdeps/nptl/configure.ac: Do not check
2764 libc_cv_asm_cfi_directives.
2765 * sysdeps/nptl/configure: Regenerated.
2766 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2767 * sysdeps/x86_64/nptl/configure: Remove generated file.
2768 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2770 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2772 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2774 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2775 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2776 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2779 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2780 instead of whether it is defined.
2781 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2782 * sysdeps/hppa/dl-machine.h: Likewise.
2783 * sysdeps/ia64/dl-machine.h: Likewise.
2784 * sysdeps/m68k/dl-machine.h: Likewise.
2785 * sysdeps/microblaze/dl-machine.h: Likewise.
2786 * sysdeps/mips/dl-machine.: Likewise.
2787 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2788 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2789 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2790 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2791 * sysdeps/sh/dl-machine.h: Likewise.
2792 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2793 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2794 * sysdeps/tile/dl-machine.h: Likewise.
2795 * sysdeps/x86_64/dl-machine.h: Likewise.
2797 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2799 (verify_persistent_db): Likewise.
2801 2014-06-26 Roland McGrath <roland@hack.frob.com>
2803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2804 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2806 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2809 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2814 Identical file removed.
2815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2827 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2829 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2831 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2834 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2838 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2840 Identical file removed.
2841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2842 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2847 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2858 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2861 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2864 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2866 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2869 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2871 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2873 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2875 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2876 * sysdeps/unix/sysv/linux/s390/Versions
2877 (libpthread: GLIBC_2.19): New version set.
2878 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2879 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2880 (librt: GLIBC_2.3.3): New version set.
2881 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2882 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2883 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2884 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2885 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2886 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2887 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2888 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2889 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2890 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2891 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2892 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2893 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2894 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2895 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2896 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2897 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2898 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2899 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2900 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2901 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2902 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2903 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2904 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2905 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2906 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2907 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2908 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2909 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2910 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2911 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2912 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2913 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2915 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2916 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2917 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2919 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2920 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2921 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2923 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2925 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2927 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2928 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2929 (__libc_vfork): Define the function under this name.
2930 [!NOT_IN_libc] (__vfork): Make this an alias.
2931 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2932 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2933 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2934 (__libc_vfork): Define the function under this name.
2935 [!NOT_IN_libc] (__vfork): Make this an alias.
2936 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2937 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2938 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2941 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2943 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2944 code that was previously under [RESET_PID].
2945 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2946 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2947 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2949 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2950 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2951 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2952 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2953 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2954 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2955 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2956 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2957 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2961 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2985 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2986 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2987 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2988 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2989 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2991 2014-06-25 Roland McGrath <roland@hack.frob.com>
2993 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2994 that was previously under [RESET_PID].
2995 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2997 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2999 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3000 not undefine and redefine.
3001 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3002 [O_CLOEXEC]: Make code unconditional.
3003 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3004 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3005 <kernel-features.h>.
3006 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3007 conditional variable definition.
3008 (shm_open) [O_CLOEXEC]: Make code unconditional.
3009 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3012 * configure.ac (USE_REGPARMS): Don't define here.
3013 * configure: Regenerated.
3014 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3015 * sysdeps/i386/configure: Regenerated.
3017 * nptl/createthread.c: Don't include kernel-features.h.
3018 * nptl/pthread_cancel.c: Likewise.
3019 * nptl/pthread_condattr_setclock.c: Likewise.
3020 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3021 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3022 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3023 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3024 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3025 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3026 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3029 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3030 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3031 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3032 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3033 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3034 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3035 * nscd/gai.c: Likewise.
3036 * nss/nss_db/db-open.c: Likewise.
3037 * sysdeps/generic/ldsodefs.h: Likewise.
3038 * sysdeps/sh/nptl/tls.h: Likewise.
3039 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3040 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3041 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3042 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3043 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3044 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3045 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3046 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3047 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3048 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3049 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3050 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3051 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3052 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3053 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3054 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3055 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3056 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3057 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3058 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3059 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3060 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3061 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3062 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3063 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3064 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3065 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3066 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3067 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3068 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3069 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3070 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3071 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3072 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3073 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3074 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3075 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3076 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3077 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3078 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3079 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3080 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3081 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3082 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3083 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3084 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3085 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3086 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3087 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3088 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3089 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3090 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3091 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3092 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3093 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3094 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3095 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3119 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3120 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3121 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3122 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3123 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3124 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3125 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3126 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3127 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3128 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3129 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3130 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3131 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3132 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3133 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3134 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3135 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3137 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3138 * sysdeps/unix/sysv/linux/system.c: Likewise.
3139 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3140 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3141 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3142 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3143 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3144 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3145 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3147 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3148 * configure: Regenerated.
3149 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3151 * configure.ac (base_machine): Do not set specially for particular
3153 * configure: Regenerated.
3154 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3155 settings from configure.ac.
3156 * sysdeps/i386/preconfigure: New file.
3157 * sysdeps/s390/preconfigure: Likewise.
3158 * sysdeps/sh/preconfigure: Likewise.
3159 * sysdeps/sparc/preconfigure: Likewise.
3161 2014-06-25 Roland McGrath <roland@hack.frob.com>
3163 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3164 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3165 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3166 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3167 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3168 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3169 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3170 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3171 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3172 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3173 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3174 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3175 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3176 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3178 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3179 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3180 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3181 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3183 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3184 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3185 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3186 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3187 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3188 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3189 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3190 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3191 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3192 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3193 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3194 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3195 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3196 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3197 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3198 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3199 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3200 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3201 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3202 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3203 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3204 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3205 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3206 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3207 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3208 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3209 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3210 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3211 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3212 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3213 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3214 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3215 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3216 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3217 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3218 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3219 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3220 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3223 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3225 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3228 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3231 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3233 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3236 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3238 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3240 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3245 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3253 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3255 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3257 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3259 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3261 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3264 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3267 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3269 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3272 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3274 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3276 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3278 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3286 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3289 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3293 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3295 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3297 * timezone/checktab.awk: Update from tzcode 2014e.
3298 * timezone/private.h: Likewise.
3299 * timezone/tzfile.h: Likewise.
3300 * timezone/zdump.c: Likewise.
3301 * timezone/zic.c: Likewise.
3303 * sysdeps/unix/sysv/linux/kernel-features.h
3304 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3305 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3306 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3307 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3308 Remove conditional code.
3310 2014-06-25 Will Newton <will.newton@linaro.org>
3312 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3313 (_dl_arm_cap_flags): Add HWCAP2 values.
3314 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3315 (_DL_HWCAP_COUNT): Increase to 37.
3316 (_DL_HWCAP_LAST): New define.
3317 (_DL_HWCAP2_LAST): New define.
3318 (_dl_procinfo): Add support for printing
3320 (_dl_string_hwcap): Use _dl_hwcap_string.
3322 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3326 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3328 * README: Do not mention ports directory.
3330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3332 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3333 <kernel-features.h>.
3334 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3335 conditional variable definition.
3336 (__futimes): Update comment.
3337 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3338 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3341 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3342 arguments close to 0.
3343 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3345 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3347 * math/auto-libm-test-in: Add more tests of exp10.
3348 * math/auto-libm-test-out: Regenerated.
3349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3351 * sysdeps/unix/sysv/linux/kernel-features.h
3352 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3353 * sysdeps/unix/sysv/linux/readv.c: Do not include
3354 <kernel-features.h>.
3355 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3356 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3357 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3359 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3361 * sysdeps/unix/sysv/linux/writev.c: Do not include
3362 <kernel-features.h>.
3363 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3364 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3365 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3367 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3370 2014-06-25 Will Newton <will.newton@linaro.org>
3372 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3373 comment changes throughout the file. Remove checks
3374 for HAVE_*_H definitions that are not required.
3375 (__gen_tempname): Call abort if an unknown kind value is
3378 2014-06-25 Andreas Schwab <schwab@suse.de>
3381 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3382 scalbln, scalblnf, scalblnl in libc.
3384 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3387 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3388 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3389 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3391 2014-06-24 Roland McGrath <roland@hack.frob.com>
3393 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3394 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3395 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3396 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3398 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3399 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3401 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3402 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3403 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3404 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3405 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3406 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3407 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3408 * sysdeps/x86/bits/semaphore.h: ... here.
3409 * sysdeps/x86/nptl/elide.h: Moved ...
3410 * sysdeps/x86/elide.h: ... here.
3411 * sysdeps/x86_64/nptl/Implies: File removed.
3412 * sysdeps/i386/nptl/Implies: File removed.
3414 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3418 return the argument for normal arguments with exponent below -64.
3419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3421 * math/auto-libm-test-in: Add another test of expm1.
3422 * math/auto-libm-test-out: Regenerated.
3425 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3426 calling __erfcl for arguments at least 16.
3427 * math/auto-libm-test-in: Add more tests of erf.
3428 * math/auto-libm-test-out: Regenerated.
3430 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3431 individual architectures.
3432 * sysdeps/unix/sysv/linux/configure: Regenerated.
3433 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3434 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3435 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3436 (ldd_rewrite_script): Define variable.
3437 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3442 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3443 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3444 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3445 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3446 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3447 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3448 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3449 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3451 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3454 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3455 Rename member __data.d to __data.__elision_data.
3457 2014-06-24 Wilco <wdijkstr@arm.com>
3459 * NEWS: Add 16918 to fixed bug list.
3461 2014-06-24 Wilco <wdijkstr@arm.com>
3463 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3465 2014-06-24 Wilco <wdijkstr@arm.com>
3467 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3468 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3469 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3470 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3471 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3472 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3473 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3476 2014-06-24 Wilco <wdijkstr@arm.com>
3478 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3480 2014-06-24 Wilco <wdijkstr@arm.com>
3482 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3483 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3484 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3485 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3487 2014-06-24 Wilco <wdijkstr@arm.com>
3490 * sysdeps/arm/feupdateenv.c (feupdateenv):
3491 Rewrite to reduce FPSCR accesses and fix return value.
3493 2014-06-24 Wilco <wdijkstr@arm.com>
3495 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3496 Optimize to avoid unnecessary FPSCR writes.
3497 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3498 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3499 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3500 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3502 2014-06-24 Wilco <wdijkstr@arm.com>
3504 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3505 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3506 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3507 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3508 Call libc_fetestexcept_vfp.
3509 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3510 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3511 __SOFTFP__ ifdef so that they can be built for softfp.
3513 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3515 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3516 argument type signed char.
3518 * Makerules (check-abi): Dump diff of symlist if the test
3521 2014-06-23 Roland McGrath <roland@hack.frob.com>
3523 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3526 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3527 Remove unused variable ST.
3529 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3533 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3534 small arguments before calling __expm1.
3535 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3536 small arguments before calling __expm1f.
3537 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3538 small arguments before calling __expm1l.
3539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3541 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3542 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3543 spurious underflow for some cosh tests.
3544 * math/auto-libm-test-out: Regenerated.
3545 * sysdeps/i386/fpu/libm-test-ulps: Update.
3548 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3549 (__ieee754_y1): Set errno if return value overflows.
3550 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3551 (__ieee754_y1f): Set errno if return value overflows.
3552 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3553 (__ieee754_y1l): Set errno if return value overflows.
3554 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3555 (__ieee754_y1l): Set errno if return value overflows.
3556 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3557 * math/auto-libm-test-out: Regenerated.
3559 * math/gen-auto-libm-tests.c: Document use of
3560 ignore-zero-inf-sign.
3561 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3562 (input_flags): Add ignore-zero-inf-sign.
3563 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3564 * math/gen-libm-test.pl (generate_testfile): Handle
3565 ignore-zero-inf-sign.
3566 * math/auto-libm-test-in: Mark some cpow tests with
3567 ignore-zero-inf-sign and some with xfail-rounding.
3568 * math/auto-libm-test-out: Regenerated.
3569 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3570 * sysdeps/i386/fpu/libm-test-ulps: Update.
3571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3575 overflowing or underflowing operations take place with sign of
3577 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3578 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3579 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3580 (__ieee754_pow): Recompute overflowing and underflowing results in
3581 original rounding mode.
3582 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3583 (__powl_helper): Allow negative argument X and scale negated value
3584 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3585 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3586 overflowing or underflowing operations take place with sign of
3588 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3590 * math/auto-libm-test-in: Add more tests of pow.
3591 * math/auto-libm-test-out: Regenerated.
3592 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3593 (pow_tonearest_test_data): Remove.
3594 (pow_test_tonearest): Likewise.
3595 (pow_towardzero_test_data): Likewise.
3596 (pow_test_towardzero): Likewise.
3597 (pow_downward_test_data): Likewise.
3598 (pow_test_downward): Likewise.
3599 (pow_upward_test_data): Likewise.
3600 (pow_test_upward): Likewise.
3601 (main): Don't call removed functions.
3602 * sysdeps/i386/fpu/libm-test-ulps: Update.
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3605 2014-06-23 Roland McGrath <roland@hack.frob.com>
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3781 2014-06-23 Will Newton <will.newton@linaro.org>
3782 Wilco <wdijkstr@arm.com>
3784 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3785 implementation. Include get-rounding-mode.h.
3786 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3787 [!libc_feholdsetround_noex_ctx]: Define
3788 libc_feholdsetround_noex_ctx.
3789 [!libc_feholdsetround_noexf_ctx]: Define
3790 libc_feholdsetround_noexf_ctx.
3791 [!libc_feholdsetround_noexl_ctx]: Define
3792 libc_feholdsetround_noexl_ctx.
3793 (libc_feholdsetround_ctx): New function.
3794 (libc_feresetround_ctx): New function.
3795 (libc_feholdsetround_noex_ctx): New function.
3796 (libc_feresetround_noex_ctx): New function.
3798 2014-06-23 Roland McGrath <roland@hack.frob.com>
3800 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3801 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3802 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3803 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3804 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3805 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3807 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3808 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3809 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3810 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3811 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3812 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3813 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3814 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3815 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3816 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3819 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3822 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3823 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3824 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3825 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3827 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3829 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3830 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3831 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3833 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3834 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3836 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3837 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3839 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3840 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3841 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3842 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3844 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3845 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3846 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3847 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3848 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3849 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3850 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3852 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3853 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3855 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3857 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3858 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3859 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3860 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3862 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3864 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3865 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3866 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3867 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3868 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3869 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3871 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3872 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3873 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3874 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3875 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3878 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3880 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3881 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3882 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3884 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3885 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3886 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3887 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3888 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3889 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3891 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3893 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3894 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3899 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3900 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3901 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3907 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3908 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3913 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3915 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3916 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3917 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3918 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3919 (IPV6_PMTUDISC_INTERFACE): Likewise.
3920 (IPV6_PMTUDISC_OMIT): Likewise.
3922 2014-06-23 Andreas Schwab <schwab@suse.de>
3924 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3925 Remove unused errout label.
3927 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3930 macro: hardware supports Vector Crypto instructions.
3932 2014-06-23 Will Newton <will.newton@linaro.org>
3934 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3935 rather than __builtin_expect.
3937 * elf/dl-lookup.c (undefined_msg): Remove variable.
3938 (_dl_lookup_symbol_x): Replace undefined_msg with string
3941 * elf/dl-lookup.c (do_lookup_unique): New function.
3942 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3943 to a separate function.
3945 2014-06-23 Andreas Schwab <schwab@suse.de>
3948 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3949 before reading the next line.
3951 2014-06-23 Will Newton <will.newton@linaro.org>
3953 * test-skeleton.c (signal_handler): Use printf and %m
3954 rather than perror. Use printf rather than fprintf to
3955 stderr. Use puts rather than fputs to stderr.
3958 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3960 * nscd/nscd.c (thread_info_t): Remove typedef.
3961 (thread_info): Remove variable.
3963 2014-06-21 Allan McRae <allan@archlinux.org>
3965 * NEWS: Mention CVE-2014-4043.
3967 2014-06-20 Roland McGrath <roland@hack.frob.com>
3969 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3970 * nptl/smp.h: ... here.
3972 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3974 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3975 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3976 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3977 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3979 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3980 * nptl/stack-aliasing.h: New file.
3981 * sysdeps/i386/i686/stack-aliasing.h: New file.
3982 * sysdeps/i386/i686/nptl/Makefile: File removed.
3983 * sysdeps/x86_64/stack-aliasing.h: New file.
3984 * sysdeps/x86_64/nptl/Makefile
3985 (CFLAGS-pthread_create.c): Variable removed.
3987 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3988 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3990 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3991 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3994 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3997 (__ASSUME_SIGFRAME_V2): Remove macro.
3998 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3999 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4000 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4001 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4002 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4003 Declare as function. Remove conditional macro definitions.
4004 (__default_rt_sa_restorer): Likewise.
4005 (__default_sa_restorer_v1): Remove declaration.
4006 (__default_sa_restorer_v2): Likewise.
4007 (__default_rt_sa_restorer_v1): Likewise.
4008 (__default_rt_sa_restorer_v2): Likewise.
4009 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4010 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4011 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4013 2014-06-20 Roland McGrath <roland@hack.frob.com>
4015 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4016 (libpthread-routines): Add sysdep.
4017 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4018 * sysdeps/unix/sysv/linux/sparc/Versions
4019 (libpthread: GLIBC_2.3.3): New version set.
4020 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4021 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4022 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4023 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4024 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4025 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4027 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4029 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4031 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4032 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4033 * sysdeps/sparc/nptl/sem_init.c: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4035 * sysdeps/sparc/nptl/sem_post.c: ... here.
4036 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4037 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4038 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4039 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4040 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4041 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4042 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4043 (libpthread-routines): Add cpu_relax.
4044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4046 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4047 (librt: GLIBC_2.3.3): New version set.
4048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4049 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4050 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4051 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4054 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4057 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4059 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4061 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4063 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4065 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4068 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4072 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4076 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4080 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4084 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4088 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4091 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4097 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4099 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4108 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4110 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4111 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4112 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4113 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4114 * nscd/nscd.c: Likewise.
4115 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4116 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4117 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4118 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4120 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4121 <kernel-features.h>.
4122 (init_mq_netlink): Remove conditional have_sock_cloexec
4123 definitions. Remove code conditional on have_sock_cloexec < 0.
4124 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4125 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4126 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4127 <kernel-features.h>.
4128 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4129 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4131 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4134 Add tests for memset_chk and memset.
4136 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4139 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4142 * elf/tst-dl-iter-static.c: New file.
4143 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4145 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4148 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4150 * sysdeps/unix/sysv/linux/kernel-features.h
4151 (__ASSUME_F_GETOWN_EX): Remove macro.
4152 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4153 <kernel-features.h>.
4154 (miss_F_GETOWN_EX): Remove variable or macro.
4155 (do_fcntl): Do not check miss_F_GETOWN_EX.
4156 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4158 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4160 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4161 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4162 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4164 * sysdeps/unix/sysv/linux/kernel-features.h
4165 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4166 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4167 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4168 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4170 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4173 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4174 Fix calculation of the symbol's value.
4175 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4176 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4177 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4178 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4179 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4180 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4181 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4182 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4183 (modules-names): Add `tst-armtlsdescmod',
4184 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4185 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4186 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4187 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4188 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4189 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4190 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4191 ($(objpfx)tst-armtlsdescloc): New dependency.
4192 ($(objpfx)tst-armtlsdescextnow): Likewise.
4193 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4194 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4196 * sysdeps/arm/configure: Regenerate.
4198 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4200 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4201 (__atfct_seterrno_2): Likewise.
4202 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4203 <kernel-features.h>.
4204 (__ASSUME_ATFCTS): Do not undefine and redefine.
4205 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4206 (__have_atfcts): Remove conditional definition.
4207 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4208 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4209 unreachable if [__ASSUME_ATFCTS].
4210 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4211 not undefine and redefine.
4212 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4213 <kernel-features.h>.
4214 (faccessat) [__NR_faccessat]: Make code unconditional.
4215 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4216 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4217 <kernel-features.h>.
4218 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4219 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4220 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4221 <kernel-features.h>.
4222 (fchownat) [__NR_fchownat]: Make code unconditional.
4223 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4224 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4225 <kernel-features.h>.
4226 (futimesat) [__NR_futimesat]: Make code unconditional.
4227 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4228 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4229 <kernel-features.h>.
4230 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4231 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4232 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4233 <kernel-features.h>.
4234 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4235 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4236 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4237 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4238 <kernel-features.h>.
4239 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4240 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4241 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4242 <kernel-features.h>.
4243 (linkat) [__NR_linkat]: Make code unconditional.
4244 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4245 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4246 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4247 <kernel-features.h>.
4248 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4249 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4250 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4251 <kernel-features.h>.
4252 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4253 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4254 * sysdeps/unix/sysv/linux/openat.c: Do not include
4255 <kernel-features.h>.
4256 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4257 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4258 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4259 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4260 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4261 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4262 <kernel-features.h>.
4263 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4264 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4265 result of INLINE_SYSCALL directly, not via int variable.
4266 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4267 <kernel-features.h>.
4268 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4269 (renameat) [__NR_renameat]: Make code unconditional.
4270 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4271 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4272 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4273 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4274 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4275 (__ASSUME_ATFCTS): Do not undefine and redefine.
4276 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4277 <kernel-features.h>.
4278 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4279 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4280 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4281 <kernel-features.h>.
4282 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4283 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4284 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4285 (__ASSUME_ATFCTS): Do not undefine and redefine.
4286 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4287 <kernel-features.h>.
4288 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4289 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4290 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4291 <kernel-features.h>.
4292 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4293 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4295 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4297 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4299 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4302 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4303 constructed tree before returning error.
4304 * posix/bug-regexp36.c: Expand test case.
4306 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4309 * math/libm-test.inc (scalbln_test_date):
4310 Add errno expectations.
4311 * math/w_scalblnf.c: New File.
4312 Add wrapper which checks for setting errno to ERANGE.
4313 Add weak_alias for corresponding scalbln function.
4314 * math/w_scalbln.c: Likewise.
4315 * math/w_scalblnl.c: Likewise.
4316 * math/Makefile (libm-calls): Add w_scalbln.
4317 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4318 Remove weak_alias for corresponding scalbln function.
4319 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4323 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4324 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4325 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4326 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4327 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4328 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4329 Remove long_double_symbol for scalblnl function in libm, libc.
4330 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4331 Add wrapper which checks for setting errno to ERANGE.
4332 Add long_double_symbol for scalblnl function in libm, libc.
4333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4334 Remove long_double_symbol for scalblnl in libm.
4335 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4336 Add wrapper which checks for setting errno to ERANGE.
4337 Add long_double_symbol for scalblnl function in libm.
4338 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4339 Do not use wrapper because of own implementation.
4341 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4343 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4344 3 bytes for __pad1 for x32.
4345 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4347 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4348 H.J. Lu <hongjiu.lu@intel.com>
4350 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4351 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4352 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4353 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4354 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4356 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4359 * posix/regcomp.c (parse_expression): Deallocate partially
4360 constructed tree before returning error.
4361 * posix/Makefile.c (tests): Add bug-regex36.
4362 (generated): Add bug-regex36.mtrace.
4363 (tests-special): Add $(objpfx)bug-regex36-mem.out
4364 (bug-regex36-ENV): New variable.
4365 ($(objpfx)bug-regex36-mem.out): New rule.
4366 * posix/bug-regex36.c: New file.
4368 2014-06-19 Will Newton <will.newton@linaro.org>
4370 * malloc/malloc.c (systrim): If extra is zero then return
4373 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4375 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4377 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4379 * sysdeps/aarch64/strchr.S: New file.
4381 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4384 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4385 from arguments -2 or below.
4386 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4387 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4389 2014-06-18 Andreas Schwab <schwab@suse.de>
4392 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4393 of a bracket expr not to run off the end of the string.
4394 * posix/Makefile (tests): Add tst-fnmatch3.
4395 * posix/tst-fnmatch3.c: New file.
4397 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4399 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4400 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4401 [$(cross-compiling) = no]: Likewise.
4402 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4403 [$(cross-compiling) = no]: Likewise.
4405 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4408 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4409 double, adjusted for any remainder from the high double.
4410 * math/libm-test.inc (nearbyint): Add tests.
4413 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4415 * nptl/sysdeps/powerpc/Makefile: Moved ...
4416 * sysdeps/powerpc/nptl/Makefile: ... here.
4417 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4418 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4419 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4420 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4421 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4422 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4423 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4424 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4425 * nptl/sysdeps/powerpc/tls.h: Moved ...
4426 * sysdeps/powerpc/nptl/tls.h: ... here.
4428 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4431 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4432 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4433 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4434 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4435 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4436 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4437 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4438 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4439 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4441 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4443 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4445 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4447 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4450 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4453 2014-06-16 Florian Weimer <fweimer@redhat.com>
4456 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4457 non-executed part of the test.
4459 2014-06-16 Andreas Schwab <schwab@suse.de>
4461 * string/bits/string2.h (strdup, strndup): Update feature guard.
4463 2014-06-14 David S. Miller <davem@davemloft.net>
4465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4467 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4469 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4470 that was previously under [RESET_PID].
4471 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4473 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4474 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4475 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4476 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4477 (__libc_vfork): New strong alias.
4478 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4480 2014-06-14 Andi Kleen <ak@linux.intel.com>
4482 * sysdeps/generic/elide.h: New file.
4484 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4486 * Makefile (installed-headers): Adjust path of pthread.h header.
4488 2014-06-13 Roland McGrath <roland@hack.frob.com>
4490 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4491 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4492 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4493 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4495 * nptl/sysdeps/s390/Makefile: Moved ...
4496 * sysdeps/s390/nptl/Makefile: ... here.
4497 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4498 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4499 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4500 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4501 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4502 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4503 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4504 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4505 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4506 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4507 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4508 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4509 * nptl/sysdeps/s390/tls.h: Moved ...
4510 * sysdeps/s390/nptl/tls.h: ... here.
4512 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4513 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4515 2014-06-13 David S. Miller <davem@davemloft.net>
4517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4520 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4524 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4525 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4526 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4527 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4528 Remove RESET_PID cpp guards.
4529 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4530 Remove RESET_PID cpp guards.
4531 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4533 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4535 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4538 2014-06-13 Andi Kleen <ak@linux.intel.com>
4540 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4541 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4542 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4543 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4544 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4545 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4546 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4547 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4548 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4549 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4550 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4551 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4552 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4554 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4556 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4559 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4561 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4562 (pthread_rwlock_rdlock): Add elision.
4563 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4564 (pthread_rwlock_wrlock): Add elision.
4565 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4566 (pthread_rwlock_trywrlock): Add elision.
4567 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4568 (pthread_rwlock_tryrdlock): Add elision.
4569 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4570 (pthread_rwlock_tryrdlock): Add elision unlock.
4571 * nptl/sysdeps/pthread/pthread.h:
4572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4573 (PTHREAD_RWLOCK_INITIALIZER,
4574 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4575 Handle new elision field.
4576 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4577 * sysdeps/arm/nptl/bits/pthreadtypes.h
4578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4579 * sysdeps/sh/nptl/bits/pthreadtypes.h
4580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4581 * sysdeps/tile/nptl/bits/pthreadtypes.h
4582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4583 * sysdeps/a/nptl/bits/pthreadtypes.h
4584 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4585 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4586 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4587 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4588 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4589 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4590 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4591 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4592 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4593 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4594 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4595 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4596 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4597 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4598 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4599 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4600 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4601 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4602 (elision_init): Set try_xbegin to zero when no RTM.
4603 * sysdeps/x86/nptl/bits/pthreadtypes.h
4604 (pthread_rwlock_t): Change __pad1 to __rwelision.
4605 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4607 2014-06-13 Andi Kleen <ak@linux.intel.com>
4609 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4610 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4611 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4612 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4614 2014-06-13 Meador Inge <meadori@codesourcery.com>
4617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4618 that the cached result has been set before returning it.
4620 2014-06-12 Roland McGrath <roland@hack.frob.com>
4622 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4623 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4624 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4625 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4627 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4629 * nptl/sysdeps/sparc/Makefile: Moved ...
4630 * sysdeps/sparc/nptl/Makefile: ... here.
4631 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4632 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4633 * nptl/sysdeps/sparc/tls.h: Moved ...
4634 * sysdeps/sparc/nptl/tls.h: ... here.
4635 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4636 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4637 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4638 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4639 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4640 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4641 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4642 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4643 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4644 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4645 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4646 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4647 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4648 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4649 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4650 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4651 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4652 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4654 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4655 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4657 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4658 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4660 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4664 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4666 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4667 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4669 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4670 (struct list_links): Type removed.
4671 (struct thread_node, struct timer_node): Replace struct list_links
4672 with struct list_head.
4673 (list_unlink_ip): Likewise.
4674 * sysdeps/pthread/timer_routines.c
4675 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4676 (list_append, list_insbefore): Likewise.
4677 (list_init): Function removed.
4678 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4679 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4680 * sysdeps/pthread/Makefile: ... here, new file.
4682 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4683 * sysdeps/nptl/Implies: ... here.
4684 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4685 * nptl/sysdeps/pthread/list.h: Moved ...
4686 * include/list.h: ... here.
4687 * nptl/sysdeps/pthread/createthread.c: Moved ...
4688 * nptl/createthread.c: ... here.
4689 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4690 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4691 * nptl/pt-longjmp.c: ... here.
4692 * nptl/sysdeps/pthread/Makefile: Moved ...
4693 * sysdeps/nptl/Makefile: ... here.
4694 * nptl/sysdeps/pthread/Subdirs: Moved ...
4695 * sysdeps/nptl/Subdirs: ... here.
4696 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4697 * sysdeps/nptl/aio_misc.h: ... here.
4698 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4699 * sysdeps/nptl/bits/libc-lock.h: ... here.
4700 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4701 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4702 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4703 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4704 * nptl/sysdeps/pthread/configure: Moved ...
4705 * sysdeps/nptl/configure: ... here.
4706 * nptl/sysdeps/pthread/configure.ac: Moved ...
4707 * sysdeps/nptl/configure.ac: ... here.
4708 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4709 * sysdeps/nptl/gai_misc.h: ... here.
4710 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4711 * sysdeps/nptl/librt-cancellation.c: ... here.
4712 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4713 * sysdeps/nptl/malloc-machine.h: ... here.
4714 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4715 * sysdeps/nptl/pthread-functions.h: ... here.
4716 * nptl/sysdeps/pthread/pthread.h: Moved ...
4717 * sysdeps/nptl/pthread.h: ... here.
4718 * nptl/sysdeps/pthread/setxid.h: Moved ...
4719 * sysdeps/nptl/setxid.h: ... here.
4720 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4721 * sysdeps/nptl/sigfillset.c: ... here.
4722 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4723 * sysdeps/nptl/tcb-offsets.h: ... here.
4724 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4725 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4726 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4727 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4728 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4729 * sysdeps/pthread/allocalim.h: ... here.
4730 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4731 * sysdeps/pthread/bits/sigthread.h: ... here.
4732 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4733 * sysdeps/pthread/flockfile.c: ... here.
4734 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4735 * sysdeps/pthread/ftrylockfile.c: ... here.
4736 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4737 * sysdeps/pthread/funlockfile.c: ... here.
4738 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4739 * sysdeps/pthread/posix-timer.h: ... here.
4740 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4741 * sysdeps/pthread/timer_create.c: ... here.
4742 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4743 * sysdeps/pthread/timer_delete.c: ... here.
4744 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4745 * sysdeps/pthread/timer_getoverr.c: ... here.
4746 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4747 * sysdeps/pthread/timer_gettime.c: ... here.
4748 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4749 * sysdeps/pthread/timer_routines.c: ... here.
4750 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4751 * sysdeps/pthread/timer_settime.c: ... here.
4752 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4753 * sysdeps/pthread/tst-timer.c: ... here.
4754 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4755 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4757 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4758 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4760 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4761 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4762 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4763 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4764 Update #include target.
4765 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4766 * sysdeps/i386/i686/nptl/Makefile: ... here.
4767 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4768 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4769 Update #include target.
4770 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4771 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4772 * nptl/sysdeps/i386/Makefile: Moved ...
4773 * sysdeps/i386/nptl/Makefile: ... here.
4774 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4775 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4776 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4777 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4778 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4779 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4780 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4781 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4782 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4783 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4784 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4785 * nptl/sysdeps/i386/tls.h: Moved ...
4786 * sysdeps/i386/nptl/tls.h: ... here.
4788 * sysdeps/sh/Makefile [$(subdir) = csu]
4789 (gen-as-const-headers): Add tcb-offsets.sym.
4790 * nptl/sysdeps/sh/Makefile: File removed.
4791 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4792 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4793 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4794 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4795 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4796 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4797 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4798 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4799 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4800 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4801 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4802 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4803 * nptl/sysdeps/sh/tls.h: Moved ...
4804 * sysdeps/sh/nptl/tls.h: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4806 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4808 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4810 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4812 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4814 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4816 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4818 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4820 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4821 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4822 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4824 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4825 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4826 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4827 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4828 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4829 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4831 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4834 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4836 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4838 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4839 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4840 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4841 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4842 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4843 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4844 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4845 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4846 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4848 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4850 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4852 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4854 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4856 * posix/spawn_faction_addopen.c: Include string.h.
4858 2014-06-11 Roland McGrath <roland@hack.frob.com>
4860 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4861 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4862 * nptl/sysdeps/x86_64/Makefile: Moved ...
4863 * sysdeps/x86_64/nptl/Makefile: ... here.
4864 * nptl/sysdeps/x86_64/configure: Moved ...
4865 * sysdeps/x86_64/nptl/configure: ... here.
4866 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4867 * sysdeps/x86_64/nptl/configure.ac: ... here.
4868 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4869 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4870 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4871 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4872 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4873 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4874 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4875 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4876 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4877 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4878 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4879 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4880 * nptl/sysdeps/x86_64/tls.h: Moved ...
4881 * sysdeps/x86_64/nptl/tls.h: ... here.
4882 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4883 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4884 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4885 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4887 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4889 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4893 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4895 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4897 [POSIX] (off_t): Likewise.
4898 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4899 [POSIX] (S_ISBLK): Require macro.
4900 [POSIX] (S_ISCHR): Likewise.
4901 [POSIX] (S_ISDIR): Likewise.
4902 [POSIX] (S_ISFIFO): Likewise.
4903 [POSIX] (S_ISREG): Likewise.
4904 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4906 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4908 [POSIX] (time_t): Likewise.
4909 [POSIX] (timer_t): Likewise.
4911 2014-06-11 Florian Weimer <fweimer@redhat.com>
4914 * posix/spawn_int.h (struct __spawn_action): Make the path string
4915 non-const to support deallocation.
4916 * posix/spawn_faction_addopen.c
4917 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4918 * posix/spawn_faction_destroy.c
4919 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4920 path in all spawn_do_open actions.
4921 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4922 posix_spawn_file_actions_addopen.
4924 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4926 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4927 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4928 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4929 conditional code always true.
4930 (__libc_vfork): New alias.
4932 2014-06-11 Roland McGrath <roland@hack.frob.com>
4934 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4935 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4937 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4939 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4940 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4942 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4943 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4945 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4946 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4948 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4950 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4951 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4952 multiarch strcmp for PPC64.
4953 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4954 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4956 multiarch optimizations.
4957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4958 (__libc_ifunc_impl_list): Likewise.
4960 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4962 * benchtests/scripts/validate_benchout.py: New script.
4963 * benchtests/Makefile (bench-func): Call it.
4964 * benchtests/scripts/benchout.schema.json: New file.
4966 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4968 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4969 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4970 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4971 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4972 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4973 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4974 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4975 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4976 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4977 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4978 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4979 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4980 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4981 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4982 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4983 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5088 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5093 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5098 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5102 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5103 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5109 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5112 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5117 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5121 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5122 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5123 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5125 2014-06-10 Wilco <wdijkstr@arm.com>
5127 * math/test-fenv-return.c: New file.
5128 * math/Makefile: Add new test test-fenv-return.
5130 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5133 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5135 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5136 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5137 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5138 0.0L for an argument of 1.0L.
5139 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5141 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5142 value when x - 1 is zero.
5143 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5147 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5150 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5152 2014-06-09 Roland McGrath <roland@hack.frob.com>
5154 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5155 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5157 2014-06-09 Roland McGrath <roland@hack.frob.com>
5159 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5160 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5162 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5163 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5165 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5166 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5168 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5169 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5171 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5172 if not already defined.
5173 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5174 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5175 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5176 (TLS_INIT_TP): Use it.
5177 (TLS_DEFINE_INIT_TP): New macro.
5178 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5180 2014-06-09 Joseph Myers <joseph@codesourcery.com>
5182 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5184 [POSIX] (IXANY): Likewise.
5185 [POSIX] (OLCUC): Likewise.
5186 [POSIX || POSIX2008] (CBAUD): Do not allow.
5187 [POSIX || POSIX2008] (DEFECHO): Likewise.
5188 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5189 [POSIX || POSIX2008] (ECHOKE): Likewise.
5190 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5191 [POSIX || POSIX2008] (EXTA): Likewise.
5192 [POSIX || POSIX2008] (EXTB): Likewise.
5193 [POSIX || POSIX2008] (FLUSHO): Likewise.
5194 [POSIX || POSIX2008] (LOBLK): Likewise.
5195 [POSIX || POSIX2008] (PENDIN): Likewise.
5196 [POSIX || POSIX2008] (SWTCH): Likewise.
5197 [POSIX || POSIX2008] (VDISCARD): Likewise.
5198 [POSIX || POSIX2008] (VDSUSP): Likewise.
5199 [POSIX || POSIX2008] (VLNEXT): Likewise.
5200 [POSIX || POSIX2008] (VREPRINT): Likewise.
5201 [POSIX || POSIX2008] (VSTATUS): Likewise.
5202 [POSIX || POSIX2008] (VWERASE): Likewise.
5203 (B*): Change to B[0123456789]*.
5204 * conform/data/time.h-data [POSIX || UNIX98]
5205 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5206 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5207 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5208 [POSIX] (tm_*): Do not allow.
5210 2014-06-07 Joseph Myers <joseph@codesourcery.com>
5212 * Makefile (install): Don't set LANGUAGE.
5213 * Makefile.in (install): Likewise.
5214 * assert/Makefile (test-assert-ENV): Remove variable.
5215 (test-assert-perr-ENV): Likewise.
5216 * elf/Makefile (neededtest4-ENV): Likewise.
5217 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5218 [$(cross-compiling) = no]: Don't set LANGUAGE.
5219 * io/ftwtest-sh (LANG): Remove variable.
5220 * libio/Makefile (tst-widetext-ENV): Likewise.
5221 * manual/install.texi (Running make install): Don't refer to
5222 environment settings for make install.
5223 * INSTALL: Regenerated.
5224 * nptl/tst-tls6.sh: Don't set LANG.
5225 * posix/globtest.sh (LANG): Remove variable.
5226 * string/Makefile (tester-ENV): Likewise.
5227 (inl-tester-ENV): Likewise.
5228 (noinl-tester-ENV): Likewise.
5229 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5230 [$(cross-compiling) = no]: Don't set LANGUAGE.
5231 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5232 without explicit environment settings.
5234 2014-06-06 Roland McGrath <roland@hack.frob.com>
5236 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5237 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5239 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5241 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5243 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5244 other files in the crypt directory.
5245 * crypt/crypt.c: Remove duplicate includes.
5246 * crypt/crypt-entry.c: Likewise.
5247 * crypt/crypt_util.c: Likewise.
5249 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5251 * Makeconfig (run-program-env): New variable.
5252 (run-program-prefix-before-env): Likewise.
5253 (run-program-prefix-after-env): Likewise.
5254 (run-program-prefix): Define in terms of new variables.
5255 (built-program-cmd-before-env): New variable.
5256 (built-program-cmd-after-env): Likewise.
5257 (built-program-cmd): Define in terms of new variables.
5258 (test-program-prefix-before-env): New variable.
5259 (test-program-prefix-after-env): Likewise.
5260 (test-program-prefix): Define in terms of new variables.
5261 (test-program-cmd-before-env): New variable.
5262 (test-program-cmd-after-env): Likewise.
5263 (test-program-cmd): Define in terms of new variables.
5264 * Rules (make-test-out): Use $(run-program-env).
5265 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5266 (help): Do not mention environment variables. Mention
5267 --timeoutfactor option.
5268 (timeoutfactor): New variable.
5269 (blacklist_exports): Remove function.
5270 (exports): Remove variable.
5271 (command): Do not include ${exports}.
5272 * manual/install.texi (Configuring and compiling): Do not mention
5273 test wrappers preserving environment variables. Mention that last
5274 assignment to a variable must take precedence.
5275 * INSTALL: Regenerated.
5276 * benchtests/Makefile (run-bench): Use $(run-program-env).
5277 * catgets/Makefile ($(objpfx)test1.cat): Use
5278 $(built-program-cmd-before-env), $(run-program-env) and
5279 $(built-program-cmd-after-env).
5280 ($(objpfx)test2.cat): Do not specify environment variables
5282 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5283 $(run-program-env) and $(built-program-cmd-after-env).
5284 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5285 $(run-program-env) and $(test-program-cmd-after-env).
5286 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5288 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5289 run_program_env and test_program_cmd_after_env arguments.
5290 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5291 * elf/tst-pathopt.sh: Use run_program_env argument.
5292 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5293 $(test-wrapper-env) and $(run-program-env).
5294 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5295 run_program_env arguments.
5296 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5297 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5298 $(test-program-prefix-before-env), $(run-program-env) and
5299 $(test-program-prefix-after-env).
5300 ($(objpfx)tst-gettext2.out): Likewise.
5301 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5302 run_program_env and test_program_prefix_after_env arguments.
5303 * intl/tst-gettext2.sh: Likewise.
5304 * intl/tst-gettext4.sh: Do not set environment variables
5306 * intl/tst-gettext6.sh: Likewise.
5307 * intl/tst-translit.sh: Likewise.
5308 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5309 $(test-program-prefix-before-env), $(run-program-env) and
5310 $(test-program-prefix-after-env).
5311 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5312 run_program_env and test_program_prefix_after_env arguments.
5313 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5314 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5315 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5316 explicitly with each use of ${test_wrapper_env}.
5317 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5318 $(test-program-prefix-before-env), $(run-program-env) and
5319 $(test-program-prefix-after-env).
5320 * posix/tst-getconf.sh: Do not set environment variables
5322 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5323 run_program_env and test_program_prefix_after_env arguments.
5324 * stdio-common/tst-printf.sh: Do not set environment variables
5326 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5327 $(test-program-prefix-before-env), $(run-program-env) and
5328 $(test-program-prefix-after-env).
5329 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5330 run_program_env and test_program_prefix_after_env arguments.
5331 Split $test calls into $test_pre and $test.
5332 * timezone/Makefile (build-testdata): Use
5333 $(built-program-cmd-before-env), $(run-program-env) and
5334 $(built-program-cmd-after-env).
5336 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5338 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5339 strlen for non SHARED builds.
5341 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5343 * nptl/allocatestack.c (check_list): Inlined function...
5344 (__reclaim_stacks): ... here.
5346 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5349 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5352 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5354 * Rules (make-test-out): Include
5355 LOCPATH=$(common-objpfx)localedata in default environment.
5356 * debug/Makefile (tst-chk1-ENV): Remove variable.
5357 (tst-chk2-ENV): Likewise.
5358 (tst-chk3-ENV): Likewise.
5359 (tst-chk4-ENV): Likewise.
5360 (tst-chk5-ENV): Likewise.
5361 (tst-chk6-ENV): Likewise.
5362 (tst-lfschk1-ENV): Likewise.
5363 (tst-lfschk2-ENV): Likewise.
5364 (tst-lfschk3-ENV): Likewise.
5365 (tst-lfschk4-ENV): Likewise.
5366 (tst-lfschk5-ENV): Likewise.
5367 (tst-lfschk6-ENV): Likewise.
5368 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5369 (tst-iconv7-ENV): Likewise.
5370 * intl/Makefile (LOCPATH-ENV): Likewise.
5371 (tst-codeset-ENV): Likewise.
5372 (tst-gettext3-ENV): Likewise.
5373 (tst-gettext5-ENV): Likewise.
5374 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5375 (tst-fopenloc-ENV): Likewise.
5376 (tst-fgetws-ENV): Remove variable.
5377 (tst-ungetwc1-ENV): Likewise.
5378 (tst-ungetwc2-ENV): Likewise.
5379 (bug-ungetwc2-ENV): Likewise.
5380 (tst-swscanf-ENV): Likewise.
5381 (bug-ftell-ENV): Likewise.
5382 (tst-fgetwc-ENV): Likewise.
5383 (tst-fseek-ENV): Likewise.
5384 (tst-ftell-partial-wide-ENV): Likewise.
5385 (tst-ftell-active-handler-ENV): Likewise.
5386 (tst-ftell-append-ENV): Likewise.
5387 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5388 (tst-regexloc-ENV): Likewise.
5389 (bug-regex1-ENV): Likewise.
5390 (tst-regex-ENV): Likewise.
5391 (tst-regex2-ENV): Likewise.
5392 (bug-regex5-ENV): Likewise.
5393 (bug-regex6-ENV): Likewise.
5394 (bug-regex17-ENV): Likewise.
5395 (bug-regex18-ENV): Likewise.
5396 (bug-regex19-ENV): Likewise.
5397 (bug-regex20-ENV): Likewise.
5398 (bug-regex22-ENV): Likewise.
5399 (bug-regex23-ENV): Likewise.
5400 (bug-regex25-ENV): Likewise.
5401 (bug-regex26-ENV): Likewise.
5402 (bug-regex30-ENV): Likewise.
5403 (bug-regex32-ENV): Likewise.
5404 (bug-regex33-ENV): Likewise.
5405 (bug-regex34-ENV): Likewise.
5406 (bug-regex35-ENV): Likewise.
5407 (tst-rxspencer-ENV): Likewise.
5408 (tst-rxspencer-no-utf8-ENV): Likewise.
5409 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5410 (tst-sscanf-ENV): Likewise.
5411 (tst-swprintf-ENV): Likewise.
5412 (tst-swscanf-ENV): Likewise.
5413 (test-vfprintf-ENV): Likewise.
5414 (scanf13-ENV): Likewise.
5415 (bug14-ENV): Likewise.
5416 (tst-grouping-ENV): Likewise.
5417 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5418 (tst-strtod3-ENV): Likewise.
5419 (tst-strtod4-ENV): Likewise.
5420 (tst-strtod5-ENV): Likewise.
5421 (testmb2-ENV): Likewise./
5422 * string/Makefile (tst-strxfrm-ENV): Likewise.
5423 (tst-strxfrm2-ENV): Likewise.
5424 (bug-strcoll1-ENV): Likewise.
5425 (test-strcasecmp-ENV): Likewise.
5426 (test-strncasecmp-ENV): Likewise.
5427 * time/Makefile (tst-strptime-ENV): Likewise.
5428 (tst-ftime_l-ENV): Likewise.
5429 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5430 (tst-mbrtowc-ENV): Likewise.
5431 (tst-wcrtomb-ENV): Likewise.
5432 (tst-mbrtowc2-ENV): Likewise.
5433 (tst-c16c32-1-ENV): Likewise.
5434 (tst-mbsnrtowcs-ENV): Likewise.
5436 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5438 * manual/resource.texi (How to get information about the memory
5439 subsystem?): Fix typo.
5440 Reported by Peon de la Parra Ivan <peon@keba.com>
5442 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5445 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5446 (pthread_spin_lock): Branch out of spin loop to proper location.
5447 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5448 (pthread_spin_lock): Likewise.
5450 * nptl/tst-spin4.c: New test.
5451 * nptl/Makefile (tests): Add tst-spin4.
5453 2014-06-03 Andreas Schwab <schwab@suse.de>
5456 * resolv/res_send.c (send_dg): Reload file descriptor after
5459 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5461 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5463 2014-06-03 Richard Henderson <rth@redhat.com>
5465 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5466 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5467 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5468 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5469 in the SAVE_PID block.
5470 (__libc_vfork): New alias.
5471 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5473 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5474 child in registers, not on the stack. Remove RESET_PID conditionals.
5475 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5477 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5479 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5481 2014-06-03 Wilco <wdijkstr@arm.com>
5483 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5484 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5485 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5486 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5487 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5490 2014-06-03 Wilco <wdijkstr@arm.com>
5492 * sysdeps/aarch64/fpu/math_private.h
5493 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5494 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5495 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5496 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5499 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5501 * crypt/crypt-private.h: Include ufc-crypt.h.
5502 (__b64_from_24bit): Declare extern.
5503 * crypt/crypt_util.c(__b64_from_24bit): New function.
5504 (b64t): New static const variable.
5505 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5506 (b64t): Remove variable.
5507 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5508 * crypt/sha256-crypt.c: Include crypt-private.h.
5509 (b64t): Remove variable.
5510 (__sha256_crypt_r): Remove b64_from_24bit and replace
5511 with __b64_from_24bit.
5512 * crypt/sha512-crypt.c: Likewise.
5514 2014-06-02 Roland McGrath <roland@hack.frob.com>
5516 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5517 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5518 Label the code __libc_vfork rather than __vfork.
5519 [!NOT_IN_libc] (vfork): Define as weak alias.
5520 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5521 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5522 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5524 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5526 * malloc/malloc.c (malloc_info): Fix format specifier for
5529 2014-06-02 Wilco <wdijkstr@arm.com>
5531 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5534 2014-06-02 Wilco <wdijkstr@arm.com>
5537 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5538 Rewrite to reduce FPCR/FPSR accesses.
5540 2014-06-01 David S. Miller <davem@davemloft.net>
5542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5544 2014-05-31 David S. Miller <davem@davemloft.net>
5546 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5547 to occur in round to nearest mode when |x| >= 2.0
5549 2014-05-30 Richard Henderson <rth@twiddle.net>
5551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5552 (PSEUDO_RET_NOERRNO): Remove.
5553 (ret): Don't redefine.
5554 (ret_NOERRNO): Define in terms of ret.
5555 (ret_ERRVAL): Likewise.
5557 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5558 use of PSEUDO_RET; perform the error check directly.
5560 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5562 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5565 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5567 * malloc/malloc (malloc_info): Fix formatting.
5569 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5570 Roland McGrath <roland@hack.frob.com>
5572 * malloc/malloc (malloc_info): Also print mmapped statistics.
5574 2014-05-30 Roland McGrath <roland@hack.frob.com>
5576 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5577 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5579 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5581 * malloc/malloc.c (malloc_info): Inline mi_arena.
5583 2014-05-29 Richard Henderson <rth@twiddle.net>
5585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5586 Remove comma before expanding ASM_ARGS_##nr.
5587 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5588 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5590 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5591 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5592 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5593 (ASM_ARGS_1): Add leading comma.
5595 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5596 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5597 to __errno_location.
5598 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5599 Remove the expected plt for __errno_location.
5601 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5602 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5605 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5606 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5607 it and break it down.
5608 (DOCARGS_0, DOCARGS_1): Do nothing.
5609 (DOCARGS_2): Update to store into the new stack frame.
5610 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5611 (UNDOCARGS_1): Update to restore from the new stack frame.
5612 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5613 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5615 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5616 (SINGLE_THREAD_P): New parameter for result regno.
5617 (PSEUDO): Update to match; use cbz instead of beq.
5619 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5620 Use ENTRY to define the _nocancel entry point. Share the syscall
5621 and syscall error check paths with the cancel path.
5624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5625 whitespace; tabs before and after asm mnemonics.
5627 2014-05-29 Eric Wong <normalperson@yhbt.net>
5630 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5631 Call fstat64 or stat64 internally, depending on arguments passed.
5632 Replace stat buffer argument with file descriptor argument.
5633 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5634 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5635 Pass fd to __internal_statvfs instead of calling fstat64.
5636 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5637 Pass fd to __internal_statvfs64 instead of calling fstat64.
5638 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5639 Pass -1 to __internal_statvfs instead of calling stat64.
5640 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5641 Pass -1 to __internal_statvfs64 instead of calling stat64.
5643 2014-05-28 Roland McGrath <roland@hack.frob.com>
5645 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5646 that was previously under [RESET_PID].
5647 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5649 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5650 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5652 2014-05-27 Roland McGrath <roland@hack.frob.com>
5654 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5656 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5657 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5659 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5661 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5663 2014-05-27 Andreas Schwab <schwab@suse.de>
5665 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5667 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5668 * elf/rtld.c (init_tls, dl_main): Likewise.
5669 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5670 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5671 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5672 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5673 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5674 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5675 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5676 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5677 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5678 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5679 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5680 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5681 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5682 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5683 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5684 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5685 * sysdeps/generic/tls.h: Update description.
5687 2014-05-27 Will Newton <will.newton@linaro.org>
5690 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5691 and restore r2 rather than just restoring.
5693 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5696 * libio/tst-ftell-append.c: New test case.
5697 * libio/Makefile (tests): Add test case.
5698 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5700 * libio/wfileops.c (do_ftell_wide): Likewise.
5702 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5706 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5710 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5711 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5713 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5714 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5722 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5723 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5724 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5725 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5726 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5728 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5729 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5731 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5733 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5735 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5737 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5739 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5740 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5741 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5742 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5757 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5765 conditional [RESET_PID].
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5774 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5775 (__libc_vfork): New strong alias.
5776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5783 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5784 (__libc_vfork): New strong alias.
5785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5790 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5792 * malloc/malloc.c (mi_arena): New function.
5793 (malloc_info): Remove nested function mi_arena. Call non-nosted
5796 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5798 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5800 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5801 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5802 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5803 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5804 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5805 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5806 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5808 2014-05-26 Andreas Schwab <schwab@suse.de>
5811 * locale/programs/repertoire.c (repertoire_read): Add slash
5812 between I18NPATH element and file name.
5813 * locale/programs/locfile.c (locfile_read): Likewise.
5815 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5817 * nptl/pthread_mutexattr_settype.c
5818 (__pthread_mutexattr_settype):
5819 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5821 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5823 * nptl/tst-mutex5 (do_test):
5824 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5826 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5828 * benchtests/README: Document 'init' directive.
5829 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5831 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5832 (parse_file): Recognize 'init' directive.
5834 2014-05-26 Kyle McMartin <kyle@redhat.com>
5837 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5838 alignment of struct pthread.
5840 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5843 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5844 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5845 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5846 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5848 2014-05-25 Richard Henderson <rth@twiddle.net>
5850 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5851 (SINGLE_THREAD_P_PIC): Remove.
5852 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5853 (SINGLE_THREAD_P_PIC): Remove.
5855 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5856 branch to syscall error ...
5858 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5859 from __local_syscall_error to .Lsyscall_error.
5860 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5861 (SYSCALL_ERROR): Update label name.
5863 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5864 Do not use DOARGS/UNDOARGS.
5865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5866 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5867 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5868 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5869 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5874 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5875 define if !NOT_IN_libc.
5876 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5877 define with non-default symbol versions.
5879 2014-05-23 Richard Henderson <rth@twiddle.net>
5881 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5882 (vfork, __vfork): Define via compat_symbol.
5884 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5885 [!HAVE_IFUNC] (vfork_compat): Remove.
5886 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5888 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5891 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5892 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5895 2014-05-23 Richard Henderson <rth@twiddle.net>
5897 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5898 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5899 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5900 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5902 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5903 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5904 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5905 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5906 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5907 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5908 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5909 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5910 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5911 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5912 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5913 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5914 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5915 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5916 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5917 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5918 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5919 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5920 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5921 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5922 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5923 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5924 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5925 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5926 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5927 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5928 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5931 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5933 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5934 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5935 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5936 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5937 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5938 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5939 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5940 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5941 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5942 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5943 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5944 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5945 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5946 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5947 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5948 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5949 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5950 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5951 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5952 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5953 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5954 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5955 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5956 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5957 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5959 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5960 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5961 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5962 before exiting on error.
5963 (__libc_vfork): New strong alias.
5964 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5965 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5967 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5968 that was previously under [RESET_PID].
5969 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5971 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5973 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5976 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5977 value when x - 1 is zero.
5978 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5979 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5980 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5981 0.0L for an argument of 1.0L.
5982 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5984 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5985 value when x - 1 is zero.
5986 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5987 * sysdeps/i386/fpu/libm-test-ulps: Update.
5988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5990 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5992 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5993 alphasort and versionsort.
5995 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5999 [copysignf]: Likewise.
6001 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6003 * crypt/md5-crypt.c: Fix formatting.
6005 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6007 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6008 (b64_from_24bit): New function.
6010 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6013 libc_hidden_builtin_def to ifunc.
6014 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6015 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6017 2014-05-21 Roland McGrath <roland@hack.frob.com>
6019 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6020 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6022 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6024 * nscd/Depend (linuxthreads): Remove.
6026 * resolv/Depend (linuxthreads): Remove.
6027 * rt/Depend (linuxthreads): Remove.
6029 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6030 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6031 $(common-objpfx)elf/.
6032 (link-libc-before-gnulib): Likewise.
6033 (elfobjdir): Remove variable.
6034 * Makefile (install): Use $(elf-objpfx) instead of
6035 $(common-objpfx)elf/.
6036 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6038 (link-libc-deps): Likewise.
6039 ($(common-objpfx)libc.so): Likewise.
6040 ($(common-objpfx)linkobj/libc.so): Likewise.
6041 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6042 instead of $(common-objpfx)elf/.
6043 (symbolic-link-list): Likewise.
6044 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6045 [$(cross-compiling) = no]: Likewise.
6046 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6048 (static-gnulib-arch): Likewise.
6049 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6050 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6051 $(common-objpfx)elf/.
6053 2014-05-21 Richard Henderson <rth@redhat.com>
6055 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6056 (SINGLE_THREAD_P): Use the correct width load. Fold
6057 into the ldr offset.
6059 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6060 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6062 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6064 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6065 (libgcc_s_resume): Use __attribute_used__.
6066 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6069 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6072 optimization when used with float constants.
6074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6076 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6079 * locale/nl_langinfo_l.c: Make direct reference to every
6080 _nl_current_CATEGORY symbol.
6081 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6082 (tests-static): Add tst-langinfo-static.
6083 (tests-special): Add tst-langinfo-static.out.
6084 ($(objpfx)tst-langinfo.out): Redirect output.
6085 ($(objpfx)tst-langinfo-static.out): New.
6086 * localedata/tst-langinfo.sh: Send output to stdout.
6087 * localedata/tst-langinfo-static.c: New file.
6090 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6091 when the shift amount is modulo the limb size.
6093 2014-05-20 Richard Henderson <rth@redhat.com>
6096 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6097 Change type of sa_flags from unsigned int to int.
6100 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6102 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6104 2014-05-20 Will Newton <will.newton@linaro.org>
6106 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6107 Test the return value of the system call in the nocancel case.
6109 2014-05-20 Will Newton <will.newton@linaro.org>
6110 Yvan Roux <yvan.roux@linaro.org>
6112 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6113 #include of asm/ptrace.h.
6114 (PTRACE_GET_THREAD_AREA): Remove #undef.
6115 (PTRACE_GETHBPREGS): Likewise.
6116 (PTRACE_SETHBPREGS): Likewise.
6117 (struct user_regs_struct): New structure.
6118 (struct user_fpsimd_struct): New structure.
6119 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6120 #include of asm/ptrace.h and second #include of sys/user.h.
6121 (PTRACE_GET_THREAD_AREA): Remove #undef.
6122 (PTRACE_GETHBPREGS): Likewise.
6123 (PTRACE_SETHBPREGS): Likewise.
6124 (ELF_NGREG): Use new struct user_regs_struct.
6125 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6127 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6132 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6136 membar to avoid block loads/stores to overlap previous stores.
6138 2014-05-17 Richard Henderson <rth@redhat.com>
6140 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6141 Create the __##syscall_name##_nocancel entry point.
6142 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6143 Remove; let the sysdep-cancel.h code create it.
6145 2014-05-17 David S. Miller <davem@davemloft.net>
6147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6148 Protect with __USE_GNU.
6149 (TIOCSET_TEMPT): Likewise.
6150 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6151 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6152 these are already provided in bits/ioctl-types.h
6154 2014-05-16 Roland McGrath <roland@hack.frob.com>
6156 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6157 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6159 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6160 Use wait4 regardless of [__NR_waitpid].
6162 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6165 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6166 (_FP_NANSIGN_Q): Set the quiet bit.
6168 2014-05-16 Joseph Myers <joseph@codesourcery.com>
6170 * benchtests/Makefile
6171 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6172 not $(common-objpfx)math/libm.so.
6173 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6174 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6175 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6176 $(common-objpfx)dlfcn/libdl.so.
6177 ($(objpfx)tst-audit8): Depend on $(libm), not
6178 $(common-objpfx)math/libm.so.
6179 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6180 not $(common-objpfx)dlfcn/libdl.so.
6182 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6183 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6184 [$(build-shared) = yes].
6185 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6186 $(common-objpfx)nptl/libpthread.so.
6187 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6188 $(common-objpfx)math/libm.so$(libm.so-version) or
6189 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6190 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6191 $(common-objpfx)dlfcn/libdl.so.
6192 * setjmp/Makefile (link-libm): Remove variable.
6193 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6194 * stdio-common/Makefile (link-libm): Remove variable.
6195 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6196 * stdlib/Makefile (link-libm): Remove variable.
6197 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6198 ($(objpfx)tst-strtod-round): Likewise.
6199 ($(objpfx)tst-tininess): Likewise.
6200 ($(objpfx)tst-strtod-underflow): Likewise.
6201 ($(objpfx)tst-strtod6): Likewise.
6202 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6203 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6204 $(common-objpfx)dlfcn/libdl.so.
6206 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6208 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6209 BSD terminal modes definitions.
6211 2014-05-16 Roland McGrath <roland@hack.frob.com>
6213 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6214 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6216 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6217 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6218 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6219 Don't do #include_next.
6220 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6221 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6222 Don't do #include_next.
6223 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6224 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6225 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6226 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6228 2014-05-16 Allan McRae <allan@archlinux.org>
6230 * po/sv.po: Update Swedish translation from translation project.
6232 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6235 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6238 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6239 errno if the TIOCGPTN ioctl fails with an error different than
6241 * login/tst-ptsname.c: New file.
6242 * login/Makefile (tests): Add tst-ptsname.
6245 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6248 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6252 herrno to return EAI_AGAIN.
6254 2014-05-14 Roland McGrath <roland@hack.frob.com>
6256 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6257 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6258 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6259 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6260 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6261 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6262 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6263 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6265 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6266 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6267 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6268 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6269 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6270 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6271 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6273 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6274 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6275 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6277 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6278 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6279 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6280 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6281 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6283 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6284 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6285 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6287 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6289 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6292 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6294 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6296 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6298 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6300 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6302 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6304 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6306 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6308 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6310 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6312 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6314 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6316 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6318 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6321 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6323 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6325 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6327 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6329 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6331 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6333 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6335 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6337 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6339 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6342 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6344 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6347 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6348 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6349 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6350 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6351 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6352 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6353 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6354 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6355 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6356 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6357 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6358 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6359 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6360 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6361 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6362 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6363 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6364 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6365 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6366 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6367 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6368 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6369 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6370 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6371 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6372 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6373 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6374 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6375 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6376 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6378 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6379 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6381 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6382 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6383 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6384 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6385 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6386 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6389 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6391 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6392 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6394 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6398 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6399 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6400 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6402 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6403 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6404 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6405 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6406 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6407 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6408 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6409 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6411 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6412 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6414 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6416 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6417 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6418 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6419 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6420 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6422 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6424 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6426 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6427 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6428 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6429 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6430 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6431 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6434 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6436 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6437 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6439 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6443 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6444 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6445 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6447 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6448 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6449 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6450 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6451 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6452 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6453 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6454 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6456 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6457 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6459 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6461 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6462 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6463 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6464 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6465 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6467 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6469 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6471 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6472 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6473 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6474 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6475 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6476 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6477 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6478 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6479 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6485 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6486 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6488 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6492 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6493 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6494 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6495 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6498 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6499 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6500 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6501 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6502 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6503 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6504 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6507 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6508 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6512 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6513 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6514 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6515 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6516 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6518 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6523 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6524 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6525 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6526 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6527 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6528 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6529 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6530 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6531 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6532 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6534 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6535 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6537 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6538 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6540 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6541 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6542 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6543 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6544 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6545 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6546 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6547 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6548 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6549 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6550 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6551 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6552 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6553 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6554 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6555 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6556 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6559 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6561 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6562 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6564 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6566 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6567 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6568 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6570 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6573 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6576 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6577 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6578 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6579 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6580 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6581 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6582 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6583 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6584 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6585 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6586 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6587 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6588 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6589 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6590 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6591 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6592 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6594 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6595 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6596 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6597 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6598 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6600 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6601 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6602 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6603 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6604 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6605 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6606 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6607 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6608 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6609 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6611 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6614 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6615 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6616 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6617 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6618 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6619 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6620 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6621 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6622 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6623 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6624 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6625 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6626 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6627 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6651 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6653 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6654 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6655 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6656 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6657 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6658 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6659 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6660 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6661 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6662 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6664 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6665 that was previously under [RESET_PID].
6666 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6667 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6668 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6670 * sysdeps/i386/nptl/Implies: New file.
6671 * sysdeps/x86_64/nptl/Implies: New file.
6672 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6673 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6674 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6675 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6677 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6678 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6679 (__libc_vfork): New strong alias.
6680 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6681 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6683 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6684 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6685 (__libc_vfork): New strong alias.
6686 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6687 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6689 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6690 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6691 (__libc_vfork): New strong alias.
6692 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6693 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6694 * nptl/pt-vfork.c: New file.
6695 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6696 (libpthread: GLIBC_2.20): New version set (empty).
6698 2014-05-14 Will Newton <will.newton@linaro.org>
6700 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6703 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6706 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6707 arguments with exponent 65 or above.
6708 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6709 arguments 0x1p113L or above.
6710 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6711 to arguments 0x1p107L or above.
6712 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6713 positive arguments with exponent 65 or above.
6714 * math/auto-libm-test-in: Add more tests of log1p.
6715 * math/auto-libm-test-out: Regenerated.
6718 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6719 non-finite arguments is +0.
6720 * math/s_cacosf.c (__cacosf): Likewise.
6721 * math/s_cacosl.c (__cacosl): Likewise.
6722 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6723 * sysdeps/i386/fpu/libm-test-ulps: Update.
6724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6727 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6729 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6730 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6731 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6732 for explicit high bit of mantissa when testing for argument equal
6734 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6735 * sysdeps/i386/fpu/libm-test-ulps: Update.
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6739 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6740 (__erf): Scale by 16 instead of 8 in potentially underflowing
6741 case. Ensure exception if result actually underflows.
6742 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6743 (__erff): Scale by 16 instead of 8 in potentially underflowing
6744 case. Ensure exception if result actually underflows.
6745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6746 (efx8): Remove variable.
6747 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6748 case. Ensure exception if result actually underflows.
6749 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6750 (efx8): Remove variable.
6751 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6752 case. Ensure exception if result actually underflows.
6753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6754 (efx8): Remove variable.
6755 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6756 case. Ensure exception if result actually underflows.
6757 * math/auto-libm-test-in: Add more tests of erf.
6758 * math/auto-libm-test-out: Regenerated.
6760 2014-05-14 Andreas Schwab <schwab@suse.de>
6762 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6763 Remove code conditionalized on USE___THREAD.
6765 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6766 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6769 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6772 Define unconditionally.
6773 (__ASSUME_O_CLOEXEC): Likewise.
6774 (__ASSUME_SOCK_CLOEXEC): Likewise.
6775 (__ASSUME_IN_NONBLOCK): Likewise.
6776 (__ASSUME_PIPE2): Likewise.
6777 (__ASSUME_EVENTFD2): Likewise.
6778 (__ASSUME_SIGNALFD4): Likewise.
6779 (__ASSUME_DUP3): Likewise.
6780 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6781 (__ASSUME_DUP3): Do not define.
6782 (__ASSUME_EVENTFD2): Likewise.
6783 (__ASSUME_IN_NONBLOCK): Likewise.
6784 (__ASSUME_O_CLOEXEC): Likewise.
6785 (__ASSUME_PIPE2): Likewise.
6786 (__ASSUME_SIGNALFD4): Likewise.
6787 (__ASSUME_SOCK_CLOEXEC): Likewise.
6788 (__ASSUME_UTIMES): Undefine.
6789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6790 (__ASSUME_UTIMES): Do not define.
6791 (__ASSUME_O_CLOEXEC): Likewise.
6792 (__ASSUME_SOCK_CLOEXEC): Likewise.
6793 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6794 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6796 (__ASSUME_PIPE2): Likewise.
6797 (__ASSUME_EVENTFD2): Likewise.
6798 (__ASSUME_SIGNALFD4): Likewise.
6799 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6800 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6802 (__ASSUME_EVENTFD2): Likewise.
6803 (__ASSUME_SIGNALFD4): Likewise.
6804 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6805 (__ASSUME_32BITUIDS): Likewise.
6806 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6807 (__ASSUME_IPC64): Likewise.
6808 (__ASSUME_ST_INO_64_BIT): Likewise.
6809 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6810 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6811 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6812 (__ASSUME_UTIMES): Do not define.
6813 (__ASSUME_PSELECT): Likewise.
6814 (__ASSUME_PPOLL): Likewise.
6815 (__ASSUME_O_CLOEXEC): Likewise.
6816 (__ASSUME_SOCK_CLOEXEC): Likewise.
6817 (__ASSUME_IN_NONBLOCK): Likewise.
6818 (__ASSUME_PIPE2): Likewise.
6819 (__ASSUME_EVENTFD2): Likewise.
6820 (__ASSUME_SIGNALFD4): Likewise.
6821 (__ASSUME_DUP3): Likewise.
6822 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6823 (__ASSUME_UTIMES): Likewise.
6824 (__ASSUME_O_CLOEXEC): Likewise.
6825 (__ASSUME_SOCK_CLOEXEC): Likewise.
6826 (__ASSUME_IN_NONBLOCK): Likewise.
6827 (__ASSUME_PIPE2): Likewise.
6828 (__ASSUME_EVENTFD2): Likewise.
6829 (__ASSUME_SIGNALFD4): Likewise.
6830 (__ASSUME_DUP3): Likewise.
6831 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6832 (__ASSUME_UTIMES): Likewise.
6833 (__ASSUME_O_CLOEXEC): Likewise.
6834 (__ASSUME_SOCK_CLOEXEC): Likewise.
6835 (__ASSUME_IN_NONBLOCK): Likewise.
6836 (__ASSUME_PIPE2): Likewise.
6837 (__ASSUME_EVENTFD2): Likewise.
6838 (__ASSUME_SIGNALFD4): Likewise.
6839 (__ASSUME_DUP3): Likewise.
6840 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6842 (__ASSUME_UTIMES): Likewise.
6843 (__ASSUME_EVENTFD2): Likewise.
6844 (__ASSUME_SIGNALFD4): Likewise.
6845 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6846 (__ASSUME_O_CLOEXEC): Likewise.
6847 (__ASSUME_SOCK_CLOEXEC): Likewise.
6848 (__ASSUME_IN_NONBLOCK): Likewise.
6849 (__ASSUME_PIPE2): Likewise.
6850 (__ASSUME_EVENTFD2): Likewise.
6851 (__ASSUME_SIGNALFD4): Likewise.
6852 (__ASSUME_DUP3): Likewise.
6853 (__ASSUME_UTIMES): Undefine.
6855 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6856 feclearexcept. Remove symbol versioning code.
6857 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6858 symbol versioning code.
6859 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6860 symbol versioning code.
6861 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6862 feupdateenv. Remove symbol versioning code.
6863 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6864 fegetexceptflag. Remove symbol versioning code.
6865 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6866 fesetexceptflag. Remove symbol versioning code.
6867 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6868 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6869 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6870 (__posix_fadvise64_l32): Remove prototype.
6871 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6874 2014-05-13 Roland McGrath <roland@hack.frob.com>
6876 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6877 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6878 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6879 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6881 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6883 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6884 current working directory
6886 2014-05-13 Roland McGrath <roland@hack.frob.com>
6888 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6889 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6890 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6891 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6892 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6893 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6894 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6897 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6898 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6899 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6900 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6901 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6903 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6904 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6905 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6906 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6907 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6908 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6909 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6910 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6911 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6912 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6913 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6914 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6915 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6917 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6918 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6919 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6920 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6921 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6922 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6923 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6924 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6925 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6926 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6927 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6928 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6929 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6931 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6932 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6934 * sysdeps/unix/sysv/linux/arm/Makefile
6935 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6936 Add rt-aeabi_unwind_cpp_pr1.
6937 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6938 Add nptl-aeabi_unwind_cpp_pr1.
6939 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6940 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6941 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6942 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6943 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6944 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6946 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6947 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6948 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6949 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6951 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6952 Deconditionalize the code that was previously under [RESET_PID].
6953 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6955 * sysdeps/generic/exit-thread.h: New file.
6956 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6957 * include/unistd.h (__exit_thread): Remove declaration.
6958 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6959 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6960 * csu/libc-start.c: Include <exit-thread.h>.
6961 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6962 * nptl/pthread_create.c: Include <exit-thread.h>.
6963 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6964 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6965 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6966 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6967 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6968 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6969 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6970 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6971 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6972 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6973 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6974 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6975 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6976 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6977 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6978 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6979 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6981 2014-05-13 Andreas Schwab <schwab@suse.de>
6983 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6985 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6987 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6988 (__ASSUME_UTIMES): Do not condition on kernel version.
6989 (__ASSUME_PSELECT): Define unconditionally.
6990 (__ASSUME_PPOLL): Likewise.
6991 (__ASSUME_ATFCTS): Likewise.
6992 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6993 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6994 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6995 (__ASSUME_UTIMENSAT): Define unconditionally.
6996 (__ASSUME_PRIVATE_FUTEX): Likewise.
6997 (__ASSUME_FALLOCATE): Likewise.
6998 (__ASSUME_O_CLOEXEC): Likewise.
6999 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7000 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7001 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7002 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7003 (__ASSUME_IN_NONBLOCK): Likewise.
7004 (__ASSUME_PIPE2): Likewise.
7005 (__ASSUME_EVENTFD2): Likewise.
7006 (__ASSUME_SIGNALFD4): Likewise.
7007 (__ASSUME_DUP3): Likewise.
7008 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7009 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7010 (__ASSUME_AT_RANDOM): Likewise.
7011 (__ASSUME_PREADV): Likewise.
7012 (__ASSUME_PWRITEV): Likewise.
7013 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7014 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7015 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7016 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7017 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7018 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7019 (__ASSUME_O_CLOEXEC): Define unconditionally.
7020 (__ASSUME_PSELECT): Do not undefine conditionally.
7021 (__ASSUME_PPOLL): Likewise.
7022 (__ASSUME_ATFCTS): Likewise.
7023 (__ASSUME_SET_ROBUST_LIST): Likewise.
7024 (__ASSUME_UTIMENSAT): Likewise.
7025 (__ASSUME_FDATASYNC): Define unconditionally.
7026 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7027 (__ASSUME_SIGFRAME_V2): Likewise.
7028 )__ASSUME_EVENTFD2): Likewise.
7029 (__ASSUME_SIGNALFD4): Likewise.
7030 (__ASSUME_PSELECT): Do not undefine conditionally.
7031 (__ASSUME_PPOLL): Likewise.
7032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7033 (__ASSUME_PSELECT): Define unconditionally.
7034 (__ASSUME_PPOLL): Likewise.
7035 (__ASSUME_O_CLOEXEC): Likewise.
7036 (__ASSUME_SOCK_CLOEXEC): Likewise.
7037 (__ASSUME_IN_NONBLOCK): Likewise.
7038 (__ASSUME_PIPE2): Likewise.
7039 (__ASSUME_EVENTFD2): Likewise.
7040 (__ASSUME_SIGNALFD4): Likewise.
7041 (__ASSUME_DUP3): Likewise.
7042 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7043 (__ASSUME_O_CLOEXEC): Likewise.
7044 (__ASSUME_SOCK_CLOEXEC): Likewise.
7045 (__ASSUME_IN_NONBLOCK): Likewise.
7046 (__ASSUME_PIPE2): Likewise.
7047 (__ASSUME_EVENTFD2): Likewise.
7048 (__ASSUME_SIGNALFD4): Likewise.
7049 (__ASSUME_DUP3): Likewise.
7050 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7051 (__ASSUME_EVENTFD2): Likewise.
7052 (__ASSUME_SIGNALFD4): Likewise.
7053 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7055 2014-05-12 Andreas Schwab <schwab@suse.de>
7058 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7059 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7060 than maximum RPC packet size.
7061 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7062 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7063 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7064 (_nss_nis_getservbyport_r): Likewise.
7066 2014-05-12 Will Newton <will.newton@linaro.org>
7068 * malloc/Makefile (tests): Add tst-mallopt.
7069 * malloc/tst-mallopt.c: New file.
7071 2014-05-09 Roland McGrath <roland@hack.frob.com>
7073 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7074 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7076 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7078 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7079 (tst-tlsmod6.so): Likewise.
7081 2014-05-09 Roland McGrath <roland@hack.frob.com>
7083 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7085 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7088 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7089 and <dl-procinfo.h>.
7090 (__fegetenv): Save SSE state in envp->__eip if supported.
7091 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7092 envp->__eip if supported.
7093 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7094 and <dl-procinfo.h>.
7095 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7096 __data_offset and __data_selector in environment to 0. Set SSE
7098 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7100 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7102 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7104 2014-05-09 Will Newton <will.newton@linaro.org>
7106 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7107 and libc_relro_required for ARM.
7108 * sysdeps/arm/preconfigure: Regenerate.
7110 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7111 Stefan Liebler <stli@linux.vnet.ibm.com>
7113 * config.make.in (enable-lock-elision): New Makefile variable.
7114 * configure.ac: Likewise.
7115 * configure: Regenerate.
7116 * sysdeps/s390/configure.ac:
7117 Add check for gcc transactions support.
7118 * sysdeps/s390/configure: Regenerate.
7119 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7120 Build elision files if enabled.
7121 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7122 Add lock elision support for s390.
7123 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7124 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7125 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7126 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7127 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7128 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7129 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7131 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7133 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7135 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7137 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7138 (__lll_timedlock_elision, __lll_lock_elision)
7139 (__lll_unlock_elision, __lll_trylock_elision)
7140 (lll_timedlock_elision, lll_lock_elision)
7141 (lll_unlock_elision, lll_trylock_elision): Add.
7142 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7143 (pthread_mutex_t): Add lock elision support for s390.
7145 2014-05-14 Wilco <wdijkstr@arm.com>
7147 * sysdeps/arm/fclrexcpt.c: Cleanup.
7148 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7149 * sysdeps/arm/feenablxcpt.c: Cleanup.
7150 * sysdeps/arm/fegetenv.c: Cleanup.
7151 * sysdeps/arm/fegetexcept.c: Cleanup.
7152 * sysdeps/arm/fegetround.c: Cleanup.
7153 * sysdeps/arm/feholdexcpt.c: Cleanup.
7154 * sysdeps/arm/fesetenv.c: Cleanup.
7155 * sysdeps/arm/fesetround.c: Cleanup.
7156 * sysdeps/arm/feupdateenv.c: Cleanup.
7157 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7158 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7159 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7160 * sysdeps/arm/ftestexcept.c: Cleanup.
7161 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7162 * sysdeps/arm/setfpucw.c: Cleanup.
7164 2014-05-09 Will Newton <will.newton@linaro.org>
7166 * sysdeps/arm/armv7/strcmp.S: New file.
7167 * NEWS: Mention addition of ARMv7 optimized strcmp.
7169 2014-05-08 Roland McGrath <roland@hack.frob.com>
7171 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7172 look for %.ac rather than %.in.
7174 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7175 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7176 * sysdeps/mach/hurd/configure: Regenerated.
7177 * sysdeps/unix/sysv/linux/configure: Regenerated.
7179 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7181 2014-05-07 Steve Ellcey <sellcey@mips.com>
7184 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7188 2014-05-07 Andreas Schwab <schwab@suse.de>
7190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7191 when skipping over non-matching result from nscd.
7193 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
7196 * nptl/sockperf.c (client): Check socket return value.
7199 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7200 nscd security class.
7202 2014-05-06 Roland McGrath <roland@hack.frob.com>
7204 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7205 * sysdeps/arm/unwind.h: ... here.
7207 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7210 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7213 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7215 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7216 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7217 multiarch strncpy for PPC64.
7218 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7219 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7221 multiarch optimizations.
7222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7223 (__libc_ifunc_impl_list): Likewise.
7224 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7225 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7226 multiarch stpncpy for PPC64.
7227 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7228 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7230 2014-05-06 Andreas Schwab <schwab@suse.de>
7233 * gmon/mcount.c (_MCOUNT_DECL): Use
7234 atomic_compare_and_exchange_bool_acq instead of
7235 catomic_compare_and_exchange_bool_acq.
7237 2014-05-05 Roland McGrath <roland@hack.frob.com>
7239 * elf/Makefile (others, install-bin): Remove pldd.
7240 (pldd-modules): Variable removed.
7241 ($(objpfx)pldd): Target removed.
7242 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7243 (others, install-bin): Append pldd here.
7244 ($(objpfx)pldd): New target.
7246 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7247 to 0, so the first #if test emitted later doesn't see it undefined.
7248 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7249 * sysdeps/gnu/errlist.c: Regenerated.
7251 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7253 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7254 [libc_hidden_builtin_def]: Define to empty value.
7255 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7256 [libc_hidden_builtin_def]: Likewise.
7257 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7258 [libc_hidden_builtin_def]: Likewise.
7259 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7260 [libc_hidden_builtin_def]: Likewise.
7261 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7262 __redirect_memcpy and define ifunc as default hidden symbol.
7263 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7264 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7266 2014-05-04 Adam Conrad <adconrad@0c3.net>
7268 * locale/iso-4217.def: Reintroduce XDR currency.
7270 2014-05-04 Allan McRae <allan@archlinux.org>
7272 * po/eo.po: Update Esperanto translation from translation project.
7274 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7276 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7277 and FEATURE_INDEX_MAX to 1.
7278 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7280 2014-05-01 Steve Ellcey <sellcey@mips.com>
7282 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7283 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7284 * iconvdata/big5.c (ONE_DIRECTION): Define.
7285 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7286 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7287 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7288 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7289 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7290 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7291 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7292 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7293 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7294 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7295 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7296 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7297 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7298 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7299 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7300 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7301 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7302 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7303 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7304 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7305 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7306 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7307 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7308 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7309 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7310 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7311 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7312 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7313 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7314 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7315 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7316 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7317 * iconvdata/johab.c (ONE_DIRECTION): Define.
7318 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7319 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7320 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7321 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7322 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7323 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7324 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7325 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7326 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7327 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7329 2014-05-01 Roland McGrath <roland@hack.frob.com>
7331 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7332 (_IO_JUMPS_OFFSET): Define to 0.
7334 * nptl/sysdeps/pthread/bits/libc-lock.h
7335 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7336 (__libc_lock_define_initialized_recursive): Always define using
7337 initializer. Modern compilers treat uninitialized (implicit zero) and
7338 explicit zero initializers the same (i.e. put the datum in bss).
7340 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7342 * nscd/nscd-client.h: Include <string.h>.
7344 2014-05-01 David S. Miller <davem@davemloft.net>
7347 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7348 multiple zero bytes exist at the end of a string.
7349 Reported by Aurelien Jarno <aurelien@aurel32.net>
7351 * string/test-strcmp.c (check): Add explicit test for situations where
7352 there are multiple zero bytes after the first.
7354 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7357 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7358 when compiling wprintf.
7359 * stdio-common/tstdiomisc.c (t3): New function.
7362 2014-05-01 Steve Ellcey <sellcey@mips.com>
7364 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7365 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7366 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7367 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7369 2014-05-01 Steve Ellcey <sellcey@mips.com>
7371 * stdlib/longlong.h: Updated from GCC.
7373 2014-05-01 Will Newton <will.newton@linaro.org>
7374 Bernard Ogden <bernie.ogden@linaro.org>
7376 * NEWS: Update fixed bug list.
7379 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7381 2014-04-30 David S. Miller <davem@davemloft.net>
7383 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7384 (libc_feholdexcept_setround_sparc_ctx): New function.
7385 (libc_fesetenv_sparc_ctx): Likewise.
7386 (libc_feupdateenv_sparc_ctx): Likewise.
7387 (libc_feholdsetround_sparc_ctx): Likewise.
7388 (libc_feholdexcept_setround_ctx): Define.
7389 (libc_feholdexcept_setroundf_ctx): Likewise.
7390 (libc_feholdexcept_setroundl_ctx): Likewise.
7391 (libc_fesetenv_ctx): Likewise.
7392 (libc_fesetenvf_ctx): Likewise.
7393 (libc_fesetenvl_ctx): Likewise.
7394 (libc_feupdateenv_ctx): Likewise.
7395 (libc_feupdateenvf_ctx): Likewise.
7396 (libc_feupdateenvl_ctx): Likewise.
7397 (libc_feresetround_ctx): Likewise.
7398 (libc_feresetroundf_ctx): Likewise.
7399 (libc_feresetroundl_ctx): Likewise.
7400 (libc_feholdsetround_ctx): Likewise.
7401 (libc_feholdsetroundf_ctx): Likewise.
7402 (libc_feholdsetroundl_ctx): Likewise.
7404 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7405 with __USE_GNU instead of XOPEN cpp guards.
7407 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7411 with XOPEN cpp guards.
7413 2014-04-30 Julian Brown <julian@codesourcery.com>
7416 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7419 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7422 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7424 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7425 * sysdeps/unix/sysv/linux/configure: Regenerated.
7426 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7427 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7428 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7429 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7430 * README: Update reference to required Linux kernel version.
7431 * manual/install.texi (Linux): Update reference to required Linux
7432 kernel headers version.
7433 * INSTALL: Regenerated.
7435 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7437 [POSIX] (limits.h): Likewise.
7438 [POSIX] (math.h): Likewise.
7439 [POSIX] (sys/wait.h): Likewise.
7440 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7442 [POSIX] (stddef.h): Do not allow header inclusion.
7444 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7446 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7448 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7450 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7451 Return immediately after lll_futex_wake.
7453 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7456 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7458 (datahead_init_pos): Call datahead_init_common early.
7459 (datahead_init_neg): Likewise.
7461 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7462 datahead_init_neg): New functions.
7463 * nscd/aicache.c (addhstaiX): Use them.
7464 * nscd/grpcache.c (cache_addgr): Likewise.
7465 * nscd/hstcache.c (cache_addhst): Likewise.
7466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7467 * nscd/netgroupcache.c (do_notfound): Likewise.
7468 (addgetnetgrentX): Likewise.
7469 (addinnetgrX): Likewise.
7470 * nscd/pwdcache.c (cache_addpw): Likewise.
7471 * nscd/servicescache.c (cache_addserv): Likewise.
7473 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7474 Atsushi Onoe <atsushi@onoe.org>
7479 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7480 one response is valid.
7481 * resolv/res_send.c (send_dg): Check for validity of other
7482 response if the current response is a referral.
7484 2014-04-29 Steve Ellcey <sellcey@mips.com>
7486 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7488 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7491 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7492 Always divide by positive zero when computing -Inf result.
7493 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7494 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7496 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7498 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7499 FPSCR if value do not change.
7500 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7501 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7502 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7503 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7504 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7505 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7508 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7510 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7511 * sysdeps/unix/sysv/linux/hppa: Move directory from
7512 ports/systeps/unix/sysv/linux/hppa.
7513 * README: Update listing for hppa-*-linux-gnu.
7515 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7518 * manual/stdio.texi (Hook functions): Fix types of stream hook
7521 * socket/sys/socket.h: Fix typo in comment.
7523 2014-04-28 Wilco <wdijkstr@arm.com>
7525 * sysdeps/arm/fenv_private.h: New file.
7526 * sysdeps/arm/math_private.h: New file.
7527 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7529 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7531 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7533 (La_x86_64_retval): Likewise.
7535 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7537 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7538 fpsr if value didn't change.
7539 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7540 to fpcr if value didn't change.
7541 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7542 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7543 fpsr or fpcr if value didn't change.
7544 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7545 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7546 fpcr if value didn't change.
7547 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7548 to fpsr if value didn't change.
7550 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7552 * nptl/tst-sem3.c: Use test-skeleton.c
7553 (main): Rename to do_test. Use return instead of
7555 * nptl/tst-sem4.c: Use test-skeleton.c
7556 (main): Rename to do_test.
7558 2014-04-22 David S. Miller <davem@davemloft.net>
7560 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7561 (struct sigaction): New struct member __glibc_reserved0, change
7562 type of sa_flags to int.
7564 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7566 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7567 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7569 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7571 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7572 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7574 2014-04-22 Will Newton <will.newton@linaro.org>
7575 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7577 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7578 (__longjmp): Add longjmp and longjmp_target SystemTap
7580 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7581 (__sigsetjmp): Add setjmp SystemTap probe.
7583 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7585 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7588 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7590 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7592 * sysdeps/powerpc/fpu/fenv_private.h
7593 (libc_feholdexcept_setroundl_ctx): Define to
7594 libc_feholdexcept_setround_ppc_ctx.
7595 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7596 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7597 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7598 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7600 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7602 * sysdeps/aarch64/math-tests.h: New file.
7604 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7606 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7609 Check and set bit_AVX2_Usable.
7610 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7612 (bit_AVX2): Likewise.
7613 (index_AVX2_Usable): Likewise.
7614 (CPUID_AVX2): Likewise.
7615 (HAS_AVX2): Likewise.
7617 2014-04-17 Will Newton <will.newton@linaro.org>
7619 * manual/setjmp.texi (System V contexts): Add note that
7620 calling setcontext on a context created by a call to a
7621 signal handler is undefined. Update text to note that
7622 setcontext from a signal handler is possible but not
7626 * stdlib/tst-setcontext.c: Include signal.h.
7627 (main): Check that the signal stack before and
7628 after swapcontext is the same.
7630 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7631 Re-implement to restore registers in user code and avoid
7632 rt_sigreturn system call.
7634 2014-04-17 Wilco <wdijkstr@arm.com>
7636 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7637 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7638 * math/test-fenv.c: Skip exception trap tests on targets which only
7639 support non-stop mode.
7641 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7642 Wilco Dijkstra <wilco.dijkstra@arm.com>
7644 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7645 (libc_feholdsetround_aarch64_ctx)
7646 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7647 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7648 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7649 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7650 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7651 (libc_feresetround_noexl_ctx): Define.
7653 2014-04-16 Richard Henderson <rth@redhat.com>
7655 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7657 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7660 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7661 const from the non-libc, non-ldso copy.
7663 * sysdeps/alpha/libm-test-ulps: Regenerate.
7665 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7666 Wilco Dijkstra <wilco.dijkstra@arm.com>
7668 * sysdeps/aarch64/fpu/math_private.h: New file.
7670 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7672 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7674 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7677 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7678 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7680 Intel MPX bound registers before _dl_profile_fixup.
7681 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7682 registers after _dl_profile_fixup. Save and restore bound
7683 registers bnd0/bnd1 when calling _dl_call_pltexit.
7684 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7685 (LR_BND_OFFSET): Likewise.
7686 (LRV_BND0_OFFSET): Likewise.
7687 (LRV_BND1_OFFSET): Likewise.
7689 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7691 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7693 * sysdeps/mach/hurd/i386/tls.h: ... here.
7694 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7695 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7698 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7700 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7702 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7704 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7706 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7709 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7710 * sysdeps/s390/configure: Regenerate.
7713 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7714 Set round-to-nearest internally to reduce error accumulation.
7716 2014-04-16 Alan Modra <amodra@gmail.com>
7720 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7721 * math/libm-test.inc (frexp_test_data): Add tests.
7722 * NEWS: Update fixed bug list.
7724 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7726 * benchtests/Makefile: Depend on libraries in build directory.
7727 (bench-math): Separate out math tests.
7728 (bench-pthread): Separate out pthread tests.
7729 (bench): Include math and pthread tests.
7731 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7734 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7735 _dl_debug_initialize.
7737 * configure.ac: Remove SELinux header check.
7738 * configure: Regenerate.
7739 * nscd/selinux.c (perms): Array of const char* to permission names.
7740 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7741 default policy. Call string_to_security_class and string_to_av_perm to
7742 translate strings. Enforce default policy and call avs_has_perm with
7743 results of translated strings.
7745 2014-04-13 David S. Miller <davem@davemloft.net>
7747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7749 2014-04-12 Allan McRae <allan@archlinux.org>
7752 * manual/string.texi (Collation Functions): Fix qsort argument
7754 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7756 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7758 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7759 Make the test a no-op if there are no exceptions defined.
7761 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7763 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7764 enable-hardcoded-path-in-tests
7766 2014-04-11 Will Newton <will.newton@linaro.org>
7768 * benchtests/Makefile (extra-objs): Add json-lib.o.
7769 (bench-func): Tidy up JSON output.
7770 * benchtests/bench-skeleton.c: Include json-lib.h.
7771 (main): Use JSON library functions to do output of
7773 * benchtests/bench-timing-type.c (main): Output the
7774 timing type simply, leaving formatting to the user.
7775 * benchtests/json-lib.c: New file.
7776 * benchtests/json-lib.h: Likewise.
7778 2014-04-11 Torvald Riegel <triegel@redhat.com>
7781 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7782 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7783 memory barriers. Add comments.
7784 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7785 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7786 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7787 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7788 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7789 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7791 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7793 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7794 * sysdeps/s390/s390-64/configure.ac: ... this ...
7795 * sysdeps/s390/configure.ac: ... to here.
7796 * sysdeps/s390/s390-32/configure: Delete file.
7797 * sysdeps/s390/s390-64/configure: Delete file.
7798 * sysdeps/s390/configure: Regenerate.
7800 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7802 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7804 2014-04-11 Will Newton <will.newton@linaro.org>
7806 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7807 to zero if it is not defined elsewhere. (mtrim): Test
7808 the value of MALLOC_DEBUG with #if rather than #ifdef.
7810 2014-04-10 Torvald Riegel <triegel@redhat.com>
7812 * benchtests/pthread_once-inputs: New file.
7813 * benchtests/pthread_once-source.c: New file.
7814 * benchtests/README: Update documentation.
7816 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7817 H.J. Lu <hongjiu.lu@intel.com>
7820 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7821 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7822 * sysdeps/x86_64/configure: Regenerated.
7823 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7825 (REGISTER_SAVE_RAX): Likewise.
7826 (REGISTER_SAVE_RCX): Likewise.
7827 (REGISTER_SAVE_RDX): Likewise.
7828 (REGISTER_SAVE_RSI): Likewise.
7829 (REGISTER_SAVE_RDI): Likewise.
7830 (REGISTER_SAVE_R8): Likewise.
7831 (REGISTER_SAVE_R9): Likewise.
7832 (REGISTER_SAVE_BND0): Likewise.
7833 (REGISTER_SAVE_BND1): Likewise.
7834 (REGISTER_SAVE_BND2): Likewise.
7835 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7836 bound registers when calling _dl_fixup.
7838 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7840 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7841 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7843 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7844 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7845 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7846 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7847 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7848 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7849 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7851 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7854 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7855 pathconf(_PC_NAME_MAX).
7857 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7859 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7861 (__PTHREAD_SPINS): Move definition to ...
7862 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7863 (__PTHREAD_SPINS): ... here.
7864 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7865 (__PTHREAD_SPIN): Likewise.
7866 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7867 (__PTHREAD_SPIN): Likewise.
7868 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7869 (__PTHREAD_SPIN): Likewise.
7870 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7871 (__PTHREAD_SPIN): Likewise.
7872 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7873 (__PTHREAD_SPIN): Likewise.
7874 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7875 (__PTHREAD_SPIN): Likewise.
7876 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7877 (__PTHREAD_SPIN): Likewise.
7878 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7879 (__PTHREAD_SPIN): Likewise.
7880 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7881 (__PTHREAD_SPIN): Likewise.
7882 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7883 (__PTHREAD_SPIN): Likewise.
7884 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7885 (__PTHREAD_SPIN): Likewise.
7886 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7887 (__PTHREAD_SPIN): Likewise.
7889 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7890 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7891 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7892 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7894 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7895 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7896 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7897 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7899 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7900 strlen symbol for non multi-arch builds.
7901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7902 missing hidden_def and weak_alias.
7904 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7906 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7908 2014-04-07 Will Newton <will.newton@linaro.org>
7910 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7911 and contents. [!_LIBC] Remove #ifndef and contents.
7912 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7913 * string/memccpy.c (__memccpy): Use ANSI prototype.
7914 * string/memfrob.c (memfrob): Likewise.
7915 * string/strcoll.c (STRCOLL): Likewise.
7916 * string/strlen.c (strlen): Likewise.
7917 * string/strtok.c (STRTOK): Likewise.
7918 * string/strcat.c: Remove unused #include of memcopy.h.
7919 (strcat): Use ANSI prototype.
7920 * string/strchr.c: Remove unused #include of memcopy.h.
7921 (strchr): Use ANSI prototype.
7922 * string/strcmp.c: Remove unused #include of memcopy.h.
7923 (strcmp): Use ANSI prototype.
7924 * string/strcpy.c: Remove unused #include of memcopy.h.
7925 (strcpy): Use ANSI prototype.
7927 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7929 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7930 * config.make.in (config-extra-cppflags): Set it from
7931 libc_extra_cppflags.
7932 * configure.ac (libc_extra_cflags): Make it accumulate over
7933 configure fragments.
7934 (libc_extra_cppflags): New flag.
7935 * configure. Regenerate.
7936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7937 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7938 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7942 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7943 result for FE_DOWNWARD rounding mode.
7944 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7948 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7950 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7951 in function argument name.
7953 2014-04-03 David Svoboda <svoboda@cert.org>
7956 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7959 2014-04-03 Roland McGrath <roland@hack.frob.com>
7961 * elf/dl-unmap-segments.h: New file.
7962 * sysdeps/generic/ldsodefs.h
7963 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7964 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7965 * elf/dl-fptr.c: Likewise.
7966 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7967 * sysdeps/aarch64/tlsdesc.c: Likewise.
7968 * sysdeps/arm/tlsdesc.c: Likewise.
7969 * sysdeps/i386/tlsdesc.c: Likewise.
7970 * sysdeps/tile/dl-runtime.c: Likewise.
7971 * sysdeps/x86_64/tlsdesc.c: Likewise.
7972 * elf/dl-load.h: New file.
7973 * elf/dl-load.c: Include it.
7974 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7975 Macros moved to dl-load.h.
7976 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7977 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7978 Use _dl_unmap_segments in place of __munmap.
7979 Break out segment-mapping loop into ...
7980 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7982 2014-04-03 Will Newton <will.newton@linaro.org>
7984 * elf/dl-lookup.c (do_lookup_x): Remove comment
7985 referring to nested function and move variable
7986 declarations down to before first use.
7988 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7992 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7994 * math/s_catanf.c (__catanf): Likewise.
7995 * math/s_catanh.c (__catanh): Likewise.
7996 * math/s_catanhf.c (__catanhf): Likewise.
7997 * math/s_catanhl.c (__catanhl): Likewise.
7998 * math/s_catanl.c (__catanl): Likewise.
7999 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8000 by positive zero when computing -Inf result.
8001 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8002 (catanh_test): Likewise.
8003 * sysdeps/i386/fpu/libm-test-ulps: Update.
8004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8007 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8008 instead of using underflowing value in computing result.
8009 * math/s_clog10.c (__clog10): Likewise.
8010 * math/s_clog10f.c (__clog10f): Likewise.
8011 * math/s_clog10l.c (__clog10l): Likewise.
8012 * math/s_clogf.c (__clogf): Likewise.
8013 * math/s_clogl.c (__clogl): Likewise.
8014 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8015 (clog10_test): Likewise.
8016 * sysdeps/i386/fpu/libm-test-ulps: Update.
8017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8019 2014-04-02 Alan Modra <amodra@gmail.com>
8022 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8023 output when value is near a power of two. Use int64_t for lx and
8024 remove casts. Use decimal rather than hex exponent constants.
8025 Don't use long double multiplication when double will suffice.
8026 * math/libm-test.inc (nextafter_test_data): Add tests.
8027 * NEWS: Add 16739 and 16786 to bug list.
8029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8031 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8033 2014-04-01 Will Newton <will.newton@linaro.org>
8035 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8036 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8038 2014-04-01 Florian Weimer <fweimer@redhat.com>
8041 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8042 * nptl/tst-setuid2.c: New file.
8043 * nptl/Makefile (xtests): Add tst-setuid2.
8045 2014-04-01 Alan Modra <amodra@gmail.com>
8048 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8050 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8054 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8055 set errno as appropriate.
8056 * math/w_scalbf.c (__scalbf): Likewise.
8057 * math/w_scalbl.c (__scalbl): Likewise.
8058 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8059 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8060 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8064 * math/w_atan2.c: Include <errno.h>.
8065 (__atan2): Set errno for result underflowing to zero.
8066 * math/w_atan2f.c: Include <errno.h>.
8067 (__atan2f): Set errno for result underflowing to zero.
8068 * math/w_atan2l.c: Include <errno.h>.
8069 (__atan2l): Set errno for result underflowing to zero.
8070 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8072 * math/auto-libm-test-out: Regenerated.
8074 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8076 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8077 Encode instruction correctly in little endian.
8078 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8080 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8082 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8084 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8087 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/unix/sysv/linux/kernel-features.h
8091 [__sparc__ && !__arch64__ && !__sparc_v9__]
8092 (__ASSUME_SET_ROBUST_LIST): Do not define.
8093 [__sparc__ && !__arch64__ && !__sparc_v9__]
8094 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8095 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8097 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8098 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8099 (__ASSUME_REQUEUE_PI): Likewise.
8100 (__ASSUME_SET_ROBUST_LIST): Likewise.
8101 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8102 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8104 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8105 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8107 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8109 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8111 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8112 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8114 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8115 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8120 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8121 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8123 2014-03-31 Will Newton <will.newton@linaro.org>
8125 * benchtests/Makefile (bench): Add ffs and ffsll to list
8127 * benchtests/ffs-inputs: New file.
8128 * benchtests/ffsll-inputs: Likewise.
8130 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8133 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8134 too large before casting to int.
8135 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8136 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8137 * math/libm-test.inc (scalb_test_data): Add more tests.
8139 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8141 * benchtests/Makefile (DETAILED_OPT): New make option.
8142 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8144 * benchtests/bench-skeleton.c: Include stdbool.h.
8145 (main): Store and print timings per input.
8146 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8147 member to each argument value.
8148 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8149 (_print_arg_data): Initialize per-input timing to 0.
8151 * benchtests/Makefile (timing-type): New binary.
8152 (bench-clean): Also remove bench-timing-type.
8153 (bench): New target for timing-type.
8154 (bench-func): Print output in JSON format.
8155 * benchtests/bench-skeleton.c (main): Print output in JSON
8157 * benchtests/bench-timing-type.c: New file.
8158 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8159 (TIMING_PRINT_STATS): Remove.
8160 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8163 * benchtests/bench-modf.c: Remove.
8164 * benchtests/modf-inputs: New inputs file.
8166 2014-03-28 Joseph Myers <joseph@codesourcery.com>
8169 * math/s_clog10.c (M_PI_LOG10E): New macro.
8170 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8171 imaginary parts are 0.
8172 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8173 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8174 imaginary parts are 0.
8175 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8176 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8177 imaginary parts are 0.
8178 * math/libm-test.inc (clog10_test_data): Update expected results
8179 for when real and imaginary parts are 0.
8181 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8183 * elf/dl-load.c: Finish conversion of __builtin_expect into
8186 2014-03-27 Joseph Myers <joseph@codesourcery.com>
8189 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8190 1+x for argument with exponent below -67.
8191 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8193 * math/auto-libm-test-in: Add more tests of exp.
8194 * math/auto-libm-test-out: Regenerated.
8196 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8199 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8200 (nscd_getnetgrent): Use it.
8203 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8206 2014-03-27 Andi Kleen <ak@linux.intel.com>
8208 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8209 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8210 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8211 (lll_robust_unlock): Remove out of line section. Use cfi
8213 (LLL_STUB_UNWIND_INFO*): Remove.
8214 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8215 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8216 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8217 (lll_robust_unlock): Remove out of line section. Use cfi
8219 (LLL_STUB_UNWIND_INFO*): Remove.
8221 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8224 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8227 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8229 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8231 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8234 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8236 * math/test-fenv-preserve.c: New file.
8237 * math/Makefile (tests): Add test-fenv-preserve.
8239 2014-03-26 Will Newton <will.newton@linaro.org>
8241 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8243 2014-03-25 Roland McGrath <roland@hack.frob.com>
8245 * scripts/versionlist.awk: Partition the version sets and emit all
8246 GLIBC_* (sorted) before all others (sorted).
8248 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8250 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8251 GLIBC_2.2.5 version.
8253 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8255 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8258 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8263 2014-03-25 Andreas Schwab <schwab@suse.de>
8265 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8266 label to be used after in6ailist is initialized.
8268 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8270 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8271 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8273 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8277 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8279 (fp_formats): Update initializers.
8280 (init_fp_formats): Initialize new field.
8281 (output_for_one_input_case): Allow underflow for results up to
8283 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8284 * math/auto-libm-test-in: Don't mark some underflows from asin and
8286 * math/auto-libm-test-out: Regenerated.
8287 * sysdeps/i386/fpu/libm-test-ulps: Update.
8288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8290 2014-03-25 Andreas Schwab <schwab@suse.de>
8292 * libio/Makefile (tst-ftell-partial-wide-ENV)
8293 (tst-ftell-active-handler-ENV): Define.
8295 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8297 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8299 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8301 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8303 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8305 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8306 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8307 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8309 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8312 * elf/dl-load.c (open_verify): Add mode parameter.
8313 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8314 (open_path): Change from boolean 'secure' to complete flag 'mode'
8315 (_dl_map_object): Adjust.
8316 * elf/Makefile (tests): Add tst-dlopen-aout.
8317 * elf/tst-dlopen-aout.c: New test.
8319 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8322 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8323 (struct stat): Rename member pad0 to __glibc_reserved0.
8326 * sysdeps/s390/s390-32/bits/wordsize.h
8327 (__WORDSIZE32_SIZE_ULONG): New define.
8328 * sysdeps/s390/s390-64/bits/wordsize.h
8329 (__WORDSIZE32_SIZE_ULONG): Likewise.
8330 * sysdeps/generic/stdint.h (SIZE_MAX):
8331 Define as UL if __WORDSIZE32_SIZE_ULONG.
8334 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8335 (__glibc_reserved0): New variable.
8336 (sa_flags): Change type to int.
8338 * posix/Makefile (before-compile): Use += before-compile instead
8341 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8342 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8344 2014-03-20 Andreas Schwab <schwab@suse.de>
8347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8348 non-matching result from nscd.
8350 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8352 * scripts/bench.py: Moved to ...
8353 * benchtests/scripts/bench.py: ... here.
8354 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8356 2014-03-24 Andreas Schwab <schwab@suse.de>
8359 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8360 alloca_account and account alloca use for struct in6ailist.
8362 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8365 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8366 rounding mode to recompute results that overflow to infinity or
8368 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8370 * math/auto-libm-test-out: Regenerated.
8371 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8372 (ccosh_test): Likewise.
8373 (csin_test_data): Use plus_oflow.
8374 (csin_test): Use ALL_RM_TEST.
8375 (csinh_test_data): Use plus_oflow.
8376 (csinh_test): Use ALL_RM_TEST.
8377 * sysdeps/i386/fpu/libm-test-ulps: Update.
8378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8380 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8382 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8383 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8384 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8387 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8389 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8390 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8391 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8392 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8394 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8395 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8397 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8398 * sysdeps/i386/fpu/libm-test-ulps: Update.
8399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8401 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8403 * scripts/bench.pl: Remove file.
8404 * scripts/bench.py: New benchmark script.
8405 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8406 * benchtests/README: Mention python dependency.
8407 * scripts/pylintrc: New file.
8408 * scripts/pylint: New file.
8410 * bits/mathdef.h: Use #ifdef instead of #if.
8411 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8412 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8413 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8414 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8415 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8416 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8418 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8419 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8421 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8423 and strpbrk-ppc64 objects.
8424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8425 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8426 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8427 multiarch strpbrk for POWER7.
8428 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8429 multiarch strpbrk for PPC64.
8430 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8432 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8435 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8437 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8438 (atan_test): Likewise.
8439 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8440 (atanh_test): Use ALL_RM_TEST.
8441 (atan2_test_data): Likewise.
8442 (cabs_test): Likewise.
8443 (cacosh_test): Likewise.
8444 (carg_test): Likewise.
8445 (casin_test): Likewise.
8446 (casinh_test): Likewise.
8447 (cbrt_test): Likewise.
8448 (csqrt_test): Likewise.
8449 (erf_test): Likewise.
8450 (erfc_test): Likewise.
8451 (pow10_test): Likewise.
8452 (exp2_test): Likewise.
8453 (hypot_test): Likewise.
8454 (j0_test): Likewise.
8455 (j1_test): Likewise.
8456 (lgamma_test): Likewise.
8457 (gamma_test): Likewise.
8458 (sincos_test): Likewise.
8459 (tanh_test): Likewise.
8460 (y0_test): Likewise.
8461 (y1_test): Likewise.
8462 * sysdeps/i386/fpu/libm-test-ulps: Update.
8463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8465 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8467 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8469 and strcspn-ppc64 objects.
8470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8471 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8472 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8473 multiarch strcspn for POWER7.
8474 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8475 multiarch strcspn for PPC64.
8476 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8478 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8481 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8483 * math/gen-libm-test.pl (generate_testfile): Expect only function
8484 name as argument to AUTO_TESTS_* and pass results for all rounding
8485 modes to parse_args.
8486 (parse_auto_input): Separate inputs of automatic tests from
8487 outputs before storing in %auto_tests.
8488 * math/libm-test.inc (acos_test_data): Update call to
8490 (acos_test): Use ALL_RM_TEST.
8491 (acos_tonearest_test_data): Remove.
8492 (acos_test_tonearest): Likewise.
8493 (acos_towardzero_test_data): Likewise.
8494 (acos_test_towardzero): Likewise.
8495 (acos_downward_test_data): Likewise.
8496 (acos_test_downward): Likewise.
8497 (acos_upward_test_data): Likewise.
8498 (acos_test_upward): Likewise.
8499 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8500 (asin_test_data): Likewise.
8501 (asin_test): Use ALL_RM_TEST.
8502 (asin_tonearest_test_data): Remove.
8503 (asin_test_tonearest): Likewise.
8504 (asin_towardzero_test_data): Likewise.
8505 (asin_test_towardzero): Likewise.
8506 (asin_downward_test_data): Likewise.
8507 (asin_test_downward): Likewise.
8508 (asin_upward_test_data): Likewise.
8509 (asin_test_upward): Likewise.
8510 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8511 (atan_test_data): Likewise.
8512 (atanh_test_data): Likewise.
8513 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8514 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8515 (carg_test_data): Likewise.
8516 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8517 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8518 (ccosh_test_data): Likewise.
8519 (cexp_test_data): Likewise.
8520 (clog_test_data): Likewise.
8521 (clog10_test_data): Likewise.
8522 (cos_test_data): Update call to AUTO_TESTS_f_f.
8523 (cos_test): Use ALL_RM_TEST.
8524 (cos_tonearest_test_data): Remove.
8525 (cos_test_tonearest): Likewise.
8526 (cos_towardzero_test_data): Likewise.
8527 (cos_test_towardzero): Likewise.
8528 (cos_downward_test_data): Likewise.
8529 (cos_test_downward): Likewise.
8530 (cos_upward_test_data): Likewise.
8531 (cos_test_upward): Likewise.
8532 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8533 (cosh_test): Use ALL_RM_TEST.
8534 (cosh_tonearest_test_data): Remove.
8535 (cosh_test_tonearest): Likewise.
8536 (cosh_towardzero_test_data): Likewise.
8537 (cosh_test_towardzero): Likewise.
8538 (cosh_downward_test_data): Likewise.
8539 (cosh_test_downward): Likewise.
8540 (cosh_upward_test_data): Likewise.
8541 (cosh_test_upward): Likewise.
8542 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8543 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8544 (ctan_test_data): Likewise.
8545 (ctan_test): Use ALL_RM_TEST.
8546 (ctan_tonearest_test_data): Remove.
8547 (ctan_test_tonearest): Likewise.
8548 (ctan_towardzero_test_data): Likewise.
8549 (ctan_test_towardzero): Likewise.
8550 (ctan_downward_test_data): Likewise.
8551 (ctan_test_downward): Likewise.
8552 (ctan_upward_test_data): Likewise.
8553 (ctan_test_upward): Likewise.
8554 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8555 (ctanh_test): Use ALL_RM_TEST.
8556 (ctanh_tonearest_test_data): Remove.
8557 (ctanh_test_tonearest): Likewise.
8558 (ctanh_towardzero_test_data): Likewise.
8559 (ctanh_test_towardzero): Likewise.
8560 (ctanh_downward_test_data): Likewise.
8561 (ctanh_test_downward): Likewise.
8562 (ctanh_upward_test_data): Likewise.
8563 (ctanh_test_upward): Likewise.
8564 (erf_test_data): Update call to AUTO_TESTS_f_f.
8565 (erfc_test_data): Likewise.
8566 (exp_test_data): Likewise.
8567 (exp_test): Use ALL_RM_TEST.
8568 (exp_tonearest_test_data): Remove.
8569 (exp_test_tonearest): Likewise.
8570 (exp_towardzero_test_data): Likewise.
8571 (exp_test_towardzero): Likewise.
8572 (exp_downward_test_data): Likewise.
8573 (exp_test_downward): Likewise.
8574 (exp_upward_test_data): Likewise.
8575 (exp_test_upward): Likewise.
8576 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8577 (exp10_test): Use ALL_RM_TEST.
8578 (exp10_tonearest_test_data): Remove.
8579 (exp10_test_tonearest): Likewise.
8580 (exp10_towardzero_test_data): Likewise.
8581 (exp10_test_towardzero): Likewise.
8582 (exp10_downward_test_data): Likewise.
8583 (exp10_test_downward): Likewise.
8584 (exp10_upward_test_data): Likewise.
8585 (exp10_test_upward): Likewise.
8586 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8587 (expm1_test_data): Likewise.
8588 (expm1_test): Use ALL_RM_TEST.
8589 (expm1_tonearest_test_data): Remove.
8590 (expm1_test_tonearest): Likewise.
8591 (expm1_towardzero_test_data): Likewise.
8592 (expm1_test_towardzero): Likewise.
8593 (expm1_downward_test_data): Likewise.
8594 (expm1_test_downward): Likewise.
8595 (expm1_upward_test_data): Likewise.
8596 (expm1_test_upward): Likewise.
8597 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8598 (fma_test): Use ALL_RM_TEST.
8599 (fma_towardzero_test_data): Remove.
8600 (fma_test_towardzero): Likewise.
8601 (fma_downward_test_data): Likewise.
8602 (fma_test_downward): Likewise.
8603 (fma_upward_test_data): Likewise.
8604 (fma_test_upward): Likewise.
8605 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8606 (j0_test_data): Update call to AUTO_TESTS_f_f.
8607 (j1_test_data): Likewise.
8608 (jn_test_data): Update call to AUTO_TESTS_if_f.
8609 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8610 (log_test_data): Update call to AUTO_TESTS_f_f.
8611 (log10_test_data): Likewise.
8612 (log1p_test_data): Likewise.
8613 (log2_test_data): Likewise.
8614 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8615 (pow_tonearest_test_data): Likewise.
8616 (sin_test_data): Update call to AUTO_TESTS_f_f.
8617 (sin_test): Use ALL_RM_TEST.
8618 (sin_tonearest_test_data): Remove.
8619 (sin_test_tonearest): Likewise.
8620 (sin_towardzero_test_data): Likewise.
8621 (sin_test_towardzero): Likewise.
8622 (sin_downward_test_data): Likewise.
8623 (sin_test_downward): Likewise.
8624 (sin_upward_test_data): Likewise.
8625 (sin_test_upward): Likewise.
8626 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8627 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8628 (sinh_test): Use ALL_RM_TEST.
8629 (sinh_tonearest_test_data): Remove.
8630 (sinh_test_tonearest): Likewise.
8631 (sinh_towardzero_test_data): Likewise.
8632 (sinh_test_towardzero): Likewise.
8633 (sinh_downward_test_data): Likewise.
8634 (sinh_test_downward): Likewise.
8635 (sinh_upward_test_data): Likewise.
8636 (sinh_test_upward): Likewise.
8637 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8638 (sqrt_test): Use ALL_RM_TEST.
8639 (sqrt_tonearest_test_data): Remove.
8640 (sqrt_test_tonearest): Likewise.
8641 (sqrt_towardzero_test_data): Likewise.
8642 (sqrt_test_towardzero): Likewise.
8643 (sqrt_downward_test_data): Likewise.
8644 (sqrt_test_downward): Likewise.
8645 (sqrt_upward_test_data): Likewise.
8646 (sqrt_test_upward): Likewise.
8647 (tan_test_data): Update call to AUTO_TESTS_f_f.
8648 (tan_test): Use ALL_RM_TEST.
8649 (tan_tonearest_test_data): Remove.
8650 (tan_test_tonearest): Likewise.
8651 (tan_towardzero_test_data): Likewise.
8652 (tan_test_towardzero): Likewise.
8653 (tan_downward_test_data): Likewise.
8654 (tan_test_downward): Likewise.
8655 (tan_upward_test_data): Likewise.
8656 (tan_test_upward): Likewise.
8657 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8658 (tgamma_test_data): Likewise.
8659 (y0_test_data): Likewise.
8660 (y1_test_data): Likewise.
8661 (yn_test_data): Update call to AUTO_TESTS_if_f.
8662 (main): Do not call removed functions.
8664 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8666 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8667 (ldexp_test_data): Remove.
8668 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8670 (scalb_test): Use ALL_RM_TEST.
8672 2014-03-19 Andreas Schwab <schwab@suse.de>
8674 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8676 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8679 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8680 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8681 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8683 (__ASSUME_PREADV): Undefine.
8684 (__ASSUME_PWRITEV): Likewise.
8686 2014-03-18 Roland McGrath <roland@hack.frob.com>
8688 * bits/mman-linux.h: Add comment about non-Linux use.
8689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8690 bits/mman-linux.h resting place.
8692 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8693 * bits/mman-linux.h: ... here.
8695 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8697 * conform/conformtest.pl: Add standard definition when calling C
8698 preprocessor on data files.
8699 (checknamespace): Remove unused variable.
8701 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8703 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8704 minus_oflow, plus_uflow and minus_uflow in expected results.
8705 * math/libm-test.inc (scalbn_test_data): Add more tests of
8706 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8708 (scalbn_test): Use ALL_RM_TEST.
8709 (scalbln_test_data): Add more tests of negative arguments. Use
8710 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8711 (scalbln_test): Use ALL_RM_TEST.
8713 2014-03-18 Roland McGrath <roland@hack.frob.com>
8715 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8717 2014-03-18 Will Newton <will.newton@linaro.org>
8719 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8722 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8724 * Makerules [!subdir] (check-abi): Exit with error status if a
8727 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8729 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8730 for rint. Include results for all rounding modes.
8731 (nearbyint_test): Use ALL_RM_TEST.
8732 (rint_test_data): Include all tests used for nearbyint.
8734 2014-03-17 Will Newton <will.newton@linaro.org>
8736 * nptl/sysdeps/pthread/pthread.h: Revert previous
8739 * sysdeps/generic/ldsodefs.h: Revert previous
8742 * libio/genops.c: Revert previous change.
8743 * libio/libioP.h: Likewise.
8744 * stdio-common/vfprintf.c: Likewise.
8746 * sysdeps/generic/math_private.h: Revert previous
8749 * sysdeps/generic/math_private.h: Check whether
8750 HAVE_RM_CTX is defined with #ifdef rather
8753 * argp/argp-fmtstream.h: Check whether
8754 __STRICT_ANSI__ is defined with #ifdef rather
8756 * argp/argp.h: Likewise.
8758 * libio/genops.c: Check whether
8759 _IO_JUMPS_OFFSET is defined with #ifdef rather
8761 * libio/libioP.h: Likewise.
8762 * stdio-common/vfprintf.c: Likewise.
8764 * sysdeps/generic/ldsodefs.h: Check whether
8765 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8768 * nptl/sysdeps/pthread/pthread.h: Check
8769 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8772 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8774 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8776 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8780 * libio/fileops.c (_IO_file_open): Seek to end of file but
8781 don't cache the offset.
8782 (get_file_offset): Remove function.
8783 (do_ftell): Use cached offset when available.
8784 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8785 don't cache the offset.
8786 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8788 (do_one_test): Call it.
8789 (do_ftell_test): Fix up expected old offset for a+ mode.
8790 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8793 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8794 up test status with function return status.
8795 (do_write_test): Likewise.
8796 (do_append_test): Likewise.
8798 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8799 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8802 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8804 * math/gen-libm-test.pl (parse_args): Handle results specified for
8805 each rounding mode separately.
8806 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8807 tests and results from lrint_tonearest_test_data,
8808 lrint_towardzero_test_data, lrint_downward_test_data and
8809 lrint_upward_test_data.
8810 (lrint_test): Use ALL_RM_TEST.
8811 (lrint_tonearest_test_data): Remove.
8812 (lrint_test_tonearest): Likewise.
8813 (lrint_towardzero_test_data): Likewise.
8814 (lrint_test_towardzero): Likewise.
8815 (lrint_downward_test_data): Likewise.
8816 (lrint_test_downward): Likewise.
8817 (lrint_upward_test_data): Likewise.
8818 (lrint_test_upward): Likewise.
8819 (llrint_test_data): Merge in per-rounding-mode tests and results
8820 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8821 llrint_downward_test_data and llrint_upward_test_data.
8822 (llrint_test): Use ALL_RM_TEST.
8823 (llrint_tonearest_test_data): Remove.
8824 (llrint_test_tonearest): Likewise.
8825 (llrint_towardzero_test_data): Likewise.
8826 (llrint_test_towardzero): Likewise.
8827 (llrint_downward_test_data): Likewise.
8828 (llrint_test_downward): Likewise.
8829 (llrint_upward_test_data): Likewise.
8830 (llrint_test_upward): Likewise.
8831 (rint_test_data): Merge in per-rounding-mode tests and results
8832 from rint_tonearest_test_data, rint_towardzero_test_data,
8833 rint_downward_test_data and rint_upward_test_data. Add
8834 per-rounding-mode results for tests not in those arrays.
8835 (rint_test): Use ALL_RM_TEST.
8836 (rint_tonearest_test_data): Remove.
8837 (rint_test_tonearest): Likewise.
8838 (rint_towardzero_test_data): Likewise.
8839 (rint_test_towardzero): Likewise.
8840 (rint_downward_test_data): Likewise.
8841 (rint_test_downward): Likewise.
8842 (rint_upward_test_data): Likewise.
8843 (rint_test_upward): Likewise.
8844 (main): Don't call removed functions.
8846 2014-03-14 Roland McGrath <roland@hack.frob.com>
8848 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8849 "Compiled on ..." crapola. It is anti-useful.
8851 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8853 * scripts/evaluate-test.sh: Handle fourth argument to determine
8854 whether test run should stop on failure.
8855 * Makeconfig (stop-on-test-failure): New variable.
8856 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8857 $(stop-on-test-failure).
8858 * Makefile (tests): Give a summary of results from testing and
8859 exit with failure status if they include an ERROR or FAIL.
8861 * manual/install.texi (Configuring and compiling): Mention
8862 stop-on-test-failure=y.
8863 * INSTALL: Regenerated.
8865 2014-03-14 Roland McGrath <roland@hack.frob.com>
8867 * scripts/versionlist.awk: New file.
8868 * Makerules [$(build-shared) = yes]
8869 (postclean-generated): Add Versions.def, not Versions.def.v and
8871 ($(common-objpfx)Versions.def.v.i): Target removed.
8872 ($(common-objpfx)Versions.def): New target.
8873 ($(common-objpfx)Versions.all): Depend on that rather that
8874 $(common-objpfx)Versions.def.v.
8875 * Versions.def: File removed.
8877 * Makeconfig (+gccwarn): Add -Wundef.
8878 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8879 a dl-sysdep.h breaking its contract.
8880 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8881 * include/stackinfo.h: New file.
8882 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8883 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8884 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8885 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8886 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8887 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8888 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8889 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8890 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8891 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8892 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8893 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8894 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8895 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8896 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8898 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8901 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8903 * math/libm-test.inc (round_test_data): Add more tests.
8906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8908 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8911 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8913 * math/libm-test.inc (ceil_test_data): Add more tests.
8915 * math/libm-test.inc (trunc_test_data): Add more tests related to
8918 2014-03-14 Roland McGrath <roland@hack.frob.com>
8920 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8921 with #if rather than #ifdef.
8922 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8924 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8926 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8927 first. Disable AVX-512 GCC support if assembler doesn't support
8929 * sysdeps/x86_64/configure: Regenerated.
8931 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8933 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8934 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8935 (__old_pthread_attr_setstack): Likewise.
8936 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8937 [!_STACK_GROWS_DOWN]: Likewise.
8939 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8941 * config.make.in (have-bash2): Delete.
8942 * configure.ac (libc_cv_have_bash2): Delete.
8943 * configure: Regenerate.
8944 * elf/Makefile (common-ldd-rewrite): Rename to ...
8945 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8946 (sh-ldd-rewrite): Delete.
8947 (bash-ldd-rewrite): Delete.
8948 (have-bash2): Delete checks.
8949 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8952 * config.make.in (have-ksh): Delete.
8954 * configure.ac (libc_cv_have_ksh): Delete.
8955 * configure: Regenerate.
8957 * elf/Makefile: Delete $(have-ksh) check.
8958 ($(objpfx)sotruss): Change KSH to BASH.
8959 * elf/sotruss.ksh: Rename to ...
8960 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8961 function style to match POSIX. Drop ksh vim mode setting.
8963 * manual/time.texi (Specifying the Time Zone with TZ): Change
8964 Tuesday to Thursday.
8966 * debug/tst-longjmp_chk2.c: Update header comment.
8967 (stackoverflow_handler): Add comment. Call assert on pass value.
8969 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8972 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8973 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8974 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8975 (La_x86_64_vector): Add zmm.
8976 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8977 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8978 ($(objpfx)tst-audit10): New target.
8979 ($(objpfx)tst-audit10.out): Likewise.
8980 (tst-audit10-ENV): New.
8981 (AVX512-CFLAGS): Likewise.
8982 (CFLAGS-tst-audit10.c): Likewise.
8983 (CFLAGS-tst-auditmod10a.c): Likewise.
8984 (CFLAGS-tst-auditmod10b.c): Likewise.
8985 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8986 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8987 * sysdeps/x86_64/configure: Regenerated.
8988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8989 AVX-512 zmm register support.
8990 (_dl_x86_64_save_sse): Likewise.
8991 (_dl_x86_64_restore_sse): Likewise.
8992 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8993 size vector registers.
8994 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8995 (ZMM_SIZE): Likewise.
8996 * sysdeps/x86_64/tst-audit10.c: New file.
8997 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8998 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9000 2014-03-13 Roland McGrath <roland@hack.frob.com>
9002 * configure.ac (HAVE_EHDR_START): New check.
9003 * configure: Regenerated.
9004 * config.h.in (HAVE_EHDR_START): New #undef.
9005 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9006 assuming the lowest-addressed segment maps the start of the file.
9008 2014-03-13 Joseph Myers <joseph@codesourcery.com>
9010 * INSTALL: Regenerated.
9012 2014-03-13 Will Newton <will.newton@linaro.org>
9014 * manual/setjmp.texi (System V contexts): Improve
9015 clarity and grammar of documentation.
9017 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9020 * elf/Makefile (tests): Add tst-pie2.
9021 (tests-pie): Add tst-pie2.
9022 * elf/tst-pie2.c: New file.
9023 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9025 * elf/rtld.c (map_doit): Load executable as lt_executable.
9026 (dl_main): Likewise.
9028 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9031 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9032 (__ASSUME_PSELECT): Undefine.
9034 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9037 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9038 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9040 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9041 selector for static builds.
9043 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9046 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9049 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9051 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9052 IFUNC selector for static builds.
9054 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9056 * sysdeps/mips/math_private.h [__mips_hard_float]
9057 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9058 libc_feresetround_mips_ctx.
9059 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9060 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9061 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9064 * math/s_nextafter.c (__nextafter): Do not return value from
9065 overflowing computation.
9066 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9067 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9070 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9072 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9073 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9075 2014-03-11 Roland McGrath <roland@hack.frob.com>
9077 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9078 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9079 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9080 the new mov targetting sp.
9082 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9085 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9086 Define it for static builds as well.
9087 (NO_BZERO_IMPL): Likewise.
9089 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9091 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9092 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9093 multiarch strspn for PPC64.
9094 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9095 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9097 (__libc_ifunc_impl_list): Likewise.
9098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9099 multiarch optimizations
9100 * string/strspn.c (strspn): Using macro to redefine symbol name.
9102 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9103 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9105 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9106 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9107 multiarch strncat for PPC64.
9108 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9109 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9111 (__libc_ifunc_impl_list): Likewise.
9112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9113 multiarch optimizations
9115 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9118 * nscd/nscd.service: Make service type forking.
9120 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9122 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9123 sign in non default rounding modes.
9124 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9126 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9128 * math/libm-test.inc (ALL_RM_TEST): New macro.
9129 (ceil_test): Use ALL_RM_TEST.
9130 (cimag_test): Likewise.
9131 (conj_test): Likewise.
9132 (copysign_test): Likewise.
9133 (cproj_test): Likewise.
9134 (creal_test): Likewise.
9135 (fabs_test): Likewise.
9136 (floor_test): Likewise.
9137 (fmax_test): Likewise.
9138 (fmin_test): Likewise.
9139 (fmod_test): Likewise.
9140 (fpclassify_test): Likewise.
9141 (frexp_test): Likewise.
9142 (ilogb_test): Likewise.
9143 (isfinite_test): Likewise.
9144 (finite_test): Likewise.
9145 (isgreater_test): Likewise.
9146 (isgreaterequal_test): Likewise.
9147 (isinf_test): Likewise.
9148 (isless_test): Likewise.
9149 (islessequal_test): Likewise.
9150 (islessgreater_test): Likewise.
9151 (isnan_test): Likewise.
9152 (isnormal_test): Likewise.
9153 (issignaling_test): Likewise.
9154 (isunordered_test): Likewise.
9155 (logb_test): Likewise.
9156 (logb_downward_test_data): Remove.
9157 (logb_test_downward): Likewise.
9158 (lround_test): Use ALL_RM_TEST.
9159 (llround_test): Likewise.
9160 (modf_test): Likewise.
9161 (nexttoward_test): Likewise.
9162 (remainder_test): Likewise.
9163 (drem_test): Likewise.
9164 (remainder_tonearest_test_data): Likewise.
9165 (remainder_test_tonearest): Likewise.
9166 (drem_test_tonearest): Likewise.
9167 (remainder_towardzero_test_data): Likewise.
9168 (remainder_test_towardzero): Likewise.
9169 (drem_test_towardzero): Likewise.
9170 (remainder_downward_test_data): Likewise.
9171 (remainder_test_downward): Likewise.
9172 (drem_test_downward): Likewise.
9173 (remainder_upward_test_data): Likewise.
9174 (remainder_test_upward): Likewise.
9175 (drem_test_upward): Likewise.
9176 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9177 (round_test): Use ALL_RM_TEST.
9178 (signbit_test): Likewise.
9179 (trunc_test): Likewise.
9180 (significand_test): Likewise.
9181 (main): Don't call removed functions.
9183 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9186 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9188 (ILL_ILLOPN): Likewise.
9189 (ILL_ILLADR): Likewise.
9190 (ILL_ILLTRP): Likewise.
9191 (ILL_PRVOPC): Likewise.
9192 (ILL_PRVREG): Likewise.
9193 (ILL_COPROC): Likewise.
9194 (ILL_BADSTK): Likewise.
9195 (FPE_INTDIV): Likewise.
9196 (FPE_INTOVF): Likewise.
9197 (FPE_FLTDIV): Likewise.
9198 (FPE_FLTOVF): Likewise.
9199 (FPE_FLTUND): Likewise.
9200 (FPE_FLTRES): Likewise.
9201 (FPE_FLTINV): Likewise.
9202 (FPE_FLTSUB): Likewise.
9203 (SEGV_MAPERR): Likewise.
9204 (SEGV_ACCERR): Likewise.
9205 (BUS_ADRALN): Likewise.
9206 (BUS_ADRERR): Likewise.
9207 (BUS_OBJERR): Likewise.
9208 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9209 (TRAP_TRACE): Likewise.
9210 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9212 (CLD_KILLED): Likewise.
9213 (CLD_DUMPED): Likewise.
9214 (CLD_TRAPPED): Likewise.
9215 (CLD_STOPPED): Likewise.
9216 (CLD_CONTINUED): Likewise.
9217 (POLL_IN): Likewise.
9218 (POLL_OUT): Likewise.
9219 (POLL_MSG): Likewise.
9220 (POLL_ERR): Likewise.
9221 (POLL_PRI): Likewise.
9222 (POLL_HUP): Likewise.
9223 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9225 (ILL_ILLOPN): Likewise.
9226 (ILL_ILLADR): Likewise.
9227 (ILL_ILLTRP): Likewise.
9228 (ILL_PRVOPC): Likewise.
9229 (ILL_PRVREG): Likewise.
9230 (ILL_COPROC): Likewise.
9231 (ILL_BADSTK): Likewise.
9232 (FPE_INTDIV): Likewise.
9233 (FPE_INTOVF): Likewise.
9234 (FPE_FLTDIV): Likewise.
9235 (FPE_FLTOVF): Likewise.
9236 (FPE_FLTUND): Likewise.
9237 (FPE_FLTRES): Likewise.
9238 (FPE_FLTINV): Likewise.
9239 (FPE_FLTSUB): Likewise.
9240 (SEGV_MAPERR): Likewise.
9241 (SEGV_ACCERR): Likewise.
9242 (BUS_ADRALN): Likewise.
9243 (BUS_ADRERR): Likewise.
9244 (BUS_OBJERR): Likewise.
9245 (BUS_MCEERR_AR): Likewise.
9246 (BUS_MCEERR_AO): Likewise.
9247 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9248 (TRAP_TRACE): Likewise.
9249 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9251 (CLD_KILLED): Likewise.
9252 (CLD_DUMPED): Likewise.
9253 (CLD_TRAPPED): Likewise.
9254 (CLD_STOPPED): Likewise.
9255 (CLD_CONTINUED): Likewise.
9256 (POLL_IN): Likewise.
9257 (POLL_OUT): Likewise.
9258 (POLL_MSG): Likewise.
9259 (POLL_ERR): Likewise.
9260 (POLL_PRI): Likewise.
9261 (POLL_HUP): Likewise.
9262 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9263 (ILL_ILLOPN): Likewise.
9264 (ILL_ILLADR): Likewise.
9265 (ILL_ILLTRP): Likewise.
9266 (ILL_PRVOPC): Likewise.
9267 (ILL_PRVREG): Likewise.
9268 (ILL_COPROC): Likewise.
9269 (ILL_BADSTK): Likewise.
9270 (FPE_INTDIV): Likewise.
9271 (FPE_INTOVF): Likewise.
9272 (FPE_FLTDIV): Likewise.
9273 (FPE_FLTOVF): Likewise.
9274 (FPE_FLTUND): Likewise.
9275 (FPE_FLTRES): Likewise.
9276 (FPE_FLTINV): Likewise.
9277 (FPE_FLTSUB): Likewise.
9278 (SEGV_MAPERR): Likewise.
9279 (SEGV_ACCERR): Likewise.
9280 (BUS_ADRALN): Likewise.
9281 (BUS_ADRERR): Likewise.
9282 (BUS_OBJERR): Likewise.
9283 (BUS_MCEERR_AR): Likewise.
9284 (BUS_MCEERR_AO): Likewise.
9285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9286 (TRAP_TRACE): Likewise.
9287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9289 (CLD_KILLED): Likewise.
9290 (CLD_DUMPED): Likewise.
9291 (CLD_TRAPPED): Likewise.
9292 (CLD_STOPPED): Likewise.
9293 (CLD_CONTINUED): Likewise.
9294 (POLL_IN): Likewise.
9295 (POLL_OUT): Likewise.
9296 (POLL_MSG): Likewise.
9297 (POLL_ERR): Likewise.
9298 (POLL_PRI): Likewise.
9299 (POLL_HUP): Likewise.
9300 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9302 (ILL_ILLOPN): Likewise.
9303 (ILL_ILLADR): Likewise.
9304 (ILL_ILLTRP): Likewise.
9305 (ILL_PRVOPC): Likewise.
9306 (ILL_PRVREG): Likewise.
9307 (ILL_COPROC): Likewise.
9308 (ILL_BADSTK): Likewise.
9309 (ILL_BADIADDR): Likewise.
9310 (ILL_BREAK): Likewise.
9311 (FPE_INTDIV): Likewise.
9312 (FPE_INTOVF): Likewise.
9313 (FPE_FLTDIV): Likewise.
9314 (FPE_FLTOVF): Likewise.
9315 (FPE_FLTUND): Likewise.
9316 (FPE_FLTRES): Likewise.
9317 (FPE_FLTINV): Likewise.
9318 (FPE_FLTSUB): Likewise.
9319 (FPE_DECOVF): Likewise.
9320 (FPE_DECDIV): Likewise.
9321 (FPE_DECERR): Likewise.
9322 (FPE_INVASC): Likewise.
9323 (FPE_INVDEC): Likewise.
9324 (SEGV_MAPERR): Likewise.
9325 (SEGV_ACCERR): Likewise.
9326 (SEGV_PSTKOVF): Likewise.
9327 (BUS_ADRALN): Likewise.
9328 (BUS_ADRERR): Likewise.
9329 (BUS_OBJERR): Likewise.
9330 (BUS_MCEERR_AR): Likewise.
9331 (BUS_MCEERR_AO): Likewise.
9332 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9333 (TRAP_TRACE): Likewise.
9334 (TRAP_BRANCH): Likewise.
9335 (TRAP_HWBKPT): Likewise.
9336 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9338 (CLD_KILLED): Likewise.
9339 (CLD_DUMPED): Likewise.
9340 (CLD_TRAPPED): Likewise.
9341 (CLD_STOPPED): Likewise.
9342 (CLD_CONTINUED): Likewise.
9343 (POLL_IN): Likewise.
9344 (POLL_OUT): Likewise.
9345 (POLL_MSG): Likewise.
9346 (POLL_ERR): Likewise.
9347 (POLL_PRI): Likewise.
9348 (POLL_HUP): Likewise.
9349 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9350 (ILL_ILLOPN): Likewise.
9351 (ILL_ILLADR): Likewise.
9352 (ILL_ILLTRP): Likewise.
9353 (ILL_PRVOPC): Likewise.
9354 (ILL_PRVREG): Likewise.
9355 (ILL_COPROC): Likewise.
9356 (ILL_BADSTK): Likewise.
9357 (FPE_INTDIV): Likewise.
9358 (FPE_INTOVF): Likewise.
9359 (FPE_FLTDIV): Likewise.
9360 (FPE_FLTOVF): Likewise.
9361 (FPE_FLTUND): Likewise.
9362 (FPE_FLTRES): Likewise.
9363 (FPE_FLTINV): Likewise.
9364 (FPE_FLTSUB): Likewise.
9365 (SEGV_MAPERR): Likewise.
9366 (SEGV_ACCERR): Likewise.
9367 (BUS_ADRALN): Likewise.
9368 (BUS_ADRERR): Likewise.
9369 (BUS_OBJERR): Likewise.
9370 (BUS_MCEERR_AR): Likewise.
9371 (BUS_MCEERR_AO): Likewise.
9372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9373 (TRAP_TRACE): Likewise.
9374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9376 (CLD_KILLED): Likewise.
9377 (CLD_DUMPED): Likewise.
9378 (CLD_TRAPPED): Likewise.
9379 (CLD_STOPPED): Likewise.
9380 (CLD_CONTINUED): Likewise.
9381 (POLL_IN): Likewise.
9382 (POLL_OUT): Likewise.
9383 (POLL_MSG): Likewise.
9384 (POLL_ERR): Likewise.
9385 (POLL_PRI): Likewise.
9386 (POLL_HUP): Likewise.
9387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9388 (ILL_ILLOPN): Likewise.
9389 (ILL_ILLADR): Likewise.
9390 (ILL_ILLTRP): Likewise.
9391 (ILL_PRVOPC): Likewise.
9392 (ILL_PRVREG): Likewise.
9393 (ILL_COPROC): Likewise.
9394 (ILL_BADSTK): Likewise.
9395 (FPE_INTDIV): Likewise.
9396 (FPE_INTOVF): Likewise.
9397 (FPE_FLTDIV): Likewise.
9398 (FPE_FLTOVF): Likewise.
9399 (FPE_FLTUND): Likewise.
9400 (FPE_FLTRES): Likewise.
9401 (FPE_FLTINV): Likewise.
9402 (FPE_FLTSUB): Likewise.
9403 (SEGV_MAPERR): Likewise.
9404 (SEGV_ACCERR): Likewise.
9405 (BUS_ADRALN): Likewise.
9406 (BUS_ADRERR): Likewise.
9407 (BUS_OBJERR): Likewise.
9408 (BUS_MCEERR_AR): Likewise.
9409 (BUS_MCEERR_AO): Likewise.
9410 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9411 (TRAP_TRACE): Likewise.
9412 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9414 (CLD_KILLED): Likewise.
9415 (CLD_DUMPED): Likewise.
9416 (CLD_TRAPPED): Likewise.
9417 (CLD_STOPPED): Likewise.
9418 (CLD_CONTINUED): Likewise.
9419 (POLL_IN): Likewise.
9420 (POLL_OUT): Likewise.
9421 (POLL_MSG): Likewise.
9422 (POLL_ERR): Likewise.
9423 (POLL_PRI): Likewise.
9424 (POLL_HUP): Likewise.
9425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9426 (ILL_ILLOPN): Likewise.
9427 (ILL_ILLADR): Likewise.
9428 (ILL_ILLTRP): Likewise.
9429 (ILL_PRVOPC): Likewise.
9430 (ILL_PRVREG): Likewise.
9431 (ILL_COPROC): Likewise.
9432 (ILL_BADSTK): Likewise.
9433 (FPE_INTDIV): Likewise.
9434 (FPE_INTOVF): Likewise.
9435 (FPE_FLTDIV): Likewise.
9436 (FPE_FLTOVF): Likewise.
9437 (FPE_FLTUND): Likewise.
9438 (FPE_FLTRES): Likewise.
9439 (FPE_FLTINV): Likewise.
9440 (FPE_FLTSUB): Likewise.
9441 (SEGV_MAPERR): Likewise.
9442 (SEGV_ACCERR): Likewise.
9443 (BUS_ADRALN): Likewise.
9444 (BUS_ADRERR): Likewise.
9445 (BUS_OBJERR): Likewise.
9446 (BUS_MCEERR_AR): Likewise.
9447 (BUS_MCEERR_AO): Likewise.
9448 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9449 (TRAP_TRACE): Likewise.
9450 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9452 (CLD_KILLED): Likewise.
9453 (CLD_DUMPED): Likewise.
9454 (CLD_TRAPPED): Likewise.
9455 (CLD_STOPPED): Likewise.
9456 (CLD_CONTINUED): Likewise.
9457 (POLL_IN): Likewise.
9458 (POLL_OUT): Likewise.
9459 (POLL_MSG): Likewise.
9460 (POLL_ERR): Likewise.
9461 (POLL_PRI): Likewise.
9462 (POLL_HUP): Likewise.
9463 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9464 (ILL_ILLOPN): Likewise.
9465 (ILL_ILLADR): Likewise.
9466 (ILL_ILLTRP): Likewise.
9467 (ILL_PRVOPC): Likewise.
9468 (ILL_PRVREG): Likewise.
9469 (ILL_COPROC): Likewise.
9470 (ILL_BADSTK): Likewise.
9471 (ILL_DBLFLT): Likewise.
9472 (ILL_HARDWALL): Likewise.
9473 (FPE_INTDIV): Likewise.
9474 (FPE_INTOVF): Likewise.
9475 (FPE_FLTDIV): Likewise.
9476 (FPE_FLTOVF): Likewise.
9477 (FPE_FLTUND): Likewise.
9478 (FPE_FLTRES): Likewise.
9479 (FPE_FLTINV): Likewise.
9480 (FPE_FLTSUB): Likewise.
9481 (SEGV_MAPERR): Likewise.
9482 (SEGV_ACCERR): Likewise.
9483 (BUS_ADRALN): Likewise.
9484 (BUS_ADRERR): Likewise.
9485 (BUS_OBJERR): Likewise.
9486 (BUS_MCEERR_AR): Likewise.
9487 (BUS_MCEERR_AO): Likewise.
9488 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9489 (TRAP_TRACE): Likewise.
9490 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9492 (CLD_KILLED): Likewise.
9493 (CLD_DUMPED): Likewise.
9494 (CLD_TRAPPED): Likewise.
9495 (CLD_STOPPED): Likewise.
9496 (CLD_CONTINUED): Likewise.
9497 (POLL_IN): Likewise.
9498 (POLL_OUT): Likewise.
9499 (POLL_MSG): Likewise.
9500 (POLL_ERR): Likewise.
9501 (POLL_PRI): Likewise.
9502 (POLL_HUP): Likewise.
9503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9504 (ILL_ILLOPN): Likewise.
9505 (ILL_ILLADR): Likewise.
9506 (ILL_ILLTRP): Likewise.
9507 (ILL_PRVOPC): Likewise.
9508 (ILL_PRVREG): Likewise.
9509 (ILL_COPROC): Likewise.
9510 (ILL_BADSTK): Likewise.
9511 (FPE_INTDIV): Likewise.
9512 (FPE_INTOVF): Likewise.
9513 (FPE_FLTDIV): Likewise.
9514 (FPE_FLTOVF): Likewise.
9515 (FPE_FLTUND): Likewise.
9516 (FPE_FLTRES): Likewise.
9517 (FPE_FLTINV): Likewise.
9518 (FPE_FLTSUB): Likewise.
9519 (SEGV_MAPERR): Likewise.
9520 (SEGV_ACCERR): Likewise.
9521 (BUS_ADRALN): Likewise.
9522 (BUS_ADRERR): Likewise.
9523 (BUS_OBJERR): Likewise.
9524 (BUS_MCEERR_AR): Likewise.
9525 (BUS_MCEERR_AO): Likewise.
9526 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9527 (TRAP_TRACE): Likewise.
9528 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9530 (CLD_KILLED): Likewise.
9531 (CLD_DUMPED): Likewise.
9532 (CLD_TRAPPED): Likewise.
9533 (CLD_STOPPED): Likewise.
9534 (CLD_CONTINUED): Likewise.
9535 (POLL_IN): Likewise.
9536 (POLL_OUT): Likewise.
9537 (POLL_MSG): Likewise.
9538 (POLL_ERR): Likewise.
9539 (POLL_PRI): Likewise.
9540 (POLL_HUP): Likewise.
9541 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9542 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9545 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9546 before #include of <time.h>.
9547 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9548 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9549 (test-xfail-UNIX98/sched.h/conform): Likewise.
9551 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9553 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9554 error absence of trapping exception support.
9555 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9557 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9559 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9560 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9561 * timezone/Makefile (testdata): Move definition above include of
9563 (test-zones): New variable.
9564 (tests-special): Add zone files.
9565 (build-testdata): Use $(evaluate-test).
9567 * elf/Makefile (tests-special): Rename tests to end with .out.
9568 ($(objpfx)noload-mem): Likewise.
9569 ($(objpfx)tst-leaks1-mem): Likewise.
9570 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9571 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9572 $(objpfx)test-iconvconfig.out.
9573 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9574 set -e inside subshell and redirect output to file.
9575 * iconvdata/Makefile (generated): Rename tests to end with .out.
9577 (tests-special): Rename tests to end with .out.
9578 ($(objpfx)mtrace-tst-loading): Likewise.
9579 * intl/Makefile (generated): Likewise.
9580 (tests-special): Likewise.
9581 ($(objpfx)mtrace-tst-gettext): Likewise.
9582 * misc/Makefile (generated): Likewise.
9583 (tests-special): Likewise.
9584 ($(objpfx)tst-error1-mem): Likewise.
9585 * nptl/Makefile (tests-special): Likewise.
9586 ($(objpfx)tst-stack3-mem): Likewise.
9587 (generated): Likewise.
9588 * posix/Makefile (generated): Likewise.
9589 (tests-special): Likewise.
9590 (xtests-special): Likewise.
9591 ($(objpfx)tst-fnmatch-mem): Likewise.
9592 ($(objpfx)bug-regex2-mem): Likewise.
9593 ($(objpfx)bug-regex14-mem): Likewise.
9594 ($(objpfx)bug-regex21-mem): Likewise.
9595 ($(objpfx)bug-regex31-mem): Likewise.
9596 ($(objpfx)tst-vfork3-mem): Likewise.
9597 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9598 ($(objpfx)tst-pcre-mem): Likewise.
9599 ($(objpfx)tst-boost-mem): Likewise.
9600 ($(objpfx)bug-ga2-mem): Likewise.
9601 ($(objpfx)bug-glob2-mem): Likewise.
9602 * resolv/Makefile (generate): Likewise.
9603 (tests-special): Likewise.
9604 (xtests-special): Likewise.
9605 (generated): Likewise.
9606 ($(objpfx)mtrace-tst-leaks): Likewise.
9607 ($(objpfx)mtrace-tst-leaks2): Likewise.
9609 * scripts/merge-test-results.sh: New file.
9610 * Makefile (tests-special-notdir): New variable.
9611 (tests): Run merge-test-results.sh.
9613 * Rules (tests-special-notdir): New variable.
9614 (xtests-special-notdir): Likewise.
9615 (tests): Run merge-test-results.sh
9618 * Makeconfig (test-xfail-name): New variable.
9619 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9620 compute variable name for expected failures.
9621 * conform/Makefile (conformtest-headers-data): New variable.
9622 (conformtest-standards): Likewise.
9623 (conformtest-headers-ISO): Likewise.
9624 (conformtest-headers-ISO99): Likewise.
9625 (conformtest-headers-ISO11): Likewise.
9626 (conformtest-headers-POSIX): Likewise.
9627 (conformtest-headers-XPG3): Likewise.
9628 (conformtest-headers-XPG4): Likewise.
9629 (conformtest-headers-UNIX98): Likewise.
9630 (conformtest-headers-XOPEN2K): Likewise.
9631 (conformtest-headers-POSIX2008): Likewise.
9632 (conformtest-headers-XOPEN2K8): Likewise.
9633 (conformtest-header-list-base): Likewise.
9634 (conformtest-header-list-tests): Likewise.
9635 (conformtest-header-base): Likewise.
9636 (conformtest-header-tests): Likewise.
9637 (tests-special): Add $(conformtest-header-list-tests). If
9638 [$(fast-check) && !$(cross-compiling)], add
9639 $(conformtest-header-tests) instead of
9640 $(objpfx)run-conformtest.out.
9641 (generated): Add $(conformtest-header-list-base). If
9642 [$(fast-check) && !$(cross-compiling)], add
9643 $(conformtest-header-base). Remove previous setting.
9644 ($(conformtest-header-list-tests)): New target.
9645 (test-xfail-run-conformtest): Remove variable.
9646 ($(objpfx)run-conformtest.out): Remove target.
9647 (test-xfail-ISO11/complex.h/conform): New variable.
9648 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9649 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9650 (test-xfail-XPG3/varargs.h/conform): Likewise.
9651 (test-xfail-XPG4/varargs.h/conform): Likewise.
9652 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9653 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9654 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9655 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9656 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9657 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9658 (test-xfail-XPG3/ftw.h/conform): Likewise.
9659 (test-xfail-XPG3/grp.h/conform): Likewise.
9660 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9661 (test-xfail-XPG3/limits.h/conform): Likewise.
9662 (test-xfail-XPG3/pwd.h/conform): Likewise.
9663 (test-xfail-XPG3/search.h/conform): Likewise.
9664 (test-xfail-XPG3/signal.h/conform): Likewise.
9665 (test-xfail-XPG3/stdio.h/conform): Likewise.
9666 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9667 (test-xfail-XPG3/string.h/conform): Likewise.
9668 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9669 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9670 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9671 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9672 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9673 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9674 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9675 (test-xfail-XPG3/termios.h/conform): Likewise.
9676 (test-xfail-XPG3/time.h/conform): Likewise.
9677 (test-xfail-XPG3/unistd.h/conform): Likewise.
9678 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9679 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9680 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9681 (test-xfail-XPG4/netdb.h/conform): Likewise.
9682 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9683 (test-xfail-XPG4/signal.h/conform): Likewise.
9684 (test-xfail-XPG4/stdio.h/conform): Likewise.
9685 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9686 (test-xfail-XPG4/stropts.h/conform): Likewise.
9687 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9688 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9689 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9690 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9691 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9692 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9693 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9694 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9695 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9696 (test-xfail-XPG4/termios.h/conform): Likewise.
9697 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9698 (test-xfail-XPG4/unistd.h/conform): Likewise.
9699 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9700 (test-xfail-POSIX/sched.h/conform): Likewise.
9701 (test-xfail-POSIX/signal.h/conform): Likewise.
9702 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9703 (test-xfail-POSIX/tar.h/conform): Likewise.
9704 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9705 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9706 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9707 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9708 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9709 (test-xfail-UNIX98/sched.h/conform): Likewise.
9710 (test-xfail-UNIX98/signal.h/conform): Likewise.
9711 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9712 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9713 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9714 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9715 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9716 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9717 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9718 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9719 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9720 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9721 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9722 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9723 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9724 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9725 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9726 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9727 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9728 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9729 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9730 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9731 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9732 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9733 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9734 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9735 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9736 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9737 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9738 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9739 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9740 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9741 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9742 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9743 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9744 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9745 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9746 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9747 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9748 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9749 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9750 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9751 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9752 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9753 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9754 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9755 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9756 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9757 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9758 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9759 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9760 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9761 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9762 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9763 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9764 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9765 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9766 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9767 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9768 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9769 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9770 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9771 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9772 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9773 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9774 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9775 (conformtest-cc-flags): Likewise.
9776 ($(conformtest-header-tests): New target.
9777 * conform/check-header-lists.sh: New file.
9778 * conform/run-conformtest.sh: Remove.
9780 * conform/conformtest.pl: Allow ' and \ in values given for
9782 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9784 [POSIX] (sys/types.h): Likewise.
9785 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9787 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9789 * conform/data/signal.h-data (SIGIO): Remove expectation.
9790 [XPG3] (SIGBUS): Do not expect.
9791 [POSIX || XPG3] (SIGPOLL): Likewise.
9792 [POSIX || XPG3] (SIGPROF): Likewise.
9793 [POSIX || XPG3] (SIGSYS): Likewise.
9794 [XPG3] (SIGTRAP): Likewise.
9795 [POSIX || XPG3] (SIGURG): Likewise.
9796 [POSIX || XPG3] (SIGVTALRM): Likewise.
9797 [POSIX || XPG3] (SIGXCPU): Likewise.
9798 [POSIX || XPG3] (SIGXFSZ): Likewise.
9799 [POSIX] (SA_SIGINFO): Expect.
9800 [XPG3] (siginfo_t): Do not expect type or contents.
9801 [POSIX] (si_pid): Do not expect element.
9802 [POSIX] (si_uid): Likewise.
9803 [POSIX] (si_addr): Likewise.
9804 [POSIX] (si_status): Likewise.
9805 [POSIX] (si_band): Likewise.
9806 [XPG4] (si_value): Likewise.
9807 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9808 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9809 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9810 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9811 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9812 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9813 [POSIX || XPG3] (ILL_COPROC): Likewise.
9814 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9815 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9816 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9817 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9818 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9819 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9820 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9821 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9822 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9823 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9824 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9825 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9826 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9827 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9828 [POSIX || XPG3] (CLD_EXITED): Likewise.
9829 [POSIX || XPG3] (CLD_KILLED): Likewise.
9830 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9831 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9832 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9833 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9834 [POSIX || XPG3] (POLL_IN): Likewise.
9835 [POSIX || XPG3] (POLL_OUT): Likewise.
9836 [POSIX || XPG3] (POLL_MSG): Likewise.
9837 [POSIX || XPG3] (POLL_ERR): Likewise.
9838 [POSIX || XPG3] (POLL_PRI): Likewise.
9839 [POSIX || XPG3] (POLL_HUP): Likewise.
9840 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9841 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9842 (SIG*): Do not allow.
9843 [XPG3] (si_*): Likewise.
9844 [XPG3] (SI_*): Likewise.
9845 [XPG3 || XPG4] (sigev_*): Likewise.
9846 [XPG3 || XPG4] (SIGEV_*): Likewise.
9847 [XPG3 || XPG4] (sival_*): Likewise.
9848 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9849 [POSIX || XPG3] (BUS_*): Likewise.
9850 [POSIX || XPG3] (CLD_*): Likewise.
9851 [POSIX || XPG3] (FPE_*): Likewise.
9852 [POSIX || XPG3] (ILL_*): Likewise.
9853 [POSIX || XPG3] (POLL_*): Likewise.
9854 [POSIX || XPG3] (SEGV_*): Likewise.
9855 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9856 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9857 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9858 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9859 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9860 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9861 Specify type and value.
9862 (TVERSLEN): Likewise.
9863 (REGTYPE): Likewise.
9864 (AREGTYPE): Likewise.
9865 (LNKTYPE): Likewise.
9866 (SYMTYPE): Likewise.
9867 (CHRTYPE): Likewise.
9868 (BLKTYPE): Likewise.
9869 (DIRTYPE): Likewise.
9870 (FIFOTYPE): Likewise.
9871 (CONTTYPE): Likewise.
9876 (TUWRITE): Likewise.
9879 (TGWRITE): Likewise.
9882 (TOWRITE): Likewise.
9884 [POSIX] (TSVTX): Expect constant.
9886 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9888 * Makefile (tests): Change dependencies to ....
9889 (tests-special): ... additions to this variable.
9890 (tests): Depend on $(tests-special).
9891 * Makerules (check-abi-list): New variable.
9892 (check-abi): Depend on $(check-abi-list).
9893 [$(subdir) = elf] (tests-special): Add
9894 $(objpfx)check-abi-libc.out.
9895 [$(build-shared) = yes && subdir] (tests-special): Add
9897 [$(build-shared) = yes && subdir] (tests): Do not depend on
9899 * Rules (tests): Depend on $(tests-special).
9900 (xtests): Depend on $(xtests-special).
9901 * catgets/Makefile (tests): Change dependencies to ....
9902 (tests-special): ... additions to this variable.
9903 * conform/Makefile (tests): Change dependencies to ....
9904 (tests-special): ... additions to this variable.
9905 * elf/Makefile (tests): Change dependencies to ....
9906 (tests-special): ... additions to this variable.
9907 * grp/Makefile (tests): Change dependencies to ....
9908 (tests-special): ... additions to this variable.
9909 * iconv/Makefile (xtests): Change dependencies to ....
9910 (xtests-special): ... additions to this variable.
9911 * iconvdata/Makefile (tests): Change dependencies to ....
9912 (tests-special): ... additions to this variable.
9913 * intl/Makefile (tests): Change dependencies to ....
9914 (tests-special): ... additions to this variable. Also add
9915 $(objpfx)tst-gettext.out.
9916 * io/Makefile (tests): Change dependencies to ....
9917 (tests-special): ... additions to this variable.
9918 * libio/Makefile (tests): Change dependencies to ....
9919 (tests-special): ... additions to this variable.
9920 * malloc/Makefile (tests): Change dependencies to ....
9921 (tests-special): ... additions to this variable.
9922 * misc/Makefile (tests): Change dependencies to ....
9923 (tests-special): ... additions to this variable.
9924 * nptl/Makefile (tests): Change dependencies to ....
9925 (tests-special): ... additions to this variable.
9926 * nptl_db/Makefile (tests): Change dependencies to ....
9927 (tests-special): ... additions to this variable.
9928 * posix/Makefile (tests): Change dependencies to ....
9929 (tests-special): ... additions to this variable.
9930 (xtests): Change dependencies to ....
9931 (xtests-special): ... additions to this variable.
9932 * resolv/Makefile (tests): Change dependencies to ....
9933 (tests-special): ... additions to this variable.
9934 (xtests): Change dependencies to ....
9935 (xtests-special): ... additions to this variable.
9936 * stdio-common/Makefile (tests): Change dependencies to ....
9937 (tests-special): ... additions to this variable.
9938 (do-tst-unbputc): Remove target.
9939 (do-tst-printf): Likewise.
9940 * stdlib/Makefile (tests): Change dependencies to ....
9941 (tests-special): ... additions to this variable.
9942 * string/Makefile (tests): Change dependencies to ....
9943 (tests-special): ... additions to this variable.
9944 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9945 (tests-special): ... additions to this variable.
9947 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9949 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9951 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9952 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9954 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9955 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9956 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9957 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9958 * conform/data/libgen.h-data [XPG3]: Likewise.
9959 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9960 * conform/data/ndbm.h-data [XPG3]: Likewise.
9961 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9962 * conform/data/netdb.h-data [XPG3]: Likewise.
9963 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9964 * conform/data/poll.h-data [XPG3]: Likewise.
9965 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9966 * conform/data/strings.h-data [XPG3]: Likewise.
9967 * conform/data/stropts.h-data [XPG3]: Likewise.
9968 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9969 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9970 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9972 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9973 * conform/data/sys/time.h-data [XPG3]: Likewise.
9974 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9975 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9976 * conform/data/sys/un.h-data [XPG3]: Likewise.
9977 * conform/data/syslog.h-data [XPG3]: Likewise.
9978 * conform/data/ucontext.h-data [XPG3]: Likewise.
9979 * conform/data/utmpx.h-data [XPG3]: Likewise.
9980 * conform/data/varargs.h-data [UNIX98]: Enable file.
9982 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9984 * math/libm-test.inc (struct test_f_f_data): Move expected results
9985 into structure for each rounding mode.
9986 (struct test_ff_f_data): Likewise.
9987 (struct test_ff_f_data_nexttoward): Likewise.
9988 (struct test_fi_f_data): Likewise.
9989 (struct test_fl_f_data): Likewise.
9990 (struct test_if_f_data): Likewise.
9991 (struct test_fff_f_data): Likewise.
9992 (struct test_c_f_data): Likewise.
9993 (struct test_f_f1_data): Likewise.
9994 (struct test_fF_f1_data): Likewise.
9995 (struct test_ffI_f1_data): Likewise.
9996 (struct test_c_c_data): Likewise.
9997 (struct test_cc_c_data): Likewise.
9998 (struct test_f_i_data): Likewise.
9999 (struct test_ff_i_data): Likewise.
10000 (struct test_f_l_data): Likewise.
10001 (struct test_f_L_data): Likewise.
10002 (struct test_fFF_11_data): Likewise.
10004 (RM_FE_DOWNWARD): Likewise.
10005 (RM_FE_TONEAREST): Likewise.
10006 (RM_FE_TOWARDZERO): Likewise.
10007 (RM_FE_UPWARD): Likewise.
10008 (RUN_TEST_LOOP_f_f): Update references to expected results.
10009 (RUN_TEST_LOOP_2_f): Likewise.
10010 (RUN_TEST_LOOP_fff_f): Likewise.
10011 (RUN_TEST_LOOP_c_f): Likewise.
10012 (RUN_TEST_LOOP_f_f1): Likewise.
10013 (RUN_TEST_LOOP_fF_f1): Likewise.
10014 (RUN_TEST_LOOP_fI_f1): Likewise.
10015 (RUN_TEST_LOOP_ffI_f1): Likewise.
10016 (RUN_TEST_LOOP_c_c): Likewise.
10017 (RUN_TEST_LOOP_cc_c): Likewise.
10018 (RUN_TEST_LOOP_f_i): Likewise.
10019 (RUN_TEST_LOOP_f_i_tg): Likewise.
10020 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10021 (RUN_TEST_LOOP_f_b): Likewise.
10022 (RUN_TEST_LOOP_f_b_tg): Likewise.
10023 (RUN_TEST_LOOP_f_l): Likewise.
10024 (RUN_TEST_LOOP_f_L): Likewise.
10025 (RUN_TEST_LOOP_fFF_11): Likewise.
10026 * math/gen-libm-test.pl (parse_args): Output four copies of
10027 expected results for each test.
10029 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10030 (__ASSUME_UTIMES): Remove.
10031 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10032 (__ASSUME_UTIMES): Likewise.
10034 * math/gen-auto-libm-tests.c: Update comment on output format.
10035 (output_for_one_input_case): Generate before-rounding and
10036 after-rounding information as conditions on output flags not
10037 floating-point format.
10038 * math/auto-libm-test-out: Regenerated.
10039 * math/gen-libm-test.pl (cond_value): New function.
10040 (or_cond_value): Use cond_value.
10041 (generate_testfile): Handle conditional exceptions.
10043 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10045 * math/libm-test.inc (max_valid_error): New variable.
10046 (init_max_error): Take new argument specifying whether function
10047 results are exactly determined. Set max_valid_error and bound
10048 other variables for errors based on this argument.
10049 (set_max_error): Do not record results above max_valid_error.
10050 (check_float_internal): Only accept errors of up to 0.5ulps if
10051 also at most max_valid_error.
10052 (START): Take new argument EXACT and pass it to init_max_error.
10053 (acos_test): Update call to START.
10054 (acos_test_tonearest): Likewise.
10055 (acos_test_towardzero): Likewise.
10056 (acos_test_downward): Likewise.
10057 (acos_test_upward): Likewise.
10058 (acosh_test): Likewise.
10059 (asin_test): Likewise.
10060 (asin_test_tonearest): Likewise.
10061 (asin_test_towardzero): Likewise.
10062 (asin_test_downward): Likewise.
10063 (asin_test_upward): Likewise.
10064 (asinh_test): Likewise.
10065 (atan_test): Likewise.
10066 (atanh_test): Likewise.
10067 (atan2_test): Likewise.
10068 (cabs_test): Likewise.
10069 (cacos_test): Likewise.
10070 (cacosh_test): Likewise.
10071 (carg_test): Likewise.
10072 (casin_test): Likewise.
10073 (casinh_test): Likewise.
10074 (catan_test): Likewise.
10075 (catanh_test): Likewise.
10076 (cbrt_test): Likewise.
10077 (ccos_test): Likewise.
10078 (ccosh_test): Likewise.
10079 (ceil_test): Likewise.
10080 (cexp_test): Likewise.
10081 (cimag_test): Likewise.
10082 (clog_test): Likewise.
10083 (clog10_test): Likewise.
10084 (conj_test): Likewise.
10085 (copysign_test): Likewise.
10086 (cos_test): Likewise.
10087 (cos_test_tonearest): Likewise.
10088 (cos_test_towardzero): Likewise.
10089 (cos_test_downward): Likewise.
10090 (cos_test_upward): Likewise.
10091 (cosh_test): Likewise.
10092 (cosh_test_tonearest): Likewise.
10093 (cosh_test_towardzero): Likewise.
10094 (cosh_test_downward): Likewise.
10095 (cosh_test_upward): Likewise.
10096 (cpow_test): Likewise.
10097 (cproj_test): Likewise.
10098 (creal_test): Likewise.
10099 (csin_test): Likewise.
10100 (csinh_test): Likewise.
10101 (csqrt_test): Likewise.
10102 (ctan_test): Likewise.
10103 (ctan_test_tonearest): Likewise.
10104 (ctan_test_towardzero): Likewise.
10105 (ctan_test_downward): Likewise.
10106 (ctan_test_upward): Likewise.
10107 (ctanh_test): Likewise.
10108 (ctanh_test_tonearest): Likewise.
10109 (ctanh_test_towardzero): Likewise.
10110 (ctanh_test_downward): Likewise.
10111 (ctanh_test_upward): Likewise.
10112 (erf_test): Likewise.
10113 (erfc_test): Likewise.
10114 (exp_test): Likewise.
10115 (exp_test_tonearest): Likewise.
10116 (exp_test_towardzero): Likewise.
10117 (exp_test_downward): Likewise.
10118 (exp_test_upward): Likewise.
10119 (exp10_test): Likewise.
10120 (exp10_test_tonearest): Likewise.
10121 (exp10_test_towardzero): Likewise.
10122 (exp10_test_downward): Likewise.
10123 (exp10_test_upward): Likewise.
10124 (pow10_test): Likewise.
10125 (exp2_test): Likewise.
10126 (expm1_test): Likewise.
10127 (expm1_test_tonearest): Likewise.
10128 (expm1_test_towardzero): Likewise.
10129 (expm1_test_downward): Likewise.
10130 (expm1_test_upward): Likewise.
10131 (fabs_test): Likewise.
10132 (fdim_test): Likewise.
10133 (floor_test): Likewise.
10134 (fma_test): Likewise.
10135 (fma_test_towardzero): Likewise.
10136 (fma_test_downward): Likewise.
10137 (fma_test_upward): Likewise.
10138 (fmax_test): Likewise.
10139 (fmin_test): Likewise.
10140 (fmod_test): Likewise.
10141 (fpclassify_test): Likewise.
10142 (frexp_test): Likewise.
10143 (hypot_test): Likewise.
10144 (ilogb_test): Likewise.
10145 (isfinite_test): Likewise.
10146 (finite_test): Likewise.
10147 (isgreater_test): Likewise.
10148 (isgreaterequal_test): Likewise.
10149 (isinf_test): Likewise.
10150 (isless_test): Likewise.
10151 (islessequal_test): Likewise.
10152 (islessgreater_test): Likewise.
10153 (isnan_test): Likewise.
10154 (isnormal_test): Likewise.
10155 (issignaling_test): Likewise.
10156 (isunordered_test): Likewise.
10157 (j0_test): Likewise.
10158 (j1_test): Likewise.
10159 (jn_test): Likewise.
10160 (ldexp_test): Likewise.
10161 (lgamma_test): Likewise.
10162 (gamma_test): Likewise.
10163 (lrint_test): Likewise.
10164 (lrint_test_tonearest): Likewise.
10165 (lrint_test_towardzero): Likewise.
10166 (lrint_test_downward): Likewise.
10167 (lrint_test_upward): Likewise.
10168 (llrint_test): Likewise.
10169 (llrint_test_tonearest): Likewise.
10170 (llrint_test_towardzero): Likewise.
10171 (llrint_test_downward): Likewise.
10172 (llrint_test_upward): Likewise.
10173 (log_test): Likewise.
10174 (log10_test): Likewise.
10175 (log1p_test): Likewise.
10176 (log2_test): Likewise.
10177 (logb_test): Likewise.
10178 (logb_test_downward): Likewise.
10179 (lround_test): Likewise.
10180 (llround_test): Likewise.
10181 (modf_test): Likewise.
10182 (nearbyint_test): Likewise.
10183 (nextafter_test): Likewise.
10184 (nexttoward_test): Likewise.
10185 (pow_test): Likewise.
10186 (pow_test_tonearest): Likewise.
10187 (pow_test_towardzero): Likewise.
10188 (pow_test_downward): Likewise.
10189 (pow_test_upward): Likewise.
10190 (remainder_test): Likewise.
10191 (drem_test): Likewise.
10192 (remainder_test_tonearest): Likewise.
10193 (drem_test_tonearest): Likewise.
10194 (remainder_test_towardzero): Likewise.
10195 (drem_test_towardzero): Likewise.
10196 (remainder_test_downward): Likewise.
10197 (drem_test_downward): Likewise.
10198 (remainder_test_upward): Likewise.
10199 (drem_test_upward): Likewise.
10200 (remquo_test): Likewise.
10201 (rint_test): Likewise.
10202 (rint_test_tonearest): Likewise.
10203 (rint_test_towardzero): Likewise.
10204 (rint_test_downward): Likewise.
10205 (rint_test_upward): Likewise.
10206 (round_test): Likewise.
10207 (scalb_test): Likewise.
10208 (scalbn_test): Likewise.
10209 (scalbln_test): Likewise.
10210 (signbit_test): Likewise.
10211 (sin_test): Likewise.
10212 (sin_test_tonearest): Likewise.
10213 (sin_test_towardzero): Likewise.
10214 (sin_test_downward): Likewise.
10215 (sin_test_upward): Likewise.
10216 (sincos_test): Likewise.
10217 (sinh_test): Likewise.
10218 (sinh_test_tonearest): Likewise.
10219 (sinh_test_towardzero): Likewise.
10220 (sinh_test_downward): Likewise.
10221 (sinh_test_upward): Likewise.
10222 (sqrt_test): Likewise.
10223 (sqrt_test_tonearest): Likewise.
10224 (sqrt_test_towardzero): Likewise.
10225 (sqrt_test_downward): Likewise.
10226 (sqrt_test_upward): Likewise.
10227 (tan_test): Likewise.
10228 (tan_test_tonearest): Likewise.
10229 (tan_test_towardzero): Likewise.
10230 (tan_test_downward): Likewise.
10231 (tan_test_upward): Likewise.
10232 (tanh_test): Likewise.
10233 (tgamma_test): Likewise.
10234 (trunc_test): Likewise.
10235 (y0_test): Likewise.
10236 (y1_test): Likewise.
10237 (yn_test): Likewise.
10238 (significand_test): Likewise.
10240 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10241 individual tests in comment.
10242 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10243 (prev_max_error): New variable.
10244 (prev_real_max_error): Likewise.
10245 (prev_imag_max_error): Likewise.
10246 (compare_ulp_data): Don't refer to test names in comment.
10247 (find_test_ulps): Remove function.
10248 (find_function_ulps): Likewise.
10249 (find_complex_function_ulps): Likewise.
10250 (init_max_error): Take function name as argument. Look up ulps
10252 (print_ulps): Remove function.
10253 (print_max_error): Use prev_max_error instead of calling
10254 find_function_ulps.
10255 (print_complex_max_error): Use prev_real_max_error and
10256 prev_imag_max_error instead of calling find_complex_function_ulps.
10257 (check_float_internal): Take max_ulp parameter instead of calling
10258 find_test_ulps. Don't call print_ulps.
10259 (check_float): Update call to check_float_internal.
10260 (check_complex): Update calls to check_float_internal.
10261 (START): Pass argument to init_max_error.
10262 * math/gen-libm-test.pl (%results): Don't include "kind"
10264 (parse_ulps): Don't handle ulps of individual tests.
10265 (print_ulps_file): Likewise.
10266 (output_ulps): Likewise.
10267 * math/README.libm-test: Update.
10268 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10270 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10271 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10272 * sysdeps/arm/libm-test-ulps: Likewise.
10273 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10274 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10275 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10276 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10277 * sysdeps/microblaze/libm-test-ulps: Likewise.
10278 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10279 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10280 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10281 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10282 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10283 * sysdeps/sh/libm-test-ulps: Likewise.
10284 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10285 * sysdeps/tile/libm-test-ulps: Likewise.
10286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10288 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10290 * math/libm-test.inc (print_complex_max_error): Check separately
10291 whether real and imaginary errors are within allowed range and
10292 pass 0 to print_complex_function_ulps instead of value within
10295 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10297 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10299 (get_handles_fopen): Likewise.
10300 (do_write_test): Likewise.
10302 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10304 * libio/fileops.c (do_ftell): Use cached offset when
10306 * libio/iofwide.c (do_ftell_wide): Likewise.
10307 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10309 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10312 * libio/libioP.h (get_file_offset): New function.
10313 * libio/fileops.c (get_file_offset): Likewise.
10314 (do_ftell): Likewise.
10315 (_IO_new_file_seekoff): Split out ftell logic.
10316 * libio/wfileops.c (do_ftell_wide): Likewise.
10317 (_IO_wfile_seekoff): Split out ftell logic.
10318 * libio/tst-ftell-active-handler.c: New test case.
10319 * libio/Makefile (tests): Add it.
10321 2014-03-03 Roland McGrath <roland@hack.frob.com>
10323 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10324 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10326 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10329 * nscd/connections.c (nscd_init): Call do_exit.
10330 (start_threads): Call do_exit and notify_parent.
10331 (begin_drop_privileges): Call do_exit.
10332 (finish_drop_privileges): Likewise.
10333 * nscd/selinux.c (preserve_capabilities): Likewise.
10334 (install_real_capabilities): Likewise.
10335 (nscd_selinux_enabled): Likewise.
10336 (avc_create_thread): Likewise.
10337 (avc_alloc_lock): Likewise.
10338 (nscd_avc_init): Likewise.
10339 * nscd/nscd.c (parent_fd): New static variable.
10340 (main): Create a pipe between parent and child processes.
10341 Skip closing parent_fd.
10342 (monitor_child): New function.
10343 (do_exit): Likewise.
10344 (notify_parent): Likewise.
10345 * nscd/nscd.h (notify_parent): Likewise.
10346 (do_exit): Likewise.
10348 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10350 * malloc/malloc.c (__libc_calloc): Revert last change.
10352 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10356 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10358 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10362 (__libc_ifunc_impl_list): Likewise.
10363 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10364 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10365 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10366 * string/strrchr.c: Define STRRCHR.
10368 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10370 * benchtest/bench-strtok.c (simple_strtok): Delete.
10371 (strtok_string): Use as benchmark.
10372 * string/strtok (STRTOK): New macro.
10374 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10376 * manual/threads.texi: Add header and standard comments to all
10379 * elf/dl-lookup.c (check_match): New function.
10380 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10381 (do_lookup_x): Remove nested function check_match. Use non-nested
10382 function check_match.
10384 2014-02-28 Roland McGrath <roland@hack.frob.com>
10386 * csu/Makefile (generated, before-compile): Use += rather than =.
10387 * catgets/Makefile (generated, generated-dirs): Likewise.
10388 * debug/Makefile (generated): Likewise.
10389 * dlfcn/Makefile (generated): Likewise.
10390 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10391 * iconvdata/Makefile (before-compile, generated): Likewise.
10392 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10393 * libio/Makefile (generated): Likewise.
10394 * malloc/Makefile (generated): Likewise.
10395 * manual/Makefile (generated, generated-dirs): Likewise.
10396 * misc/Makefile (generated): Likewise.
10397 * posix/Makefile (generated): Likewise.
10398 * resolv/Makefile (generated): Likewise.
10399 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10400 * timezone/Makefile (generated, generated-dirs): Likewise.
10402 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10404 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10407 power8 implementation.
10408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10409 file: POWER8 llround ifunc implementation.
10410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10411 (__lllround): Add POWER8 implementation.
10412 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10413 POWER8 llround implementation.
10415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10416 power8 implementation.
10417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10418 file: POWER8 llrint ifunc implementation.
10419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10420 Add POWER8 implementation.
10421 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10422 POWER8 llrint implementation.
10424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10425 power8 implementation.
10426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10427 file: POWER8 finite ifunc implementation.
10428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10429 Add POWER8 implementation.
10430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10432 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10433 POWER8 finite implementation.
10434 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10437 power8 implementation.
10438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10439 file: POWER8 isinf ifunc implementation.
10440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10441 POWER8 implementation.
10442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10445 isinf implementation.
10446 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10448 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10449 (INIT_ARCH): Add hwcap2 initialization.
10450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10451 power8 implementation.
10452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10453 file: POWER8 isnan ifunc implementation.
10454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10455 POWER8 implementation.
10456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10459 isnan implementation.
10460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10462 2014-02-27 Joey Ye <joey.ye@arm.com>
10464 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10465 (_FP_NANFRAC_Q): Set to zero.
10467 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * math/auto-libm-test-in: New test inputs.
10471 * math/auto-libm-test-out: Regenerate.
10472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10477 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10479 * scripts/evaluate-test.sh: Take new argument indicating whether
10480 failure is expected.
10481 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10482 indicating whether failure is expected.
10483 * conform/Makefile (test-xfail-run-conformtest): New variable.
10484 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10486 * posix/Makefile (test-xfail-annexc): New variable.
10487 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10489 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10491 * argp/Makefile: Include Makeconfig immediately after defining
10493 * assert/Makefile: Likewise.
10494 * benchtests/Makefile: Likewise.
10495 * catgets/Makefile: Likewise.
10496 * conform/Makefile: Likewise.
10497 * crypt/Makefile: Likewise.
10498 * csu/Makefile: Likewise.
10499 (all): Remove target.
10500 * ctype/Makefile: Include Makeconfig immediately after defining
10502 * debug/Makefile: Likewise.
10503 * dirent/Makefile: Likewise.
10504 * dlfcn/Makefile: Likewise.
10505 * gmon/Makefile: Likewise.
10506 * gnulib/Makefile: Likewise.
10507 * grp/Makefile: Likewise.
10508 * gshadow/Makefile: Likewise.
10509 * hesiod/Makefile: Likewise.
10510 * hurd/Makefile: Likewise.
10511 (all): Remove target.
10512 * iconvdata/Makefile: Include Makeconfig immediately after
10514 * inet/Makefile: Likewise.
10515 * intl/Makefile: Likewise.
10516 * io/Makefile: Likewise.
10517 * libio/Makefile: Likewise.
10518 (all): Remove target.
10519 * locale/Makefile: Include Makeconfig immediately after defining
10521 * login/Makefile: Likewise.
10522 * mach/Makefile: Likewise.
10523 (all): Remove target.
10524 * malloc/Makefile: Include Makeconfig immediately after defining
10526 (all): Remove target.
10527 * manual/Makefile: Include Makeconfig immediately after defining
10529 * math/Makefile: Likewise.
10530 * misc/Makefile: Likewise.
10531 * nis/Makefile: Likewise.
10532 * nss/Makefile: Likewise.
10533 * po/Makefile: Likewise.
10534 (all): Remove target.
10535 * posix/Makefile: Include Makeconfig immediately after defining
10537 * pwd/Makefile: Likewise.
10538 * resolv/Makefile: Likewise.
10539 * resource/Makefile: Likewise.
10540 * rt/Makefile: Likewise.
10541 * setjmp/Makefile: Likewise.
10542 * shadow/Makefile: Likewise.
10543 * signal/Makefile: Likewise.
10544 * socket/Makefile: Likewise.
10545 * soft-fp/Makefile: Likewise.
10546 * stdio-common/Makefile: Likewise.
10547 * stdlib/Makefile: Likewise.
10548 * streams/Makefile: Likewise.
10549 * string/Makefile: Likewise.
10550 * sunrpc/Makefile: Likewise.
10551 (all): Remove target.
10552 * sysvipc/Makefile: Include Makeconfig immediately after defining
10554 * termios/Makefile: Likewise.
10555 * time/Makefile: Likewise.
10556 * timezone/Makefile: Likewise.
10557 (all): Remove target.
10558 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10560 * wctype/Makefile: Likewise.
10562 2014-02-26 Steve Ellcey <sellcey@mips.com>
10564 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10565 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10566 (libc_feholdexcept_setround_mips): Ditto.
10567 (libc_feholdsetround): New.
10568 (libc_feholdsetroundf): New.
10569 (libc_feholdsetroundl): New.
10570 (libc_feupdateenv_test_mips): New.
10571 (libc_feupdateenv_test): New.
10572 (libc_feupdateenv_testf): New.
10573 (libc_feupdateenv_testl): New.
10574 (libc_feresetround): New.
10575 (libc_feresetroundf): New.
10576 (libc_feresetroundl): New.
10577 (libc_fetestexcept_mips): New.
10578 (libc_fetestexcept): New.
10579 (libc_fetestexceptf): New.
10580 (libc_fetestexceptl): New.
10581 (HAVE_RM_CTX): New.
10582 (libc_feholdexcept_setround_mips_ctx): New.
10583 (libc_feholdexcept_setround_ctx): New.
10584 (libc_feholdexcept_setroundf_ctx): New.
10585 (libc_feholdexcept_setroundl_ctx): New.
10586 (libc_fesetenv_mips_ctx): New.
10587 (libc_fesetenv_ctx): New.
10588 (libc_fesetenv_ctxf): New.
10589 (libc_fesetenv_ctxl): New.
10590 (libc_feupdateenv_mips_ctx): New.
10591 (libc_feupdateenv_ctx): New.
10592 (libc_feupdateenvf_ctx): New.
10593 (libc_feupdateenvl_ctx): New.
10594 (libc_feholdsetround_mips_ctx): New.
10595 (libc_feholdsetround_ctx): New.
10596 (libc_feholdsetroundf_ctx): New.
10597 (libc_feholdsetroundl_ctx): New.
10598 (libc_feresetround_mips_ctx): New.
10599 (libc_feresetround_ctx): New.
10600 (libc_feresetroundf_ctx): New.
10601 (libc_feresetroundl_ctx): New.
10603 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10605 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10607 * manual/ipc.texi: New file.
10608 * manual/Makefile (chapters): Add ipc.
10609 * manual/job.texi: Add "Inter-Process Communication" to next.
10610 * manual/process.texi: Add "Inter-Process Communication" to prev.
10612 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10616 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10618 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10620 * manual/arith.texi: Fix spaces after sentences.
10621 * manual/charset.texi: Likewise.
10622 * manual/errno.texi: Likewise.
10623 * manual/install.texi: Likewise.
10624 * manual/llio.texi: Likewise.
10625 * manual/locale.texi: Likewise.
10626 * manual/maint.texi: Likewise.
10627 * manual/math.texi: Likewise.
10628 * manual/memory.texi: Likewise.
10629 * manual/message.texi: Likewise.
10630 * manual/probes.texi: Likewise.
10631 * manual/resource.texi: Likewise.
10632 * manual/signal.texi: Likewise.
10633 * manual/socket.texi: Likewise.
10634 * manual/stdio.texi: Likewise.
10635 * manual/string.texi: Likewise.
10636 * manual/time.texi: Likewise.
10637 * manual/users.texi: Likewise.
10639 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10642 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10643 _DEFAULT_SOURCE is defined.
10645 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10646 Carlos O'Donell <carlos@redhat.com>
10649 * elf/dl-tls.c (_dl_count_modids): New function.
10650 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10651 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10652 audit library and increment generation counter.
10653 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10654 * elf/tst-audit9.c: New file.
10655 * elf/tst-auditmod9a.c: New file.
10656 * elf/tst-auditmod9b.c: New file.
10657 * elf/Makefile: Add rules to build and run tst-audit9.
10659 2014-02-25 Florian Weimer <fweimer@redhat.com>
10662 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10664 2014-02-25 Will Newton <will.newton@linaro.org>
10666 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10667 (__longjmp): Restore sp and lr before restoring callee
10668 saved registers. Add longjmp and longjmp_target
10669 SystemTap probe point.
10670 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10671 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10672 Define to zero to match jmpbuf layout.
10673 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10674 (__sigsetjmp): Save sp and lr before saving callee
10675 saved registers. Add setjmp SystemTap probe point.
10677 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10679 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10681 2014-02-24 Andreas Schwab <schwab@suse.de>
10684 * elf/pldd.c (wait_for_ptrace_stop): New function.
10685 (main): Call it after attaching.
10687 2014-02-22 Roland McGrath <roland@hack.frob.com>
10689 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10690 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10691 Versions files is now verboten.
10692 * hurd/Versions (libc: GLIBC_2.0):
10693 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10694 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10695 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10696 * mach/Versions: Likewise.
10698 * csu/Versions: Remove unused %include.
10699 * resolv/Versions: Likewise.
10701 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10703 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10704 ($(objpfx)check-local-headers.out): Likewise.
10705 ($(objpfx)begin-end-check.out): Likewise.
10706 * Makerules (check-abi-%.out): Likewise.
10707 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10708 ($(objpfx)test2.cat): Likewise.
10709 ($(objpfx)de/libc.cat): Likewise.
10710 ($(objpfx)test-gencat.out): Likewise.
10711 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10712 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10713 ($(objpfx)noload-mem): Likewise.
10714 ($(objpfx)tst-pathopt.out): Likewise.
10715 ($(objpfx)tst-rtld-load-self.out): Likewise.
10716 ($(objpfx)tst-array1-cmp.out): Likewise.
10717 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10718 ($(objpfx)tst-array2-cmp.out): Likewise.
10719 ($(objpfx)tst-array3-cmp.out): Likewise.
10720 ($(objpfx)tst-array4-cmp.out): Likewise.
10721 ($(objpfx)tst-array5-cmp.out): Likewise.
10722 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10723 ($(objpfx)check-textrel.out): Likewise.
10724 ($(objpfx)check-execstack.out): Likewise.
10725 ($(objpfx)check-localplt.out): Likewise.
10726 ($(objpfx)order2-cmp.out): Likewise.
10727 ($(objpfx)tst-leaks1-mem): Likewise.
10728 ($(objpfx)tst-leaks1-static-mem): Likewise.
10729 ($(objpfx)tst-initorder-cmp.out): Likewise.
10730 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10731 ($(objpfx)tst-unused-dep.out): Likewise.
10732 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10733 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10734 * iconv/Makefile (test-iconvconfig): Likewise.
10735 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10736 ($(objpfx)iconv-test.out): Likewise.
10737 ($(objpfx)tst-tables.out): Likewise.
10738 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10739 ($(objpfx)tst-gettext.out): Likewise.
10740 ($(objpfx)tst-translit.out): Likewise.
10741 ($(objpfx)tst-gettext2.out): Likewise.
10742 ($(objpfx)tst-gettext4.out): Likewise.
10743 ($(objpfx)tst-gettext6.out): Likewise.
10744 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10745 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10746 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10747 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10748 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10749 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10750 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10751 ($(objpfx)wordexp-tst.out): Likewise.
10752 ($(objpfx)annexc.out): Likewise.
10753 ($(objpfx)tst-fnmatch-mem): Likewise.
10754 ($(objpfx)bug-regex2-mem): Likewise.
10755 ($(objpfx)bug-regex14-mem): Likewise.
10756 ($(objpfx)bug-regex21-mem): Likewise.
10757 ($(objpfx)bug-regex31-mem): Likewise.
10758 ($(objpfx)tst-vfork3-mem): Likewise.
10759 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10760 ($(objpfx)tst-pcre-mem): Likewise.
10761 ($(objpfx)tst-boost-mem): Likewise.
10762 ($(objpfx)tst-getconf.out): Likewise.
10763 ($(objpfx)bug-ga2-mem): Likewise.
10764 ($(objpfx)bug-glob2-mem): Likewise.
10765 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10766 ($(objpfx)mtrace-tst-leaks2): Likewise.
10767 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10768 ($(objpfx)tst-printf.out): Likewise.
10769 ($(objpfx)tst-setvbuf1.out): Likewise.
10770 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10771 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10772 ($(objpfx)tst-fmtmsg.out): Likewise.
10773 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10774 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10776 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10777 * bits/sigaction.h [__USE_MISC]: Likewise.
10778 * bits/waitstatus.h: Update #endif comments.
10779 * ctype/ctype.h: Likewise.
10780 * dirent/dirent.h: Likewise.
10781 [__USE_MISC]: Remove redundant conditionals.
10782 * grp/grp.h: Update #endif comments.
10783 [__USE_GNU]: Remove redundant conditionals.
10784 [__USE_MISC]: Likewise.
10785 * inet/netinet/in.h [__USE_GNU]: Likewise.
10786 * io/sys/stat.h [__USE_MISC]: Likewise.
10787 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10788 * libio/bits/stdio.h: Update #endif comments.
10789 [__USE_MISC]: Remove redundant conditionals.
10790 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10791 * libio/stdio.h: Update #endif comments.
10792 [__USE_MISC]: Remove redundant conditionals.
10793 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10794 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10795 * math/math.h: Update #else and #endif comments.
10796 [__USE_MISC]: Remove redundant conditionals.
10797 * misc/sys/uio.h: Update #endif comments.
10798 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10799 * posix/glob.h [__USE_MISC]: Likewise.
10800 * posix/sys/types.h: Update #endif comments.
10801 [__USE_MISC]: Remove redundant conditionals.
10802 * posix/sys/wait.h: Update #endif comments.
10803 [__USE_MISC]: Remove redundant conditionals.
10804 * posix/unistd.h: Update #endif comments.
10805 [__USE_MISC]: Remove redundant conditionals.
10806 * pwd/pwd.h [__USE_GNU]: Likewise.
10807 [__USE_MISC]: Likewise.
10808 * resolv/netdb.h [__USE_GNU]: Likewise.
10809 * signal/signal.h: Update #endif comments.
10810 [__USE_MISC]: Remove redundant conditionals.
10811 * stdlib/stdlib.h: Update #else and #endif comments.
10812 [__USE_MISC]: Remove redundant conditionals.
10813 [__USE_GNU]: Likewise.
10814 * string/bits/string2.h [__USE_MISC]: Likewise.
10815 * string/string.h: Update #endif comments.
10816 [__USE_MISC]: Remove redundant conditionals.
10817 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10819 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10820 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10821 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10823 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10827 [__USE_MISC]: Remove redundant conditionals.
10828 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10829 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10830 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10831 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10832 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10834 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10835 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10837 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10838 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10840 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10842 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10843 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10845 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10847 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10848 * sysdeps/x86/bits/string.h: Update #endif comments.
10849 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10851 * time/sys/time.h: Update #endif comments.
10852 * time/time.h: Likewise.
10853 [__USE_MISC]: Remove redundant conditionals.
10855 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10858 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10860 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10862 * Versions.def (librt): Add GLIBC_2.17.
10864 2014-02-21 Adam Conrad <adconrad@0c3.net>
10866 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10867 synonym for _SYS_AUXV_H to allow direct inclusion.
10868 * sysdeps/sparc/bits/hwcap.h: Likewise.
10869 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10870 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10871 * sysdeps/sparc/sysdep.h: Likewise.
10873 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10875 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10877 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10879 * benchtests/bench-strrchr.c: Print length instead of position.
10881 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10884 * sysdeps/unix/sysv/linux/kernel-features.h
10885 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10886 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10887 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10888 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10890 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10891 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10892 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10893 (__ASSUME_SENDMMSG): Define instead of using previous
10894 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10895 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10896 (__ASSUME_SENDMMSG_SYSCALL): Define.
10897 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10898 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10901 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10903 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10904 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10906 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10907 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10908 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10909 [__ASSUME_SENDMMSG]: Change conditionals to
10910 [__ASSUME_SENDMMSG_SOCKETCALL].
10911 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10912 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10914 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10915 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10917 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10918 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10919 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10920 [!__ASSUME_SENDMMSG]: Change conditional to
10921 [!__ASSUME_SENDMMSG_SOCKETCALL].
10922 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10923 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10927 * sysdeps/unix/sysv/linux/kernel-features.h
10928 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10929 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10930 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10931 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10932 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10933 [__i386__ || __sparc__]
10934 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10935 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10936 (__ASSUME_RECVMMSG): Define instead of using previous
10937 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10938 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10939 (__ASSUME_RECVMMSG_SYSCALL): Define.
10940 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10943 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10944 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10946 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10947 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10949 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10950 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10951 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10952 [__ASSUME_RECVMMSG]: Change condition to
10953 [__ASSUME_RECVMMSG_SOCKETCALL].
10954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10955 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10957 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10958 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10959 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10961 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10962 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10963 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10964 [!__ASSUME_RECVMMSG]: Change condition to
10965 [!__ASSUME_RECVMMSG_SOCKETCALL].
10966 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10967 (__ASSUME_RECVMMSG_SYSCALL): Define.
10970 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10971 __powerpc__ || __s390__ || __sh__ || __sparc__]
10972 (__ASSUME_SOCKETCALL): Define.
10973 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10974 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10975 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10976 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10977 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10978 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10979 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10980 (__ASSUME_ACCEPT4): Define instead of using previous
10981 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10982 __powerpc__ || __sparc__ || __s390__)] condition.
10983 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10984 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10985 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10986 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10987 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10988 [!__ASSUME_ACCEPT4]: Change condition to
10989 [!__ASSUME_ACCEPT4_SOCKETCALL].
10990 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10991 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10992 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10993 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10994 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10995 __ASSUME_ACCEPT4_SYSCALL.
10996 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10997 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10998 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10999 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11000 __ASSUME_ACCEPT4_SYSCALL.
11001 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11002 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11003 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11004 [__ASSUME_ACCEPT4]: Change condition to
11005 [__ASSUME_ACCEPT4_SOCKETCALL].
11006 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11007 (__ASSUME_SOCKETCALL): Define.
11008 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11009 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11010 (__ASSUME_SOCKETCALL): Define.
11011 (__ASSUME_ACCEPT4): Remove.
11012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11014 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11015 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11017 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11018 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11020 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11022 (HWCAP_ARM_LPAE): Likewise.
11023 (HWCAP_ARM_EVTSTRM): Likewise.
11024 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11025 Add vpfd32, lpae and evtstrm.
11026 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11029 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11031 * math/auto-libm-test-in: Add tests of clog10.
11032 * math/auto-libm-test-out: Regenerated.
11033 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11034 * sysdeps/i386/fpu/libm-test-ulps: Update.
11035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11037 2014-02-18 Andreas Schwab <schwab@suse.de>
11040 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11041 Store non-zero if the second buffer was newly allocated.
11042 (send_dg): Likewise.
11043 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11044 to send_vc and send_dg.
11045 (res_nsend): Pass NULL for ansp2_malloced.
11046 * resolv/res_query.c (__libc_res_nquery): Add parameter
11047 answerp2_malloced and pass it down to __libc_res_nsend.
11048 (res_nquery): Pass additional NULL to __libc_res_nquery.
11049 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11050 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11051 second answer buffer if answerp2_malloced was set.
11052 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11053 (__libc_res_nquerydomain): Add parameter
11054 answerp2_malloced and pass it down to __libc_res_nquery.
11055 (res_nquerydomain): Pass additional NULL to
11056 __libc_res_nquerydomain.
11057 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11058 additional NULL to __libc_res_nsend and __libc_res_nquery.
11059 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11060 additional NULL to __libc_res_nsearch.
11061 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11062 parameter of __libc_res_nsearch to check for separately allocated
11064 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11066 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11067 additional NULL to __libc_res_nquery.
11068 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11069 __libc_res_nsearch.
11070 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11071 * include/resolv.h: Update prototypes of __libc_res_nquery,
11072 __libc_res_nsearch, __libc_res_nsend.
11074 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11076 * math/auto-libm-test-in: Add tests of fma.
11077 * math/auto-libm-test-out: Regenerated.
11078 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11079 (fma_towardzero_test_data): Likewise.
11080 (fma_downward_test_data): Likewise.
11081 (fma_upward_test_data): Likewise.
11082 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11084 (rounding_modes): Add values for new field.
11085 (func_calc_method): Add value mpfr_fff_f.
11086 (func_calc_desc): Add mpfr_fff_f union field.
11087 (test_function): Add field exact_args.
11088 (FUNC): Add macro argument EXACT_ARGS.
11089 (FUNC_mpfr_f_f): Update call to FUNC.
11090 (FUNC_mpfr_f_f): Likewise.
11091 (FUNC_mpfr_ff_f): Likewise.
11092 (FUNC_mpfr_if_f): Likewise.
11093 (FUNC_mpc_c_f): Likewise.
11094 (FUNC_mpc_c_c): Likewise.
11095 (test_functions): Add fma. Update calls to FUNC.
11096 (handle_input_arg): Add argument exact_args.
11097 (add_test): Update call to handle_input_arg.
11098 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11099 (output_for_one_input_case): Update call to calc_generic_results.
11100 Recalculate exact zero results in each rounding mode.
11102 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11103 non-negative before setting low bit.
11104 * math/auto-libm-test-in: Mark one asin test possibly having
11105 spurious underflow.
11106 * math/auto-libm-test-out: Regenerated.
11107 * sysdeps/i386/fpu/libm-test-ulps: Update.
11108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11110 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11112 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11113 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11114 ports/sysdeps/unix/sysv/linux/microblaze.
11115 * README: Add missing listing for microblaze*-*-linux-gnu.
11117 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11119 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11122 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11124 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11125 * sysdeps/unix/sysv/linux/ia64: Move directory from
11126 ports/sysdeps/unix/sysv/linux/ia64.
11127 * README: Update listing for ia64-*-linux-gnu.
11129 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11130 Joseph Myers <joseph@codesourcery.com>
11132 * Makeconfig (test-name): New variable.
11133 (evaluate-test): Likewise.
11134 * Makerules (do-test-clean): Remove .test-result files.
11135 (common-mostlyclean): Likewise.
11136 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11137 * scripts/evaluate-test.sh: New file.
11139 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11141 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11142 separate $(objpfx)tst-fopenloc-cmp.out and
11143 $(objpfx)tst-fopenloc-mem.out targets.
11144 (tests): Update dependencies.
11145 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11146 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11147 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11148 (tst-rxspencer-no-utf8-ARGS): New variable.
11149 (tst-rxspencer-no-utf8-ENV): Likewise.
11150 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11151 instead of $(objpfx)tst-rxspencer-mem.
11152 ($(objpfx)tst-rxspencer-mem): Change target to
11153 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11154 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11155 * posix/tst-rxspencer-no-utf8.c: New file.
11157 * elf/Makefile ($(objpfx)order.out): Remove rule.
11158 [$(run-built-tests) = yes] (tests): Depend on
11159 $(objpfx)order-cmp.out.
11160 ($(objpfx)order-cmp.out): New rule.
11161 [$(run-built-tests) = yes] (tests): Depend on
11162 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11163 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11164 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11165 $(objpfx)tst-array5-static-cmp.out.
11166 ($(objpfx)tst-array1.out): Remove rule.
11167 ($(objpfx)tst-array1-cmp.out): New rule.
11168 ($(objpfx)tst-array1-static.out): Remove rule.
11169 ($(objpfx)tst-array1-static-cmp.out): New rule.
11170 ($(objpfx)tst-array2.out): Remove rule.
11171 ($(objpfx)tst-array2-cmp.out): New rule.
11172 ($(objpfx)tst-array3.out): Remove rule.
11173 ($(objpfx)tst-array3-cmp.out): New rule.
11174 ($(objpfx)tst-array4.out): Remove rule.
11175 ($(objpfx)tst-array4-cmp.out): New rule.
11176 ($(objpfx)tst-array5.out): Remove rule.
11177 ($(objpfx)tst-array5-cmp.out): New rule.
11178 ($(objpfx)tst-array5-static.out): Remove rule.
11179 ($(objpfx)tst-array5-static-cmp.out): New rule.
11180 [$(run-built-tests) = yes] (tests): Depend on
11181 $(objpfx)order2-cmp.out.
11182 ($(objpfx)order2.out): Remove rule.
11183 ($(objpfx)order2-cmp.out): New rule.
11184 ($(objpfx)tst-initorder.out): Remove rule.
11185 [$(run-built-tests) = yes] (tests): Depend on
11186 $(objpfx)tst-initorder-cmp.out.
11187 ($(objpfx)tst-initorder-cmp.out): New rule.
11188 ($(objpfx)tst-initorder2.out): Remove rule.
11189 [$(run-built-tests) = yes] (tests): Depend on
11190 $(objpfx)tst-initorder2-cmp.out.
11191 ($(objpfx)tst-initorder2-cmp.out): New rule.
11192 [$(run-built-tests) = yes] (tests): Depend on
11193 $(objpfx)tst-unused-dep-cmp.out.
11194 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11195 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11196 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11197 on $(objpfx)tst-setvbuf1-cmp.out.
11198 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11199 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11200 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11201 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11202 ($(objpfx)tst-svc.out): Remove rule.
11203 ($(objpfx)tst-svc-cmp.out): New rule.
11205 2014-02-13 Joseph Myers <joseph@codesourcery.com>
11207 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11208 * ctype/ctype.h [__USE_MISC]: Likewise.
11209 * dirent/dirent.h [__USE_MISC]: Likewise.
11210 * grp/grp.h [__USE_MISC]: Likewise.
11211 * io/fcntl.h [__USE_MISC]: Likewise.
11212 * io/sys/stat.h [__USE_MISC]: Likewise.
11213 * libio/stdio.h [__USE_MISC]: Likewise.
11214 * posix/unistd.h [__USE_MISC]: Likewise.
11215 * pwd/pwd.h [__USE_MISC]: Likewise.
11216 * stdlib.h [__USE_MISC]: Likewise.
11217 * string/bits/string2.h [__USE_MISC]: Likewise.
11218 * string/string.h [__USE_MISC]: Likewise.
11219 * time/time.h [__USE_MISC]: Likewise.
11221 2014-02-13 Andreas Schwab <schwab@suse.de>
11224 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11225 second answer buffer if it was separately allocated.
11227 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11229 * sysdeps/mips/math-tests.h: Include <features.h>.
11230 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11231 (ROUNDING_TESTS_long_double): Do not define.
11232 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11233 (EXCEPTION_TESTS_long_double): Likewise.
11234 * sysdeps/mips/mips64/libm-test-ulps: Update.
11236 * include/features.h (__USE_BSD): Remove macro definitions.
11237 (__USE_SVID): Likewise.
11238 (_BSD_SOURCE): Likewise.
11239 (_SVID_SOURCE): Likewise.
11240 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11241 from definition of _DEFAULT_SOURCE.
11242 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11244 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11245 * bits/mman.h [__USE_BSD]: Likewise.
11246 * bits/termios.h [__USE_BSD]: Likewise.
11247 * bits/waitstatus.h [__USE_BSD]: Likewise.
11248 * ctype/ctype.h [__USE_SVID]: Likewise.
11249 * dirent/dirent.h [__USE_BSD]: Likewise.
11250 * grp/grp.h [__USE_SVID]: Likewise.
11251 [__USE_BSD]: Likewise.
11252 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11253 * io/fcntl.h [__USE_BSD]: Likewise.
11254 * io/ftw.h [__USE_BSD]: Likewise.
11255 * io/sys/stat.h [__USE_BSD]: Likewise.
11256 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11257 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11258 * libio/stdio.h [__USE_SVID]: Likewise.
11259 [__USE_BSD]: Likewise.
11260 * math/math.h [__USE_SVID]: Likewise.
11261 [__USE_BSD]: Likewise.
11262 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11263 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11264 * misc/search.h [__USE_SVID]: Likewise.
11265 * misc/sys/mman.h [__USE_BSD]: Likewise.
11266 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11267 * misc/sys/uio.h [__USE_BSD]: Likewise.
11268 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11269 * posix/glob.h [__USE_BSD]: Likewise.
11270 * posix/regex.h [__USE_BSD]: Likewise.
11271 * posix/sys/types.h [__USE_BSD]: Likewise.
11272 [__USE_SVID]: Likewise.
11273 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11274 * posix/sys/wait.h [__USE_BSD]: Likewise.
11275 [__USE_SVID]: Likewise.
11276 * posix/unistd.h [__USE_BSD]: Likewise.
11277 [__USE_SVID]: Likewise.
11278 * pwd/pwd.h [__USE_SVID]: Likewise.
11279 * resolv/netdb.h [__USE_BSD]: Likewise.
11280 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11281 * signal/signal.h [__USE_BSD]: Likewise.
11282 [__USE_SVID]: Likewise.
11283 * socket/sys/socket.h [__USE_BSD]: Likewise.
11284 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11285 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11286 [__USE_SVID]: Likewise.
11287 * string/bits/string2.h [__USE_BSD]: Likewise.
11288 [__USE_SVID]: Likewise.
11289 * string/bits/string3.h [__USE_BSD]: Likewise.
11290 * string/endian.h [__USE_BSD]: Likewise.
11291 * string/string.h [__USE_SVID]: Likewise.
11292 [__USE_BSD]: Likewise.
11293 * string/strings.h [__USE_BSD]: Likewise.
11294 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11295 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11296 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11297 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11298 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11299 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11301 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11303 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11304 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11306 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11307 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11309 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11311 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11312 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11313 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11315 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11317 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11318 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11319 * termios/termios.h [__USE_BSD]: Likewise.
11320 * time/sys/time.h [__USE_BSD]: Likewise.
11321 * time/time.h [__USE_BSD]: Likewise.
11322 [__USE_SVID]: Likewise.
11324 * Makefile (subdir_targets): Remove subdir_lint.out.
11326 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11327 (do-tst-printf): Likewise.
11328 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11329 $(objpfx)tst-printf.out.
11331 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11333 * Makerules (check-abi-%): Change target to
11334 $(objpfx)check-abi-%.out.
11335 (check-abi target): Update dependencies.
11336 (check-abi-pattern variable): Redirect output of diff to $@.
11337 (check-abi variable): Likewise.
11338 * elf/Makefile (check-abi): Update dependencies.
11340 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11342 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11343 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11345 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11346 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11347 value has largest subnormal exponent.
11348 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11349 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11350 * sysdeps/aarch64/soft-fp/sfp-machine.h
11351 (_FP_TININESS_AFTER_ROUNDING): New macro.
11352 * sysdeps/alpha/soft-fp/sfp-machine.h
11353 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11354 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11356 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11357 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11358 * sysdeps/mips/soft-fp/sfp-machine.h
11359 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11360 * sysdeps/powerpc/soft-fp/sfp-machine.h
11361 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11362 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11364 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11365 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11366 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11367 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11368 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11371 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11374 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11377 2014-02-12 Richard Henderson <rth@redhat.com>
11379 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11380 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11381 * sysdeps/unix/sysv/linux/alpha: Move directory from
11382 ports/sysdeps/unix/sysv/linux/alpha.
11383 * README: Update listing for alpha-*-linux-gnu.
11385 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11387 * include/features.h: Update comment documenting feature test
11389 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11391 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11392 (_SVID_SOURCE): Likewise.
11393 (_DEFAULT_SOURCE): Update description of default features.
11394 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11396 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11397 (S_ISVTX): Likewise.
11398 * manual/math.texi (Mathematical Constants): Likewise.
11399 * manual/signal.texi (Interrupted Primitives): Likewise.
11400 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11401 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11402 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11403 Don't refer to _SVID_SOURCE in warning text.
11405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11407 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11409 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11410 * sysdeps/mips/dl-lookup.c: Remove.
11411 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11413 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11416 * math/auto-libm-test-in: Add testcase for expl.
11417 * math/auto-libm-test-out: Regenerate.
11418 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11419 calculation of unsafe.
11420 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11422 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11424 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11425 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11426 ports/sysdeps/unix/sysv/linux/aarch64.
11427 * README: Update listing for aarch64*-*-linux-gnu.
11429 2014-02-11 Will Newton <will.newton@linaro.org>
11431 * manual/probes.texi (Mathematical Function Probes): Use
11432 "triggered" instead of "hit".
11434 * manual/probes.texi (Internal Probes): Add documentation
11435 of setjmp, longjmp and longjmp_target probes.
11437 * include/stap-probe.h: Add comment about probe argument
11440 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11441 definition. (tr_where, tr_freehook, tr_mallochook,
11442 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11444 2014-02-11 David S. Miller <davem@davemloft.net>
11446 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11447 processing int_tests.
11449 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11451 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11452 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11453 * sysdeps/unix/sysv/linux/mips: Move directory from
11454 ports/sysdeps/unix/sysv/linux/mips.
11455 * README: Update listing for mips-*-linux-gnu and
11456 mips64-*-linux-gnu.
11458 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11460 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11461 * sysdeps/unix/sysv/linux/m68k: Move directory from
11462 ports/sysdeps/unix/sysv/linux/m68k.
11463 * README: Update listing for m68k-*-linux-gnu.
11465 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11467 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11468 * sysdeps/unix/sysv/linux/generic: Move directory from
11469 ports/sysdeps/unix/sysv/linux/generic.
11470 * sysdeps/unix/sysv/linux/tile: Move directory from
11471 ports/sysdeps/unix/sysv/linux/tile.
11472 * README: Update listing for tile*-*-linux-gnu.
11474 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11476 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11478 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11479 * catgets/open_catalog.c (__open_catalog): Likewise.
11480 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11481 * debug/confstr_chk.c: Likewise.
11482 * debug/fread_chk.c (__fread_chk): Likewise.
11483 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11484 * debug/getgroups_chk.c: Likewise.
11485 * debug/mbsnrtowcs_chk.c: Likewise.
11486 * debug/mbsrtowcs_chk.c: Likewise.
11487 * debug/mbstowcs_chk.c: Likewise.
11488 * debug/memcpy_chk.c: Likewise.
11489 * debug/memmove_chk.c: Likewise.
11490 * debug/mempcpy_chk.c: Likewise.
11491 * debug/memset_chk.c: Likewise.
11492 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11493 * debug/strcat_chk.c (__strcat_chk): Likewise.
11494 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11495 * debug/strncat_chk.c (__strncat_chk): Likewise.
11496 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11497 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11498 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11499 * debug/wcpncpy_chk.c: Likewise.
11500 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11501 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11502 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11503 * debug/wcsncpy_chk.c: Likewise.
11504 * debug/wcsnrtombs_chk.c: Likewise.
11505 * debug/wcsrtombs_chk.c: Likewise.
11506 * debug/wcstombs_chk.c: Likewise.
11507 * debug/wmemcpy_chk.c: Likewise.
11508 * debug/wmemmove_chk.c: Likewise.
11509 * debug/wmempcpy_chk.c: Likewise.
11510 * debug/wmemset_chk.c: Likewise.
11511 * dirent/scandirat.c (SCANDIRAT): Likewise.
11512 * dlfcn/dladdr1.c (dladdr1): Likewise.
11513 * dlfcn/dladdr.c (dladdr): Likewise.
11514 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11515 * dlfcn/dlerror.c (__dlerror): Likewise.
11516 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11517 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11518 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11519 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11520 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11521 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11522 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11523 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11525 * elf/dl-conflict.c: Likewise.
11526 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11527 * elf/dl-dst.h: Likewise.
11528 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11529 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11530 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11531 * elf/dl-init.c (call_init, _dl_init): Likewise.
11532 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11533 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11534 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11536 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11538 * elf/dl-minimal.c (__libc_memalign): Likewise.
11539 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11540 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11541 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11542 * elf/dl-sym.c (do_sym): Likewise.
11543 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11544 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11545 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11546 * elf/dl-writev.h (_dl_writev): Likewise.
11547 * elf/ldconfig.c (search_dir): Likewise.
11548 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11549 (dl_main): Likewise.
11550 * elf/setup-vdso.h (setup_vdso): Likewise.
11551 * grp/compat-initgroups.c (compat_call): Likewise.
11552 * grp/fgetgrent.c (fgetgrent): Likewise.
11553 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11554 * grp/putgrent.c (putgrent): Likewise.
11555 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11557 * hurd/hurdinit.c: Likewise.
11558 * iconvdata/8bit-gap.c (struct): Likewise.
11559 * iconvdata/ansi_x3.110.c : Likewise.
11560 * iconvdata/big5.c : Likewise.
11561 * iconvdata/big5hkscs.c : Likewise.
11562 * iconvdata/cp1255.c: Likewise.
11563 * iconvdata/cp1258.c : Likewise.
11564 * iconvdata/cp932.c : Likewise.
11565 * iconvdata/euc-cn.c: Likewise.
11566 * iconvdata/euc-jisx0213.c : Likewise.
11567 * iconvdata/euc-jp.c: Likewise.
11568 * iconvdata/euc-jp-ms.c : Likewise.
11569 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11570 * iconvdata/gb18030.c : Likewise.
11571 * iconvdata/gbbig5.c (const): Likewise.
11572 * iconvdata/gbgbk.c: Likewise.
11573 * iconvdata/gbk.c : Likewise.
11574 * iconvdata/ibm1364.c : Likewise.
11575 * iconvdata/ibm930.c : Likewise.
11576 * iconvdata/ibm932.c: Likewise.
11577 * iconvdata/ibm933.c : Likewise.
11578 * iconvdata/ibm935.c : Likewise.
11579 * iconvdata/ibm937.c : Likewise.
11580 * iconvdata/ibm939.c : Likewise.
11581 * iconvdata/ibm943.c: Likewise.
11582 * iconvdata/iso_11548-1.c: Likewise.
11583 * iconvdata/iso-2022-cn.c : Likewise.
11584 * iconvdata/iso-2022-cn-ext.c : Likewise.
11585 * iconvdata/iso-2022-jp-3.c: Likewise.
11586 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11587 * iconvdata/iso-2022-kr.c : Likewise.
11588 * iconvdata/iso646.c (gconv_end): Likewise.
11589 * iconvdata/iso_6937-2.c : Likewise.
11590 * iconvdata/iso_6937.c : Likewise.
11591 * iconvdata/iso8859-1.c: Likewise.
11592 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11593 * iconvdata/shift_jisx0213.c : Likewise.
11594 * iconvdata/sjis.c : Likewise.
11595 * iconvdata/t.61.c : Likewise.
11596 * iconvdata/tcvn5712-1.c : Likewise.
11597 * iconvdata/tscii.c: Likewise.
11598 * iconvdata/uhc.c : Likewise.
11599 * iconvdata/unicode.c (gconv_end): Likewise.
11600 * iconvdata/utf-16.c (gconv_end): Likewise.
11601 * iconvdata/utf-32.c (gconv_end): Likewise.
11602 * iconvdata/utf-7.c (base64): Likewise.
11603 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11604 * iconv/gconv_close.c (__gconv_close): Likewise.
11605 * iconv/gconv_open.c (__gconv_open): Likewise.
11606 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11607 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11608 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11609 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11610 (ucs4le_internal_loop_single): Likewise.
11611 * iconv/iconv.c (iconv): Likewise.
11612 * iconv/iconv_close.c: Likewise.
11613 * iconv/loop.c (SINGLE): Likewise.
11614 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11615 * include/atomic.h: Likewise.
11616 * inet/inet6_option.c (option_alloc): Likewise.
11617 * intl/bindtextdom.c (set_binding_values): Likewise.
11618 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11619 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11620 * intl/localealias.c (read_alias_file): Likewise.
11621 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11622 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11623 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11624 * libio/fmemopen.c (fmemopen): Likewise.
11625 * libio/iofgets.c (_IO_fgets): Likewise.
11626 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11627 * libio/iofgetws.c (fgetws): Likewise.
11628 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11629 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11630 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11631 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11632 * locale/findlocale.c (_nl_find_locale): Likewise.
11633 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11634 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11636 * locale/setlocale.c (setlocale): Likewise.
11637 * login/programs/pt_chown.c (main): Likewise.
11638 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11639 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11640 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11641 (mmap, mmap64, mremap, munmap): Likewise.
11642 * math/e_exp2l.c: Likewise.
11643 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11644 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11645 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11646 * math/s_catan.c (__catan): Likewise.
11647 * math/s_catanf.c (__catanf): Likewise.
11648 * math/s_catanh.c (__catanh): Likewise.
11649 * math/s_catanhf.c (__catanhf): Likewise.
11650 * math/s_catanhl.c (__catanhl): Likewise.
11651 * math/s_catanl.c (__catanl): Likewise.
11652 * math/s_ccosh.c (__ccosh): Likewise.
11653 * math/s_ccoshf.c (__ccoshf): Likewise.
11654 * math/s_ccoshl.c (__ccoshl): Likewise.
11655 * math/s_cexp.c (__cexp): Likewise.
11656 * math/s_cexpf.c (__cexpf): Likewise.
11657 * math/s_cexpl.c (__cexpl): Likewise.
11658 * math/s_clog10.c (__clog10): Likewise.
11659 * math/s_clog10f.c (__clog10f): Likewise.
11660 * math/s_clog10l.c (__clog10l): Likewise.
11661 * math/s_clog.c (__clog): Likewise.
11662 * math/s_clogf.c (__clogf): Likewise.
11663 * math/s_clogl.c (__clogl): Likewise.
11664 * math/s_csin.c (__csin): Likewise.
11665 * math/s_csinf.c (__csinf): Likewise.
11666 * math/s_csinh.c (__csinh): Likewise.
11667 * math/s_csinhf.c (__csinhf): Likewise.
11668 * math/s_csinhl.c (__csinhl): Likewise.
11669 * math/s_csinl.c (__csinl): Likewise.
11670 * math/s_csqrt.c (__csqrt): Likewise.
11671 * math/s_csqrtf.c (__csqrtf): Likewise.
11672 * math/s_csqrtl.c (__csqrtl): Likewise.
11673 * math/s_ctan.c (__ctan): Likewise.
11674 * math/s_ctanf.c (__ctanf): Likewise.
11675 * math/s_ctanh.c (__ctanh): Likewise.
11676 * math/s_ctanhf.c (__ctanhf): Likewise.
11677 * math/s_ctanhl.c (__ctanhl): Likewise.
11678 * math/s_ctanl.c (__ctanl): Likewise.
11679 * math/w_pow.c: Likewise.
11680 * math/w_powf.c: Likewise.
11681 * math/w_powl.c: Likewise.
11682 * math/w_scalb.c (sysv_scalb): Likewise.
11683 * math/w_scalbf.c (sysv_scalbf): Likewise.
11684 * math/w_scalbl.c (sysv_scalbl): Likewise.
11685 * misc/error.c (error_tail): Likewise.
11686 * misc/pselect.c (__pselect): Likewise.
11687 * nis/nis_callback.c (__nis_create_callback): Likewise.
11688 * nis/nis_call.c (__nisfind_server): Likewise.
11689 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11690 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11691 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11692 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11693 * nis/nis_lookup.c (nis_lookup): Likewise.
11694 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11695 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11696 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11697 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11698 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11699 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11700 * nis/nss_compat/compat-initgroups.c (add_group)
11701 (internal_getgrent_r): Likewise.
11702 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11703 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11704 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11705 (internal_getspnam_r): Likewise.
11706 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11707 (_nss_nis_getaliasbyname_r): Likewise.
11708 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11709 (_nss_nis_getntohost_r): Likewise.
11710 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11711 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11712 (_nss_nis_getgrgid_r): Likewise.
11713 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11714 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11715 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11716 (_nss_nis_gethostbyname4_r): Likewise.
11717 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11718 (initgroups_netid): Likewise.
11719 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11720 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11721 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11722 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11723 (_nss_nis_getprotobynumber_r): Likewise.
11724 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11725 (_nss_nis_getsecretkey): Likewise.
11726 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11727 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11728 (_nss_nis_getpwuid_r): Likewise.
11729 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11730 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11731 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11732 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11733 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11734 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11735 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11737 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11738 (_nss_nisplus_getntohost_r): Likewise.
11739 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11740 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11741 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11742 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11744 * nis/nss_nisplus/nisplus-initgroups.c
11745 (_nss_nisplus_initgroups_dyn): Likewise.
11746 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11747 (_nss_nisplus_getnetbyaddr_r): Likewise.
11748 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11749 (_nss_nisplus_getprotobynumber_r): Likewise.
11750 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11751 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11752 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11754 * nis/nss_nisplus/nisplus-service.c
11755 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11756 (_nss_nisplus_getservbyport_r): Likewise.
11757 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11758 (_nss_nisplus_getspnam_r): Likewise.
11759 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11761 * nscd/aicache.c (addhstaiX): Likewise.
11762 * nscd/cache.c (cache_search, prune_cache): Likewise.
11763 * nscd/connections.c (register_traced_file, send_ro_fd)
11764 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11765 (main_loop_epoll): Likewise.
11766 * nscd/grpcache.c (addgrbyX): Likewise.
11767 * nscd/hstcache.c (addhstbyX): Likewise.
11768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11769 * nscd/mem.c (gc, mempool_alloc): Likewise.
11770 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11771 (addinnetgrX): Likewise.
11772 * nscd/nscd-client.h (__nscd_acquire_maplock)
11773 (__nscd_drop_map_ref): Likewise.
11774 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11775 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11776 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11778 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11779 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11780 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11781 (__nscd_get_map_ref): Likewise.
11782 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11783 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11785 * nscd/pwdcache.c (addpwbyX): Likewise.
11786 * nscd/selinux.c (preserve_capabilities): Likewise.
11787 * nscd/servicescache.c (addservbyX): Likewise.
11788 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11789 * posix/fnmatch.c (fnmatch): Likewise.
11790 * posix/getopt.c (_getopt_internal_r): Likewise.
11791 * posix/glob.c (glob, glob_in_dir): Likewise.
11792 * posix/wordexp.c (exec_comm_child): Likewise.
11793 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11794 (getanswer_r, gaih_getanswer_slice): Likewise.
11795 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11796 * resolv/res_init.c: Likewise.
11797 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11798 * resolv/res_query.c (__libc_res_nquery): Likewise.
11799 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11801 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11802 * stdio-common/perror.c (perror): Likewise.
11803 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11804 * stdio-common/tmpnam.c (tmpnam): Likewise.
11805 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11806 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11807 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11809 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11810 * stdlib/putenv.c (putenv): Likewise.
11811 * stdlib/setenv.c (__add_to_environ): Likewise.
11812 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11813 * stdlib/strtol_l.c (INTERNAL): Likewise.
11814 * string/memmem.c (memmem): Likewise.
11815 * string/strerror.c (strerror): Likewise.
11816 * string/strnlen.c (__strnlen): Likewise.
11817 * string/test-memmem.c (simple_memmem): Likewise.
11818 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11819 * sunrpc/pm_getport.c (__get_socket): Likewise.
11820 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11821 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11822 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11823 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11825 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11826 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11827 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11828 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11829 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11830 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11832 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11834 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11835 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11836 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11837 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11838 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11840 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11841 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11842 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11843 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11844 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11845 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11847 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11849 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11851 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11853 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11854 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11855 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11856 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11857 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11858 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11860 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11861 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11864 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11866 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11868 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11870 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11872 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11874 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11876 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11878 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11879 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11880 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11881 * sysdeps/posix/sleep.c: Likewise.
11882 * sysdeps/posix/tempname.c: Likewise.
11883 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11884 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11886 * sysdeps/powerpc/powerpc32/dl-machine.h
11887 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11888 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11890 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11891 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11893 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11894 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11895 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11896 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11897 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11898 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11899 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11900 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11901 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11902 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11904 (elf_machine_lazy_rel): Likewise.
11905 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11907 (elf_machine_lazy_rel): Likewise.
11908 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11909 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11910 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11911 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11912 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11913 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11914 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11917 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11918 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11919 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11920 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11921 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11922 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11923 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11924 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11925 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11927 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11929 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11930 (__posix_fallocate64_l64): Likewise.
11931 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11932 (posix_fallocate): Likewise.
11933 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11935 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11936 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11937 (getifaddrs_internal): Likewise.
11938 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11939 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11940 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11941 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11942 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11943 (__posix_fallocate64_l64): Likewise.
11944 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11946 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11947 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11948 (__get_clockfreq): Likewise.
11949 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11950 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11951 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11952 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11954 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11955 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11956 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11958 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11959 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11960 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11961 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11962 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11963 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11964 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11966 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11967 (posix_fallocate): Likewise.
11968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11969 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11970 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11971 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11972 (elf_machine_rela, elf_machine_rela_relative)
11973 (elf_machine_lazy_rel): Likewise.
11974 * time/asctime.c (asctime_internal): Likewise.
11975 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11976 * time/tzset.c (__tzset_parse_tz): Likewise.
11977 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11978 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11979 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11980 * wcsmbs/wcsmbsload.h: Likewise.
11983 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11985 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11986 (arena_get2): Remove THREAD_STATS conditionals.
11987 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11988 (__malloc_stats, int): Likewise.
11990 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11992 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11993 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11995 * manual/setjmp.texi: Fix typos/grammar errors.
11997 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11998 Only return early when n is <= 0. Delete unused return statement.
12000 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12001 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12002 * debug/tst-longjmp_chk3.c: New file.
12004 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12005 (test_main): Replace code with set_fortify_handler call.
12006 * debug/test-strcpy_chk.c: Likewise.
12007 * debug/tst-chk1.c: Likewise.
12008 * debug/tst-longjmp_chk.c: Likewise.
12009 * test-skeleton.c: Include fcntl.h & paths.h
12010 (set_fortify_handler): Define.
12012 * debug/tst-longjmp_chk.c: Add header comment and include
12013 ../test-skeleton.c.
12014 (do_test): Mark static.
12015 (TEST_FUNCTION): Define.
12017 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12018 (IP_PMTUDISC_INTERFACE): Likewise.
12019 (IP_MULTICAST_IF): Likewise.
12020 (IP_MULTICAST_TTL): Likewise.
12021 (IP_MULTICAST_LOOP): Likewise.
12022 (IP_ADD_MEMBERSHIP): Likewise.
12023 (IP_DROP_MEMBERSHIP): Likewise.
12024 (IP_UNBLOCK_SOURCE): Likewise.
12025 (IP_BLOCK_SOURCE): Likewise.
12026 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12027 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12028 (IP_MSFILTER): Likewise.
12029 (MCAST_JOIN_GROUP): Likewise.
12030 (MCAST_BLOCK_SOURCE): Likewise.
12031 (MCAST_UNBLOCK_SOURCE): Likewise.
12032 (MCAST_LEAVE_GROUP): Likewise.
12033 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12034 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12035 (MCAST_MSFILTER): Likewise.
12036 (IP_MULTICAST_ALL): Likewise.
12037 (IP_UNICAST_IF): Likewise.
12039 * timezone/Makefile: Delete $(have-ksh) check.
12040 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12041 * timezone/tzselect.ksh: Add +x mode bits.
12043 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12044 (ANON_INODE_FS_MAGIC): Likewise.
12045 (BDEVFS_MAGIC): Likewise.
12046 (BINFMTFS_MAGIC): Likewise.
12047 (BTRFS_TEST_MAGIC): Likewise.
12048 (CRAMFS_MAGIC_WEND): Likewise.
12049 (DEBUGFS_MAGIC): Likewise.
12050 (ECRYPTFS_SUPER_MAGIC): Likewise.
12051 (EXT3_SUPER_MAGIC): Likewise.
12052 (EXT4_SUPER_MAGIC): Likewise.
12053 (FUTEXFS_SUPER_MAGIC): Likewise.
12054 (HOSTFS_SUPER_MAGIC): Likewise.
12055 (HUGETLBFS_MAGIC): Likewise.
12056 (MINIX3_SUPER_MAGIC): Likewise.
12057 (MTD_INODE_FS_MAGIC): Likewise.
12058 (NILFS_SUPER_MAGIC): Likewise.
12059 (OPENPROM_SUPER_MAGIC): Likewise.
12060 (PIPEFS_MAGIC): Likewise.
12061 (PSTOREFS_MAGIC): Likewise.
12062 (QNX6_SUPER_MAGIC): Likewise.
12063 (RAMFS_MAGIC): Likewise.
12064 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12065 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12066 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12067 (SECURITYFS_MAGIC): Likewise.
12068 (SELINUX_MAGIC): Likewise.
12069 (SMACK_MAGIC): Likewise.
12070 (SOCKFS_MAGIC): Likewise.
12071 (SQUASHFS_MAGIC): Likewise.
12072 (STACK_END_MAGIC): Likewise.
12073 (TMPFS_MAGIC): Likewise.
12074 (USBDEVICE_SUPER_MAGIC): Likewise.
12075 (V9FS_MAGIC): Likewise.
12076 (XENFS_SUPER_MAGIC): Likewise.
12077 (CRAMFS_MAGIC): Fix typo in comment.
12078 (EXT2_SUPER_MAGIC): Update comment.
12079 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12081 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12083 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12084 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12085 * sysdeps/unix/sysv/linux/arm: Move directory from
12086 ports/sysdeps/unix/sysv/linux/arm.
12087 * README: Update listing for arm-*-linux-gnueabi.
12089 * README: Remove mention of am33.
12091 2014-02-07 Roland McGrath <roland@hack.frob.com>
12093 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12094 than the comma operator, to avoid "rhs of comma has no effect"
12096 (__sigfillset, __sigandset, __sigorset): Likewise.
12097 * include/signal.h (__sigemptyset): Likewise.
12098 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12100 2014-02-07 Allan McRae <allan@archlinux.org>
12102 * version.h (RELEASE): Set to "development".
12103 (VERSION): Set to "2.19.90"
12104 * NEWS: Add 2.20 section.
12106 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12109 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12111 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12113 * manual/contrib.texi: Update entry for Carlos O'Donell,
12114 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12116 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12118 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12120 * sysdeps/unix/sysv/linux/kernel-features.h
12121 [__LINUX_KERNEL_VERSION >= 0x020621]
12122 (__ASSUME_PROC_PID_TASK_COMM): Define.
12124 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12127 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12128 conversion when destination buffer does not have enough space.
12129 * libio/tst-ftell-partial-wide.c: New test case.
12130 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12132 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12133 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12134 Leonard and Allan McRae.
12136 2014-02-04 David S. Miller <davem@davemloft.net>
12138 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12141 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12170 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12172 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12173 * shlib-versions: Likewise.
12175 2014-02-04 Roland McGrath <roland@hack.frob.com>
12176 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12178 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12179 (abilist-pattern): New variable, set to %-le.abilist.
12181 * Makerules (abilist-pattern): New variable.
12182 (vpath): Use $(abilist-pattern) in place of %.abilist.
12183 (check-abi-% pattern rule): Likewise.
12184 (check-abi, update-abi): Likewise.
12186 2014-02-04 Eric Wong <normalperson@yhbt.net>
12188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12190 2014-02-03 Carlos O'Donell <carlos@redhat.com>
12192 * manual/startup.texi: Add next, previous, and top entries for
12193 the `Program Arguments' and `Environment Variables' nodes.
12195 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
12197 * manual/macros.texi: Add comments before MTASC-safety macros.
12199 * manual/users.texi: Document MTASC-safety properties.
12201 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12202 (pthread_getspecific, pthread_setspecific): Format with
12203 @deftypefun, and add @safety note.
12204 * manual/signal.texi: Move comments that analyze the above
12205 functions to their home place.
12207 2014-02-03 Allan McRae <allan@archlinux.org>
12209 * po/sl.po: Update Slovenian translation from translation project.
12211 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
12213 * manual/time.texi (timegm): Add missing blank after @c.
12214 Reported by Joseph Myers <joseph@codesourcery.com>.
12216 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
12218 * manual/check-safety.sh: New.
12219 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12221 * manual/terminal.texi: Document MTASC-safety properties.
12223 * manual/filesys.texi: Document MTASC-safety properties.
12225 * manual/errno.texi: Document MTASC-safety properties.
12227 * manual/intro.texi: Document safety identifiers and
12230 * manual/string.texi (wcstok): Fix prototype.
12231 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12233 * manual/time.texi: Document MTASC-safety properties.
12235 * manual/string.texi: Document MTASC-safety properties.
12237 * manual/threads.texi: Document MTASC-safety properties.
12239 * manual/stdio.texi: Document MTASC-safety properties.
12241 * manual/syslog.texi: Document MTASC-safety properties.
12243 * manual/sysinfo.texi: Document MTASC-safety properties.
12245 * manual/startup.texi: Document MTASC-safety properties.
12247 * manual/socket.texi: Document MTASC-safety properties.
12249 * manual/signal.texi: Document MTASC-safety properties.
12251 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12253 * manual/setjmp.texi: Document MTASC-safety properties.
12255 * manual/search.texi: Document MTASC-safety properties.
12257 * manual/resource.texi: Document MTASC-safety properties.
12259 * manual/process.texi: Document MTASC-safety properties.
12261 * manual/platform.texi: Document MTASC-safety properties.
12263 * manual/pipe.texi: Document MTASC-safety properties.
12265 * manual/pattern.texi: Document MTASC-safety properties.
12267 * manual/message.texi: Document MTASC-safety properties.
12270 * manual/memory.texi: Document MTASC-safety properties.
12272 * manual/math.texi: Document MTASC-safety properties.
12274 * manual/locale.texi: Document MTASC-safety properties.
12276 * manual/llio.texi: Document MTASC-safety properties.
12278 * manual/libdl.texi: New.
12280 * manual/lang.texi: Document MTASC-safety properties.
12282 * manual/job.texi: Document MTASC-safety properties.
12284 * manual/getopt.texi: Document MTASC-safety properties.
12286 * manual/ctype.texi: Document MTASC-safety properties.
12288 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12291 * csu/libc-tls.c (static_map): Remove variable.
12292 (__libc_setup_tls): Use main executable's link map for TLS data.
12293 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12294 casing for LM_ID_BASE and GL(dl_nns).
12295 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12296 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12297 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12298 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12299 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12301 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12304 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12306 * manual/debug.texi: Document MTASC-safety properties.
12308 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12311 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12312 of __x86_64__ when disabling x87 inline functions.
12314 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12316 * manual/charset.texi: Document MTASC-safety properties.
12318 * manual/crypt.texi: Document MTASC-safety properties.
12320 * manual/conf.texi: Document MTASC-safety properties.
12322 * manual/arith.texi: Document MTASC-safety properties.
12324 * manual/argp.texi: Document MTASC-safety properties.
12326 * manual/macros.texi: Introduce macros to document multi
12327 thread, asynchronous signal and asynchronous cancellation
12329 * manual/intro.texi: Introduce the properties themselves.
12331 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12333 * sysdeps/sh/sh4/Makefile: New file.
12335 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12337 * math/gen-libm-test.pl ($srcdir): New variable.
12338 ($auto_input): Use it.
12340 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12343 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12344 access beyond array bounds when parsing netgroups file.
12346 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12347 the old buffer before realloc.
12349 2014-01-27 Allan McRae <allan@archlinux.org>
12351 * po/fr.po: Update French translation from translation project.
12353 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12355 * sysdeps/sh/libm-test-ulps: Regenerate.
12357 2014-01-24 David S. Miller <davem@davemloft.net>
12359 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12361 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12364 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12366 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12369 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12370 string pointers after reallocation.
12372 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12374 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12375 __SH4A__ instead of __SH_FPU_ANY__.
12377 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12379 * sysdeps/sh/fpu_control.h: New file.
12380 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12381 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12382 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12383 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12384 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12385 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12386 * sysdeps/sh/sys/ucontext.h: Remove.
12387 * sysdeps/sh/sys: Remove directory.
12389 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12391 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12392 s390/sys/ucontext.h.
12393 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12394 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12396 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12399 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12401 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12405 Adjust the vDSO correctly for internal calls.
12406 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12408 2014-01-20 Allan McRae <allan@archlinux.org>
12410 * po/ca.po: Update Catalan translation from translation project.
12412 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12414 * sysdeps/s390/sotruss-lib.c: New file.
12416 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12419 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12420 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12421 local calls issues by not having a PLT stub required for IFUNC calls.
12422 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12424 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12426 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12427 * math/test-fpucw-static.c: Likewise.
12429 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12432 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12434 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12436 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12437 implementation for powerpc.
12439 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12442 * sysdeps/posix/system.c (__libc_system): Do not enable
12443 asynchronous cancellation.
12445 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12448 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12449 handling only for numbers special also in the IEEE case.
12451 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12453 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12455 2014-01-11 Allan McRae <allan@archlinux.org>
12457 * po/bg.po: Update Bulgarian translation from translation project.
12459 * po/de.po: Update German translation from translation project.
12461 2014-01-10 Roland McGrath <roland@hack.frob.com>
12463 * sysdeps/generic/gcc-compat.h: New file.
12465 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12467 * benchtests/asin-inputs: Correct slow inputs.
12468 * benchtests/acos-inputs: Likewise.
12470 2014-01-10 Allan McRae <allan@archlinux.org>
12472 * po:sv.po: Update Swedish translation from translation project.
12474 * po/vi.po: Update Vietnamese translation from translation project.
12476 * po/eo.po: Update Esperanto translation from translation project.
12478 * po/cs.po: Update Czech translation from translation project.
12480 * po/nl.po: Update Dutch translation from translation project.
12482 * po/pl.po: Update Polish translation from translation project.
12484 * po/ru.po: Update Russian translation from translation project.
12486 * po/uk.po: Update Ukrainian translation from translation project.
12488 2014-01-08 Brooks Moses <bmoses@google.com>
12490 * elf/dl-load.c: Fix comment typo.
12492 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12494 * po/header.pot: Rename to...
12495 * po/pot.header: ... this.
12496 * po/Makefile: Use pot.header.
12498 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12499 Maxim Kuvyrkov <maxim@kugelworks.com>
12502 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12503 SRC and DEST against LEN.
12505 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12508 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12510 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12512 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12516 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12519 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12520 for large positive arguments.
12522 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12524 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12526 * math/auto-libm-test-in: Mark various tests with
12527 xfail-rounding:ldbl-128ibm.
12528 * math/auto-libm-test-out: Regenerated.
12531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12532 Increase overflow threshold.
12534 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12537 * stdio-common/vfprintf.c: Check for integer overflow.
12539 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12541 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12542 the first argument and return value of __tls_get_addr_internal.
12544 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12546 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12547 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12549 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12551 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12552 * sysdeps/s390/rtld-global-offsets.sym: New file.
12553 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12555 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12556 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12557 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12559 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12560 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12566 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12567 halfs of GPRs for high_gprs contexts.
12568 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12569 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12571 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12573 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12575 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12576 for high GPRs (uc_high_gprs) and for future extensions
12578 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12579 for future extensions (__reserved).
12580 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12582 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12583 SC_HIGHGPRS offset definition.
12584 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12585 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12587 * Versions.def: Add GLIBC_2.19 for libpthread.
12588 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12589 siglongjmp for libpthread with GLIBC_2.19 symver.
12590 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12591 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12592 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12593 * sysdeps/s390/__longjmp.c: New file.
12594 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12595 * sysdeps/s390/longjmp.c: New file.
12596 * sysdeps/s390/setjmp.S: New file.
12597 * sysdeps/s390/sigjmp.S: New file.
12598 * sysdeps/s390/v1-longjmp.c: New file.
12599 * sysdeps/s390/v1-setjmp.h: New file.
12600 * sysdeps/s390/v1-sigjmp.c: New file.
12601 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12602 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12603 GLIBC_2.19 version.
12604 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12605 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12606 versioned symbols for ____longjmp_chk.
12607 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12617 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12618 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12619 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12620 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12621 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12622 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12623 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12624 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12625 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12626 * sysdeps/s390/rtld-__longjmp.c: New file.
12627 * sysdeps/s390/rtld-setjmp.S: New file.
12629 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12632 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12633 Return -__logl (x) for small positive arguments without evaluating
12636 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12638 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12640 (__ptrace_peeksiginfo_args): ... this.
12641 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12645 2014-01-06 Allan McRae <allan@archlinux.org>
12647 * inet/netinet/in.h: Fix typo in comment.
12649 2014-01-05 Andreas Jaeger <aj@suse.de>
12651 * sysdeps/i386/fpu/libm-test-ulps: Update.
12653 2014-01-05 Allan McRae <allan@archlinux.org>
12655 * po/libc.pot: Regenerated.
12657 * malloc/memusagestat.c: Fix gettext call formatting.
12659 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12661 * nscd/nscd.c: Improve usage() output.
12663 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12665 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12666 * sysdeps/unix/sysv/linux/configure: Regenerated.
12667 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12668 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12670 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12673 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12674 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12676 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12678 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12679 extra tokens at end of #undef directive.
12680 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12681 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12684 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12686 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12688 * math/auto-libm-test-in: Mark various tests with
12689 xfail-rounding:ldbl-128ibm.
12690 * math/auto-libm-test-out: Regenerated.
12692 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12696 numbers with subnormal high part when calculating exponent.
12699 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12705 (__ieee754_acoshl): Use __log1pl not __log1p.
12707 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12709 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12710 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12711 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12712 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12713 (reused_arena, arena_get2): Convert to GNU style.
12714 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12715 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12716 (memalign_check, __malloc_set_state): Likewise.
12717 * malloc/mallocbug.c (main): Likewise.
12718 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12719 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12720 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12721 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12722 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12723 (__posix_memalign, malloc_info): Likewise.
12724 * malloc/malloc.h: Likewise.
12725 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12726 (mallochook, memalignhook, reallochook, mabort): Likewise.
12727 * malloc/mcheck.h: Likewise.
12728 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12729 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12730 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12731 * malloc/morecore.c (__default_morecore): Likewise.
12732 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12733 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12734 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12735 (print_and_abort): Likewise.
12736 * malloc/obstack.h: Likewise.
12737 * malloc/set-freeres.c (__libc_freeres): Likewise.
12738 * malloc/tst-mallocstate.c (main): Likewise.
12739 * malloc/tst-mtrace.c (main): Likewise.
12740 * malloc/tst-realloc.c (do_test): Likewise.
12742 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12745 * nscd/netgroupcache.c (do_notfound): New function.
12746 (addgetnetgrentX): Use it.
12749 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12750 NSS_STATUS_NOTFOUND.
12752 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12754 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12757 2014-01-01 Allan McRae <allan@archlinux.org>
12759 * scripts/update-copyrights: Update configure input file suffix.
12761 * NEWS: Update copyright year.
12762 * catgets/gencat.c: Likewise.
12763 * csu/version.c: Likewise.
12764 * debug/catchsegv.sh: Likewise.
12765 * debug/pcprofiledump.c: Likewise.
12766 * debug/xtrace.sh: Likewise.
12767 * elf/ldconfig.c: Likewise.
12768 * elf/ldd.bash.in: Likewise.
12769 * elf/pldd.c: Likewise.
12770 * elf/sotruss.ksh: Likewise.
12771 * elf/sprof.c: Likewise.
12772 * iconv/iconv_prog.c: Likewise.
12773 * iconv/iconvconfig.c: Likewise.
12774 * locale/programs/locale.c: Likewise.
12775 * locale/programs/localedef.c: Likewise.
12776 * login/programs/pt_chown.c: Likewise.
12777 * malloc/memusage.sh: Likewise.
12778 * malloc/memusagestat.c: Likewise.
12779 * malloc/mtrace.pl: Likewise.
12780 * manual/libc.texinfo: Likewise.
12781 * nscd/nscd.c: Likewise.
12782 * nss/getent.c: Likewise.
12783 * nss/makedb.c: Likewise.
12784 * posix/getconf.c: Likewise.
12785 * scripts/test-installation.pl: Likewise.
12787 * All files with FSF copyright notices: Update copyright dates
12788 using scripts/update-copyrights.
12789 * intl/plural.c: Regenerated.
12790 * locale/programs/charmap-kw.h: Likewise.
12791 * locale/programs/locfile-kw.h: Likewise.
12793 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12795 * sysdeps/unix/sysv/linux/configure: Regenerated.
12796 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12797 the linux/fanotify.h header.
12798 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12799 HAVE_LINUX_FANOTIFY_H is defined.
12801 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12803 * benchtests/cos-inputs: New inputs.
12804 * benchtests/sin-inputs: Likewise.
12806 * benchtests/atan-inputs: New inputs. Fix name of multiple
12807 precision fallback inputs.
12809 * benchtests/atanh-inputs: New inputs.
12810 * benchtests/tanh-inputs: Likewise.
12812 * benchtests/acosh-inputs: New inputs.
12813 * benchtests/asinh-inputs: Likewise.
12815 * benchtests/cosh-inputs: New inputs.
12816 * benchtests/sinh-inputs: Likewise.
12818 * benchtests/acos-inputs: Add more inputs.
12819 * benchtests/asin-inputs: Likewise.
12821 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12824 * manual/arith.texi: Fix spelling.
12825 * manual/charset.texi: Likewise.
12826 * manual/errno.texi: Likewise.
12827 * manual/filesys.texi: Likewise.
12828 * manual/lang.texi: Likewise.
12829 * manual/llio.texi: Likewise.
12830 * manual/locale.texi: Likewise.
12831 * manual/message.texi: Likewise.
12832 * manual/resource.texi: Likewise.
12833 * manual/search.texi: Likewise.
12834 * manual/setjmp.texi: Likewise.
12835 * manual/stdio.texi: Likewise.
12836 * manual/string.texi: Likewise.
12837 * manual/sysinfo.texi: Likewise.
12838 * manual/time.texi: Likewise.
12840 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12842 * po/sl.po: New file.
12844 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12846 * .gitignore: Add core/.gdbinit/.gdb_history.
12848 2013-12-27 Allan McRae <allan@archlinux.org>
12851 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12852 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12854 2013-12-24 Brooks Moses <bmoses@google.com>
12856 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12857 all compilers that claim C++98 compliance, not just GCC.
12858 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12861 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12863 * NEWS: Restore accidentally deleted bug-fix entries.
12865 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12866 Ondřej Bílka <neleai@seznam.cz>
12869 * malloc/malloc.c (_int_free): Perform sanity check only if we
12872 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12875 * manual/stdio.texi (String Input Conversions): Clarify that character
12876 classes are not supported.
12878 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12882 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12886 Calculate results for small negative arguments directly rather
12887 than using reflection formula with special underflow handling.
12889 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12890 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12891 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12892 (fchflags): Likewise.
12893 (revoke): Likewise.
12894 (setlogin): Likewise.
12895 (sigaltstack): Likewise.
12897 (sigblock): Remove.
12898 (sigsetmask): Likewise.
12900 (waitpid): Likewise.
12901 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12902 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12904 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12905 * sysdeps/unix/bsd/Makefile: ... here.
12906 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12907 * sysdeps/unix/bsd/Versions: ... here.
12908 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12909 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12910 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12911 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12912 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12913 * sysdeps/unix/bsd/sigblock.c: ... here.
12914 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12915 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12916 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12917 * sysdeps/unix/bsd/sigvec.c: ... here.
12918 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12919 * sysdeps/unix/bsd/tcdrain.c: ... here.
12920 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12921 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12922 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12923 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12924 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12925 * sysdeps/unix/bsd/wait.c: ... here.
12926 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12927 * sysdeps/unix/bsd/wait3.c: ... here.
12928 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12929 * sysdeps/unix/bsd/waitpid.c: ... here.
12931 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12935 round-to-nearest for [!USE_AS_EXPM1L].
12936 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12937 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12938 more tests of exp and exp10. Expect some exp10 tests to miss
12939 exceptions or fail in directed rounding modes.
12940 * math/auto-libm-test-out: Regenerated.
12941 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12942 (exp10_test_tonearest): New function.
12943 (exp10_towardzero_test_data): New array.
12944 (exp10_test_towardzero): New function.
12945 (exp10_downward_test_data): New array.
12946 (exp10_test_downward): New function.
12947 (exp10_upward_test_data): New array.
12948 (exp10_test_upward): New function.
12949 (main): Call the new functions.
12950 * sysdeps/i386/fpu/libm-test-ulps: Update.
12951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12953 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12955 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12956 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12957 * math/auto-libm-test-out: Regenerated.
12958 * math/libm-test.inc (acosh_test_data): Add more tests.
12959 (atanh_test_data): Likewise.
12960 (ceil_test_data): Likewise.
12961 (copysign_test_data): Likewise.
12962 * sysdeps/i386/fpu/libm-test-ulps: Update.
12963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12965 * timezone/checktab.awk: Update from tzcode 2013i.
12966 * timezone/private.h: Likewise.
12967 * timezone/scheck.c: Likewise.
12968 * timezone/tzfile.h: Likewise.
12969 * timezone/tzselect.ksh: Likewise.
12970 * timezone/zdump.c: Likewise.
12971 * timezone/zic.c: Likewise.
12973 * math/auto-libm-test-in: Add tests of cpow.
12974 * math/auto-libm-test-out: Regenerated.
12975 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12976 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12978 (func_calc_desc): Add mpc_cc_c union field.
12979 (test_functions): Add cpow.
12980 (special_fill_2pi): New function.
12981 (special_real_inputs): Add 2pi.
12982 (calc_generic_results): Handle mpc_cc_c.
12983 * sysdeps/i386/fpu/libm-test-ulps: Update.
12984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12986 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12987 csqrt, ctan and ctanh.
12988 * math/auto-libm-test-out: Regenerated.
12989 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12990 (TEST_COND_x86): Likewise.
12991 (ccos_test_data): Use AUTO_TESTS_c_c.
12992 (ccosh_test_data): Likewise.
12993 (cexp_test_data): Likewise.
12994 (clog_test_data): Likewise.
12995 (csqrt_test_data): Likewise.
12996 (ctan_test_data): Likewise.
12997 (ctan_tonearest_test_data): Likewise.
12998 (ctan_towardzero_test_data): Likewise.
12999 (ctan_downward_test_data): Likewise.
13000 (ctan_upward_test_data): Likewise.
13001 (ctanh_test_data): Likewise.
13002 (ctanh_tonearest_test_data): Likewise.
13003 (ctanh_towardzero_test_data): Likewise.
13004 (ctanh_downward_test_data): Likewise.
13005 (ctanh_upward_test_data): Likewise.
13006 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13008 (func_calc_desc): Add mpc_c_c union field.
13009 (FUNC_mpc_c_c): New macro.
13010 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13011 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13013 (special_fill_min_subnorm_p120): New function.
13014 (special_real_inputs): Add min_subnorm_p120.
13015 (calc_generic_results): Handle mpc_c_c.
13016 * sysdeps/i386/fpu/libm-test-ulps: Update.
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13019 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13021 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13022 (do_sin_slow): New functions.
13023 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13024 (cslow2, csloww1, csloww2): Use the new functions.
13026 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13027 Use M to change sign of result instead of X. Assume X is
13029 (csloww1): Likewise.
13033 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13034 arguments A and DA.
13038 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13040 (sloww1): Don't adjust sign of DX.
13041 (csloww1): Likewise.
13042 (sloww2): Use X directly and don't adjust sign of DX.
13043 (csloww2): Likewise.
13045 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13047 * math/auto-libm-test-in: Add tests of cabs and carg.
13048 * math/auto-libm-test-out: Regenerated.
13049 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13050 (carg_test_data): Likewise.
13051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13053 (func_calc_desc): Add mpc_c_f union field.
13054 (test_functions): Add cabs and carg.
13055 (calc_generic_results): Handle mpc_c_f.
13057 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13058 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13059 as a macro and a compat symbol.
13060 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13061 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13062 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13063 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13064 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13065 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13067 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13069 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13071 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13073 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13075 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13077 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13078 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13081 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13085 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13087 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13088 trailing whitespace removed.
13089 * scripts/config.guess: Update to version 2013-11-29.
13090 * scripts/config.sub: Update to version 2013-10-01.
13092 * math/auto-libm-test-in: Add tests of sincos.
13093 * math/auto-libm-test-out: Regenerated.
13094 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13095 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13097 (func_calc_desc): Add mpfr_f_11 union field.
13098 (test_functions): Add sincos.
13099 (calc_generic_results): Handle mpfr_f_11.
13100 * sysdeps/i386/fpu/libm-test-ulps: Update.
13101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13103 2013-12-19 Andreas Schwab <schwab@suse.de>
13105 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13107 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13108 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13109 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13111 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13113 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13114 * sysdeps/i386/fpu/libm-test-ulps: Update.
13115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13118 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13119 round-to-nearest mode when using frndint.
13120 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13121 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13124 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13126 * math/auto-libm-test-out: Regenerated.
13127 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13128 (TEST_COND_x86): Likewise.
13129 (expm1_tonearest_test_data): New array.
13130 (expm1_test_tonearest): New function.
13131 (expm1_towardzero_test_data): New array.
13132 (expm1_test_towardzero): New function.
13133 (expm1_downward_test_data): New array.
13134 (expm1_test_downward): New function.
13135 (expm1_upward_test_data): New array.
13136 (expm1_test_upward): New function.
13137 (main): Run the new test functions.
13138 * sysdeps/i386/fpu/libm-test-ulps: Update.
13139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13141 * include/features.h: Update comment documenting feature test
13142 macros. Mention _DEFAULT_SOURCE in comment.
13143 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13144 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13145 _BSD_SOURCE and _SVID_SOURCE.
13146 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13147 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13148 !_SVID_SOURCE]: Likewise.
13149 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13150 (__USE_POSIX_IMPLICITLY): Define.
13151 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13152 (_POSIX_SOURCE): Undefine and redefine.
13153 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13154 (_POSIX_C_SOURCE): Likewise.
13155 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13156 (Feature Test Macros): Update documentation of default features.
13158 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13160 * benchtests/Makefile: Add bench-strtok.
13161 * benchtests/bench-strtok.c: New file: strtok benchtest.
13163 2013-12-19 Allan McRae <allan@archlinux.org>
13165 * manual/install.texi: Suppress menu for plain text output.
13166 * INSTALL: Regenerated.
13168 2013-12-18 Brooks Moses <bmoses@google.com>
13171 * misc/getauxval.c: Include errno.h.
13172 (__getauxval): Set errno to ENOENT if the requested type is not
13174 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13175 don't declare with __attribute_const__.
13176 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13177 * manual/startup.texi: Document that getauxval sets errno.
13179 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13181 * math/auto-libm-test-in: Add tests of jn and yn.
13182 * math/auto-libm-test-out: Regenerated.
13183 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13184 (yn_test_data): Likewise.
13185 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13187 (func_calc_desc): Add mpfr_if_f union field.
13188 (FUNC_mpfr_if_f): New macro.
13189 (test_functions): Add jn and yn.
13190 (calc_generic_results): Assert type of second input for
13191 mpfr_ff_f. Handle mpfr_if_f.
13192 (output_for_one_input_case): Disable all checking for arguments
13193 fitting floating-point types in case of an integer argument.
13194 * sysdeps/i386/fpu/libm-test-ulps: Update.
13195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13198 Don't expect fegetround reference in libm.so.
13200 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13202 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13203 $(config-cflags-nofma).
13205 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13207 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13208 * math/auto-libm-test-out: Regenerated.
13211 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13212 to determine exponent and adjust argument to have exponent of -1.
13213 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13215 * math/auto-libm-test-out: Regenerated.
13216 * sysdeps/i386/fpu/libm-test-ulps: Update.
13217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13219 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13221 * manual/probes.texi: Remove cases when per-thread arenas are
13224 2013-12-18 Andreas Schwab <schwab@suse.de>
13226 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13227 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13228 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13229 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13230 * sysdeps/i386/i686/multiarch/Makefile: Update.
13231 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13233 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13235 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13236 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13238 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13241 Support TZ transition times < 00:00:00.
13242 This is needed for version-3 tz-format files; it supports time
13243 stamps past 2037 for America/Godthab (the only entry in the tz
13244 database for which this change is relevant).
13245 * manual/time.texi (TZ Variable): Document transition times
13246 from -167:59:59 through -00:00:01.
13247 * time/tzset.c (tz_rule): Time of day is now signed.
13248 (__tzset_parse_tz): Parse negative time of day.
13250 Document TZ transition times >= 25:00:00.
13251 * manual/time.texi (TZ Variable): Document transition times from
13252 25:00:00 through 167:59:59. These are already supported, and this
13253 support will help with version-3 tz-format files.
13255 * manual/time.texi (TZ Variable): Modernize North America example
13256 to reflect current (i.e., 2007-and-later) daylight saving rules.
13258 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13260 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13262 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13263 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13265 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13266 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13267 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13268 * sysdeps/unix/bsd/clock.c: Likewise.
13269 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13270 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13271 * sysdeps/unix/bsd/init-posix.c: Likewise.
13272 * sysdeps/unix/bsd/poll.c: Likewise.
13273 * sysdeps/unix/bsd/ptsname.c: Likewise.
13274 * sysdeps/unix/bsd/seekdir.c: Likewise.
13275 * sysdeps/unix/bsd/setegid.c: Likewise.
13276 * sysdeps/unix/bsd/seteuid.c: Likewise.
13277 * sysdeps/unix/bsd/setgid.c: Likewise.
13278 * sysdeps/unix/bsd/setrgid.c: Likewise.
13279 * sysdeps/unix/bsd/setruid.c: Likewise.
13280 * sysdeps/unix/bsd/setsid.c: Likewise.
13281 * sysdeps/unix/bsd/setuid.c: Likewise.
13282 * sysdeps/unix/bsd/sigaction.c: Likewise.
13283 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13284 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13285 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13286 * sysdeps/unix/bsd/telldir.c: Likewise.
13287 * sysdeps/unix/bsd/times.c: Likewise.
13288 * sysdeps/unix/bsd/usleep.c: Likewise.
13290 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13291 ($(objpfx)libbsd-compat.a): Remove rule.
13293 * include/features.h (__FAVOR_BSD): Do not define.
13294 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13295 features conflicting with POSIX.
13296 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13297 (_BSD_SOURCE): Remove description of not being a subset of other
13298 feature test macros.
13299 * manual/job.texi (getpgrp): Do not document BSD version.
13300 (getpgid): Do not document by reference to BSD getpgrp.
13301 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13302 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13303 * signal/signal.h [__FAVOR_BSD]: Likewise.
13304 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13305 instead of making contents conditional on [__FAVOR_BSD].
13306 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13308 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13312 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13315 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13316 values below 2**-450, not 2**-500.
13317 * math/auto-libm-test-in: Don't allow spurious underflow from
13319 * math/auto-libm-test-out: Regenerated.
13323 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13324 values of ha and hb and sort them after adjusting subnormal
13326 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13328 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13329 values of ea and eb and sort them after adjusting subnormal
13331 * math/auto-libm-test-in: Do not expect some hypot tests of
13332 subnormals to fail. Add more hypot tests.
13333 * math/auto-libm-test-out: Regenerated.
13335 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13338 * sysdeps/sh/s_fma.c: New file.
13339 * sysdeps/sh/s_fmaf.c: New file.
13340 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13342 * sysdeps/sh/Implies: Add sh/soft-fp.
13344 2013-12-16 Roland McGrath <roland@hack.frob.com>
13346 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13347 level of indirection to members `objname', `errstring', `malloced'.
13348 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13349 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13350 it as the __longjmp argument (just pass 1 instead).
13351 (_dl_catch_error): Initialize C with argument pointers and address of
13352 volatile local ERRCODE rather than copying values out of C at return.
13354 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13356 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13357 * math/auto-libm-test-out: Regenerated.
13358 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13359 (hypot_test_data): Likewise.
13360 (pow_test_data): Likewise.
13361 (pow_tonearest_test_data): Likewise.
13362 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13364 (func_calc_desc): Add mpfr_ff_f union field.
13365 (FUNC_mpfr_ff_f): New macro.
13366 (test_functions): Add atan2, hypot and pow.
13367 (special_fill_min): New function.
13368 (special_fill_minus_min): Likewise.
13369 (special_fill_min_subnorm): Likewise.
13370 (special_fill_minus_min_subnorm): Likewise.
13371 (special_real_inputs): Add min, -min, min_subnorm and
13373 (calc_generic_results): Handle mpfr_ff_f.
13374 * sysdeps/i386/fpu/libm-test-ulps: Update.
13375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13377 2013-12-16 Will Newton <will.newton@linaro.org>
13379 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13380 (Aligned Memory Blocks): Add documentation for aligned_alloc
13381 and suggest it as an alternative to posix_memalign.
13382 (Hooks for Malloc): Document __memalign_hook is also called
13383 for aligned_alloc. (Summary of Malloc): Add summary for
13384 aligned alloc. Document __memalign_hook is also called
13387 2013-12-16 Will Newton <will.newton@linaro.org>
13389 * manual/memory.texi (Malloc Examples): Clarify default
13390 alignment documentation. Suggest posix_memalign rather
13391 than memalign or valloc.
13392 (Aligned Memory Blocks): Remove suggestion to use memalign
13393 or valloc. Remove obsolete comment about BSD.
13394 Document memalign errno values and mark the function obsolete.
13395 Document posix_memalign returned error codes. Mark valloc
13396 as obsolete. (Hooks for Malloc): __memalign_hook is also
13397 called for posix_memalign and valloc.
13398 (Summary of Malloc): Add posix_memalign to function summary.
13399 __memalign_hook is also called for posix_memalign and valloc.
13401 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13403 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13407 (sloww): Use mynumber union. Expand ternary operator into
13408 if-else statements.
13409 (cslow): use mynumber union.
13411 2013-12-16 Allan McRae <allan@archlinux.org>
13413 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13414 * configure: Regenerated.
13416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13419 * configure.ac: Added --enable-maintainer-mode. Check for
13420 autoconf when enabled.
13421 * configure: Regenerated.
13423 * nscd/nscd.service: New file.
13424 * nscd/nscd.tmpfiles: New file.
13426 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13429 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13430 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13431 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13432 (strstr): Add __strstr_sse2_unaligned ifunc.
13433 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13434 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13435 (strcasestr): Remove __strcasestr_sse42 ifunc.
13436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13440 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13442 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13443 * sysdeps/sh/bits/fenv.h: ... here.
13444 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13446 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13448 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13451 hypotf multiarch implementations.
13452 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13453 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13454 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13455 multiarch hypot for PPC64.
13456 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13457 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13458 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13459 multiarch hypotf for PPC64.
13461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13462 modff multiarch implementations.
13463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13466 multiarch modf for PPC64.
13467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13470 multiarch modff for PPC64.
13472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13473 and logl multiarch implementations.
13474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13477 multiarch logb for PPC64.
13478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13481 multiarch logb for PPC64.
13482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13485 multiarch logb for PPC64.
13487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13488 isinff multiarch implementation.
13489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13493 multiarch isinf for PPC64.
13494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13497 multiarch isinff for PPC64.
13499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13500 finitef multiarch implementation.
13501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13505 multiarch finite for PPC64.
13506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13509 multiarch finitef for PPC64.
13511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13512 lrint multiarch implementation.
13513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13517 multiarch llrint for PPC64.
13518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13519 multiarch lrint for PPC64.
13521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13522 copysignf multiarch implementation.
13523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13528 multiarch copysign for PPC64.
13529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13530 multiarch copysignf for PPC64.
13532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13533 multiarch implementation.
13534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13542 multiarch llround for PPC64.
13543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13544 multiarch trunc for PPC64.
13545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13546 multiarch truncf for PPC64.
13548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13549 multiarch implementation.
13550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13558 multiarch llround for PPC64.
13559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13560 multiarch round for PPC64.
13561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13562 multiarch roundf for PPC64.
13564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13565 multiarch implementation.
13566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13574 multiarch llround for PPC64.
13575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13576 multiarch floor for PPC64.
13577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13578 multiarch floorf for PPC64.
13580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13581 multiarch implementation.
13582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13590 multiarch llround for PPC64.
13591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13592 multiarch ceil for PPC64.
13593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13594 multiarch ceilf for PPC64.
13596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13597 multiarch implementation.
13598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13605 multiarch llround for PPC64.
13606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13607 multiarch lround for PPC64.
13609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13610 multiarch implementation.
13611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13618 multiarch isnan for PPC64.
13619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13620 multiarch isnanf for PPC64.
13622 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13623 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13624 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13625 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13626 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13629 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13630 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13632 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13635 multiarch implementations.
13636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13637 (__libc_ifunc_impl_list): Likewise.
13638 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13639 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13640 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13641 multiarch stpcpy for PPC64.
13643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13644 multiarch implementations.
13645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13646 (__libc_ifunc_impl_list): Likewise.
13647 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13648 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13649 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13650 multiarch strcpy for PPC64.
13652 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13653 redefine function name.
13654 (_wordcopy_fwd_dest_aligned): Likewise.
13655 (_wordcopy_bwd_aligned): Likewise.
13656 (_wordcopy_bwd_dest_aligned): Likewise.
13657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13658 multiarch implementations.
13659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13660 (__libc_ifunc_impl_list): Likewise.
13661 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13662 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13663 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13664 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13665 multiarch wcscpy for PPC64.
13667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13668 multiarch implementations.
13669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13670 (__libc_ifunc_impl_list): Likewise.
13671 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13672 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13673 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13674 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13675 multiarch wcscpy for PPC64.
13677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13678 multiarch implementations.
13679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13680 (__libc_ifunc_impl_list): Likewise.
13681 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13682 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13683 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13684 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13685 multiarch wcsrchr for PPC64.
13687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13688 multiarch implementations.
13689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13690 (__libc_ifunc_impl_list): Likewise.
13691 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13692 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13693 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13694 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13695 multiarch wcschr for PPC64.
13697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13698 multiarch implementations.
13699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13700 (__libc_ifunc_impl_list): Likewise.
13701 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13702 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13703 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13704 multiarch strchrnul for PPC64.
13706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13709 (__libc_ifunc_impl_list): Likewise.
13710 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13711 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13712 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13713 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13719 (__libc_ifunc_impl_list): Likewise.
13720 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13721 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13722 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13723 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13727 multiarch implementations.
13728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13729 (__libc_ifunc_impl_list): Likewise.
13730 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13731 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13732 strncasecmp for PPC64.
13733 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13734 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13735 multiarch strncasecmp_l for PPC64.
13737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13738 multiarch implementations.
13739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13740 (__libc_ifunc_impl_list): Likewise.
13741 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13742 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13743 multiarch strcasecmp for PPC64.
13744 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13747 multiarch strcasecmp_l for PPC64.
13749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13752 (__libc_ifunc_impl_list): Likewise.
13753 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13754 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13755 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13761 (__libc_ifunc_impl_list): Likewise.
13762 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13763 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13764 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13770 (__libc_ifunc_impl_list): Likewise.
13771 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13772 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13773 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13774 rawmemrchr for PPC64.
13776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13779 (__libc_ifunc_impl_list): Likewise.
13780 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13781 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13782 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13788 (__libc_ifunc_impl_list): Likewise.
13789 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13790 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13791 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13797 (__libc_ifunc_impl_list): Likewise.
13798 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13799 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13800 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13803 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13804 avoid cretion of __bzero symbol.
13805 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13807 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13809 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13812 multiarch implementations.
13813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13814 (__libc_ifunc_impl_list): Likewise.
13815 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13816 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13817 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13818 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13820 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13821 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13822 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13823 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13824 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13826 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13828 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13832 (__libc_ifunc_impl_list): Likewise.
13833 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13834 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13835 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13836 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13840 multiarch for POWER/PPC64.
13841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13842 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13843 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13844 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13845 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13846 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13847 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13848 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13849 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13852 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13853 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13854 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13855 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13856 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13857 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13858 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13859 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13860 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13861 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13862 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13863 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13864 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13865 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13866 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13875 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13877 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13879 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13881 * benchtests/Makefile (bench): Add exp2 and log2.
13882 (LDLIBS-bench-exp2): Add -lm.
13883 (LDLIBS-bench-log2): Likewise.
13884 * benchtests/exp2-inputs: New inputs file.
13885 * benchtests/log2-inputs: New inputs file.
13886 * benchtests/log-inputs: Add new inputs.
13887 * benchtests/tan-inputs: Likewise.
13889 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13891 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13893 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13894 (csloww2): ... from here.
13896 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13897 instead of structures.
13898 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13899 (POLYNOMIAL): Likewise.
13900 (TAYLOR_SLOW): Likewise.
13906 (sloww1); Likewise.
13907 (sloww2): Likewise.
13908 (bsloww1): Likewise.
13909 (bsloww2): Likewise.
13910 (cslow2): Likewise.
13911 (csloww): Likewise.
13912 (csloww1): Likewise.
13913 (csloww2): Likewise.
13915 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13917 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13918 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13919 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13920 * malloc/hooks.c (realloc_check): Likewise.
13922 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13923 * malloc/arena.c: Remove PER_THREAD conditional.
13924 [!PER_THREAD]: Remove code.
13925 (ptmalloc_unlock_all2): Likewise.
13926 (ptmalloc_init): Likewise.
13927 (_int_new_arena): Likewise.
13928 (arena_get2): Likewise.
13929 * malloc/hooks.c (__malloc_get_state): Likewise.
13930 (__malloc_set_state): Likewise.
13931 * malloc/malloc.c: Likewise.
13932 (struct malloc_state): Likewise.
13933 (struct malloc_par): Likewise.
13934 (__libc_realloc): Likewise.
13935 (__libc_mallopt): Likewise.
13937 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13939 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13941 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13943 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13944 macro to a function. Check for zero perturb_byte.
13945 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13947 * malloc/malloc.c: (force_reg): Remove.
13948 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13949 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13950 force_reg by atomic_forced_read.
13951 * malloc/arena.c (ptmalloc_init): Likewise.
13952 * malloc/hooks.c (top_check): Likewise.
13954 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13958 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13962 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13964 * math/auto-libm-test-in: Add tests of lgamma.
13965 * math/auto-libm-test-out: Regenerated.
13966 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13967 (M_LOG_2_SQRT_PIl): Likewise.
13968 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13969 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13971 (func_calc_desc): Add mpfr_f_f1 union field.
13972 (ARGS1): New macro.
13980 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13981 (test_functions): Add lgamma.
13982 (calc_generic_results): Handle mpfr_f_f1.
13983 * sysdeps/i386/fpu/libm-test-ulps: Update.
13984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13986 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13988 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13989 __mpn_add_n for PowerPC64/POWER7.
13990 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13991 __mpn_sub_n for PowerPC64/POWER7.
13993 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13994 __mpn_addmul_1 for PowerPC64.
13995 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13996 __mpn_submul_1 for PowerPC64.
13997 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13999 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14002 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14005 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14007 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14009 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14011 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14012 add multiarch folders.
14013 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14014 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14015 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14016 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14017 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14018 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14019 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14020 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14021 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14022 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14023 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14032 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14038 multiarch __ieee754_hypot for PowerPC32.
14039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14044 multiarch __ieee754_hypotf for PowerPC32.
14046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14047 long_double_symbol only if __logbl is defined.
14048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14049 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14051 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14053 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14054 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14055 path for implementation.
14056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14057 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14059 logb, and logbl multiarch implementations for PowerPC32.
14060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14065 multiarch logb for PowerPC32.
14066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14071 multiarch logbf for PowerPC32.
14072 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14076 multiarch logbl implementation for PowerPC32.
14078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14079 and modff multiarch implementations.
14080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14085 multiarch modf for PowerPC32.
14086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14091 multiarch modff for PowerPC32.
14093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14094 and lrintf multiarch implementations.
14095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14100 multiarch lrint for PowerPC32.
14101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14102 file: multiarch lrintf for PowerPC32.
14104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14105 and lroundf multiarch implementations.
14106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14113 multiarch lround for PowerPC32.
14114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14115 file: multiarch lroundf for PowerPC32.
14117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14118 copysign and copysignf multiarch implementations.
14119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14124 file: multiarch copysign for PowerPC32.
14125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14126 file: multiarch copysignf for PowerPC32.
14128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14129 and truncf multiarch implementations.
14130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14135 multiarch trunc for PowerPC32.
14136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14141 multiarch truncf for PowerPC32.
14143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14144 and roundf multiarch implementations.
14145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14150 multiarch round for PowerPC32.
14151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14156 multiarch roundf for PowerPC32.
14158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14159 and floorf multiarch implementations.
14160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14165 multiarch floor for PowerPC32.
14166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14171 multiarch floorf for PowerPC32.
14173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14174 and ceilf multiarch implementations.
14175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14180 multiarch ceil for PowerPC32.
14181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14186 multiarch ceilf for PowerPC32.
14188 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14190 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14191 FINITEF is defined.
14192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14193 and finitef multiarch implementations.
14194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14199 multiarch finite for PowerPC32.
14200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14203 file: multiarch finitef for PowerPC32.
14205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14206 and isinff multiarch implementations.
14207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14212 multiarch isinf for PowerPC32.
14213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14216 multiarch isinff for PowerPC32.
14218 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14219 alias when __isnan is defined.
14220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14221 and isnanf multiarch implementations.
14222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14231 multiarch isnan for PowerPC32.
14232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14237 multiarch isnanf for PowerPC32.
14239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14240 and sqrtf multiarch implementations.
14241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14246 multiarch sqrt for PowerPC32.
14247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14252 multiarch sqrtf for PowerPC32.
14254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14255 and llroundf multiarch implementations.
14256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14263 file: multiarch llround for PowerPC32.
14264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14265 file: multiarch llroundf for PowerPC32.
14267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14268 multiarch PowerPC32 fpu implementations.
14269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14274 multiarch llrint for PowerPC32.
14275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14284 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14286 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14288 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14290 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14291 multiarch wordcopy for PPC32.
14292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14295 (__libc_ifunc_impl_list): Likewise.
14296 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14297 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14298 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14299 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14300 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14301 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14303 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14311 multiarch wcscpy for PPC32.
14312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14315 (__libc_ifunc_impl_list): Likewise.
14316 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14317 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14318 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14319 sysdeps/powerpc/power6/wcscpy.c.
14321 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14328 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14329 multiarch wcsrchr for PPC32.
14330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14333 (__libc_ifunc_impl_list): Likewise.
14334 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14335 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14336 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14337 sysdeps/powerpc/power6/wcsrchr.c.
14339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14345 multiarch wcschr for PPc32.
14346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14349 (__libc_ifunc_impl_list): Likewise.
14350 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14351 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14352 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14353 sysdeps/powerpc/power6/wcschr.c.
14355 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14356 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14358 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14359 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14360 file: multiarch strchr for PPC32.
14361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14364 (__libc_ifunc_impl_list): Likewise.
14366 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14368 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14370 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14372 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14373 multiarch strchrnul for PPC32.
14374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14377 (__libc_ifunc_impl_list): Likewise.
14379 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14381 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14382 multiarch strncasecmp for PPC32.
14383 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14386 multiarch strncasecmp_l for PPC32.
14387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14388 strncasecmp multiarch objects.
14389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14390 (__libc_ifunc_impl_list): Likewise.
14392 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14394 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14395 multiarch strncasecmp for PPC32.
14396 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14398 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14399 multiarch strcasecmp_l for PPC32.
14400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14403 (__libc_ifunc_impl_list): Likewise.
14405 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14407 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14409 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14410 multiarch strncmp for PPC32.
14411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14414 (__libc_ifunc_impl_list): Likewise.
14416 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14417 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14419 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14420 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14424 (__libc_ifunc_impl_list): Likewise.
14426 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14428 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14430 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14434 (__libc_ifunc_impl_list): Likewise.
14436 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14438 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14440 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14441 multiarch rawmemchr for PPC32.
14442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14445 (__libc_ifunc_impl_list): Likewise.
14447 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14449 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14451 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14452 file: memrchr multiarch for PPC32.
14453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14456 (__libc_ifunc_impl_list): Likewise.
14458 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14459 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14461 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14462 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14463 multiarch memchr for PPC32.
14464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14467 (__libc_ifunc_impl_list): Likewise.
14469 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14470 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14472 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14474 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14475 file: multiarch mempcpy for PPC32.
14476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14479 (__libc_ifunc_impl_list): Likewise.
14481 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14482 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14483 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14484 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14485 multiarch bzero for PPC32.
14486 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14488 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14490 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14491 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14492 file: multiarch memset for PPC32.
14493 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14495 memset multiarch objects.
14496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14497 (__libc_ifunc_impl_list): Likewise.
14499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14502 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14504 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14508 (__libc_ifunc_impl_list): Likewise.
14510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14511 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14512 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14514 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14519 multiarch memcpy for PPC32.
14520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14523 (__libc_ifunc_impl_list): Likewise.
14525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14526 support multiarch for POWER/PPC32.
14527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14529 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14531 Implies file to make multiarch folder appers before the fpu and
14532 default folder for power4 configuration.
14534 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14536 * scripts/bench.pl: Append volatile keyword to type.
14538 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14540 * sysdeps/sh/sotruss-lib.c: New file.
14541 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14543 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14547 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14550 * math/w_tgamma.c: Include <errno.h>.
14551 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14552 * math/w_tgammaf.c: Include <errno.h>.
14553 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14554 * math/w_tgammal.c: Include <errno.h>.
14555 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14556 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14557 underflow. Add more tgamma tests.
14558 * math/auto-libm-test-out: Regenerated.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14562 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14563 sin, sinh, tan, tanh, tgamma, y0 and y1.
14564 * math/auto-libm-test-out: Regenerated.
14565 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14566 (TEST_COND_x86): Likewise.
14567 (M_E2l): Remove macro.
14569 (M_2_SQRT_PIl): Likewise.
14570 (M_SQRT_PIl): Likewise.
14571 (M_1_DIV_El): Likewise.
14572 (log_test_data): Use AUTO_TESTS_f_f.
14573 (log10_test_data): Likewise.
14574 (log1p_test_data): Likewise.
14575 (log2_test_data): Likewise.
14576 (sin_test_data): Likewise.
14577 (sin_tonearest_test_data): Likewise.
14578 (sin_towardzero_test_data): Likewise.
14579 (sin_downward_test_data): Likewise.
14580 (sin_upward_test_data): Likewise.
14581 (sinh_test_data): Likewise.
14582 (sinh_tonearest_test_data): Likewise.
14583 (sinh_towardzero_test_data): Likewise.
14584 (sinh_downward_test_data): Likewise.
14585 (sinh_upward_test_data): Likewise.
14586 (tan_test_data): Likewise.
14587 (tan_tonearest_test_data): Likewise.
14588 (tan_towardzero_test_data): Likewise.
14589 (tan_downward_test_data): Likewise.
14590 (tan_upward_test_data): Likewise.
14591 (tanh_test_data): Likewise.
14592 (tgamma_test_data): Likewise.
14593 (y0_test_data): Likewise.
14594 (y1_test_data): Likewise.
14595 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14596 (special_real_inputs): Add pi/4.
14597 * sysdeps/i386/fpu/libm-test-ulps: Update.
14598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14600 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14602 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14603 "longjmp_target" static probes.
14604 (__longjmp): Rename to __longjmp_symbol.
14605 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14606 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14607 on which longjmp to generate.
14608 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14609 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14611 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14612 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14613 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14614 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14615 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14616 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14618 __longjmp_symbol based on which __longjmp to generate.
14619 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14621 (setjmp): Rename to setjmp_symbol.
14622 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14623 (_setjmp): Rename to _setjmp_symbol.
14624 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14625 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14626 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14627 which setjmp to generate.
14628 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14629 "longjmp_target" static probes.
14631 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14633 * benchtests/README: Add note about output arguments.
14634 * benchtests/bench-sincos.c: Remove file.
14635 * benchtests/sincos-inputs: New file.
14636 * scripts/bench.pl: Identify output arguments and define
14637 static variables for them.
14639 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14642 * Makefile (INSTALL): Add install-plain.texi as the primary
14644 * manual/install-plain.texi: New file.
14645 * manual/install.texi: Include node directive only for
14646 non-plaintext output.
14648 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14650 * stdlib/longlong.h: Update from GCC.
14654 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14655 * math/w_j0f.c (y0f): Likewise.
14656 * math/w_j0l.c (__y0l): Likewise.
14657 * math/w_j1.c (y1): Likewise.
14658 * math/w_j1f.c (y1f): Likewise.
14659 * math/w_j1l.c (__y1l): Likewise
14660 * math/w_jn.c (yn): Likewise.
14661 * math/w_jnf.c (ynf): Likewise.
14662 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14663 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14664 value for Bessel function domain errors outside _SVID_ mode.
14665 Adjust sign of return value for yn (negative integer, 0).
14666 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14667 by zero in return for negative x and set sign appropriately for
14669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14670 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14671 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14672 expectations in error cases.
14673 (y1_test_data): Likewise.
14674 (yn_test_data): Likewise.
14675 * sysdeps/i386/fpu/libm-test-ulps: Update.
14676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14678 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14680 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14681 "64" to "64-v1". Add "64-v2".
14682 (abi-64-options): Rename to ...
14683 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14684 (abi-64-condition): Rename to ...
14685 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14686 (abi-64-ld-soname): Rename to ...
14687 (abi-64-v1-ld-soname): ... this.
14688 (abi-64-v2-options): Define.
14689 (abi-64-v2-condition): Likewise.
14690 (abi-64-v2-ld-soname): Likewise.
14691 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14692 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14697 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14698 Alan Modra <amodra@gmail.com>
14700 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14701 New versions for use with the ELFv2 ABI.
14702 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14703 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14705 (struct La_ppc64v2_retval): Likewise.
14706 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14707 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14708 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14709 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14710 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14712 Do not save or restore CR.
14713 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14714 (_dl_profile_resolve): Do no save or restore CR. Support extended
14715 return values for ELFv2 ABI. Fix location of FPR return registers.
14716 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14717 updated values for _CALL_ELF == 2.
14718 (La_regs, La_retval, int_retval): Likewise.
14720 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14722 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14723 (FRAME_MIN_SIZE_PARM): Likewise.
14724 (FRAME_BACKCHAIN): Likewise.
14725 (FRAME_CR_SAVE): Likewise.
14726 (FRAME_LR_SAVE): Likewise.
14727 (FRAME_TOC_SAVE): Likewise.
14728 (FRAME_PARM_SAVE): Likewise.
14729 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14730 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14731 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14732 (call_mcount_parm_offset): New macro.
14733 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14734 (PROF): Use symbolic stack frame offsets.
14735 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14736 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14737 Redefine in terms of FRAME_MIN_SIZE.
14738 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14739 (_dl_profile_resolve): Likewise. Update comment.
14740 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14741 symbols stack frame offsets.
14742 (__sigsetjmp): Likewise.
14743 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14744 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14745 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14746 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14749 (FRAME_BACKCHAIN): Remove.
14750 (FRAME_CR_SAVE): Likewise.
14751 (FRAME_LR_SAVE): Likewise.
14752 (FRAME_COMPILER_DW): Likewise.
14753 (FRAME_LINKER_DW): Likewise.
14754 (FRAME_TOC_SAVE): Likewise.
14755 (FRAME_PARM_SAVE): Likewise.
14756 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14757 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14758 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14760 (CHECK_SP): Use symbolic stack frame offsets.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14762 zone" instead of caller's parameter save area for temp storage.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14764 Likewise. Also, use symbolic stack frame offsets.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14766 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14767 our own stack frame instead of the caller's.
14768 (__socket): Use symbolic stack frame offsets.
14770 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14771 Alan Modra <amodra@gmail.com>
14773 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14775 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14776 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14777 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14779 (elf_machine_fixup_plt): Call it.
14780 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14782 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14783 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14784 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14785 r2 before calling target.
14787 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14788 Alan Modra <amodra@gmail.com>
14790 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14791 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14792 versions of macros to support ELFv2 ABI.
14793 (LOCALENTRY): New macro.
14794 (ENTRY, EALIGN): Use it.
14795 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14796 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14797 fall through into ENTRY entry point.
14798 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14799 Only define if _CALL_ELF != 2.
14801 (elf_machine_matches_host): Verify ABI version matches.
14802 (RTLD_START): Use LOCALENTRY.
14803 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14804 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14805 (PLT_ENTRY_WORDS): New macro.
14806 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14807 (elf_machine_runtime_setup): Support ELFv2 ABI.
14808 (elf_machine_fixup_plt): Likewise.
14809 (elf_machine_plt_conflict): Likewise.
14810 (resolve_ifunc): Likewise.
14811 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14815 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14817 (makecontext): Support ELFv2 ABI.
14818 * elf/elf.h (EF_PPC64_ABI): Define.
14820 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14822 * sysdeps/powerpc/powerpc64/sysdep.h
14823 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14824 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14825 (ENTRY) [ASSEMBLER]: ... but instead here ...
14826 (EALIGN) [ASSEMBLER]: ... and here.
14827 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14828 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14829 (ENTRY_2) [!ASSEMBLER]: Use it.
14830 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14831 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14832 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14833 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14834 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14836 Use PPC64_LOAD_FUNCPTR.
14838 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14840 2013-12-04 Alan Modra <amodra@gmail.com>
14842 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14843 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14844 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14845 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14847 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14848 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14849 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14850 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14851 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14852 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14854 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14857 (__makecontext): Fix incorrect CFI when backtracing out of
14858 context created via makecontext.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14860 (__setcontext): Fix incorrect CFI during switch to new context.
14861 (__novec_setcontext): Likewise.
14863 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14866 * time/strptime_l.c (__strptime_internal): Allow modifiers
14868 * time/tst-strptime.c (day_tests): Add testcase.
14870 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14872 * scripts/bench.pl: Skip over blank lines.
14874 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14877 * manual/time.texi (Calendar Time): Clarify what timezone functions
14880 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14884 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14886 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14888 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14889 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14890 * debug/memset_chk.c (__memset_chk): Likewise.
14891 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14892 * debug/strncpy_chk.c: Likewise.
14894 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14898 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14899 (__ieee754_exp): For possibly underflowing results, check size of
14900 result and force underflow exception if required.
14901 * math/auto-libm-test-in: Add more tests of exp.
14902 * math/auto-libm-test-out: Regenerated.
14903 * sysdeps/i386/fpu/libm-test-ulps: Update.
14904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14907 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14908 * math/w_exp2f.c (__exp2f): Likewise.
14909 * math/w_exp2l.c (__exp2l): Likewise.
14910 * math/auto-libm-test-in: Do not allow missing errno on exp2
14912 * math/auto-libm-test-out: Regenerated.
14914 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14917 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14918 handle filename validation.
14919 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14922 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14925 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14926 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14927 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14929 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14930 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14931 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14933 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14934 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14935 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14936 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14937 Add more erfc tests.
14938 * math/auto-libm-test-out: Regenerated.
14939 * sysdeps/i386/fpu/libm-test-ulps: Update.
14940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14942 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14943 exp2, expm1, j0 and j1.
14944 * math/auto-libm-test-out: Regenerated.
14945 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14946 (erfc_test_data): Likewise.
14947 (exp_test_data): Likewise.
14948 (exp_tonearest_test_data): Likewise.
14949 (exp_towardzero_test_data): Likewise.
14950 (exp_downward_test_data): Likewise.
14951 (exp_upward_test_data): Likewise.
14952 (exp10_test_data): Likewise.
14953 (exp2_test_data): Likewise.
14954 (expm1_test_data): Likewise.
14955 (j0_test_data): Likewise.
14956 (j1_test_data): Likewise.
14957 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14958 (input_flag_type): Add flag_xfail_rounding.
14959 (input_flags): Add xfail-rounding.
14960 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14961 (output_for_one_input_case): Handle flag_xfail_rounding.
14962 * sysdeps/i386/fpu/libm-test-ulps: Update.
14963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14965 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14968 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14971 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14974 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14975 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14976 (STAP_PROBE0): New macro.
14977 (STAP_PROBE1): Likewise.
14978 (STAP_PROBE2): Likewise.
14979 (STAP_PROBE3): Likewise.
14980 (STAP_PROBE4): Likewise.
14982 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14984 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14986 2013-12-02 Steve Ellcey <sellcey@mips.com>
14988 * benchtests/Makefile (bench): Add sqrt.
14989 (LDLIBS-bench-sqrt): New.
14990 * benchtests/sqrt-input: New.
14992 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14994 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14995 (GAIH_EAI): Likewise.
14996 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14997 (gaih_inet): Likewise.
14998 (getaddrinfo): Don't use GAIH_EAI.
15000 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15001 (struct gaih): Remove definition.
15003 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15005 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15006 Use HERRNOP directly.
15008 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15012 2013-11-30 Joseph Myers <joseph@codesourcery.com>
15014 * math/gen-auto-libm-tests.c (test_functions): Add more
15015 single-argument functions.
15016 (special_fill_pi_2): New function.
15017 (special_fill_minus_pi_2): Likewise.
15018 (special_fill_pi_6): Likewise.
15019 (special_fill_minus_pi_6): Likewise.
15020 (special_fill_pi_3): Likewise.
15021 (special_fill_2pi_3): Likewise.
15022 (special_fill_e): Likewise.
15023 (special_fill_1_e): Likewise.
15024 (special_fill_e_minus_1): Likewise.
15025 (special_real_inputs): Add more special inputs.
15026 (output_for_one_input_case): Do not require ERANGE on underflow to
15027 zero if round-to-nearest result does not underflow to zero, unless
15028 exact results required.
15029 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15030 atan, atanh, cbrt, cos and cosh.
15031 * math/auto-libm-test-out: Regenerated.
15032 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15033 (acos_tonearest_test_data): Likewise.
15034 (acos_towardzero_test_data): Likewise.
15035 (acos_downward_test_data): Likewise.
15036 (acos_upward_test_data): Likewise.
15037 (acosh_test_data): Likewise.
15038 (asin_test_data): Likewise.
15039 (asin_tonearest_test_data): Likewise.
15040 (asin_towardzero_test_data): Likewise.
15041 (asin_upward_test_data): Likewise.
15042 (asinh_test_data): Likewise.
15043 (atan_test_data): Likewise.
15044 (atanh_test_data): Likewise.
15045 (cbrt_test_data): Likewise.
15046 (cos_test_data): Likewise.
15047 (cos_tonearest_test_data): Likewise.
15048 (cos_towardzero_test_data): Likewise.
15049 (cos_downward_test_data): Likewise.
15050 (cos_upward_test_data): Likewise.
15051 (cosh_test_data): Likewise.
15052 (cosh_tonearest_test_data): Likewise.
15053 (cosh_towardzero_test_data): Likewise.
15054 (cosh_downward_test_data): Likewise.
15055 (cosh_upward_test_data): Likewise.
15056 * sysdeps/i386/fpu/libm-test-ulps: Update.
15057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15059 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15062 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15063 * math/w_exp10f.c (__exp10f): Likewise.
15064 * math/w_exp10l.c (__exp10l): Likewise.
15065 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15066 errno settings in existing tests.
15069 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15070 precision control set to double precision.
15071 * sysdeps/i386/fpu/w_sqrt.c: New file.
15072 * math/auto-libm-test-in: Add more tests.
15073 * math/auto-libm-test-out: Update.
15075 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15076 (sqrt_test_tonearest): New function.
15077 (sqrt_towardzero_test_data): New variable.
15078 (sqrt_test_towardzero): New function.
15079 (sqrt_downward_test_data): New variable.
15080 (sqrt_test_downward): New function.
15081 (sqrt_upward_test_data): New variable.
15082 (sqrt_test_upward): New function.
15083 (main): Call the new functions.
15085 * math/gen-auto-libm-tests.c: New file.
15086 * math/auto-libm-test-in: Likewise.
15087 * math/auto-libm-test-out: New generated file.
15088 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15090 (%beautify): Add generated representations of zero.
15091 (top level): Set $auto_input and call parse_auto_input.
15092 (beautify): Remove trailing "f" from hex float constants.
15093 (parse_args): Handle XFAIL_TEST.
15094 (convert_condition): New function.
15095 (or_value): Likewise.
15096 (or_cond_value): Likewise.
15097 (generate_testfile): Handle AUTO_TESTS_* lines.
15098 (parse_auto_input): New function.
15099 * math/libm-test.inc (XFAIL_TEST): New macro.
15100 (ERRNO_UNCHANGED): Update value.
15101 (ERRNO_EDOM): Likewise.
15102 (ERRNO_ERANGE): Likewise.
15103 (IGNORE_RESULT): Likewise.
15104 (TEST_COND_flt_32): New macro.
15105 (TEST_COND_dbl_64): Likewise.
15106 (TEST_COND_ldbl_96_intel): Likewise.
15107 (TEST_COND_ldbl_96_m68k): Likewise.
15108 (TEST_COND_ldbl_128): Likewise.
15109 (TEST_COND_ldbl_128ibm): Likewise.
15110 (TEST_COND_long32): Likewise.
15111 (TEST_COND_long64): Likewise.
15112 (TEST_COND_before_rounding): Likewise.
15113 (TEST_COND_after_rounding): Likewise.
15114 (enable_test): Handle XFAIL_TEST flag.
15115 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15116 with finite results.
15117 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15118 auto-libm-test-out.
15120 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15121 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15124 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15125 __tls_get_addr_internal instead of __tls_get_offset in order to
15126 avoid GOT pointer dependency. Make rtld export
15127 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15128 __tls_get_addr since we are a __tls_get_offset platform.
15129 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15130 GOT pointer being set up before.
15131 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15133 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15135 * manual/math.texi (Errors in Math Functions): Document accuracy
15139 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15140 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15141 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15142 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15143 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15144 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15145 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15146 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15147 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15149 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15151 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15152 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15153 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15154 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15156 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15157 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15158 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15159 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15160 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15162 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15164 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15166 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15167 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15168 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15169 atomic-feupdateenv and flt-rounds.
15170 * sysdeps/powerpc/nofpu/Versions (libc): Add
15171 __atomic_feholdexcept, __atomic_feclearexcept,
15172 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15173 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15174 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15175 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15176 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15181 * manual/arith.texi (FP Exceptions): Document that exceptions may
15182 not be raised when matherr is used.
15183 (Math Error Reporting): Document overflow in directed rounding
15184 modes. Document that errno may not be set when finite values are
15185 returned on overflow. Document intent to set errno on underflow
15186 only for underflow to zero.
15189 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15190 round-to-nearest then adjust result for other rounding modes.
15191 * include/fenv.h (fegetround): Use libm_hidden_proto.
15192 * math/fegetround.c (fegetround): Use libm_hidden_def.
15193 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15194 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15195 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15196 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15198 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15199 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15200 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15201 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15203 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15206 * nss/Versions (libnss_files): Add
15207 _nss_files_gethostbyname3_r.
15208 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15210 (HOST_DB_LOOKUP): Remove macro.
15211 (_nss_files_gethostbyname_r): Implement function without the
15212 HOST_DB_LOOKUP macro.
15213 (_nss_files_gethostbyname2_r): Likewise.
15215 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
15217 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15219 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15221 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15222 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15225 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15227 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15228 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15229 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15230 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15231 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15232 __fe_nomask_env_priv and attribute_hidden.
15233 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15234 (libc_feupdateenv_test_ppc): Likewise.
15235 (libc_feresetround_ppc): Likewise.
15236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15237 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15238 compat_symbol macro.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15240 (__fe_nomask_env): Likewise.
15241 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15243 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15245 * string/Makefile: Remove ifunc tests.
15246 * string/test-string.h: Define TEST_IFUNC.
15247 * string/test-bcopy-ifunc.c: Remove.
15248 * string/test-bzero-ifunc.c: Likewise.
15249 * string/test-memccpy-ifunc.c: Likewise.
15250 * string/test-memchr-ifunc.c: Likewise.
15251 * string/test-memcmp-ifunc.c: Likewise.
15252 * string/test-memcpy-ifunc.c: Likewise.
15253 * string/test-memmem-ifunc.c: Likewise.
15254 * string/test-memmove-ifunc.c: Likewise.
15255 * string/test-mempcpy-ifunc.c: Likewise.
15256 * string/test-memrchr-ifunc.c: Likewise.
15257 * string/test-memset-ifunc.c: Likewise.
15258 * string/test-rawmemchr-ifunc.c: Likewise.
15259 * string/test-stpcpy-ifunc.c: Likewise.
15260 * string/test-stpncpy-ifunc.c: Likewise.
15261 * string/test-strcasecmp-ifunc.c: Likewise.
15262 * string/test-strcasestr-ifunc.c: Likewise.
15263 * string/test-strcat-ifunc.c: Likewise.
15264 * string/test-strchr-ifunc.c: Likewise.
15265 * string/test-strchrnul-ifunc.c: Likewise.
15266 * string/test-strcmp-ifunc.c: Likewise.
15267 * string/test-strcpy-ifunc.c: Likewise.
15268 * string/test-strcspn-ifunc.c: Likewise.
15269 * string/test-strlen-ifunc.c: Likewise.
15270 * string/test-strncasecmp-ifunc.c: Likewise.
15271 * string/test-strncat-ifunc.c: Likewise.
15272 * string/test-strncmp-ifunc.c: Likewise.
15273 * string/test-strncpy-ifunc.c: Likewise.
15274 * string/test-strnlen-ifunc.c: Likewise.
15275 * string/test-strpbrk-ifunc.c: Likewise.
15276 * string/test-strrchr-ifunc.c: Likewise.
15277 * string/test-strspn-ifunc.c: Likewise.
15278 * string/test-strstr-ifunc.c: Likewise.
15280 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15282 * benchtests/Makefile: Remove ifunc tests.
15283 * benchtests/bench-string.h: Define TEST_IFUNC.
15284 * benchtests/bench-bcopy-ifunc.c: Remove.
15285 * benchtests/bench-bzero-ifunc.c: Likewise.
15286 * benchtests/bench-memccpy-ifunc.c: Likewise.
15287 * benchtests/bench-memchr-ifunc.c: Likewise.
15288 * benchtests/bench-memcmp-ifunc.c: Likewise.
15289 * benchtests/bench-memcpy-ifunc.c: Likewise.
15290 * benchtests/bench-memmem-ifunc.c: Likewise.
15291 * benchtests/bench-memmove-ifunc.c: Likewise.
15292 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15293 * benchtests/bench-memrchr-ifunc.c: Likewise.
15294 * benchtests/bench-memset-ifunc.c: Likewise.
15295 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15296 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15297 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15298 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15299 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15300 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15301 * benchtests/bench-strcat-ifunc.c: Likewise.
15302 * benchtests/bench-strchr-ifunc.c: Likewise.
15303 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15304 * benchtests/bench-strcmp-ifunc.c: Likewise.
15305 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15306 * benchtests/bench-strcpy-ifunc.c: Likewise.
15307 * benchtests/bench-strcspn-ifunc.c: Likewise.
15308 * benchtests/bench-strlen-ifunc.c: Likewise.
15309 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15310 * benchtests/bench-strncat-ifunc.c: Likewise.
15311 * benchtests/bench-strncmp-ifunc.c: Likewise.
15312 * benchtests/bench-strncpy-ifunc.c: Likewise.
15313 * benchtests/bench-strnlen-ifunc.c: Likewise.
15314 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15315 * benchtests/bench-strrchr-ifunc.c: Likewise.
15316 * benchtests/bench-strsep-ifunc.c: Likewise.
15317 * benchtests/bench-strspn-ifunc.c: Likewise.
15318 * benchtests/bench-strstr-ifunc.c: Likewise.
15320 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15322 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15324 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15326 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15327 * rt/aio.h: Likewise.
15328 * sysdeps/gnu/bits/utmp.h: Likewise.
15329 * sysdeps/gnu/bits/utmpx.h: Likewise.
15330 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15331 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15332 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15333 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15334 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15335 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15336 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15337 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15338 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15339 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15340 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15341 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15342 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15344 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15345 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15346 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15347 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15348 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15349 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15350 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15351 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15352 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15353 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15354 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15356 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15357 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15358 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15359 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15360 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15361 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15362 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15363 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15365 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15366 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15367 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15368 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15369 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15370 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15371 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15373 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15376 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15377 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15379 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15381 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15382 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15385 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15387 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15388 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15389 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15390 (__fesetround): Remove define.
15391 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15392 rounding and exceptions handling.
15393 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15394 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15395 (__fe_nomask_env): Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15397 __fegetround instead of fegetround.
15398 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15401 2013-11-21 Roland McGrath <roland@hack.frob.com>
15403 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15406 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15408 2013-11-21 Meador Inge <meadori@codesourcery.com>
15411 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15412 (encrypt_r): Likewise.
15413 * malloc/obstack.h (obstack_free): Likewise.
15414 * posix/unistd.h (encrypt): Likewise.
15416 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15418 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15419 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15420 DL_CALL_DT_FINI() that call the functions directly.
15421 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15422 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15423 * elf/dl-fini.c: Likewise.
15425 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15427 * malloc/hooks.c (memalign_check): Add alignment rounding.
15428 * malloc/malloc.c (_mid_memalign): New function.
15429 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15430 Implement by calling _mid_memalign.
15431 * manual/probes.texi (Memory Allocation Probes): Remove
15432 memory_valloc_retry and memory_pvalloc_retry.
15434 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15436 * locale/programs/locarchive.c (open_archive): Add const
15437 qualifier to ARCHIVEFNAME and copy default fname to
15441 * libio/tst-widetext.input: Rename Oriya to Odia.
15442 * locale/iso-639.def: Likewise.
15444 * manual/probes.texi (Mathematical Function Probes): Add
15445 documentation for sin, cos, asin and acos probes.
15446 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15447 (__sin32): Add slowasin probe.
15448 (__cos32): Add slowacos probe.
15449 (__mpsin): Add slowsin probe.
15450 (__mpcos): Add slowcos probe.
15452 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15455 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15456 thread-local __sim_exceptions_thread and global
15457 __sim_exceptions_global.
15458 (__sim_disabled_exceptions): Change to thread-local
15459 __sim_disabled_exceptions_thread and global
15460 __sim_disabled_exceptions_global.
15461 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15462 and global __sim_round_mode_global.
15463 (__simulate_exceptions): Use thread-local floating-point state and
15464 set global state from it as needed.
15465 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15466 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15467 __sim_round_mode_thread.
15468 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15469 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15470 and global __sim_exceptions_global.
15471 (__sim_disabled_exceptions): Change to thread-local
15472 __sim_disabled_exceptions_thread and global
15473 __sim_disabled_exceptions_global.
15474 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15475 and global __sim_round_mode_global.
15476 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15477 (SIM_SET_GLOBAL): Likewise.
15478 * sysdeps/powerpc/soft-fp/sfp-machine.h
15479 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15480 __sim_round_mode_thread.
15481 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15482 __sim_disabled_exceptions_thread.
15483 (__sim_exceptions): Change to __sim_exceptions_thread.
15484 (__sim_disabled_exceptions): Change to
15485 __sim_disabled_exceptions_thread.
15486 (__sim_round_mode): Change to __sim_round_mode_thread.
15487 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15488 thread-local floating-point state and set global state from it as
15490 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15491 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15492 (__sim_disabled_exceptions): Remove extern declaration.
15493 (feenableexcept): Use thread-local floating-point state and set
15494 global state from it as needed.
15495 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15496 extern declaration.
15497 (__sim_disabled_exceptions): Likewise.
15498 (__sim_round_mode): Likewise.
15499 (__fegetenv): Use thread-local floating-point state.
15500 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15501 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15502 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15503 floating-point state and set global state from it as needed.
15504 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15505 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15506 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15508 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15509 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15511 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15512 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15513 Use __sim_round_mode_thread.
15514 * math/test-fenv-tls.c: New file.
15515 * math/Makefile (tests): Add test-fenv-tls.
15516 ($(objpfx)test-fenv-tls): Depend on
15517 $(common-objpfx)nptl/libpthread.so.
15519 2013-11-19 Andreas Schwab <schwab@suse.de>
15521 * locale/programs/locale.c (show_info): Decode wordarray elements.
15522 * locale/categories.def (LC_MONETARY): Add element for
15523 _NL_MONETARY_CRNCYSTR.
15524 * locale/C-monetary.c (conversion_rate): New variable.
15525 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15528 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15530 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15531 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15533 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15535 * elf/Makefile (tst-auxv): New test.
15536 * elf/tst-auxv.c: New
15537 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15539 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15541 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15542 (hidden_proto): Caller changed.
15543 (hidden_tls_proto): New macro.
15544 (libc_hidden_tls_proto): Likewise.
15545 (rtld_hidden_tls_proto): Likewise.
15546 (libm_hidden_tls_proto): Likewise.
15547 (libresolv_hidden_tls_proto): Likewise.
15548 (librt_hidden_tls_proto): Likewise.
15549 (libdl_hidden_tls_proto): Likewise.
15550 (libnss_files_hidden_tls_proto): Likewise.
15551 (libnsl_hidden_tls_proto): Likewise.
15552 (libnss_nisplus_hidden_tls_proto): Likewise.
15553 (libutil_hidden_tls_proto): Likewise.
15555 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15558 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15559 (decompose_rpath): Defer expansion to fillin_rpath.
15560 (_dl_init_paths): Pass linkmap to fillin_rpath.
15562 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15564 * benchtests/Makefile: Add strsep.
15565 * benchtests/bench-strsep.c: New file: strsep benchtest.
15566 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15568 2013-11-18 Andreas Schwab <schwab@suse.de>
15570 * locale/programs/locale.c (show_info) [case byte]: Check for
15571 '\377' instead of '\177'.
15572 * locale/C-monetary.c (not_available): Always use "\377".
15573 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15574 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15575 detect unavailable sign_posn locale elements.
15576 * locale/localeconv.c (__localeconv): For grouping and
15577 mon_grouping handle "\177" and "\377" like no grouping.
15578 (INT_ELEM): New macro. Use it to set all numeric members.
15579 * locale/programs/ld-monetary.c (monetary_read)
15580 <tok_mon_grouping>: Normalize single -1 to the empty string.
15581 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15584 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15587 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15588 when we match (nil).
15589 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15591 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15593 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15594 (NO_TEST_INLINE): Update value.
15595 (ERRNO_UNCHANGED): Likewise.
15596 (ERRNO_EDOM): Likewise.
15597 (ERRNO_ERANGE): Likewise.
15598 (IGNORE_RESULT): Likewise.
15599 (check_float_internal): Check signs of NaN results if
15600 TEST_NAN_SIGN used.
15601 (check_complex): Pass TEST_NAN_SIGN flag through to second
15602 check_float_internal call.
15603 (copysign_test_data): Add tests with quiet NaNs as second
15604 argument. Use TEST_NAN_SIGN.
15605 (fabs_test_data): Add test of negative quiet NaN argument. Use
15607 (signbit_test_data): Add tests of quiet NaN argument.
15608 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15610 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15612 (parse_args): Handle function results specified as IGNORE.
15613 * math/libm-test.inc (IGNORE_RESULT): New macro.
15614 (check_float_internal): Do not check numerical result if flag
15616 (check_complex): Pass through IGNORE_RESULT to second
15617 check_float_internal call.
15618 (check_int): Do not check numerical result if flag IGNORE_RESULT
15620 (check_long): Likewise.
15621 (check_bool): Likewise.
15622 (check_longlong): Likewise.
15623 (lrint_test_data): Add tests of infinite and NaN arguments.
15624 (lrint_tonearest_test_data): Likewise.
15625 (lrint_towardzero_test_data): Likewise.
15626 (lrint_downward_test_data): Likewise.
15627 (lrint_upward_test_data): Likewise.
15628 (llrint_test_data): Likewise.
15629 (llrint_tonearest_test_data): Likewise.
15630 (llrint_towardzero_test_data): Likewise.
15631 (llrint_downward_test_data): Likewise.
15632 (llrint_upward_test_data): Likewise.
15633 (lround_test_data): Likewise.
15634 (llround_test_data): Likewise.
15636 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15637 (ERRNO_UNCHANGED): Update value.
15638 (ERRNO_EDOM): Likewise.
15639 (ERRNO_ERANGE): Likewise.
15640 (NO_TEST_INLINE_FLOAT): New macro.
15641 (NO_TEST_INLINE_DOUBLE): Likewise.
15642 (enable_test): New function.
15643 (RUN_TEST_f_f): Check enable_test before running test.
15644 (RUN_TEST_2_f): Likewise.
15645 (RUN_TEST_fff_f): Likewise.
15646 (RUN_TEST_c_f): Likewise.
15647 (RUN_TEST_f_f1): Likewise.
15648 (RUN_TEST_fF_f1): Likewise.
15649 (RUN_TEST_fI_f1): Likewise.
15650 (RUN_TEST_ffI_f1): Likewise.
15651 (RUN_TEST_c_c): Likewise.
15652 (RUN_TEST_cc_c): Likewise.
15653 (RUN_TEST_f_i): Likewise.
15654 (RUN_TEST_f_i_tg): Likewise.
15655 (RUN_TEST_ff_i_tg): Likewise.
15656 (RUN_TEST_f_b): Likewise.
15657 (RUN_TEST_f_b_tg): Likewise.
15658 (RUN_TEST_f_l): Likewise.
15659 (RUN_TEST_f_L): Likewise.
15660 (RUN_TEST_fFF_11): Likewise.
15661 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15663 (cosh_test_data): Likewise.
15664 (exp_test_data): Likewise.
15665 (expm1_test_data): Likewise.
15666 (hypot_test_data): Likewise.
15667 (pow_test_data): Likewise.
15668 (sinh_test_data): Likewise.
15669 (tanh_test_data): Likewise.
15670 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15673 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15674 tests with quiet NaN input and output.
15675 (acosh_test_data): Likewise.
15676 (asin_test_data): Likewise.
15677 (asinh_test_data): Likewise.
15678 (atan_test_data): Likewise.
15679 (atanh_test_data): Likewise.
15680 (atan2_test_data): Likewise.
15681 (cbrt_test_data): Likewise.
15682 (cos_test_data): Likewise.
15683 (cosh_test_data): Likewise.
15684 (erf_test_data): Likewise.
15685 (erfc_test_data): Likewise.
15686 (exp_test_data): Likewise.
15687 (exp10_test_data): Likewise.
15688 (exp2_test_data): Likewise.
15689 (expm1_test_data): Likewise.
15690 (hypot_test_data): Likewise.
15691 (j0_test_data): Likewise.
15692 (j1_test_data): Likewise.
15693 (jn_test_data): Likewise.
15694 (lgamma_test_data): Likewise.
15695 (log_test_data): Likewise.
15696 (log10_test_data): Likewise.
15697 (log1p_test_data): Likewise.
15698 (log2_test_data): Likewise.
15699 (pow_test_data): Likewise.
15700 (scalb_test_data): Likewise.
15701 (sin_test_data): Likewise.
15702 (sincos_test_data): Likewise.
15703 (sinh_test_data): Likewise.
15704 (tan_test_data): Likewise.
15705 (tanh_test_data): Likewise.
15706 (tgamma_test_data): Likewise.
15707 (y0_test_data): Likewise.
15708 (y1_test_data): Likewise.
15709 (yn_test_data): Likewise.
15712 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15713 argument being NaN and avoid computations with second argument in
15715 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15716 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15717 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15719 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15721 * locale/iso-639.def: Add Chitwani Tharu (the).
15723 2013-11-14 Andreas Schwab <schwab@suse.de>
15725 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15726 word instead of empty string.
15728 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15731 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15733 (__fe_nomask_env): Likewise.
15735 2013-11-13 Steve Ellcey <sellcey@mips.com>
15737 * benchtests/bench-timing.h: Include time.h.
15739 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15742 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15744 * sysdeps/unix/sysv/linux/configure: Regenerated.
15746 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15749 * stdlib/strtod_l.c (round_and_return): Do not consider
15750 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15751 exponent one less than half the least subnormal exponent.
15752 * stdlib/test-strtod-round-data: Add more tests.
15753 * stdlib/tst-strtod-round.c (tests): Regenerated.
15755 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15758 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15759 (__fe_mask_env): Likewise.
15760 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15761 libm_hidden_proto and add function prototype.
15762 (__fe_mask_env): Add function prototype.
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15764 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15766 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15768 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15770 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15772 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15773 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15775 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15777 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15778 of htab_find_slot().
15780 2013-11-11 David S. Miller <davem@davemloft.net>
15783 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15784 symbol in the non-vis3 case in static builds.
15785 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15786 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15787 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15788 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15790 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15793 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15796 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15798 * benchtests/Makefile: Add bench-strtod.
15799 * benchtests/bench-strtod.c: New file: strtod benchtest
15801 2013-11-11 Andreas Schwab <schwab@suse.de>
15804 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15805 terminating NUL in key length.
15807 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15809 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15810 Add artificial ODP entry for vDSO symbol for PPC64.
15811 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15812 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15814 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15817 * nss/getent.c (services_keys): Recognize services starting with digit.
15819 2013-11-06 David S. Miller <davem@davemloft.net>
15822 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15823 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15825 2013-11-06 Will Newton <will.newton@linaro.org>
15827 * manual/memory.texi (Malloc Examples): Remove register
15828 keyword from examples.
15830 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15832 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15834 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15837 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15838 depending on [__GCC_IEC_559 > 0].
15839 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15840 depending on [__GCC_IEC_559_COMPLEX > 0].
15842 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15844 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15847 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15849 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15851 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15854 * malloc/malloc (malloc_info): Do not handle first bin as
15857 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15859 * locale/iso-639.def: Add Central Nahuatl (nhn).
15861 2013-11-01 Bruno Haible <bruno@clisp.org>
15864 * manual/math.texi (BSD Random): Specify range upper bound as
15867 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15869 * locale/iso-639.def: Add Meadow Mari (mhr).
15871 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15873 [BZ #14752], [BZ #15763]
15874 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15876 * rt/tst_shm.c: Add test for escaping directory.
15878 2013-10-31 Andreas Schwab <schwab@suse.de>
15881 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15882 followed by 'x' as part of digit sequence.
15883 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15885 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15888 * configure.ac: allow GNU Make 4.0 and greater.
15889 * configure: Regenerated.
15891 2013-10-30 Will Newton <will.newton@linaro.org>
15894 * malloc/hooks.c (memalign_check): Limit alignment to the
15895 maximum representable power of two.
15896 * malloc/malloc.c (__libc_memalign): Likewise.
15897 * malloc/tst-memalign.c (do_test): Add test for very
15898 large alignment values.
15899 * malloc/tst-posix_memalign.c (do_test): Likewise.
15901 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15904 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15905 (munmap_chunk): Likewise.
15906 (mremap_chunk): Likewise.
15908 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15911 * stdlib/div.c (div): Remove obsolete code.
15912 * stdlib/ldiv.c (ldiv): Likewise.
15913 * stdlib/lldiv.c (lldiv): Likewise.
15915 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15918 * nss/nss_files/files-XXX.c (get_contents_ret): New
15920 (get_contents): New function.
15921 (internal_getent): Use it. Expand size of LINEBUFLEN.
15923 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15925 * configure.in: Moved to ...
15926 * configure.ac: ... here. Change reference to configure.in
15928 * sysdeps/arm/preconfigure.ac: ... here.
15929 configure.in to configure.ac.
15930 * sysdeps/gnu/configure.in: Moved to ...
15931 * sysdeps/gnu/configure.ac: ... here.
15932 * sysdeps/i386/configure.in: Moved to ...
15933 * sysdeps/i386/configure.ac: ... here.
15934 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15935 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15936 * sysdeps/mach/configure.in: Moved to ...
15937 * sysdeps/mach/configure.ac: ... here.
15938 * sysdeps/mach/hurd/configure.in: Moved to ...
15939 * sysdeps/mach/hurd/configure.ac: ... here.
15940 * sysdeps/powerpc/configure.in: Moved to ...
15941 * sysdeps/powerpc/configure.ac: ... here.
15942 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15943 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15944 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15945 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15946 * sysdeps/s390/s390-32/configure.in: Moved to ...
15947 * sysdeps/s390/s390-32/configure.ac: ... here.
15948 * sysdeps/s390/s390-64/configure.in: Moved to ...
15949 * sysdeps/s390/s390-64/configure.ac: ... here.
15950 * sysdeps/sh/configure.in: Moved to ...
15951 * sysdeps/sh/configure.ac: ... here.
15952 * sysdeps/sparc/configure.in: Moved to ...
15953 * sysdeps/sparc/configure.ac: ... here.
15954 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15955 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15956 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15957 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15958 * sysdeps/x86_64/configure.in: Moved to ...
15959 * sysdeps/x86_64/configure.ac: ... here.
15960 * sysdeps/x86_64/preconfigure.in: Moved to ...
15961 * sysdeps/x86_64/preconfigure.ac: ... here.
15962 * aclocal.m4: Change reference to configure.in to configure.ac.
15963 * config.h.in: Likewise.
15964 * manual/install.texi: Likewise.
15965 * manual/maint.texi: Likewise.
15966 * Makefile: Likewise.
15967 * malloc/Makefile: Likewise.
15968 * nscd/Makefile: Likewise.
15969 * Makeconfig: Change reference to configure.in and
15970 preconfigure.in to configure.ac and preconfigure.ac
15972 * INSTALL: Regenerated.
15973 * configure: Likewise.
15974 * sysdeps/gnu/configure: Likewise.
15975 * sysdeps/i386/configure: Likewise.
15976 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15977 * sysdeps/mach/configure: Likewise.
15978 * sysdeps/mach/hurd/configure: Likewise.
15979 * sysdeps/powerpc/configure: Likewise.
15980 * sysdeps/powerpc/powerpc32/configure: Likewise.
15981 * sysdeps/powerpc/powerpc64/configure: Likewise.
15982 * sysdeps/s390/s390-32/configure: Likewise.
15983 * sysdeps/s390/s390-64/configure: Likewise.
15984 * sysdeps/sh/configure: Likewise.
15985 * sysdeps/sparc/configure: Likewise.
15986 * sysdeps/unix/sysv/linux/configure: Likewise.
15987 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15988 * sysdeps/x86_64/configure: Likewise.
15989 * sysdeps/x86_64/preconfigure: Likewise.
15991 2013-10-29 Andreas Schwab <schwab@suse.de>
15993 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15995 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15997 * benchtests/pow-inputs: Add new inputs.
15999 * benchtests/exp-inputs: Add new inputs.
16001 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16002 conditional check for return value.
16003 (__cos32): Likewise.
16005 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16007 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16008 to provide a boost for large inputs with word alignment.
16009 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16010 implementation based on optimized PPC64 strcpy.
16011 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16012 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16013 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16014 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16016 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16019 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16021 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16024 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16025 * time/tst-strptime.c (day_tests): Add testcase.
16027 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16030 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16032 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16035 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16036 MAP_FAILED on error.
16038 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16041 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16042 heap for large requests.
16044 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16047 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16048 result if the result has no associated interface.
16049 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16050 interface for all 127.X.Y.Z addresses.
16052 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16054 * locale/iso-639.def: Add Ligurian (lij)
16056 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16059 * sunrpc/rpc_main.c: Document rpcgen -5.
16061 2013-10-19 Michael Stahl <mstahl@redhat.com>
16063 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16065 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16068 * posix/glob.c: Match only directories when trailing slash is present.
16069 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16070 (main): Add testcase.
16072 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16075 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16077 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16079 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16080 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16081 AUTH_DES and cindex for FIPS 140-2.
16082 (DES Encryption): Add cindex FIPS 46-3.
16084 * locale/locarchive.h (struct locarhandle): Add fname.
16085 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16086 if an optional argument was specified to --list-archive,
16088 * locale/programs/locarchive.c (show_archive_content): Take new
16089 argument fname and pass it via ah.fname to open_archive.
16090 * locale/programs/localedef.h: Update decl.
16091 (open_archive): If AH->fname is non-null, open that file
16092 rather than the default file name, and don't ignore ENOENT.
16093 (create_archive): Set AH.fname to NULL.
16094 (delete_locales_from_archive): Likewise.
16095 (add_locales_to_archive): Likewise.
16096 * locale/programs/locfile.c (write_all_categories): Likewise.
16098 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16099 Aldy Hernandez <aldyh@redhat.com>
16101 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16102 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16103 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16104 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16105 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16106 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16107 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16108 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16109 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16110 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16111 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16112 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16113 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16114 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16115 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16117 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16119 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16121 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16123 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16124 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16126 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16127 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16128 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16129 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16131 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16132 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16133 * sysdeps/powerpc/preconfigure: Likewise.
16134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16136 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16137 Replace contents of file by #include of <fenv_libc.h>.
16138 * sysdeps/powerpc/soft-fp/sfp-machine.h
16139 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16141 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16143 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16144 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16145 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16146 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16148 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16149 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16150 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16154 Allow copysignl PLT reference to be missing.
16156 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16157 Joseph Myers <joseph@codesourcery.com
16160 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16162 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16164 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16166 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16167 * elf/tst-tls1.c: Likewise.
16168 * elf/tst-tls10.h: Likewise.
16169 * elf/tst-tls14.c: Likewise.
16170 * elf/tst-tls2.c: Likewise.
16171 * elf/tst-tls3.c: Likewise.
16172 * elf/tst-tls4.c: Likewise.
16173 * elf/tst-tls5.c: Likewise.
16174 * elf/tst-tls6.c: Likewise.
16175 * elf/tst-tls7.c: Likewise.
16176 * elf/tst-tls8.c: Likewise.
16177 * elf/tst-tls9.c: Likewise.
16178 * elf/tst-tlsmod1.c: Likewise.
16179 * elf/tst-tlsmod13.c: Likewise.
16180 * elf/tst-tlsmod13a.c: Likewise.
16181 * elf/tst-tlsmod14a.c: Likewise.
16182 * elf/tst-tlsmod16a.c: Likewise.
16183 * elf/tst-tlsmod16b.c: Likewise.
16184 * elf/tst-tlsmod2.c: Likewise.
16185 * elf/tst-tlsmod3.c: Likewise.
16186 * elf/tst-tlsmod4.c: Likewise.
16187 * elf/tst-tlsmod5.c: Likewise.
16188 * elf/tst-tlsmod6.c: Likewise.
16190 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
16193 * malloc/malloc.c: remove checks for statistics.
16195 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16198 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16199 * inet/tst-network.c: Add testcase.
16201 2013-10-17 Andreas Schwab <schwab@suse.de>
16204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16205 to determine canonical name.
16207 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16209 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16210 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16212 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16214 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16215 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16216 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16217 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16218 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16219 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16220 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16221 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16222 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16223 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16224 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16226 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16227 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16228 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16229 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16231 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16232 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16233 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16234 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16235 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16236 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16237 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16238 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16239 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16241 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16242 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16243 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16244 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16245 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16246 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16247 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16248 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16249 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16250 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16251 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16252 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16253 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16254 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16255 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16256 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16257 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16258 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16259 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16260 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16261 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16262 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16263 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16264 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16266 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16268 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16271 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16272 make result into a quiet NaN.
16274 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16276 * soft-fp/adddf3.c: Fix horizontal whitespace.
16277 * soft-fp/addsf3.c: Likewise.
16278 * soft-fp/addtf3.c: Likewise.
16279 * soft-fp/divdf3.c: Likewise.
16280 * soft-fp/divsf3.c: Likewise.
16281 * soft-fp/divtf3.c: Likewise.
16282 * soft-fp/double.h: Likewise.
16283 * soft-fp/eqdf2.c: Likewise.
16284 * soft-fp/eqsf2.c: Likewise.
16285 * soft-fp/eqtf2.c: Likewise.
16286 * soft-fp/extenddftf2.c: Likewise.
16287 * soft-fp/extended.h: Likewise.
16288 * soft-fp/extendsfdf2.c: Likewise.
16289 * soft-fp/extendsftf2.c: Likewise.
16290 * soft-fp/extendxftf2.c: Likewise.
16291 * soft-fp/fixdfdi.c: Likewise.
16292 * soft-fp/fixdfsi.c: Likewise.
16293 * soft-fp/fixdfti.c: Likewise.
16294 * soft-fp/fixsfdi.c: Likewise.
16295 * soft-fp/fixsfsi.c: Likewise.
16296 * soft-fp/fixsfti.c: Likewise.
16297 * soft-fp/fixtfdi.c: Likewise.
16298 * soft-fp/fixtfsi.c: Likewise.
16299 * soft-fp/fixtfti.c: Likewise.
16300 * soft-fp/fixunsdfdi.c: Likewise.
16301 * soft-fp/fixunsdfsi.c: Likewise.
16302 * soft-fp/fixunsdfti.c: Likewise.
16303 * soft-fp/fixunssfdi.c: Likewise.
16304 * soft-fp/fixunssfsi.c: Likewise.
16305 * soft-fp/fixunssfti.c: Likewise.
16306 * soft-fp/fixunstfdi.c: Likewise.
16307 * soft-fp/fixunstfsi.c: Likewise.
16308 * soft-fp/fixunstfti.c: Likewise.
16309 * soft-fp/floatdidf.c: Likewise.
16310 * soft-fp/floatdisf.c: Likewise.
16311 * soft-fp/floatditf.c: Likewise.
16312 * soft-fp/floatsidf.c: Likewise.
16313 * soft-fp/floatsisf.c: Likewise.
16314 * soft-fp/floatsitf.c: Likewise.
16315 * soft-fp/floattidf.c: Likewise.
16316 * soft-fp/floattisf.c: Likewise.
16317 * soft-fp/floattitf.c: Likewise.
16318 * soft-fp/floatundidf.c: Likewise.
16319 * soft-fp/floatundisf.c: Likewise.
16320 * soft-fp/floatunditf.c: Likewise.
16321 * soft-fp/floatunsidf.c: Likewise.
16322 * soft-fp/floatunsisf.c: Likewise.
16323 * soft-fp/floatunsitf.c: Likewise.
16324 * soft-fp/floatuntidf.c: Likewise.
16325 * soft-fp/floatuntisf.c: Likewise.
16326 * soft-fp/floatuntitf.c: Likewise.
16327 * soft-fp/fmadf4.c: Likewise.
16328 * soft-fp/fmasf4.c: Likewise.
16329 * soft-fp/fmatf4.c: Likewise.
16330 * soft-fp/gedf2.c: Likewise.
16331 * soft-fp/gesf2.c: Likewise.
16332 * soft-fp/getf2.c: Likewise.
16333 * soft-fp/ledf2.c: Likewise.
16334 * soft-fp/lesf2.c: Likewise.
16335 * soft-fp/letf2.c: Likewise.
16336 * soft-fp/muldf3.c: Likewise.
16337 * soft-fp/mulsf3.c: Likewise.
16338 * soft-fp/multf3.c: Likewise.
16339 * soft-fp/negdf2.c: Likewise.
16340 * soft-fp/negsf2.c: Likewise.
16341 * soft-fp/negtf2.c: Likewise.
16342 * soft-fp/op-1.h: Likewise.
16343 * soft-fp/op-2.h: Likewise.
16344 * soft-fp/op-4.h: Likewise.
16345 * soft-fp/op-8.h: Likewise.
16346 * soft-fp/op-common.h: Likewise.
16347 * soft-fp/quad.h: Likewise.
16348 * soft-fp/single.h: Likewise.
16349 * soft-fp/soft-fp.h: Likewise.
16350 * soft-fp/sqrtdf2.c: Likewise.
16351 * soft-fp/sqrtsf2.c: Likewise.
16352 * soft-fp/sqrttf2.c: Likewise.
16353 * soft-fp/subdf3.c: Likewise.
16354 * soft-fp/subsf3.c: Likewise.
16355 * soft-fp/subtf3.c: Likewise.
16356 * soft-fp/truncdfsf2.c: Likewise.
16357 * soft-fp/trunctfdf2.c: Likewise.
16358 * soft-fp/trunctfsf2.c: Likewise.
16359 * soft-fp/trunctfxf2.c: Likewise.
16360 * soft-fp/unorddf2.c: Likewise.
16361 * soft-fp/unordsf2.c: Likewise.
16362 * soft-fp/unordtf2.c: Likewise.
16364 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16366 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16367 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16369 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16371 * elf/dl-libc.c: Clear initfini list after freeing.
16373 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16375 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16376 * soft-fp/addsf3.c: Likewise.
16377 * soft-fp/addtf3.c: Likewise.
16378 * soft-fp/divdf3.c: Likewise.
16379 * soft-fp/divsf3.c: Likewise.
16380 * soft-fp/divtf3.c: Likewise.
16381 * soft-fp/double.h: Likewise.
16382 * soft-fp/eqdf2.c: Likewise.
16383 * soft-fp/eqsf2.c: Likewise.
16384 * soft-fp/eqtf2.c: Likewise.
16385 * soft-fp/extenddftf2.c: Likewise.
16386 * soft-fp/extended.h: Likewise.
16387 * soft-fp/extendsfdf2.c: Likewise.
16388 * soft-fp/extendsftf2.c: Likewise.
16389 * soft-fp/extendxftf2.c: Likewise.
16390 * soft-fp/fixdfdi.c: Likewise.
16391 * soft-fp/fixdfsi.c: Likewise.
16392 * soft-fp/fixdfti.c: Likewise.
16393 * soft-fp/fixsfdi.c: Likewise.
16394 * soft-fp/fixsfsi.c: Likewise.
16395 * soft-fp/fixsfti.c: Likewise.
16396 * soft-fp/fixtfdi.c: Likewise.
16397 * soft-fp/fixtfsi.c: Likewise.
16398 * soft-fp/fixtfti.c: Likewise.
16399 * soft-fp/fixunsdfdi.c: Likewise.
16400 * soft-fp/fixunsdfsi.c: Likewise.
16401 * soft-fp/fixunsdfti.c: Likewise.
16402 * soft-fp/fixunssfdi.c: Likewise.
16403 * soft-fp/fixunssfsi.c: Likewise.
16404 * soft-fp/fixunssfti.c: Likewise.
16405 * soft-fp/fixunstfdi.c: Likewise.
16406 * soft-fp/fixunstfsi.c: Likewise.
16407 * soft-fp/fixunstfti.c: Likewise.
16408 * soft-fp/floatdidf.c: Likewise.
16409 * soft-fp/floatdisf.c: Likewise.
16410 * soft-fp/floatditf.c: Likewise.
16411 * soft-fp/floatsidf.c: Likewise.
16412 * soft-fp/floatsisf.c: Likewise.
16413 * soft-fp/floatsitf.c: Likewise.
16414 * soft-fp/floattidf.c: Likewise.
16415 * soft-fp/floattisf.c: Likewise.
16416 * soft-fp/floattitf.c: Likewise.
16417 * soft-fp/floatundidf.c: Likewise.
16418 * soft-fp/floatundisf.c: Likewise.
16419 * soft-fp/floatunsidf.c: Likewise.
16420 * soft-fp/floatunsisf.c: Likewise.
16421 * soft-fp/floatuntidf.c: Likewise.
16422 * soft-fp/floatuntisf.c: Likewise.
16423 * soft-fp/floatuntitf.c: Likewise.
16424 * soft-fp/fmadf4.c: Likewise.
16425 * soft-fp/fmasf4.c: Likewise.
16426 * soft-fp/fmatf4.c: Likewise.
16427 * soft-fp/gedf2.c: Likewise.
16428 * soft-fp/gesf2.c: Likewise.
16429 * soft-fp/getf2.c: Likewise.
16430 * soft-fp/ledf2.c: Likewise.
16431 * soft-fp/lesf2.c: Likewise.
16432 * soft-fp/letf2.c: Likewise.
16433 * soft-fp/muldf3.c: Likewise.
16434 * soft-fp/mulsf3.c: Likewise.
16435 * soft-fp/multf3.c: Likewise.
16436 * soft-fp/negdf2.c: Likewise.
16437 * soft-fp/negsf2.c: Likewise.
16438 * soft-fp/negtf2.c: Likewise.
16439 * soft-fp/op-1.h: Likewise.
16440 * soft-fp/op-2.h: Likewise.
16441 * soft-fp/op-4.h: Likewise.
16442 * soft-fp/op-8.h: Likewise.
16443 * soft-fp/op-common.h: Likewise.
16444 * soft-fp/quad.h: Likewise.
16445 * soft-fp/single.h: Likewise.
16446 * soft-fp/soft-fp.h: Likewise.
16447 * soft-fp/sqrtdf2.c: Likewise.
16448 * soft-fp/sqrtsf2.c: Likewise.
16449 * soft-fp/sqrttf2.c: Likewise.
16450 * soft-fp/subdf3.c: Likewise.
16451 * soft-fp/subsf3.c: Likewise.
16452 * soft-fp/subtf3.c: Likewise.
16453 * soft-fp/truncdfsf2.c: Likewise.
16454 * soft-fp/trunctfdf2.c: Likewise.
16455 * soft-fp/trunctfsf2.c: Likewise.
16456 * soft-fp/trunctfxf2.c: Likewise.
16457 * soft-fp/unorddf2.c: Likewise.
16458 * soft-fp/unordsf2.c: Likewise.
16459 * soft-fp/unordtf2.c: Likewise.
16461 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16464 * misc/error.c (error_tail): Fix possible buffer overflow.
16466 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16469 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16472 2013-10-14 P. J. McDermott <pj@pehjota.net>
16475 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16476 testing pipefail option.
16478 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16480 * soft-fp/double.h: Indent preprocessor directives inside #if.
16481 * soft-fp/extended.h: Likewise.
16482 * soft-fp/op-2.h: Likewise.
16483 * soft-fp/op-4.h: Likewise.
16484 * soft-fp/op-common.h: Likewise.
16485 * soft-fp/quad.h: Likewise.
16486 * soft-fp/single.h: Likewise.
16487 * soft-fp/soft-fp.h: Likewise.
16489 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16491 * iconv/iconv_prog.c: Fix typos.
16492 * stdio-common/psiginfo-data.h: Likewise.
16494 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16497 * locale/setlocale.c: Fix typo.
16499 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16502 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16503 signaling NaN arguments.
16504 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16505 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16508 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16509 unordered operands.
16510 * soft-fp/gesf2.c (__gesf2): Likewise.
16511 * soft-fp/getf2.c (__getf2): Likewise.
16512 * soft-fp/ledf2.c (__ledf2): Likewise.
16513 * soft-fp/lesf2.c (__lesf2): Likewise.
16514 * soft-fp/letf2.c (__letf2): Likewise.
16516 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16517 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16518 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16519 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16520 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16521 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16522 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16523 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16524 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16525 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16526 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16527 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16528 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16529 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16530 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16531 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16532 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16533 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16534 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16535 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16536 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16537 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16538 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16539 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16540 * soft-fp/floattidf.c (__floattidf): Likewise.
16541 * soft-fp/floattisf.c (__floattisf): Likewise.
16542 * soft-fp/floattitf.c (__floattitf): Likewise.
16543 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16544 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16545 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16546 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16547 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16548 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16549 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16550 * soft-fp/gesf2.c (__gesf2): Likewise.
16551 * soft-fp/getf2.c (__getf2): Likewise.
16552 * soft-fp/ledf2.c (__ledf2): Likewise.
16553 * soft-fp/lesf2.c (__lesf2): Likewise.
16554 * soft-fp/letf2.c (__letf2): Likewise.
16556 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16557 Undefine and redefine.
16558 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16559 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16560 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16561 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16562 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16563 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16564 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16565 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16566 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16567 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16568 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16569 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16570 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16571 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16572 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16575 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16576 without decrementing exponent if mantissa >= that for the
16577 denominator, not >.
16578 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16579 denominator, not >. Decrement exponent in < case instead of
16580 incrementing in >= case.
16581 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16582 without decrementing exponent if mantissa >= that for the
16583 denominator, not >.
16585 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16586 computing saturated result for unsigned overflow.
16588 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16589 Jeff Law <law@redhat.com>
16591 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16592 (atan2Mp): Add systemtap probe marker.
16593 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16594 (__ieee754_log): Add systemtap probe marker.
16595 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16596 (atanMp): Add systemtap probe marker.
16597 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16598 (tanMp): Add systemtap probe marker.
16599 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16600 (__slowexp): Add systemtap probe marker.
16601 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16602 (__slowpow): Add systemtap probe marker.
16603 * manual/probes.texi: Document probes.
16605 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16608 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16610 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16612 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16613 written to buffer but not flushed.
16614 * libio/iofwrite_u.c: Likewise.
16615 * libio/iopadn.c: Return bytes returned even if EOF was
16617 * libio/iowpadn.c: Likewise.
16618 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16619 if _IO_padn does not write the whole buffer.
16620 [!COMPILE_WPRINTF] (PAD): Likewise.
16622 2013-10-10 David S. Miller <davem@davemloft.net>
16624 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16627 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16629 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16630 instead of FSF address.
16631 * soft-fp/fixdfti.c: Likewise.
16632 * soft-fp/fixsfti.c: Likewise.
16633 * soft-fp/fixtfti.c: Likewise.
16634 * soft-fp/fixunsdfti.c: Likewise.
16635 * soft-fp/fixunssfti.c: Likewise.
16636 * soft-fp/fixunstfti.c: Likewise.
16637 * soft-fp/floattidf.c: Likewise.
16638 * soft-fp/floattisf.c: Likewise.
16639 * soft-fp/floattitf.c: Likewise.
16640 * soft-fp/floatuntidf.c: Likewise.
16641 * soft-fp/floatuntisf.c: Likewise.
16642 * soft-fp/floatuntitf.c: Likewise.
16643 * soft-fp/trunctfxf2.c: Likewise.
16645 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16646 * soft-fp/fixdfti.c: Likewise.
16647 * soft-fp/fixsfti.c: Likewise.
16648 * soft-fp/fixtfti.c: Likewise.
16649 * soft-fp/fixunsdfti.c: Likewise.
16650 * soft-fp/fixunssfti.c: Likewise.
16651 * soft-fp/fixunstfti.c: Likewise.
16652 * soft-fp/floattidf.c: Likewise.
16653 * soft-fp/floattisf.c: Likewise.
16654 * soft-fp/floattitf.c: Likewise.
16655 * soft-fp/floatuntidf.c: Likewise.
16656 * soft-fp/floatuntisf.c: Likewise.
16657 * soft-fp/floatuntitf.c: Likewise.
16658 * soft-fp/trunctfxf2.c: Likewise.
16660 2013-10-10 David S. Miller <davem@davemloft.net>
16662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16664 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16666 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16667 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16668 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16669 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16670 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16671 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16672 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16675 for NaNs before doing comparisons on argument.
16676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16679 2013-10-10 Will Newton <will.newton@linaro.org>
16681 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16682 passed to _int_memalign does not overflow.
16684 2013-10-10 Torvald Riegel <triegel@redhat.com>
16686 * scripts/bench.pl: Add include-sources directive.
16687 * benchtests/README: Update documentation.
16689 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16691 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16692 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16693 instead of FP_INIT_ROUNDMODE.
16694 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16695 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16698 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16699 copy class of input value.
16700 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16701 not handle exceptions.
16702 * soft-fp/negsf2.c (__negsf2): Likewise.
16703 * soft-fp/negtf2.c (__negtf2): Likewise.
16704 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16706 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16708 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16709 semicolon. From Linux kernel.
16711 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16713 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16715 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16718 * manual/socket.texi: Added statement about buffer
16719 for gethostbyname2_r.
16721 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16723 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16724 Use .p2align directive instead, throughout.
16725 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16726 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16727 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16728 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16729 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16730 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16731 * sysdeps/x86_64/strchr.S: Likewise.
16732 * sysdeps/x86_64/strrchr.S: Likewise.
16734 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16736 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16738 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16740 * sysdeps/generic/math_private.h (__mpsin1): Remove
16742 (__mpcos1): Likewise.
16743 (__mpsin): New argument __range_reduce.
16744 (__mpcos): Likewise.
16745 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16746 (slow): Use __mpsin and __mpcos.
16750 (sloww1): Likewise.
16751 (sloww2): Likewise.
16752 (bsloww): Likewise.
16753 (bsloww1): Likewise.
16754 (bsloww2): Likewise.
16755 (cslow2): Likewise.
16756 (csloww): Likewise.
16757 (csloww1): Likewise.
16758 (csloww2): Likewise.
16759 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16760 range_reduce. Merge in __mpsin1.
16761 (__mpcos): Likewise.
16762 (__mpsin1): Remove.
16763 (__mpcos1): Likewise.
16765 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16767 * locale/loadlocale.c (_nl_intern_locale_data): Use
16769 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16770 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16771 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16772 obstack data is appropriately aligned.
16773 (obstack_int32_grow_fast): Likewise.
16774 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16775 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16776 (add_locale_uint32_array): Likewise.
16778 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16780 * benchtests/Makefile: Remove ARGLIST and RET variables.
16781 ($(objpfx)bench-%.c): Pass only function name to the script.
16782 * benchtests/README: Update documentation.
16783 * benchtests/acos-inputs: Add new directives.
16784 * benchtests/acosh-inputs: Likewise.
16785 * benchtests/asin-inputs: Likewise.
16786 * benchtests/asinh-inputs: Likewise.
16787 * benchtests/atan-inputs: Likewise.
16788 * benchtests/atanh-inputs: Likewise.
16789 * benchtests/cos-inputs: Likewise.
16790 * benchtests/cosh-inputs: Likewise.
16791 * benchtests/exp-inputs: Likewise.
16792 * benchtests/log-inputs: Likewise.
16793 * benchtests/pow-inputs: Likewise.
16794 * benchtests/rint-inputs: Likewise.
16795 * benchtests/sin-inputs: Likewise.
16796 * benchtests/sinh-inputs: Likewise.
16797 * benchtests/tan-inputs: Likewise.
16798 * benchtests/tanh-inputs: Likewise.
16799 * scripts/bench.pl: Add support for new directives.
16801 2013-10-07 Alan Modra <amodra@gmail.com>
16803 * README: Fix careless merge.
16805 2013-10-05 Alan Modra <amodra@gmail.com>
16807 * NEWS: Mention powerpc64le support and bugs fixed.
16808 * README: Both big-endian and little-endian powerpc64 supported.
16810 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16812 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16813 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16814 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16815 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16817 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16819 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16822 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16824 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16825 Move -mhard-float appending from
16826 ports/sysdeps/powerpc/powerpc32/Makefile.
16827 [$(with-fp) = yes] (ASFLAGS): Likewise.
16828 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16829 * sysdeps/powerpc/nofpu: Move directory from
16830 ports/sysdeps/powerpc/nofpu.
16831 * sysdeps/powerpc/soft-fp: Move directory from
16832 ports/sysdeps/powerpc/soft-fp.
16833 * sysdeps/powerpc/powerpc32/405: Move directory from
16834 ports/sysdeps/powerpc/powerpc32/405.
16835 * sysdeps/powerpc/powerpc32/440: Move directory from
16836 ports/sysdeps/powerpc/powerpc32/440.
16837 * sysdeps/powerpc/powerpc32/464: Move directory from
16838 ports/sysdeps/powerpc/powerpc32/464.
16839 * sysdeps/powerpc/powerpc32/476: Move directory from
16840 ports/sysdeps/powerpc/powerpc32/476.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16842 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16844 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16846 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16848 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16850 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16851 * README: Update for powerpc-*-linux-gnu software floating point
16854 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16855 case to powerpc/powerpc32*.
16856 * sysdeps/unix/sysv/linux/configure: Regenerated.
16858 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16859 (_FPU_MASK_OM): Define as 0x04.
16860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16868 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16871 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16874 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16875 and setcontext_e500.
16877 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16879 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16881 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16883 * manual/threads.texi (Default Thread Attributes): Fix typo.
16885 2013-10-04 Will Newton <will.newton@linaro.org>
16887 * malloc/Makefile: Add tst-memalign.
16888 * malloc/tst-memalign.c: New file.
16890 * malloc/tst-posix_memalign.c: Add comments.
16891 (do_test): Add comments and call free on all potentially
16892 allocated pointers. Add space after cast.
16894 * malloc/tst-pvalloc.c: Add comments.
16895 (do_test): Add comments and call free on all potentially
16896 allocated pointers. Remove duplicate check for NULL pointer.
16897 Add space after cast.
16899 * malloc/tst-valloc.c: Add comments.
16900 (do_test): Add comments and call free on all potentially
16901 allocated pointers. Remove duplicate check for NULL pointer.
16902 Add space after cast.
16904 2013-10-04 Alan Modra <amodra@gmail.com>
16906 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16907 Use stdint types in rather than __attribute__((mode())).
16908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16910 2013-10-04 Alan Modra <amodra@gmail.com>
16912 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16913 Correct handling of unaligned relocs for little-endian.
16914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16916 2013-10-04 Alan Modra <amodra@gmail.com>
16918 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16919 * configure: Regenerate.
16920 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16921 * shlib-versions: Likewise.
16923 2013-10-04 Alan Modra <amodra@gmail.com>
16925 * string/tester.c (test_memrchr): Increment reported test cycle.
16927 2013-10-04 Alan Modra <amodra@gmail.com>
16929 * string/test-memcpy.c (do_one_test): When reporting errors, print
16930 string address and don't overrun end of string.
16932 2013-10-04 Alan Modra <amodra@gmail.com>
16934 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16935 insrdi. Make better use of reg selection to speed exit slightly.
16936 Schedule entry path a little better. Remove useless "are we done"
16937 checks on entry to main loop. Handle wrapping around zero address.
16938 Correct main loop count. Handle single left-over word from main
16939 loop inline rather than by using loop_small. Remove extra word
16940 case in loop_small caused by wrong loop count. Add little-endian
16942 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16943 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16945 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16946 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16947 support. Avoid rlwimi.
16948 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16950 2013-10-04 Alan Modra <amodra@gmail.com>
16952 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16953 insrdi. Formatting.
16954 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16955 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16956 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16957 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16958 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16959 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16961 2013-10-04 Alan Modra <amodra@gmail.com>
16963 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16964 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16965 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16966 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16967 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16968 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16970 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16971 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16972 use of regs. Use power7 mtocrf. Tidy function tails.
16974 2013-10-04 Alan Modra <amodra@gmail.com>
16976 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16977 Formatting. Consistently use rXXX register defines or rN defines.
16978 Use early exit labels that avoid restoring unused non-volatile regs.
16979 Make cr field use more consistent with rWORDn compares. Rename
16980 regs used as shift registers for unaligned loop, using rN defines
16981 for short lifetime/multiple use regs.
16982 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16983 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16984 addi 1,1,64 to pop stack frame. Simplify return value code.
16985 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16987 2013-10-04 Alan Modra <amodra@gmail.com>
16989 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16990 support. Correct typos, formatting. Optimize tail. Use insrdi
16991 rather than rlwimi.
16992 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16993 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16994 little-endian support. Correct typos.
16995 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16996 rather than rlwimi.
16997 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16998 in loop and entry code to keep "and." results.
16999 (strchr): Add little-endian support. Comment. Move cntlzd
17001 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17003 2013-10-04 Alan Modra <amodra@gmail.com>
17005 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17006 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17007 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17008 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17010 2013-10-04 Alan Modra <amodra@gmail.com>
17012 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17013 (rTMP): Define as r11.
17014 (strcmp): Add little-endian support. Optimise tail.
17015 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17016 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17017 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17018 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17019 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17021 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17023 2013-10-04 Alan Modra <amodra@gmail.com>
17025 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17026 little-endian support. Remove unnecessary "are we done" tests.
17027 Handle "s" wrapping around zero and extremely large "size".
17028 Correct main loop count. Handle single left-over word from main
17029 loop inline rather than by using small_loop. Correct comments.
17030 Delete "zero" tail, use "end_max" instead.
17031 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17033 2013-10-04 Alan Modra <amodra@gmail.com>
17035 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17036 support. Don't branch over align.
17037 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17038 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17039 support. Rearrange tmp reg use to suit. Comment.
17040 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17042 2013-10-04 Alan Modra <amodra@gmail.com>
17044 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17046 2013-10-04 Alan Modra <amodra@gmail.com>
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17049 conditional form of branch and link when obtaining pc.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17052 2013-10-04 Alan Modra <amodra@gmail.com>
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17059 2013-10-04 Alan Modra <amodra@gmail.com>
17061 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17062 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17063 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17064 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17065 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17066 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17067 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17068 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17069 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17070 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17072 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17073 Alistair Popple <alistair@ozlabs.au.ibm.com>
17074 Alan Modra <amodra@gmail.com>
17077 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17079 _dl_hwcap access for little-endian.
17080 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17081 destroy vmx regs when saving unaligned.
17082 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17083 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17084 destroy vmx regs when saving unaligned.
17086 2013-10-04 Alan Modra <amodra@gmail.com>
17088 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17089 Don't use a union to pack hi/low value.
17091 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17093 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17095 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17096 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17097 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17098 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17099 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17101 2013-10-04 Alan Modra <amodra@gmail.com>
17103 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17104 constants to usual value for .cst8 section, and remove redundant
17106 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17107 constant for 0x1p52. Load little-endian words of double from
17108 correct stack offsets.
17110 2013-10-04 Alan Modra <amodra@gmail.com>
17112 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17113 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17114 words of double from correct stack offsets.
17115 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17116 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17117 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17118 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17119 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17120 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17121 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17122 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17123 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17124 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17125 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17126 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17127 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17128 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17129 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17130 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17131 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17133 2013-10-04 Alan Modra <amodra@gmail.com>
17135 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17136 64-bit int/double union.
17137 (_FPU_SETCW): Likewise.
17138 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17139 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17141 2013-10-04 Alan Modra <amodra@gmail.com>
17143 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17144 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17146 2013-10-04 Alan Modra <amodra@gmail.com>
17148 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17149 use vector int constants.
17150 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17152 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17154 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17155 array with long long.
17156 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17157 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17158 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17159 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17160 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17161 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17162 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17163 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17164 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17165 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17166 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17167 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17168 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17170 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17172 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17173 (__signbit): Likewise. Correct for little-endian.
17174 (__signbitl): Call __signbit.
17175 (lrint): Correct for little-endian.
17176 (lrintf): Call lrint.
17178 2013-10-04 Alan Modra <amodra@gmail.com>
17180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17181 union 32-bit int array member with 64-bit int array.
17182 (t515, tm256): Double rather than long double.
17183 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17185 2013-10-04 Alan Modra <amodra@gmail.com>
17187 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17189 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17191 version of math_ldbl.h.
17193 2013-10-04 Alan Modra <amodra@gmail.com>
17195 [BZ #15734], [BZ #15735]
17196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17197 all uses of ieee875 long double macros and unions. Simplify test
17198 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17199 ldbl_extract_mantissa value for ix,iy exponents. Properly
17200 normalize after ldbl_extract_mantissa, and don't add hidden bit
17201 already handled. Don't treat low word of ieee854 mantissa like
17202 low word of IBM long double and mask off bit when testing for
17204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17205 all uses of ieee875 long double macros and unions. Simplify tests
17206 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17207 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17208 two1022, instead use their values. Recognise that tests for large
17209 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17210 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17211 Rewrite all uses of ieee875 long double macros and unions. Simplify
17212 test for 0.0L and nan. Correct negation.
17213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17214 ieee875 long double macros and unions. Correct output for large
17215 magnitude x. Correct absolute value calculation.
17216 (__erfcl): Likewise.
17217 * math/libm-test.inc: Add tests for errors discovered in IBM long
17218 double versions of fmodl, remainderl, erfl and erfcl.
17220 2013-10-04 Alan Modra <amodra@gmail.com>
17222 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17223 all uses of ieee854 long double macros and unions. Simplify tests
17224 for long doubles that are fully specified by the high double.
17225 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17227 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17228 Remove dead code too.
17229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17230 (__ieee754_ynl): Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17234 Remove dead code too.
17235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17236 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17237 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17242 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17243 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17244 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17245 Comment on variable precision.
17246 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17249 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17250 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17251 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17252 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17253 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17255 2013-10-04 Alan Modra <amodra@gmail.com>
17257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17258 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17259 all uses of ieee854 long double macros and unions.
17260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17268 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17271 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17273 Simplify sign and nan test too.
17274 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17275 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17276 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17277 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17279 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17280 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17282 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17284 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17285 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17286 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17289 2013-10-04 Alan Modra <amodra@gmail.com>
17291 * stdio-common/printf_size.c (__printf_size): Don't use
17292 union ieee854_long_double in fpnum union.
17293 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17294 signbit macro to retrieve sign from long double.
17295 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17296 retrieve sign from long double.
17297 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17298 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17299 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17300 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17301 * math/test-misc.c (main): Don't use union ieee854_long_double.
17303 2013-10-04 Alan Modra <amodra@gmail.com>
17306 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17307 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17308 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17309 calculation. Remove unnecessary test for denormal exponent.
17310 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17311 Correct handling of denormals. Avoid undefined shift behaviour.
17312 Correct normalisation of low mantissa when low double is denormal.
17313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17314 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17315 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17316 Correct normalisation of low mantissa. Test for overflow of high
17317 mantissa and normalise.
17318 (ldbl_nearbyint): Use more readable constant for two52.
17319 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17320 (__mpn_construct_long_double): Fix test for overflow of high
17321 mantissa and correct normalisation. Avoid undefined shift.
17323 2013-10-04 Alan Modra <amodra@gmail.com>
17325 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17326 (union ibm_extended_long_double): Define as an array of ieee754_double.
17327 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17328 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17329 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17330 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17334 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17339 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17341 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17342 page size instead of calling getpagesize.
17344 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17345 (LOCFILE_ALIGN_MASK): Likewise.
17346 (LOCFILE_ALIGN_UP): Likewise.
17347 (LOCFILE_ALIGNED_P): Likewise.
17348 * locale/programs/ld-collate.c (collate_output): Use the new
17349 macros instead of __alignof__ (int32_t).
17350 * locale/weight.h (findidx): Likewise.
17352 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17355 * manual/string.texi: Fix strncat and wcsncat.
17357 2013-10-03 Brooks Moses <bmoses@google.com>
17360 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17361 * Makerules: ...here, and adjust associated comments.
17363 2013-10-02 Will Newton <will.newton@linaro.org>
17365 * malloc/Makefile: Add tst-pvalloc.
17366 * malloc/tst-pvalloc.c: New file.
17368 2013-10-02 Will Newton <will.newton@linaro.org>
17370 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17371 improve test coverage.
17373 2013-10-02 Will Newton <will.newton@linaro.org>
17375 * malloc/Makefile: Add tst-posix_memalign.
17376 * malloc/tst-posix_memalign.c: New file.
17378 2013-10-01 Eric Blake <eblake@redhat.com>
17380 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17381 Use __THROWNL rather than __THROW on static functions.
17383 2013-09-30 Petr Machata <pmachata@redhat.com>
17385 * elf/elf.h (R_AARCH64_ABS16): New macro.
17386 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17387 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17388 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17389 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17390 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17391 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17392 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17393 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17394 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17395 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17396 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17397 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17398 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17399 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17400 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17401 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17402 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17403 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17404 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17405 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17406 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17407 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17408 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17409 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17410 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17411 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17412 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17413 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17414 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17415 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17416 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17417 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17418 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17419 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17420 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17421 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17422 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17423 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17424 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17425 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17426 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17427 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17428 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17429 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17430 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17431 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17432 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17433 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17434 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17435 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17436 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17437 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17438 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17439 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17440 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17441 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17442 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17443 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17444 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17445 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17446 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17447 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17448 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17449 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17450 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17451 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17452 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17453 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17454 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17455 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17456 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17457 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17458 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17459 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17460 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17461 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17462 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17463 (R_AARCH64_TLSDESC_LDR): Likewise.
17464 (R_AARCH64_TLSDESC_ADD): Likewise.
17465 (R_AARCH64_TLSDESC_CALL): Likewise.
17467 2013-09-30 Andreas Schwab <schwab@suse.de>
17470 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17471 the nss database lookup.
17472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17475 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17477 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17479 2013-09-28 P. J. McDermott <pj@pehjota.net>
17481 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17482 ${Bash-specific parameter/pattern/string} parameter expansion.
17483 * sysdeps/unix/make-syscalls.sh: Likewise.
17485 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17487 * sysdeps/sh/stackguard-macros.h: New file.
17489 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17493 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17494 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17495 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17496 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17498 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17500 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17501 Fix thread ID register.
17503 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17505 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17506 [POSIX || UNIX98]: Require rather than permitting all symbols from
17508 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17509 element of struct sched_param.
17510 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17511 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17512 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17513 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17516 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17518 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17519 argument calculation.
17521 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17523 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17525 [POSIX] (pthread_attr_t): Do not require type.
17526 [POSIX] (pthread_cond_t): Likewise.
17527 [POSIX] (pthread_condattr_t): Likewise.
17528 [POSIX] (pthread_key_t): Likewise.
17529 [POSIX] (pthread_mutex_t): Likewise.
17530 [POSIX] (pthread_mutexattr_t): Likewise.
17531 [POSIX] (pthread_once_t): Likewise.
17532 [POSIX] (pthread_t): Likewise.
17533 [POSIX-based standards] (pthread_atfork): Expect function.
17535 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17536 Richard Sandiford <richard@codesourcery.com>
17538 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17539 (swap_endianness_p): New extern variable.
17540 (set_big_endian): New inline function.
17541 (maybe_swap_uint32): Likewise.
17542 (maybe_swap_uint32_array): Likewise.
17543 (maybe_swap_uint32_obstack): Likewise.
17544 * locale/programs/locfile.c: Include <stdbool.h>.
17545 (swap_endianness_p): New variable.
17546 (add_locale_uint32): Call maybe_swap_uint32.
17547 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17548 (write_locale_data): Call maybe_swap_uint32_array.
17549 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17551 (obstack_int32_grow_fast): Likewise.
17552 (output_weightwc): Call maybe_swap_uint32_obstack.
17553 (collate_output): Likewise.
17554 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17555 (OPT_LITTLE_ENDIAN): Likewise.
17556 (options): Add --little-endian and --big-endian options.
17557 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17558 * locale/programs/locarchive.c: Include "locfile.h".
17562 (create_archive): Use the new macros to access fields of
17563 structures directly mapped from or written to locale archives.
17564 (oldlocrecentcmp): Likewise.
17565 (enlarge_archive): Likewise.
17566 (insert_name): Likewise.
17567 (add_alias): Likewise.
17568 (add_locale): Likewise.
17569 (delete_locales_from_archive): Likewise.
17570 (show_archive_content): Likewise.
17571 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17574 2013-09-24 Roland McGrath <roland@hack.frob.com>
17576 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17577 http://www.gnu.org/doc/freemanuals.texi.
17578 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17580 2013-09-24 Will Newton <will.newton@linaro.org>
17582 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17585 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17587 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17590 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17592 * manual/threads.texi (POSIX Threads): Fix a typo.
17594 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17597 * string/tst-strcoll-overflow.c: New test case.
17598 * string/Makefile (xtests): Add tst-strcoll-overflow.
17599 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17600 cache if string sizes may cause integer overflow.
17603 * string/strcoll_l.c (coll_seq): New members rule, idx,
17604 save_idx and back_us.
17605 (get_next_seq_nocache): New function.
17606 (do_compare_nocache): New function.
17607 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17610 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17613 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17614 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17615 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17618 * elf/Makefile (tests): Add tst-ptrguard1.
17619 (tests-static): Add tst-ptrguard1-static.
17620 (tst-ptrguard1-ARGS): Define.
17621 (tst-ptrguard1-static-ARGS): Define.
17622 * elf/tst-ptrguard1.c: New file.
17623 * elf/tst-ptrguard1-static.c: New file.
17624 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17625 * sysdeps/i386/stackguard-macros.h: Likewise.
17626 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17627 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17628 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17629 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17630 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17631 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17633 2013-09-23 Hector Marco <hecmargi@upv.es>
17634 Ismael Ripoll <iripoll@disca.upv.es>
17635 Carlos O'Donell <carlos@redhat.com>
17638 * sysdeps/generic/stackguard-macros.h: Define
17639 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17640 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17641 Define __pointer_chk_guard_local.
17642 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17643 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17645 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17648 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17650 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17652 * include/string.h (__ffs): Declare as hidden.
17653 * string/ffs.c (__ffs): Define as hidden.
17654 * sysdeps/i386/ffs.c (__ffs): Likewise.
17655 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17656 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17657 * sysdeps/s390/ffs.c (__ffs): Likewise.
17658 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17660 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17662 * NEWS: Mention malloc probes.
17664 * malloc/arena.c (new_heap): New memory_heap_new probe.
17665 (grow_heap): New memory_heap_more probe.
17666 (shrink_heap): New memory_heap_less probe.
17667 (heap_trim): New memory_heap_free probe.
17668 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17669 (systrim): New memory_sbrk_less probe.
17670 * manual/probes.texi: Document them.
17672 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17673 * manual/probes.texi: Document it.
17675 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17676 (__libc_realloc): Add memory_realloc_retry probe.
17677 (__libc_memalign): Add memory_memalign_retry probe.
17678 (__libc_valloc): Add memory_valloc_retry probe.
17679 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17680 (__libc_calloc): Add memory_calloc_retry probe.
17681 * manual/probes.texi: Document them.
17683 * malloc/arena.c (get_free_list): Add probe
17684 memory_arena_reuse_free_list.
17685 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17686 and memory_arena_reuse.
17687 (arena_get2) [!PER_THREAD]: Likewise.
17688 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17689 memory_arena_reuse_realloc.
17690 * manual/probes.texi: Document them.
17692 * malloc/malloc.c (__libc_free): Add
17693 memory_mallopt_free_dyn_thresholds probe.
17694 (__libc_mallopt): Add multiple memory_mallopt probes.
17695 * manual/probes.texi: Document them.
17697 * malloc/malloc.c: Include stap-probe.h.
17698 (__libc_mallopt): Add memory_mallopt probe.
17699 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17700 * manual/probes.texi: New.
17701 * manual/Makefile (chapters): Add probes.
17702 * manual/threads.texi: Set next node.
17704 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17706 [BZ #15963, #13985]
17707 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17708 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17709 Add `Chinese' to `nan' entry name.
17711 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17713 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17714 (POLYNOMIAL): Likewise.
17715 (TAYLOR_SINCOS): Likewise.
17716 (TAYLOR_SLOW): Likewise.
17717 (__sin): Use TAYLOR_SINCOS.
17719 (slow): Use TAYLOR_SLOW.
17721 (bsloww): Likewise.
17722 (csloww): Likewise.
17724 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17726 * stdlib/strtod_l.c: Fix buffer overrun.
17728 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17730 * benchtests/Makefile (bench): Add sincos.
17731 * benchtests/bench-sincos.c: New file.
17733 * math/libm-test.inc (cos_test_data): New test inputs.
17734 (sin_test_data): Likewise.
17736 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17742 (sloww1): Likewise.
17743 (sloww2): Likewise.
17744 (bsloww1): Likewise.
17745 (bsloww2): Likewise.
17746 (cslow2): Likewise.
17747 (csloww1): Likewise.
17748 (csloww2): Likewise.
17750 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17755 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17759 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17761 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17762 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17763 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17764 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17765 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17766 * elf/cache.c (print_entry): Handle the new cache flags.
17768 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17769 Aldy Hernandez <aldyh@redhat.com>
17771 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17772 Change condition to [_SOFT_FLOAT].
17773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17785 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17788 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17791 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17793 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17794 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17795 (__longjmp): Use LOAD_GP to load saved GPRs.
17796 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17797 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17798 (__sigsetjmp): Use SAVE_GP to save GPRs.
17800 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17801 Do not append -msoft-float.
17802 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17804 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17806 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17808 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17811 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17812 (_FPU_GETCW): Use initial "__" on variable and field names but not
17813 on macro parameter name.
17814 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17815 parentheses around reference to macro parameter.
17817 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17819 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17821 (ctype_startup): Use uint32_t in cast and sizeof for
17824 2013-09-11 Jia Liu <proljc@gmail.com>
17826 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17828 [__FreeBSD__]: Likewise.
17830 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17833 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17834 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17835 (strchr): Remove __strchr_sse42 ifunc selection.
17836 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17837 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17839 2013-09-11 Will Newton <will.newton@linaro.org>
17841 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17842 parameter to RES. Remove hardcoded 1000 value.
17843 * benchtests/bench-skeleton.c (main): Pass RES parameter
17844 to TIMING_INIT and multiply result by 1000.
17846 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17850 2013-09-11 Andreas Schwab <schwab@suse.de>
17852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17854 (O_TMPFILE) [__USE_GNU]: Define.
17855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17858 2013-09-11 Will Newton <will.newton@linaro.org>
17861 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17864 2013-09-11 Will Newton <will.newton@linaro.org>
17867 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17870 2013-09-11 Will Newton <will.newton@linaro.org>
17873 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17876 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17878 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17879 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17880 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17882 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17884 2013-09-10 Allan McRae <allan@archlinux.org>
17887 * manual/arith.texi (Parsing of Floats): Clarify
17891 * manual/install.texi (Running make install): Mention
17893 * INSTALL: Regenerated.
17895 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17897 * csu/init-first.c (_init): Remove the !SHARED condition around
17898 FPU control word initialization.
17899 * elf/dl-support.c (_dl_fpu_control): New variable.
17900 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17901 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17902 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17903 * math/test-fpucw-static.c: New file.
17904 * math/test-fpucw-ieee.c: New file.
17905 * math/test-fpucw-ieee-static.c: New file.
17906 * math/Makefile (tests): Add `test-fpucw-ieee' and
17908 (tests-static): New variable.
17909 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17911 [($(build-shared),yes)]
17912 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17914 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17917 2013-09-09 Allan McRae <allan@archlinux.org>
17920 * manual/string.texi (Collation Functions): Fix typo in
17922 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17925 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17928 * libio/memstream.c (open_memstream): Fix memory leak.
17929 * libio/wmemstream.c (open_wmemstream): Likewise.
17932 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17934 2013-09-09 Will Newton <will.newton@linaro.org>
17936 * malloc/Makefile: Add tst-realloc to tests.
17937 * malloc/tst-realloc.c: New file.
17939 2013-09-09 Allan McRae <allan@archlinux.org>
17942 * COPYING: Update from GNU website to fix FSF address.
17943 * COPYING.LIB: Likewise.
17945 2013-09-06 David S. Miller <davem@davemloft.net>
17947 * po/zh_TW.po: Update Chinese (traditional) translation from
17948 translation project.
17950 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17951 Joseph Myers <joseph@codesourcery.com>
17953 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17955 (obstack_chunk_alloc): New macro.
17956 (obstack_chunk_free): Likewise.
17957 (record_offset): New function.
17958 (init_locale_data): Likewise.
17959 (align_locale_data): Likewise.
17960 (add_locale_empty): Likewise.
17961 (add_locale_raw_data): Likewise.
17962 (add_locale_raw_obstack): Likewise.
17963 (add_locale_string): Likewise.
17964 (add_locale_wstring): Likewise.
17965 (add_locale_uint32): Likewise.
17966 (add_locale_uint32_array): Likewise.
17967 (add_locale_char): Likewise.
17968 (start_locale_structure): Likewise.
17969 (end_locale_structure): Likewise.
17970 (start_locale_prelude): Likewise.
17971 (end_locale_prelude): Likewise.
17972 (write_locale_data): Take locale_file structure rather than an
17974 * locale/programs/locfile.h: Include "obstack.h".
17975 (struct locale_file): Change to store locale file contents instead
17977 (init_locale_data): New prototype.
17978 (align_locale_data): Likewise.
17979 (add_locale_empty): Likewise.
17980 (add_locale_raw_data): Likewise.
17981 (add_locale_raw_obstack): Likewise.
17982 (add_locale_string): Likewise.
17983 (add_locale_wstring): Likewise.
17984 (add_locale_uint32): Likewise.
17985 (add_locale_uint32_array): Likewise.
17986 (add_locale_char): Likewise.
17987 (start_locale_structure): Likewise.
17988 (end_locale_structure): Likewise.
17989 (start_locale_prelude): Likewise.
17990 (end_locale_prelude): Likewise.
17991 (write_locale_data): Update prototype.
17992 * locale/programs/3level.h (struct TABLE): Remove result field.
17993 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17994 Use new locale_file interface.
17995 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17996 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17997 * locale/programs/ld-address.c (address_output): Use new
17998 locale_file interface.
17999 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18001 (collate_finish): Don't call collseq_table_finalize.
18002 (collate_output): Use new locale_file interface.
18003 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18005 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18006 (TABLE): Move defines earlier in file.
18007 (ELEMENT): Likewise.
18008 (DEFAULT): Likewise.
18009 (wctrans_table_add): Move macro and inline function earlier in
18011 (struct wctype_table): Move type earlier in file.
18012 (add_locale_wctype_table): New static prototype.
18013 (struct locale_ctype_t): Use logical types instead of struct iovec
18014 pointers for members.
18015 (ctype_output): Use new locale_file interface.
18016 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18017 new locale_file interface.
18018 (allocate_arrays): Update for use of new locale_file interface.
18019 * locale/programs/ld-identification.c (identification_output): Use
18020 new locale_file interface.
18021 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18022 * locale/programs/ld-messages.c (messages_output): Likewise.
18023 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18024 * locale/programs/ld-name.c (name_output): Likewise.
18025 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18026 * locale/programs/ld-paper.c (paper_output): Likewise.
18027 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18028 * locale/programs/ld-time.c (time_output): Likewise.
18030 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18032 * benchtests/Makefile: Add memrchr benchmark.
18033 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18034 benchmark as memrchr.
18035 * benchtests/bench-memrchr-ifunc.c: New file.
18036 * benchtests/bench-memrchr.c: New file.
18038 2013-09-06 Will Newton <will.newton@linaro.org>
18040 * benchtests/Makefile (string-bench): Add memcpy.
18042 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18043 Cong Wang <amwang@redhat.com>
18046 * sysdeps/unix/sysv/linux/bits/in.h
18047 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18048 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18049 before __USE_KERNEL_IPV6_DEFS uses.
18050 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18052 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18053 sockaddr_in6, or ipv6_mreq.
18055 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18057 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18058 memory access for final bytes in some large inputs.
18059 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18061 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18063 * string/test-memrchr.c: New file.
18064 * string/test-memrchr-ifunc.c: New file.
18065 * string/Makefile: Add new memrchr testcase.
18067 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18069 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18070 fanotify_init returns EPERM.
18072 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18074 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18076 (top level): Treat second token from macro or constant entries for
18077 allowed headers as allowed.
18078 * include/complex.h: Condition internal declarations on
18080 * include/fenv.h: Condition include of <stdbool.h> and internal
18081 declarations on [!_ISOMAC].
18083 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18086 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18088 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18090 * configure.in (--enable-versioning): Remove configure option.
18091 (libc_cv_asm_symver_directive): Remove configure test.
18092 (libc_cv_ld_version_script_option): Likewise.
18093 (VERSIONING): Remove variable and AC_SUBST.
18094 (DO_VERSIONING): Remove AC_DEFINE.
18095 * configure: Regenerated.
18096 * config.h.in (DO_VERSIONING): Remove macro.
18097 * Makerules [$(versioning) = yes]: Change conditionals to
18098 [$(build-shared) = yes].
18099 * config.make.in (versioning): Remove variable.
18100 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18101 [$(build-shared) = yes].
18102 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18103 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18104 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18105 [$(build-shared) = yes].
18106 * extra-lib.mk [$(versioning) = yes]: Likewise.
18107 * hurd/Makefile [$(versioning) = yes]: Likewise.
18108 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18110 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18112 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18113 [SHARED && !NO_HIDDEN].
18114 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18116 [SHARED && DO_VERSIONING]: Likewise..
18117 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18118 [$(build-shared) = yes].
18119 * manual/install.texi (--disable-versioning): Remove
18121 * INSTALL: Regenerated.
18122 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18124 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18125 [$(build-shared) = yes].
18126 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18127 * sysdeps/i386/i686/multiarch/strstr-c.c
18128 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18129 [SHARED && !NO_HIDDEN].
18130 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18131 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18132 * sysdeps/powerpc/powerpc32/dl-machine.c
18133 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18134 * sysdeps/powerpc/powerpc32/sysdep.h
18135 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18136 to [SHARED && PIC && !NO_HIDDEN].
18137 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18138 conditional to [SHARED].
18140 2013-09-04 Will Newton <will.newton@linaro.org>
18142 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18143 * benchtests/bench-string.h: Include bench-timing.h instead
18144 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18145 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18146 call to HP_TIMING_DIFF_INIT.
18147 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18148 instead of hp-timing.h macros.
18149 * benchtests/bench-memchr.c: Likewise.
18150 * benchtests/bench-memcmp.c: Likewise.
18151 * benchtests/bench-memcpy.c: Likewise.
18152 * benchtests/bench-memmem.c: Likewise.
18153 * benchtests/bench-memmove.c: Likewise.
18154 * benchtests/bench-memset.c: Likewise.
18155 * benchtests/bench-rawmemchr.c: Likewise.
18156 * benchtests/bench-strcasecmp.c: Likewise.
18157 * benchtests/bench-strcasestr.c: Likewise.
18158 * benchtests/bench-strcat.c: Likewise.
18159 * benchtests/bench-strchr.c: Likewise.
18160 * benchtests/bench-strcmp.c: Likewise.
18161 * benchtests/bench-strcpy.c: Likewise.
18162 * benchtests/bench-strcpy_chk.c: Likewise.
18163 * benchtests/bench-strlen.c: Likewise.
18164 * benchtests/bench-strncasecmp.c: Likewise.
18165 * benchtests/bench-strncat.c: Likewise.
18166 * benchtests/bench-strncmp.c: Likewise.
18167 * benchtests/bench-strncpy.c: Likewise.
18168 * benchtests/bench-strnlen.c: Likewise.
18169 * benchtests/bench-strpbrk.c: Likewise.
18170 * benchtests/bench-strrchr.c: Likewise.
18171 * benchtests/bench-strspn.c: Likewise.
18172 * benchtests/bench-strstr.c: Likewise.
18174 2013-09-04 Will Newton <will.newton@linaro.org>
18176 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18178 2013-09-03 Joseph Myers <joseph@codesourcery.com>
18181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18182 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18183 * math/libm-test.inc (lgamma_test_data): Add more tests.
18184 * sysdeps/i386/fpu/libm-test-ulps: Update.
18185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18187 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
18189 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18193 Add strcmp-sse2-unaligned
18194 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18196 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18198 * Versions.def (libc): Add GLIBC_2.19.
18200 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18202 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18203 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18205 2013-09-02 Joseph Myers <joseph@codesourcery.com>
18208 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18209 intermediate calculations in recurrence.
18210 (__ieee754_ynf): Likewise.
18211 * math/libm-test.inc (jn_test_data): Do not allow spurious
18212 underflow exception. Add more tests.
18213 (yn_test_data): Add more tests.
18214 * sysdeps/i386/fpu/libm-test-ulps: Update.
18215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18217 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
18219 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18221 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18223 * csu/init-first.c: Fix then/than typos.
18224 * locale/programs/ld-collate.c: Likewise.
18225 * locale/programs/linereader.h: Likewise.
18226 * manual/charset.texi: Likewise.
18227 * manual/filesys.texi: Likewise.
18228 * manual/stdio.texi: Likewise.
18229 * manual/string.texi: Likewise.
18230 * stdlib/fmtmsg.c: Likewise.
18231 * sysdeps/i386/stpncpy.S: Likewise.
18232 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18233 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18234 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18235 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18237 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18239 * elf/dl-open.c: Fix typos.
18240 * iconvdata/gbbig5.c: Likewise.
18241 * iconvdata/iso-2022-jp.c: Likewise.
18242 * iconv/gconv_int.h: Likewise.
18243 * iconv/loop.c: Likewise.
18244 * nis/rpcsvc/nis.h: Likewise.
18245 * resolv/ns_name.c: Likewise.
18246 * stdio-common/vfscanf.c: Likewise.
18247 * streams/stropts.h: Likewise.
18248 * sunrpc/rpc_thread.c: Likewise.
18249 * sysdeps/i386/strpbrk.S: Likewise.
18250 * sysdeps/ieee754/k_standard.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18253 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18254 * sysdeps/mach/hurd/profil.c: Likewise.
18255 * sysdeps/s390/dl-procinfo.h: Likewise.
18256 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18257 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18258 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18259 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18260 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18262 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18264 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18267 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18269 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18270 aix specific files.
18271 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18272 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18273 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18274 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18275 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18276 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18277 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18278 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18280 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18281 Roland McGrath <roland@hack.frob.com>
18283 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18284 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18286 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18288 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18289 __executable_start symbol instead of _start.
18291 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18293 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18294 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18296 * sysdeps/gnu/ldsodefs.h: ... this new file.
18298 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18299 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18300 instead of ELFOSABI_LINUX.
18302 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18303 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18304 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18305 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18307 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18308 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18309 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18311 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18312 (ibm_extended_long_double): Add ieee_nan member.
18313 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18314 (do_test): New function.
18316 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18318 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18319 functions, renamed from truncdfsf_test, trunctfsf_test,
18321 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18323 (do_test): Run all these.
18325 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18327 * argp/argp-help.c: Fix typos.
18328 * argp/argp-parse.c: Likewise.
18329 * debug/backtracesyms.c: Likewise.
18330 * elf/elf.h: Likewise.
18331 * malloc/malloc.c: Likewise.
18332 * nis/nis_print.c: Likewise.
18333 * resolv/res_comp.c: Likewise.
18334 * stdlib/stdlib.h: Likewise.
18335 * sunrpc/clnt_tcp.c: Likewise.
18336 * sunrpc/clnt_udp.c: Likewise.
18337 * sunrpc/clnt_unix.c: Likewise.
18338 * sysdeps/unix/bsd/ptsname.c: Likewise.
18339 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18340 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18347 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18349 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18351 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18354 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18357 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18358 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18359 ($(objpfx)bug-dl-leaf): New rule.
18360 ($(objpfx)bug-dl-leaf.so): Likewise.
18361 ($(objpfx)bug-dl-leaf.out): Likewise.
18362 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18363 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18364 * dlfcn/bug-dl-leaf.c: New test.
18365 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18366 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18367 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18368 (dlclose): Likewise.
18369 (dlmopen): Likewise.
18371 2013-08-27 Roland McGrath <roland@hack.frob.com>
18373 * include/netdb.h [!_ISOMAC]:
18374 Don't include <tls.h>.
18375 (h_errno, __libc_h_errno): Move declaration and macros out of
18378 * include/resolv.h [_RESOLV_H_]:
18379 Don't include <tls.h>.
18380 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18381 * resolv/res_libc.c: Don't include <tls.h>.
18382 (_res): Use __attribute__ ((nocommon)) in place of
18383 __attribute__ ((section (".bss"))).
18385 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18386 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18388 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18390 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18391 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18393 * resolv/res_mkquery.c: Include <sys/time.h>.
18395 * inet/ifreq.c: Moved to ...
18396 * sysdeps/unix/ifreq.c: ... here.
18397 * inet/ifreq.c: New file, true stub version.
18399 * socket/sa_len.c: New file.
18400 * socket/Makefile (aux): Add it.
18401 * sysdeps/unix/sysv/linux/Makefile
18402 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18403 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18404 and #include <socket/sa_len.c>.
18405 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18406 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18408 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18409 * bits/socket.h: ... here.
18411 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18412 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18413 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18415 2013-08-27 Andreas Schwab <schwab@suse.de>
18418 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18419 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18420 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18421 * string/test-strcasecmp.c (test_main): Run tests in several
18423 * string/test-strncasecmp.c (test_main): Likewise.
18425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18426 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18427 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18428 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18429 (__strncasecmp_ssse3) [PIC]: Likewise.
18431 2013-08-26 Roland McGrath <roland@hack.frob.com>
18433 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18435 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18436 instead of explicitly declaring xdecrypt.
18437 * nis/nss_nis/nis-publickey.c: Likewise.
18439 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18442 * nscd/aicache.c: Include res_hconf.h.
18443 (addhstaiX): Initialize res_hconf.
18445 2013-08-26 Andreas Schwab <schwab@suse.de>
18447 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18448 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18450 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18452 * nscd/aicache.c (addhstaiX): Fix indentation.
18454 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18456 * configure.ac: Quote $build_pt_chown test.
18457 * configure: Regenerated.
18459 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18462 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18463 * math/s_cexpf.c (__cexpf): Likewise.
18464 * math/s_cexpl.c (__cexpl): Likewise.
18465 * math/libm-test.inc (cexp_test_data): Correct expected return
18466 value for NaN + i0. Add another test.
18468 2013-08-22 David S. Miller <davem@davemloft.net>
18470 * po/ca.po: Update Catalan translation from translation project.
18471 * po/uk.po: Add Ukrainian translations from translation project.
18473 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18476 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18477 is infinite, not alongside NaN test.
18478 * math/s_fdimf.c (__fdimf): Likewise.
18479 * math/s_fdiml.c (__fdiml): Likewise.
18480 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18481 errno is unchanged.
18483 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18485 * argp/argp-help.c: Fix typos.
18486 * crypt/speeds.c: Likewise.
18487 * csu/check_fds.c: Likewise.
18488 * elf/dl-load.c: Likewise.
18489 * elf/dl-open.c: Likewise.
18490 * elf/reldep3.c: Likewise.
18491 * elf/reldep.c: Likewise.
18492 * elf/sprof.c: Likewise.
18493 * iconv/iconv_charmap.c: Likewise.
18494 * iconv/skeleton.c: Likewise.
18495 * iconv/strtab.c: Likewise.
18496 * io/lockf64.c: Likewise.
18497 * libio/libioP.h: Likewise.
18498 * resolv/gai_notify.c: Likewise.
18499 * resolv/ns_name.c: Likewise.
18500 * resolv/ns_samedomain.c: Likewise.
18501 * resolv/res_send.c: Likewise.
18502 * stdlib/random.c: Likewise.
18503 * sunrpc/rpc/xdr.h: Likewise.
18504 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18505 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18512 * sysdeps/mach/hurd/check_fds.c: Likewise.
18513 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18514 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18517 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18518 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18519 * sysdeps/pthread/aio_notify.c: Likewise.
18520 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18521 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18522 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18523 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18524 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18526 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18528 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18529 version if bit_Slow_SSE4_2 is set.
18530 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18533 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18536 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18537 trampoline stack frame information.
18538 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18539 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18540 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18541 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18542 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18543 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18544 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18545 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18547 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18548 interrupting a syscall and set with option SA_SIGINFO.
18550 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18553 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18554 argument is infinite.
18555 * math/s_cprojf.c (__cprojf): Likewise.
18556 * math/s_cprojl.c (__cprojl): Likewise.
18557 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18558 * math/libm-test.inc (cproj_test_data): Add more tests.
18560 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18562 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18563 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18564 size. Use __ffs to determine corresponding shift.
18566 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18567 Roland McGrath <roland@hack.frob.com>
18569 * Makefile (INSTALL): Remove trailing blank lines from output of
18572 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18574 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18575 Align 32 bit compat elf_greg to 8 bytes.
18577 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18579 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18581 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18583 * string/strcoll_l.c (coll_seq): New structure.
18584 (get_next_seq_cached): New function.
18585 (get_next_seq): New function.
18586 (do_compare): New function.
18587 (STRCOLL): Use GNU style definition. Simplify implementation
18588 by using get_next_seq, get_next_seq_cached and do_compare.
18590 2013-08-16 Florian Weimer <fweimer@redhat.com>
18594 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18596 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18598 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18599 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18600 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18602 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18603 GETDENTS_64BIT_ALIGNED.
18604 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18605 * manual/filesys.texi (Reading/Closing Directory): Document
18606 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18608 * manual/conf.texi (Limits for Files): Add portability note to
18609 NAME_MAX, PATH_MAX.
18610 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18612 2013-08-13 Andreas Schwab <schwab@suse.de>
18615 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18617 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18618 LDBL_MAX_EXP >= 16384]: Add tests for it.
18620 2013-08-12 David S. Miller <davem@davemloft.net>
18622 * version.h (RELEASE): Set to "development".
18623 (VERSION): Set to "2.18.90".
18624 * NEWS: Add 2.19 section.
18626 2013-08-03 David S. Miller <davem@davemloft.net>
18628 * po/ko.po: Update Korean translation from translation project.
18630 2013-08-01 David S. Miller <davem@davemloft.net>
18632 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18633 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18636 2013-07-30 David S. Miller <davem@davemloft.net>
18638 * po/fr.po: Update French translation from translation project.
18640 2013-07-28 David S. Miller <davem@davemloft.net>
18642 * po/cs.po: Update Czech translation from translation project.
18644 * po/sv.po: Update Swedish translation from translation project.
18646 2013-07-27 David S. Miller <davem@davemloft.net>
18648 * po/eo.po: Update Esperanto translation from translation project.
18650 * po/vi.po: Update Vietnamese translation from translation project.
18652 * po/de.po: Update German translation from translation project.
18654 2013-07-26 David S. Miller <davem@davemloft.net>
18656 * po/bg.po: Update Bulgarian translation from translation project.
18658 * po/nl.po: Update Dutch translation from translation project.
18659 * po/pl.po: Update Polish translation from translation project.
18660 * po/ru.po: Update Russian translation from translation project.
18662 2013-07-24 David S. Miller <davem@davemloft.net>
18664 * po/libc.pot: Update.
18666 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18668 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18669 variable page size.
18670 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18671 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18672 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18674 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18676 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18678 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18679 Andreas Schwab <schwab@suse.de>
18680 Roland McGrath <roland@hack.frob.com>
18681 Joseph Myers <joseph@codesourcery.com>
18682 Carlos O'Donell <carlos@redhat.com>
18685 * config.h.in: Define HAVE_PT_CHOWN.
18686 * config.make.in (build-pt-chown): New variable.
18687 * configure.in (--enable-pt_chown): New configure option.
18688 * configure: Regenerate.
18689 * login/Makefile: Include Makeconfig. Build pt_chown only if
18690 build-pt-chown is enabled.
18691 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18692 pt_chown to fix pty ownership.
18693 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18695 * manual/install.texi (Configuring and compiling): Mention
18696 --enable-pt_chown. Add @findex for grantpt.
18697 * INSTALL: Regenerate.
18699 2013-07-20 David S. Miller <davem@davemloft.net>
18701 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18702 difference between 32-bit and 64-bit.
18704 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18707 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18708 Avoid system header dependency with -ffreestanding.
18709 ($(objpfx)bits/syscall%d): Likewise.
18711 2013-07-13 David S. Miller <davem@davemloft.net>
18713 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18714 underflows from atanl/atan2l due to bug 15319.
18715 (casinh_test_data): Likewise.
18717 2013-07-07 David S. Miller <davem@davemloft.net>
18719 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18721 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18723 * sysdeps/i386/fpu/libm-test-ulps: Update.
18724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18726 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18728 * configure.in (--enable-lock-elision): Fix message text.
18729 * INSTALL: Regenerate.
18730 * configure: Regenerate.
18732 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18736 2013-07-03 Andreas Jaeger <aj@suse.de>
18738 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18740 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18741 (ptrace_peeksiginfo_args): Add.
18742 (__ptrace_peeksiginfo_flags): Add.
18743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18745 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18747 2013-07-03 Allan McRae <allan@archlinux.org>
18749 * sysdeps/i386/fpu/libm-test-ulps: Update.
18751 2013-07-02 David S. Miller <davem@davemloft.net>
18753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18755 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18759 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18761 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764 2013-07-02 Andi Kleen <ak@linux.intel.com>
18766 * config.h.in (ENABLE_LOCK_ELISION): Add.
18767 * configure.in (--enable-lock-elision): Add option.
18768 * manual/install.texi: Document --enable lock elision.
18769 * configure: Regenerate
18770 * INSTALL: Regenerate.
18772 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18774 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18775 SSE4.2 strcasecmp for libc.a.
18776 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18778 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18781 * soft-fp/op-common.h (_FP_FMA): New macro.
18782 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18783 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18784 (_FP_MUL_MEAT_1_imm): ... here.
18785 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18786 (_FP_MUL_MEAT_1_wide): ... here.
18787 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18788 (_FP_MUL_MEAT_1_hard): ... here.
18789 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18790 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18791 (_FP_MUL_MEAT_2_wide): ... here.
18792 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18793 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18794 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18795 (_FP_MUL_MEAT_2_gmp): ... here.
18796 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18797 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18798 (_FP_MUL_MEAT_4_wide): ... here.
18799 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18800 (_FP_MUL_MEAT_4_gmp): ... here.
18801 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18802 (_FP_WFRACBITS_DW_S): Likewise.
18803 (_FP_WFRACXBITS_DW_S): Likewise.
18804 (_FP_HIGHBIT_DW_S): Likewise.
18805 (FP_FMA_S): Likewise.
18806 (_FP_FRAC_HIGH_DW_S): Likewise.
18807 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18808 (_FP_WFRACBITS_DW_D): Likewise.
18809 (_FP_WFRACXBITS_DW_D): Likewise.
18810 (_FP_HIGHBIT_DW_D): Likewise.
18811 (FP_FMA_D): Likewise.
18812 (_FP_FRAC_HIGH_DW_D): Likewise.
18813 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18814 (_FP_WFRACBITS_DW_E): Likewise.
18815 (_FP_WFRACXBITS_DW_E): Likewise.
18816 (_FP_HIGHBIT_DW_E): Likewise.
18817 (FP_FMA_E): Likewise.
18818 (_FP_FRAC_HIGH_DW_E): Likewise.
18819 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18820 (_FP_WFRACBITS_DW_Q): Likewise.
18821 (_FP_WFRACXBITS_DW_Q): Likewise.
18822 (_FP_HIGHBIT_DW_Q): Likewise.
18823 (FP_FMA_Q): Likewise.
18824 (_FP_FRAC_HIGH_DW_Q): Likewise.
18825 * soft-fp/fmasf4.c: New file.
18826 * soft-fp/fmadf4.c: Likewise.
18827 * soft-fp/fmatf4.c: Likewise.
18829 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18832 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18834 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18836 (index_Slow_SSE4_2): Likewise.
18837 (index_Prefer_PMINUB_for_stringop): Likewise.
18838 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18839 bit_Slow_SSE4_2 is set.
18840 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18843 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18845 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18846 rtld_global._dl_hwcap2.
18847 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18849 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18850 POWER8 feature descriptions defined in _dl_hwcap2.
18851 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18852 string handling for POWER8 feature bits.
18853 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18854 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18855 _dl_powerpc_cap_flags.
18856 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18857 * sysdeps/powerpc/rtld-global-offsets.sym
18858 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18859 _dl_hwcap2 in the rtld_global_ro structure.
18861 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18863 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18864 hardware capabilities in support of AT_HWCAP2.
18865 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18866 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18868 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18869 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18870 explicitly the unknown a_type display mechanism is used.
18871 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18872 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18874 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18875 to macro prototype for AT_HWCAP2 support.
18876 * sysdeps/i386/dl-procinfo.h: Likewise.
18877 * sysdeps/s390/dl-procinfo.h: Likewise.
18878 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18879 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18880 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18881 return -1 for unknown a_type display fallback.
18882 * sysdeps/sparc/dl-procinfo.h: Likewise.
18883 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18884 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18886 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18888 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18889 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18891 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18894 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18895 mprotect making __stack_prot writable.
18897 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18898 Joseph Myers <joseph@codesourcery.com>
18900 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18901 as being properly aligned.
18903 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18905 * dlfcn/modstatic5.c: New file.
18906 * dlfcn/tststatic5.c: New file.
18907 * dlfcn/Makefile (tests): Add tststatic5.
18908 (tests-static): Likewise.
18909 (modules-names): Add modstatic5.
18910 (tststatic5-ENV): New variable.
18911 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18914 * elf/dl-support.c (_dl_main_map): New variable.
18915 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18916 (_dl_nns, _dl_load_adds): Set to 1.
18917 (_dl_initial_searchlist): Refer to _dl_main_map.
18918 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18919 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18920 call to _dl_get_origin.
18921 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18923 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18924 * dlfcn/modstatic3.c: New file.
18925 * dlfcn/tststatic3.c: New file.
18926 * dlfcn/tststatic4.c: New file.
18927 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18928 (tests-static): Likewise.
18929 (modules-names): Add modstatic3.
18930 (tststatic3-ENV, tststatic4-ENV): New variables.
18931 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18932 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18934 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18936 * configure.in (CC): Require GCC version 4.4 or later.
18937 * configure: Regenerated.
18938 * manual/install.texi (Tools for Compilation): Update GCC version
18940 * INSTALL: Regenerated.
18942 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18945 * string/test-memcmp.c (check2): New.
18946 (main): Call check2.
18948 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18950 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18953 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18955 (dl_open_worker) [!SHARED]: ... here.
18957 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18959 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18961 2013-06-25 Richard Henderson <rth@redhat.com>
18963 * locale/programs/locarchive.c: Include <libc-internal.h>
18965 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18967 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18968 trailing whitespace removed.
18970 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18973 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18974 * locale/programs/locarchive.c: Include libc-mmap.h.
18975 (prepare_address_space): Take two new outputs (the mmap base and len).
18976 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18978 (create_archive): Declare new mmap base and len values for
18979 prepare_address_space, and store the result in ah.
18980 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18981 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18982 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18983 Declare new mmap base and len values for
18984 prepare_address_space, and store the result in new_ah.
18985 (open_archive): Declare new mmap base and len values for
18986 prepare_address_space, and store the result in ah.
18987 (close_archive): If ah->mmap_base is not NULL, use that and
18988 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18989 * sysdeps/generic/libc-mmap.h: New file.
18991 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18993 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18994 (ALIGN_UP): Likewise.
18995 (PTR_ALIGN_DOWN): Likewise.
18996 (PTR_ALIGN_UP): Likewise.
18998 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19000 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19001 entry mapped to PPC_PLATFORM_POWER8.
19002 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19004 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19005 (_dl_string_platform): Add case for exporting platform position for
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19008 search path to sysdeps/powerpc/powerpc32/power8 directory.
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19010 search path to sysdeps/powerpc/powerpc64/power8 directory.
19011 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19012 power7 directories.
19013 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19014 power7 directories.
19016 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19018 * INSTALL: Regenerate.
19020 * nscd/connections.c (nscd_init): Fix comment.
19022 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19024 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19027 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19028 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19030 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19032 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19034 (DL_DST_REQ_STATIC): Remove macro.
19036 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19039 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19040 with a shift of 0 bits.
19042 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19044 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19047 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19050 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19052 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19054 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19055 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19056 accepts -fno-tree-loop-distribute-patterns.
19057 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19058 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19060 * string/memset.c (memset): Likewise.
19061 * string/test-memmove.c (simple_memmove): Disable loop transformation
19063 * string/test-memset.c (simple_memset): Likewise.
19064 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19065 * benchtests/bench-memset.c (simple_memset): Likewise.
19066 * configure: Regenerated.
19068 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19070 * math/test-misc.c (main): Ignore fesetround failure when failures
19071 of subsequent rounding tests would be ignored.
19074 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19075 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19076 * math/fegetenv.c (__fegetenv): Return 0.
19077 * math/fegetexcept.c (fegetexcept): Return 0.
19078 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19080 * math/feholdexcpt.c (feholdexcept): Return 0.
19081 * math/fesetenv.c (__fesetenv): Return 0.
19082 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19083 argument FE_TONEAREST.
19084 * math/feupdateenv.c (__feupdateenv): Return 0.
19085 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19087 2013-06-18 Roland McGrath <roland@hack.frob.com>
19089 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19090 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19091 ($(objpfx)rtld-%.os rules): Use them.
19093 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19095 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19098 2013-06-17 Roland McGrath <roland@hack.frob.com>
19100 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19101 length of target pattern, then descending length of dependency pattern.
19102 * configure.in (AWK): Require gawk 3.1.2 or newer.
19103 * manual/install.texi (Tools for Compilation): Say that we do.
19104 * configure: Regenerated.
19106 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19107 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19108 * scripts/sysd-rules.awk: ... this new script.
19109 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19110 than a glob-style pattern.
19112 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19114 * math/test-misc.c (main): Do not treat incorrectly rounded
19115 conversions as failure unless ROUNDING_TESTS passes.
19117 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19120 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19121 restore exception state around main square root computation, then
19122 check for inexactness explicitly.
19124 * math/libm-test.inc (fma_test_data): Add another test.
19126 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19128 * manual/threads.texi (Non-POSIX Extensions): New document
19129 node. Document pthread_getattr_default_np and
19130 pthread_setattr_default_np.
19132 * Versions.def (libpthread): Add GLIBC_2.18.
19133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19142 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19153 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19156 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19158 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19159 H.J. Lu <hjl.tools@gmail.com>
19162 * sysdeps/x86_64/rtld-memset.c: Remove file.
19163 * sysdeps/x86_64/rtld-memset.S: New file.
19165 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19167 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19168 (test_in_one_mode): Take arguments for whether the rounding mode
19169 is supported for each floating-point type.
19170 (do_test): Pass new arguments to test_in_one_mode using
19173 2013-06-13 Roland McGrath <roland@hack.frob.com>
19175 * posix/tst-waitid.c (do_test): Distinguish different instances of
19176 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19177 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19178 before entering the kernel for waitpid.
19180 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19182 * NEWS: Fix note on clock function precision. Text by Roland
19185 2013-06-13 Roland McGrath <roland@hack.frob.com>
19187 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19188 it into place only when and if the sanity check passes.
19190 2013-06-13 Joseph Myers <joseph@codesourcery.com>
19192 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19193 output for whether conversion result is exact. Take argument
19194 indicating whether type is IBM long double.
19195 (round_for_all): Change need_exact field to ibm_ld.
19196 * stdlib/tst-strtod-round.c (struct exactness): New type.
19197 (struct test): Change bool ld_ok field to struct exactness exact.
19198 (TEST): Update all definitions for change to field.
19199 (tests): Regenerate array contents.
19200 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19201 field value. Check for IBM long double here.
19202 (do_test): Update calls to test_in_one_mode.
19204 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19207 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19208 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19210 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19213 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19214 generated by the compiler on loop optimizations.
19215 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19216 general definitions.
19218 2013-06-12 Joseph Myers <joseph@codesourcery.com>
19220 * math/bug-nextafter.c: Include <math-tests.h>.
19221 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19223 * math/bug-nexttoward.c: Include <math-tests.h>.
19224 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19226 * math/test-misc.c: Include <math-tests.h>.
19227 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19230 2013-06-12 Andreas Jaeger <aj@suse.de>
19232 * po/ia.po: Update Interlingua translation from translation
19235 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19237 * include/fenv.h: Include stdbool.h.
19238 (struct rm_ctx): New structure.
19239 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19241 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19242 (SET_RESTORE_ROUNDF): Likewise.
19243 (SET_RESTORE_ROUNDL): Likewise.
19244 (SET_RESTORE_ROUND_NOEX): Likewise.
19245 (SET_RESTORE_ROUND_NOEXF): Likewise.
19246 (SET_RESTORE_ROUND_NOEXL): Likewise.
19247 (SET_RESTORE_ROUND_53BIT): Likewise.
19248 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19249 (libc_feresetround_noexf_ctx): Likewise.
19250 (libc_feresetround_noexl_ctx): Likewise.
19251 (libc_feholdsetround_53bit_ctx): Likewise.
19252 (libc_feresetround_53bit_ctx): Likewise.
19253 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19254 (libc_feholdexcept_setround_sse_ctx): New function.
19255 (libc_fesetenv_sse_ctx): Likewise.
19256 (libc_feupdateenv_sse_ctx): Likewise.
19257 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19258 (libc_feholdexcept_setround_387_ctx): Likewise.
19259 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19260 (libc_feholdsetround_387_prec_ctx): Likewise.
19261 (libc_feholdsetround_387_ctx): Likewise.
19262 (libc_feholdsetround_387_53bit_ctx): Likewise.
19263 (libc_feholdsetround_sse_ctx): Likewise.
19264 (libc_feresetround_sse_ctx): Likewise.
19265 (libc_feresetround_387_ctx): Likewise.
19266 (libc_feupdateenv_387_ctx): Likewise.
19267 (libc_feholdexcept_setroundf_ctx): Define macro.
19268 (libc_fesetenvf_ctx): Likewise.
19269 (libc_feupdateenvf_ctx): Likewise.
19270 (libc_feholdsetroundf_ctx): Likewise.
19271 (libc_feresetroundf_ctx): Likewise.
19272 (libc_feholdexcept_setround_ctx): Likewise.
19273 (libc_fesetenv_ctx): Likewise.
19274 (libc_feupdateenv_ctx): Likewise.
19275 (libc_feholdsetround_ctx): Likewise.
19276 (libc_feresetround_ctx): Likewise.
19277 (libc_feholdexcept_setroundl_ctx): Likewise.
19278 (libc_feupdateenvl_ctx): Likewise.
19279 (libc_feholdsetroundl_ctx): Likewise.
19280 (libc_feresetroundl_ctx): Likewise.
19281 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19282 (libc_feresetround_53bit_ctx): Likewise.
19284 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19286 * locale/iso-639.def: Convert to UTF-8.
19288 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19290 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19291 (EXCEPTION_TESTS_double): Likewise.
19292 (EXCEPTION_TESTS_long_double): Likewise.
19293 (EXCEPTION_TESTS): Likewise.
19294 * math/libm-test.inc (test_exceptions): Only test exceptions if
19295 EXCEPTION_TESTS (FLOAT).
19297 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19299 * benchtests/Makefile (string-bench): Add strcpy_chk and
19301 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19302 * benchtests/bench-stpcpy_chk.c: New file.
19303 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19304 * benchtests/bench-strcpy_chk.c: New file.
19305 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19307 (do_test): Likewise.
19309 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19311 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19312 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19313 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19314 with tabs where appropriate.
19315 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19317 [PPC_PLATFORM_PPC440]: Likewise.
19318 [PPC_PLATFORM_PPC464]: Likewise.
19319 [PPC_PLATFORM_PPC476]: Likewise.
19320 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19321 ppc464, and ppc476 platform strings merging from ports/
19324 2013-06-11 Andreas Schwab <schwab@suse.de>
19327 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19328 (from_ucs4_idx): Regenerate.
19329 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19330 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19331 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19332 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19333 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19334 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19335 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19336 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19337 from FROM_LOOP and TO_LOOP specific macros.
19338 (BODY): Handle combining characters.
19339 * iconvdata/BIG5HKSCS.irreversible: Update.
19340 * iconvdata/BIG5HKSCS.precomposed: New file.
19341 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19343 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19345 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19347 * include/sys/time.h: Fix indentation and add copyright header.
19349 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19350 (do_test): Likewise.
19351 * string/test-memchr.c (do_one_test): Likewise.
19352 (do_test): Likewise.
19353 * string/test-memcmp.c (do_one_test): Likewise.
19354 (do_test): Likewise.
19355 * string/test-memcpy.c (do_one_test): Likewise.
19356 (do_test): Likewise.
19357 * string/test-memmem.c (do_one_test): Likewise.
19358 (do_test): Likewise.
19359 (do_random_tests): Likewise.
19360 * string/test-memmove.c (do_one_test): Likewise.
19361 (do_test): Likewise.
19362 * string/test-memset.c (do_one_test): Likewise.
19363 (do_test): Likewise.
19364 * string/test-rawmemchr.c (do_one_test): Likewise.
19365 (do_test): Likewise.
19366 * string/test-strcasecmp.c (do_one_test): Likewise.
19367 (do_test): Likewise.
19368 * string/test-strcasestr.c (do_one_test): Likewise.
19369 (do_test): Likewise.
19370 * string/test-strcat.c (do_one_test): Likewise.
19371 (do_test): Likewise.
19372 * string/test-strchr.c (do_one_test): Likewise.
19373 (do_test): Likewise.
19374 * string/test-strcmp.c (do_one_test): Likewise.
19375 (do_test): Likewise.
19376 * string/test-strcpy.c (do_one_test): Likewise.
19377 (do_test): Likewise.
19378 * string/test-string.h: Likewise.
19379 (test_init): Likewise.
19380 * string/test-strlen.c (do_one_test): Likewise.
19381 (do_test): Likewise.
19382 * string/test-strncasecmp.c (do_one_test): Likewise.
19383 (do_test): Likewise.
19384 * string/test-strncat.c (do_one_test): Likewise.
19385 (do_test): Likewise.
19386 * string/test-strncmp.c (do_one_test): Likewise.
19387 (do_test_limit): Likewise.
19388 (do_test): Likewise.
19389 * string/test-strncpy.c (do_one_test): Likewise.
19390 (do_test): Likewise.
19391 * string/test-strnlen.c (do_one_test): Likewise.
19392 (do_test): Likewise.
19393 * string/test-strpbrk.c (do_one_test): Likewise.
19394 (do_test): Likewise.
19395 * string/test-strrchr.c (do_one_test): Likewise.
19396 (do_test): Likewise.
19397 * string/test-strspn.c (do_one_test): Likewise.
19398 (do_test): Likewise.
19399 * string/test-strstr.c (do_one_test): Likewise.
19400 (do_test): Likewise.
19402 * benchtests/Makefile (string-bench): Add string benchmarks.
19403 * benchtests/bench-bcopy-ifunc.c: New file.
19404 * benchtests/bench-bcopy.c: New file.
19405 * benchtests/bench-bzero-ifunc.c: New file.
19406 * benchtests/bench-bzero.c: New file.
19407 * benchtests/bench-memccpy-ifunc.c: New file.
19408 * benchtests/bench-memccpy.c: New file.
19409 * benchtests/bench-memchr-ifunc.c: New file.
19410 * benchtests/bench-memchr.c: New file.
19411 * benchtests/bench-memcmp-ifunc.c: New file.
19412 * benchtests/bench-memcmp.c: New file.
19413 * benchtests/bench-memmem-ifunc.c: New file.
19414 * benchtests/bench-memmem.c: New file.
19415 * benchtests/bench-memmove-ifunc.c: New file.
19416 * benchtests/bench-memmove.c: New file.
19417 * benchtests/bench-mempcpy-ifunc.c: New file.
19418 * benchtests/bench-mempcpy.c: New file.
19419 * benchtests/bench-memset-ifunc.c: New file.
19420 * benchtests/bench-memset.c: New file.
19421 * benchtests/bench-rawmemchr-ifunc.c: New file.
19422 * benchtests/bench-rawmemchr.c: New file.
19423 * benchtests/bench-stpcpy-ifunc.c: New file.
19424 * benchtests/bench-stpcpy.c: New file.
19425 * benchtests/bench-stpncpy-ifunc.c: New file.
19426 * benchtests/bench-stpncpy.c: New file.
19427 * benchtests/bench-strcasecmp-ifunc.c: New file.
19428 * benchtests/bench-strcasecmp.c: New file.
19429 * benchtests/bench-strcasestr-ifunc.c: New file.
19430 * benchtests/bench-strcasestr.c: New file.
19431 * benchtests/bench-strcat-ifunc.c: New file.
19432 * benchtests/bench-strcat.c: New file.
19433 * benchtests/bench-strchr-ifunc.c: New file.
19434 * benchtests/bench-strchr.c: New file.
19435 * benchtests/bench-strchrnul-ifunc.c: New file.
19436 * benchtests/bench-strchrnul.c: New file.
19437 * benchtests/bench-strcmp-ifunc.c: New file.
19438 * benchtests/bench-strcmp.c: New file.
19439 * benchtests/bench-strcpy-ifunc.c: New file.
19440 * benchtests/bench-strcpy.c: New file.
19441 * benchtests/bench-strcspn-ifunc.c: New file.
19442 * benchtests/bench-strcspn.c: New file.
19443 * benchtests/bench-strlen-ifunc.c: New file.
19444 * benchtests/bench-strlen.c: New file.
19445 * benchtests/bench-strncasecmp-ifunc.c: New file.
19446 * benchtests/bench-strncasecmp.c: New file.
19447 * benchtests/bench-strncat-ifunc.c: New file.
19448 * benchtests/bench-strncat.c: New file.
19449 * benchtests/bench-strncmp-ifunc.c: New file.
19450 * benchtests/bench-strncmp.c: New file.
19451 * benchtests/bench-strncpy-ifunc.c: New file.
19452 * benchtests/bench-strncpy.c: New file.
19453 * benchtests/bench-strnlen-ifunc.c: New file.
19454 * benchtests/bench-strnlen.c: New file.
19455 * benchtests/bench-strpbrk-ifunc.c: New file.
19456 * benchtests/bench-strpbrk.c: New file.
19457 * benchtests/bench-strrchr-ifunc.c: New file.
19458 * benchtests/bench-strrchr.c: New file.
19459 * benchtests/bench-strspn-ifunc.c: New file.
19460 * benchtests/bench-strspn.c: New file.
19461 * benchtests/bench-strstr-ifunc.c: New file.
19462 * benchtests/bench-strstr.c: New file.
19464 * benchtests/Makefile: Disable parallel execution of targets.
19465 (string-bench): Add memcpy.
19466 (benchset): New variable to store a list of benchmark sets.
19467 (bench-func): Renamed from bench.
19468 (bench-set): New target.
19469 (bench): Depend on bench-func and bench-set.
19470 * benchtests/README: Add section on benchmark sets.
19471 * benchtests/bench-memcpy-ifunc.c: New file.
19472 * benchtests/bench-memcpy.c: New file.
19473 * benchtests/bench-string.h: New file.
19475 2013-06-11 Andreas Schwab <schwab@suse.de>
19478 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19479 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19480 values in the triple.
19481 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19482 terminator in the group key.
19484 2013-06-11 Andreas Jaeger <aj@suse.de>
19486 * po/zh_TW.po: Update Chinese (traditional) translation from
19487 translation project.
19489 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19491 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19492 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19493 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19494 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19495 (clock_getcpuclockid): Likewise.
19496 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19497 Add weak_alias and libc_hidden_def.
19498 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19499 * rt/clock_gettime.c (clock_gettime): Rename to
19500 __clock_gettime. Add weak_alias and libc_hidden_def.
19501 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19502 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19503 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19504 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19505 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19507 * rt/clock_settime.c (clock_settime): Rename to
19508 __clock_settime. Add weak_alias and libc_hidden_def.
19509 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19511 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19513 * mach/err_boot.sub: Remove trailing whitespace.
19514 * mach/err_ipc.sub: Likewise.
19515 * mach/err_mach.sub: Likewise.
19517 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19518 (ROUNDING_TESTS_double): Likewise.
19519 (ROUNDING_TESTS_long_double): Likewise.
19520 (ROUNDING_TESTS): Likewise.
19521 * math/libm-test.inc: Include <math-tests.h>.
19522 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19523 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19524 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19525 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19527 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19529 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19532 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19534 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19535 otherwise empty TRANS lines.
19536 * sysdeps/gnu/errlist.c: Regenerated.
19538 * catgets/gencat.c (error_print): Use (void) in function
19540 * crypt/crypt_util.c (__init_des): Likewise.
19541 * crypt/speeds.c (Stop): Likewise.
19543 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19544 * inet/ruserpass.c (token): Likewise.
19545 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19546 * intl/localealias.c (extend_alias_table): Likewise.
19547 * intl/plural-exp.c (init_germanic_plural): Likewise.
19548 * libio/fcloseall.c (__fcloseall): Likewise.
19549 * libio/genops.c (_IO_flush_all): Likewise.
19550 (_IO_flush_all_linebuffered): Likewise.
19551 (_IO_cleanup): Likewise.
19552 (_IO_iter_begin): Likewise.
19553 (_IO_iter_end): Likewise.
19554 (_IO_list_lock): Likewise.
19555 (_IO_list_unlock): Likewise.
19556 (_IO_list_resetlock): Likewise.
19557 * libio/getchar.c (getchar): Likewise.
19558 * libio/getchar_u.c (getchar_unlocked): Likewise.
19559 * libio/getwchar.c (getwchar): Likewise.
19560 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19561 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19562 * login/getpt.c (__getpt): Likewise.
19563 * login/tst-utmp.c (main): Likewise.
19564 * malloc/hooks.c (__malloc_check_init): Likewise.
19565 * malloc/malloc.c (__malloc_stats): Likewise.
19566 * malloc/mtrace.c (tr_break): Likewise.
19567 (mtrace): Likewise.
19568 (muntrace): Likewise.
19569 * misc/fstab.c (endfsent): Likewise.
19570 * misc/getclktck.c (__getclktck): Likewise.
19571 * misc/getdtsz.c (__getdtablesize): Likewise.
19572 * misc/gethostid.c (gethostid): Likewise.
19573 * misc/getpagesize.c (__getpagesize): Likewise.
19574 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19575 (__get_nprocs): Likewise.
19576 (__get_phys_pages): Likewise.
19577 (__get_avphys_pages): Likewise.
19578 * misc/getttyent.c (getttyent): Likewise.
19579 (setttyent): Likewise.
19580 (endttyent): Likewise.
19581 * misc/getusershell.c (getusershell): Likewise.
19582 (endusershell): Likewise.
19583 (setusershell): Likewise.
19584 (initshells): Likewise.
19585 * misc/hsearch.c (__hdestroy): Likewise.
19586 * misc/sync.c (sync): Likewise.
19587 * misc/syslog.c (closelog_internal): Likewise.
19588 (closelog): Likewise.
19589 * misc/ttyslot.c (ttyslot): Likewise.
19590 * misc/vhangup.c (vhangup): Likewise.
19591 * posix/fork.c (__fork): Likewise.
19592 * posix/getegid.c (__getegid): Likewise.
19593 * posix/geteuid.c (__geteuid): Likewise.
19594 * posix/getgid.c (__getgid): Likewise.
19595 * posix/getpid.c (__getpid): Likewise.
19596 * posix/getppid.c (__getppid): Likewise.
19597 * posix/getuid.c (__getuid): Likewise.
19598 * posix/pause.c (pause): Likewise.
19599 * posix/setpgrp.c (setpgrp): Likewise.
19600 * posix/setsid.c (__setsid): Likewise.
19601 * posix/test-vfork.c (noop): Likewise.
19602 * resolv/gethnamaddr.c (_endhtent): Likewise.
19603 (_gethtent): Likewise.
19604 (ht_endhostent): Likewise.
19605 (gethostent): Likewise.
19606 (dns_service): Likewise.
19607 * stdlib/drand48.c (drand48): Likewise.
19608 * stdlib/lrand48.c (lrand48): Likewise.
19609 * stdlib/mrand48.c (mrand48): Likewise.
19610 * stdlib/rand.c (rand): Likewise.
19611 * stdlib/random.c (__random): Likewise.
19612 * stdlib/setenv.c (clearenv): Likewise.
19613 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19614 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19615 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19616 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19617 (__get_nprocs): Likewise.
19618 (__get_phys_pages): Likewise.
19619 (__get_avphys_pages): Likewise.
19620 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19621 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19622 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19623 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19624 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19625 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19626 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19627 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19628 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19629 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19630 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19631 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19632 * sysdeps/posix/clock.c (clock): Likewise.
19633 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19634 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19635 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19636 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19637 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19638 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19639 (__get_nprocs_conf): Likewise.
19640 (__get_phys_pages): Likewise.
19641 (__get_avphys_pages): Likewise.
19642 * time/clock.c (clock): Likewise.
19643 * time/tzset.c (__tzname_max): Likewise.
19645 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19647 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19648 (__bswap_32): Do not use "register".
19649 * crypt/crypt.c (_ufc_doit_r): Likewise.
19650 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19651 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19652 * gmon/gmon.c (__monstartup): Likewise.
19653 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19654 * hurd/hurdmalloc.c (more_memory): Likewise.
19655 (malloc): Likewise.
19657 (realloc): Likewise.
19658 (malloc_fork_prepare): Likewise.
19659 (malloc_fork_parent): Likewise.
19660 (malloc_fork_child): Likewise.
19661 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19662 (_svcauth_des): Likewise.
19663 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19664 * inet/inet_net.c (inet_network): Likewise.
19665 * inet/inet_netof.c (inet_netof): Likewise.
19666 * inet/rcmd.c (__validuser2_sa): Likewise.
19667 * io/fts.c (fts_open): Likewise.
19668 (fts_load): Likewise.
19669 (fts_close): Likewise.
19670 (fts_read): Likewise.
19671 (fts_children): Likewise.
19672 (fts_build): Likewise.
19673 (fts_stat): Likewise.
19674 (fts_sort): Likewise.
19675 (fts_alloc): Likewise.
19676 (fts_lfree): Likewise.
19677 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19678 (_IO_file_xsgetn): Likewise.
19679 (_IO_file_xsgetn_mmap): Likewise.
19680 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19681 (_IO_cookie_write): Likewise.
19682 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19683 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19684 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19685 * malloc/obstack.c (_obstack_begin): Likewise.
19686 (_obstack_begin_1): Likewise.
19687 (_obstack_newchunk): Likewise.
19688 (_obstack_allocated_p): Likewise.
19689 (obstack_free): Likewise.
19690 (_obstack_memory_used): Likewise.
19691 * misc/getttyent.c (getttynam): Likewise.
19692 (getttyent): Likewise.
19695 * misc/getusershell.c (initshells): Likewise.
19696 * misc/syslog.c (__vsyslog_chk): Likewise.
19697 * misc/ttyslot.c (ttyslot): Likewise.
19698 * nis/nis_hash.c (__nis_hash): Likewise.
19699 * posix/fnmatch_loop.c (FCT): Likewise.
19700 * posix/getconf.c (print_all): Likewise.
19702 * posix/getopt.c (exchange): Likewise.
19703 * posix/glob.c (globfree): Likewise.
19704 (prefix_array): Likewise.
19705 (__glob_pattern_type): Likewise.
19706 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19707 (NS_GET32): Likewise.
19708 (NS_PUT16): Likewise.
19709 (NS_PUT32): Likewise.
19710 * resolv/gethnamaddr.c (getanswer): Likewise.
19711 (gethostbyname2): Likewise.
19712 (gethostbyaddr): Likewise.
19713 (_gethtent): Likewise.
19714 (_gethtbyname2): Likewise.
19715 (_gethtbyaddr): Likewise.
19716 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19717 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19718 * resolv/res_init.c (__res_vinit): Likewise.
19719 (net_mask): Likewise.
19720 * resolv/res_mkquery.c (outchar): Likewise.
19722 * stdio-common/printf_fp.c (outchar): Likewise.
19724 * stdio-common/printf_fphex.c (outchar): Likewise.
19726 * stdio-common/printf_size.c (outchar): Likewise.
19728 * stdio-common/test_rdwr.c (main): Likewise.
19729 * stdio-common/tfformat.c (matches): Likewise.
19730 * stdio-common/vfprintf.c (outchar): Likewise.
19731 (printf_unknown): Likewise.
19732 (buffered_vfprintf): Likewise.
19733 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19734 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19735 (ReadFile): Likewise.
19736 * stdlib/qsort.c (SWAP): Likewise.
19737 (_quicksort): Likewise.
19738 * stdlib/setenv.c (__add_to_environ): Likewise.
19739 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19740 * stdlib/strtol_l.c (__strtol_l): Likewise.
19741 * stdlib/tst-strtod.c (main): Likewise.
19742 * stdlib/tst-strtol.c (main): Likewise.
19743 * stdlib/tst-strtoll.c (main): Likewise.
19744 * string/bits/string2.h (__strcmp_cc): Likewise.
19745 (__strcmp_cg): Likewise.
19746 (__strcspn_c1): Likewise.
19747 (__strcspn_c2): Likewise.
19748 (__strcspn_c3): Likewise.
19749 (__strspn_c1): Likewise.
19750 (__strspn_c2): Likewise.
19751 (__strspn_c3): Likewise.
19752 (__strsep_1c): Likewise.
19753 (__strsep_2c): Likewise.
19754 (__strsep_3c): Likewise.
19755 * string/memccpy.c (__memccpy): Likewise.
19756 * string/stpcpy.c (__stpcpy): Likewise.
19757 * string/strcmp.c (strcmp): Likewise.
19758 * string/strrchr.c (strrchr): Likewise.
19759 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19761 * sysdeps/mach/hurd/getcwd.c
19762 (_hurd_canonicalize_directory_name_internal): Likewise.
19763 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19764 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19765 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19766 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19767 Likewise, in both definitions.
19768 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19770 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19771 64] (__bswap_64): Likewise.
19772 * time/test_time.c (main): Likewise.
19773 * time/tzfile.c (__tzfile_read): Likewise.
19774 (__tzfile_compute): Likewise.
19775 * time/tzset.c (__tzset_parse_tz): Likewise.
19776 (tzset_internal): Likewise.
19777 (compute_change): Likewise.
19778 * wcsmbs/wcscat.c (__wcscat): Likewise.
19779 * wcsmbs/wcschr.c (wcschr): Likewise.
19780 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19781 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19782 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19783 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19784 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19785 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19786 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19787 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19788 * wcsmbs/wmemset.c (wmemset): Likewise.
19790 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19792 * scripts/config.guess: Update to version 2013-05-16.
19793 * scripts/config.sub: Update to version 2013-04-24.
19794 * scripts/install-sh: Update to version 2011-11-20.07.
19795 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19796 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19798 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19800 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19801 * elf/sln.c: Likewise.
19802 * hurd/hurd/ioctl.h: Likewise.
19803 * hurd/hurdmalloc.c: Likewise.
19804 * hurd/xattr.c: Likewise.
19805 * include/shlib-compat.h: Likewise.
19806 * inet/ruserpass.c: Likewise.
19807 * libio/iofgets_u.c: Likewise.
19808 * libio/iofgetws_u.c: Likewise.
19809 * locale/programs/ld-identification.c: Likewise.
19810 * locale/programs/ld-time.c: Likewise.
19811 * mach/msg-destroy.c: Likewise.
19812 * nss/nss_files/files-netgrp.c: Likewise.
19813 * resolv/res_data.c: Likewise.
19814 * soft-fp/op-1.h: Likewise.
19815 * soft-fp/op-2.h: Likewise.
19816 * soft-fp/op-4.h: Likewise.
19817 * soft-fp/op-common.h: Likewise.
19818 * stdio-common/printf_fphex.c: Likewise.
19819 * stdlib/strtod_l.c: Likewise.
19820 * sunrpc/rpc/clnt.h: Likewise.
19821 * sysdeps/generic/framestate.c: Likewise.
19822 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19823 * sysdeps/i386/bsd-setjmp.S: Likewise.
19824 * sysdeps/i386/__longjmp.S: Likewise.
19825 * sysdeps/i386/setjmp.S: Likewise.
19826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19827 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19828 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19831 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19835 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19836 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19837 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19838 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19839 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19840 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19842 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19843 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19844 * sysdeps/ieee754/support.c: Likewise.
19845 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19846 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19847 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19848 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19849 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19850 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19851 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19852 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19853 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19854 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19855 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19856 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19857 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19858 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19859 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19860 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19861 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19864 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19866 * posix/transbug.c: Remove executable mode.
19868 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19870 * crypt/speeds.c: Remove trailing whitespace.
19871 * dlfcn/default.c: Likewise.
19872 * elf/ifuncdep2.c: Likewise.
19873 * elf/ifuncmain1.c: Likewise.
19874 * elf/ifuncmain1vis.c: Likewise.
19875 * elf/testobj.h: Likewise.
19876 * elf/tst-stackguard1.c: Likewise.
19877 * gmon/sys/gmon.h: Likewise.
19878 * hurd/hurdmsg.c: Likewise.
19879 * hurd/new-fd.c: Likewise.
19880 * hurd/ports-get.c: Likewise.
19881 * iconvdata/ibm1008_420.c: Likewise.
19882 * inet/tst-getni1.c: Likewise.
19883 * inet/tst-getni2.c: Likewise.
19884 * libio/ioungetc.c: Likewise.
19885 * libio/wfiledoalloc.c: Likewise.
19886 * manual/libm-err-tab.pl: Likewise.
19887 * math/w_dremf.c: Likewise.
19888 * misc/ftruncate.c: Likewise.
19889 * posix/bug-glob2.c: Likewise.
19890 * posix/tst-pcre.c: Likewise.
19891 * posix/wait4.c: Likewise.
19892 * resolv/README: Likewise.
19893 * resolv/res_debug.h: Likewise.
19894 * resolv/tst-inet_ntop.c: Likewise.
19895 * setjmp/bug269-setjmp.c: Likewise.
19896 * soft-fp/extended.h: Likewise.
19897 * soft-fp/op-1.h: Likewise.
19898 * soft-fp/op-2.h: Likewise.
19899 * soft-fp/op-4.h: Likewise.
19900 * soft-fp/op-8.h: Likewise.
19901 * soft-fp/testit.c: Likewise.
19902 * stdio-common/bug16.c: Likewise.
19903 * stdlib/random.c: Likewise.
19904 * sunrpc/rpcsvc/rquota.x: Likewise.
19905 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19906 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19908 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19909 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19910 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19911 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19912 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19913 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19914 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19915 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19916 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19917 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19918 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19919 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19920 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19921 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19923 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19924 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19925 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19926 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19927 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19932 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19933 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19934 * sysdeps/ieee754/s_lib_version.c: Likewise.
19935 * sysdeps/mach/hurd/check_fds.c: Likewise.
19936 * sysdeps/mach/hurd/getsockname.c: Likewise.
19937 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19938 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19939 * sysdeps/powerpc/bits/link.h: Likewise.
19940 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19941 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19942 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19943 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19944 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19945 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19946 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19947 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19948 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19949 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19950 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19951 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19952 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19953 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19954 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19955 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19956 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19957 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19958 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19959 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19960 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19961 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19962 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19963 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19964 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19966 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19968 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19969 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19971 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19973 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19974 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19975 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19976 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19977 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19978 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19979 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19980 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19981 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19982 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19983 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19984 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19985 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19986 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19987 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19988 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19989 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19992 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19994 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19995 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19996 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19997 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19998 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19999 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20000 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20001 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20002 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20003 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20004 * sysdeps/powerpc/sysdep.h: Likewise.
20005 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20006 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20007 * sysdeps/sh/dl-trampoline.S: Likewise.
20008 * sysdeps/sh/memset.S: Likewise.
20009 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20010 * sysdeps/sh/strlen.S: Likewise.
20011 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20012 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20013 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20014 * sysdeps/sparc/sparc32/rem.S: Likewise.
20015 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20016 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20017 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20018 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20019 * sysdeps/sparc/sparc32/urem.S: Likewise.
20020 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20021 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20022 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20023 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20024 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20025 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20026 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20027 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20028 * sysdeps/unix/bsd/times.c: Likewise.
20029 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20030 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20034 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20035 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20036 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20038 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20039 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20040 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20041 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20042 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20043 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20044 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20045 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20046 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20047 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20048 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20049 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20050 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20051 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20052 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20053 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20054 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20055 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20057 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20058 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20059 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20060 * sysdeps/x86_64/strcspn.S: Likewise.
20062 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20064 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20065 generated file. Regenerate properly from gen-translit.pl.
20066 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20067 locale/C-translit.h.
20069 2013-06-05 Andreas Schwab <schwab@suse.de>
20072 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20073 week as 6 instead of -1.
20074 * time/tst-strptime.c (day_tests): Add test case.
20076 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20078 * sysdeps/generic/math_private.h
20079 (libc_feholdexcept_setround_53bit): Replace with
20080 libc_feholdsetround_53bit.
20081 (libc_feupdateenv_53bit): Replace with
20082 libc_feresetround_53bit.
20083 (SET_RESTORE_ROUND_53BIT): Adjust.
20085 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20087 * string/test-strchrnul.c: Add copyright header.
20089 * posix/tst-getaddrinfo4.c: Increase test timeout.
20091 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20094 * math/libm-test.inc (MAX_EXP): Remove
20096 (ulp): Use MIN_EXP - MANT_DIG.
20097 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20099 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20101 * po/be.po: Revert last change.
20102 * po/zh_CN.po: Likewise.
20103 * po/header.pot: Likewise.
20105 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20107 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20108 link-libc-deps to empty as target-specific variable.
20109 * Makerules (link-libc-args): New variable.
20110 (libc-for-link): Likewise.
20111 (link-libc-deps): Likewise.
20112 (lib%.so): Depend on $(link-libc-deps). Link with
20114 (build-module): Link with $(link-libc-args).
20115 (build-module-asneeded): Likewise.
20116 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20118 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20119 target-specific variable.
20120 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20121 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20122 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20124 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20126 ($(objpfx)libpcprofile.so): Likewise.
20127 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20129 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20130 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20131 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20133 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20134 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20135 * login/Makefile ($(objpfx)libutil.so): Likewise.
20136 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20137 * math/Makefile ($(objpfx)libm.so): Likewise.
20138 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20139 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20140 variable instead of depending directly on libc.
20141 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20142 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20144 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20146 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20147 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20148 ($(objpfx)libanl.so): Likewise.
20149 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20151 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20153 * sysdeps/i386/fpu/Makefile: Remove file.
20154 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20155 ($(objpfx)libm.so): Remove dependency on ld.so.
20157 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20160 * nis/yp_xdr.c (XDRMAXNAME): Define.
20161 (XDRMAXRECORD): Define.
20162 (xdr_domainname): Use XDRMAXNAME.
20163 (xdr_mapname): Likewise.
20164 (xdr_peername): Likewise.
20165 (xdr_keydat): Use XDRMAXRECORD.
20166 (xdr_valdat): Likewise.
20168 2013-05-30 Jeff Law <law@redhat.com>
20171 * manual/errno.texi (ESTALE): Update to account for more than
20172 just NFS file systems.
20173 * sysdeps/gnu/errlist.c: Regenerated.
20175 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20178 * elf/Makefile (tests): Add tst-null-argv.
20179 (modules-names): Add tst-null-argv-lib.
20180 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20181 (tst-null-argv-ENV): Set environment for tst-null-argv.
20182 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20183 (RTLD_PROGNAME): New macro.
20184 * elf/tst-null-argv.c: New test case.
20185 * elf/tst-null-argv-lib.c: Library for test case.
20186 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20187 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20188 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20189 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20190 * elf/dl-init.c (call_init): Likewise.
20191 (_dl_init): Likewise.
20192 * elf/dl-load.c (print_search_path): Likewise.
20193 (_dl_map_object): Likewise.
20194 * elf/dl-lookup.c (do_lookup_x): Likewise.
20195 (add_dependency): Likewise.
20196 (_dl_lookup_symbol_x): Likewise.
20197 (_dl_debug_bindings): Likewise.
20198 * elf/dl-open.c (_dl_show_scope): Likewise.
20199 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20200 * elf/dl-version.c (match_symbol): Likewise.
20201 (_dl_check_map_versions): Likewise.
20202 * elf/rtld.c (dl_main): Likewise.
20203 (print_unresolved): Use RTLD_PROGNAME.
20204 (print_missing_version): Likewise.
20205 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20206 (elf_machine_rela): Likewise.
20207 * sysdeps/powerpc/powerpc32/dl-machine.c
20208 (__process_machine_rela): Likewise.
20209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20218 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20220 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20222 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20224 * po/be.po: Add descriptive title.
20225 * po/zh_CN.po: Likewise.
20226 * po/header.pot: Likewise.
20228 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20230 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20232 (enlarge_archive): Likewise.
20234 2013-05-28 Ben North <ben@redfrontdoor.org>
20236 * manual/arith.texi (frexp): It is the magnitude of the return
20237 value which lies in [0.5, 1), not the return value itself.
20239 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20243 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20245 * stdio-common/bug26.c (main): Correct fscanf template.
20247 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20248 declare _dl_skip_args.
20250 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20253 * manual/platform.texi: Add missing @end deftypefun.
20255 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20259 bit of mantissa of 2^16382.
20260 * math/libm-test.inc (hypot_test_data): Add more tests.
20262 * math/libm-test.inc: Add drem and pow10 to list of tested
20264 (pow10_test): New function.
20265 (drem_test): Likewise.
20266 (drem_test_tonearest): Likewise.
20267 (drem_test_towardzero): Likewise.
20268 (drem_test_downward): Likewise.
20269 (drem_test_upward): Likewise.
20270 (main): Call the new functions.
20272 * math/libm-test.inc (finite_test_data): Remove.
20273 (finite_test): Run tests from isfinite_test_data.
20274 (gamma_test_data): Remove.
20275 (gamma_test): Run tests from lgamma_test_data.
20276 * sysdeps/i386/fpu/libm-test-ulps: Update.
20277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20279 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20281 * manual/platform.texi: Add PowerPC PPR function set documentation.
20282 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20285 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20287 * math/libm-test.inc (MAX_EXP): Define.
20289 (ulp): New function.
20290 (check_float_internal): Use ULPDIFF.
20291 (cpow_test): Disable failing test.
20292 (check_ulp): Test ulp() implemetnation.
20293 (main): Call check_ulp before starting tests.
20295 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20297 * math/gen-libm-test.pl (generate_testfile): Do not handle
20298 START_DATA and END_DATA.
20299 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20301 (acos_tonearest_test_data): Likewise.
20302 (acos_towardzero_test_data): Likewise.
20303 (acos_downward_test_data): Likewise.
20304 (acos_upward_test_data): Likewise.
20305 (acosh_test_data): Likewise.
20306 (asin_test_data): Likewise.
20307 (asin_tonearest_test_data): Likewise.
20308 (asin_towardzero_test_data): Likewise.
20309 (asin_downward_test_data): Likewise.
20310 (asin_upward_test_data): Likewise.
20311 (asinh_test_data): Likewise.
20312 (atan_test_data): Likewise.
20313 (atanh_test_data): Likewise.
20314 (atan2_test_data): Likewise.
20315 (cabs_test_data): Likewise.
20316 (cacos_test_data): Likewise.
20317 (cacosh_test_data): Likewise.
20318 (carg_test_data): Likewise.
20319 (casin_test_data): Likewise.
20320 (casinh_test_data): Likewise.
20321 (catan_test_data): Likewise.
20322 (catanh_test_data): Likewise.
20323 (cbrt_test_data): Likewise.
20324 (ccos_test_data): Likewise.
20325 (ccosh_test_data): Likewise.
20326 (ceil_test_data): Likewise.
20327 (cexp_test_data): Likewise.
20328 (cimag_test_data): Likewise.
20329 (clog_test_data): Likewise.
20330 (clog10_test_data): Likewise.
20331 (conj_test_data): Likewise.
20332 (copysign_test_data): Likewise.
20333 (cos_test_data): Likewise.
20334 (cos_tonearest_test_data): Likewise.
20335 (cos_towardzero_test_data): Likewise.
20336 (cos_downward_test_data): Likewise.
20337 (cos_upward_test_data): Likewise.
20338 (cosh_test_data): Likewise.
20339 (cosh_tonearest_test_data): Likewise.
20340 (cosh_towardzero_test_data): Likewise.
20341 (cosh_downward_test_data): Likewise.
20342 (cosh_upward_test_data): Likewise.
20343 (cpow_test_data): Likewise.
20344 (cproj_test_data): Likewise.
20345 (creal_test_data): Likewise.
20346 (csin_test_data): Likewise.
20347 (csinh_test_data): Likewise.
20348 (csqrt_test_data): Likewise.
20349 (ctan_test_data): Likewise.
20350 (ctan_tonearest_test_data): Likewise.
20351 (ctan_towardzero_test_data): Likewise.
20352 (ctan_downward_test_data): Likewise.
20353 (ctan_upward_test_data): Likewise.
20354 (ctanh_test_data): Likewise.
20355 (ctanh_tonearest_test_data): Likewise.
20356 (ctanh_towardzero_test_data): Likewise.
20357 (ctanh_downward_test_data): Likewise.
20358 (ctanh_upward_test_data): Likewise.
20359 (erf_test_data): Likewise.
20360 (erfc_test_data): Likewise.
20361 (exp_test_data): Likewise.
20362 (exp_tonearest_test_data): Likewise.
20363 (exp_towardzero_test_data): Likewise.
20364 (exp_downward_test_data): Likewise.
20365 (exp_upward_test_data): Likewise.
20366 (exp10_test_data): Likewise.
20367 (exp2_test_data): Likewise.
20368 (expm1_test_data): Likewise.
20369 (fabs_test_data): Likewise.
20370 (fdim_test_data): Likewise.
20371 (finite_test_data): Likewise.
20372 (floor_test_data): Likewise.
20373 (fma_test_data): Likewise.
20374 (fma_towardzero_test_data): Likewise.
20375 (fma_downward_test_data): Likewise.
20376 (fma_upward_test_data): Likewise.
20377 (fmax_test_data): Likewise.
20378 (fmin_test_data): Likewise.
20379 (fmod_test_data): Likewise.
20380 (fpclassify_test_data): Likewise.
20381 (frexp_test_data): Likewise.
20382 (gamma_test_data): Likewise.
20383 (hypot_test_data): Likewise.
20384 (ilogb_test_data): Likewise.
20385 (isfinite_test_data): Likewise.
20386 (isgreater_test_data): Likewise.
20387 (isgreaterequal_test_data): Likewise.
20388 (isinf_test_data): Likewise.
20389 (isless_test_data): Likewise.
20390 (islessequal_test_data): Likewise.
20391 (islessgreater_test_data): Likewise.
20392 (isnan_test_data): Likewise.
20393 (isnormal_test_data): Likewise.
20394 (issignaling_test_data): Likewise.
20395 (isunordered_test_data): Likewise.
20396 (j0_test_data): Likewise.
20397 (j1_test_data): Likewise.
20398 (jn_test_data): Likewise.
20399 (ldexp_test_data): Likewise.
20400 (lgamma_test_data): Likewise.
20401 (lrint_test_data): Likewise.
20402 (lrint_tonearest_test_data): Likewise.
20403 (lrint_towardzero_test_data): Likewise.
20404 (lrint_downward_test_data): Likewise.
20405 (lrint_upward_test_data): Likewise.
20406 (llrint_test_data): Likewise.
20407 (llrint_tonearest_test_data): Likewise.
20408 (llrint_towardzero_test_data): Likewise.
20409 (llrint_downward_test_data): Likewise.
20410 (llrint_upward_test_data): Likewise.
20411 (log_test_data): Likewise.
20412 (log10_test_data): Likewise.
20413 (log1p_test_data): Likewise.
20414 (log2_test_data): Likewise.
20415 (logb_test_data): Likewise.
20416 (logb_downward_test_data): Likewise.
20417 (lround_test_data): Likewise.
20418 (llround_test_data): Likewise.
20419 (modf_test_data): Likewise.
20420 (nearbyint_test_data): Likewise.
20421 (nextafter_test_data): Likewise.
20422 (nexttoward_test_data): Likewise.
20423 (pow_test_data): Likewise.
20424 (pow_tonearest_test_data): Likewise.
20425 (pow_towardzero_test_data): Likewise.
20426 (pow_downward_test_data): Likewise.
20427 (pow_upward_test_data): Likewise.
20428 (remainder_test_data): Likewise.
20429 (remainder_tonearest_test_data): Likewise.
20430 (remainder_towardzero_test_data): Likewise.
20431 (remainder_downward_test_data): Likewise.
20432 (remainder_upward_test_data): Likewise.
20433 (remquo_test_data): Likewise.
20434 (rint_test_data): Likewise.
20435 (rint_tonearest_test_data): Likewise.
20436 (rint_towardzero_test_data): Likewise.
20437 (rint_downward_test_data): Likewise.
20438 (rint_upward_test_data): Likewise.
20439 (round_test_data): Likewise.
20440 (scalb_test_data): Likewise.
20441 (scalbn_test_data): Likewise.
20442 (scalbln_test_data): Likewise.
20443 (signbit_test_data): Likewise.
20444 (sin_test_data): Likewise.
20445 (sin_tonearest_test_data): Likewise.
20446 (sin_towardzero_test_data): Likewise.
20447 (sin_downward_test_data): Likewise.
20448 (sin_upward_test_data): Likewise.
20449 (sincos_test_data): Likewise.
20450 (sinh_test_data): Likewise.
20451 (sinh_tonearest_test_data): Likewise.
20452 (sinh_towardzero_test_data): Likewise.
20453 (sinh_downward_test_data): Likewise.
20454 (sinh_upward_test_data): Likewise.
20455 (sqrt_test_data): Likewise.
20456 (tan_test_data): Likewise.
20457 (tan_tonearest_test_data): Likewise.
20458 (tan_towardzero_test_data): Likewise.
20459 (tan_downward_test_data): Likewise.
20460 (tan_upward_test_data): Likewise.
20461 (tanh_test_data): Likewise.
20462 (tgamma_test_data): Likewise.
20463 (trunc_test_data): Likewise.
20464 (y0_test_data): Likewise.
20465 (y1_test_data): Likewise.
20466 (yn_test_data): Likewise.
20467 (significand_test_data): Likewise.
20469 * math/gen-libm-test.pl (@functions): Remove variable.
20470 (generate_testfile): Don't handle START and END lines.
20471 * math/libm-test.inc (START): New macro.
20473 (END_COMPLEX): Likewise.
20474 (acos_test): Use END macro without arguments.
20475 (acos_test_tonearest): Likewise.
20476 (acos_test_towardzero): Likewise.
20477 (acos_test_downward): Likewise.
20478 (acos_test_upward): Likewise.
20479 (acosh_test): Likewise.
20480 (asin_test): Likewise.
20481 (asin_test_tonearest): Likewise.
20482 (asin_test_towardzero): Likewise.
20483 (asin_test_downward): Likewise.
20484 (asin_test_upward): Likewise.
20485 (asinh_test): Likewise.
20486 (atan_test): Likewise.
20487 (atanh_test): Likewise.
20488 (atan2_test): Likewise.
20489 (cabs_test): Likewise.
20490 (cacos_test): Use END_COMPLEX macro without arguments.
20491 (cacosh_test): Likewise.
20492 (carg_test): Use END macro without arguments.
20493 (casin_test): Use END_COMPLEX macro without arguments.
20494 (casinh_test): Likewise.
20495 (catan_test): Likewise.
20496 (catanh_test): Likewise.
20497 (cbrt_test): Use END macro without arguments.
20498 (ccos_test): Use END_COMPLEX macro without arguments.
20499 (ccosh_test): Likewise.
20500 (ceil_test): Use END macro without arguments.
20501 (cexp_test): Use END_COMPLEX macro without arguments.
20502 (cimag_test): Use END macro without arguments.
20503 (clog_test): Use END_COMPLEX macro without arguments.
20504 (clog10_test): Likewise.
20505 (conj_test): Likewise.
20506 (copysign_test): Use END macro without arguments.
20507 (cos_test): Likewise.
20508 (cos_test_tonearest): Likewise.
20509 (cos_test_towardzero): Likewise.
20510 (cos_test_downward): Likewise.
20511 (cos_test_upward): Likewise.
20512 (cosh_test): Likewise.
20513 (cosh_test_tonearest): Likewise.
20514 (cosh_test_towardzero): Likewise.
20515 (cosh_test_downward): Likewise.
20516 (cosh_test_upward): Likewise.
20517 (cpow_test): Use END_COMPLEX macro without arguments.
20518 (cproj_test): Likewise.
20519 (creal_test): Use END macro without arguments.
20520 (csin_test): Use END_COMPLEX macro without arguments.
20521 (csinh_test): Likewise.
20522 (csqrt_test): Likewise.
20523 (ctan_test): Likewise.
20524 (ctan_test_tonearest): Likewise.
20525 (ctan_test_towardzero): Likewise.
20526 (ctan_test_downward): Likewise.
20527 (ctan_test_upward): Likewise.
20528 (ctanh_test): Likewise.
20529 (ctanh_test_tonearest): Likewise.
20530 (ctanh_test_towardzero): Likewise.
20531 (ctanh_test_downward): Likewise.
20532 (ctanh_test_upward): Likewise.
20533 (erf_test): Use END macro without arguments.
20534 (erfc_test): Likewise.
20535 (exp_test): Likewise.
20536 (exp_test_tonearest): Likewise.
20537 (exp_test_towardzero): Likewise.
20538 (exp_test_downward): Likewise.
20539 (exp_test_upward): Likewise.
20540 (exp10_test): Likewise.
20541 (exp2_test): Likewise.
20542 (expm1_test): Likewise.
20543 (fabs_test): Likewise.
20544 (fdim_test): Likewise.
20545 (finite_test): Likewise.
20546 (floor_test): Likewise.
20547 (fma_test): Likewise.
20548 (fma_test_towardzero): Likewise.
20549 (fma_test_downward): Likewise.
20550 (fma_test_upward): Likewise.
20551 (fmax_test): Likewise.
20552 (fmin_test): Likewise.
20553 (fmod_test): Likewise.
20554 (fpclassify_test): Likewise.
20555 (frexp_test): Likewise.
20556 (gamma_test): Likewise.
20557 (hypot_test): Likewise.
20558 (ilogb_test): Likewise.
20559 (isfinite_test): Likewise.
20560 (isgreater_test): Likewise.
20561 (isgreaterequal_test): Likewise.
20562 (isinf_test): Likewise.
20563 (isless_test): Likewise.
20564 (islessequal_test): Likewise.
20565 (islessgreater_test): Likewise.
20566 (isnan_test): Likewise.
20567 (isnormal_test): Likewise.
20568 (issignaling_test): Likewise.
20569 (isunordered_test): Likewise.
20570 (j0_test): Likewise.
20571 (j1_test): Likewise.
20572 (jn_test): Likewise.
20573 (ldexp_test): Likewise.
20574 (lgamma_test): Likewise.
20575 (lrint_test): Likewise.
20576 (lrint_test_tonearest): Likewise.
20577 (lrint_test_towardzero): Likewise.
20578 (lrint_test_downward): Likewise.
20579 (lrint_test_upward): Likewise.
20580 (llrint_test): Likewise.
20581 (llrint_test_tonearest): Likewise.
20582 (llrint_test_towardzero): Likewise.
20583 (llrint_test_downward): Likewise.
20584 (llrint_test_upward): Likewise.
20585 (log_test): Likewise.
20586 (log10_test): Likewise.
20587 (log1p_test): Likewise.
20588 (log2_test): Likewise.
20589 (logb_test): Likewise.
20590 (logb_test_downward): Likewise.
20591 (lround_test): Likewise.
20592 (llround_test): Likewise.
20593 (modf_test): Likewise.
20594 (nearbyint_test): Likewise.
20595 (nextafter_test): Likewise.
20596 (nexttoward_test): Likewise.
20597 (pow_test): Likewise.
20598 (pow_test_tonearest): Likewise.
20599 (pow_test_towardzero): Likewise.
20600 (pow_test_downward): Likewise.
20601 (pow_test_upward): Likewise.
20602 (remainder_test): Likewise.
20603 (remainder_test_tonearest): Likewise.
20604 (remainder_test_towardzero): Likewise.
20605 (remainder_test_downward): Likewise.
20606 (remainder_test_upward): Likewise.
20607 (remquo_test): Likewise.
20608 (rint_test): Likewise.
20609 (rint_test_tonearest): Likewise.
20610 (rint_test_towardzero): Likewise.
20611 (rint_test_downward): Likewise.
20612 (rint_test_upward): Likewise.
20613 (round_test): Likewise.
20614 (scalb_test): Likewise.
20615 (scalbn_test): Likewise.
20616 (scalbln_test): Likewise.
20617 (signbit_test): Likewise.
20618 (sin_test): Likewise.
20619 (sin_test_tonearest): Likewise.
20620 (sin_test_towardzero): Likewise.
20621 (sin_test_downward): Likewise.
20622 (sin_test_upward): Likewise.
20623 (sincos_test): Likewise.
20624 (sinh_test): Likewise.
20625 (sinh_test_tonearest): Likewise.
20626 (sinh_test_towardzero): Likewise.
20627 (sinh_test_downward): Likewise.
20628 (sinh_test_upward): Likewise.
20629 (sqrt_test): Likewise.
20630 (tan_test): Likewise.
20631 (tan_test_tonearest): Likewise.
20632 (tan_test_towardzero): Likewise.
20633 (tan_test_downward): Likewise.
20634 (tan_test_upward): Likewise.
20635 (tanh_test): Likewise.
20636 (tgamma_test): Likewise.
20637 (trunc_test): Likewise.
20638 (y0_test): Likewise.
20639 (y1_test): Likewise.
20640 (yn_test): Likewise.
20641 (significand_test): Likewise.
20643 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20646 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20648 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20651 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20652 __ppc_mdoio and __ppc_mdoom.
20653 * manual/platform.texi: Document new functions __ppc_yield,
20654 __ppc_mdoio and __ppc_mdoom.
20656 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20658 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20659 (main): Mention "tls" pseudo-hwcap is legacy.
20660 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20662 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20664 * math/gen-libm-test.pl (parse_args): Output only string of
20665 arguments as text for test name, not full call or descriptions of
20666 tests for extra outputs.
20667 (generate_testfile): Do not pass function name to parse_args.
20668 Generate this_func variable from START.
20669 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20671 (struct test_ff_f_data): Likewise.
20672 (test_ff_f_data_nexttoward): Likewise.
20673 (struct test_fi_f_data): Likewise.
20674 (struct test_fl_f_data): Likewise.
20675 (struct test_if_f_data): Likewise.
20676 (struct test_fff_f_data): Likewise.
20677 (struct test_c_f_data): Likewise.
20678 (struct test_f_f1_data): Likewise. Remove field extra_name.
20679 (struct test_fF_f1_data): Likewise.
20680 (struct test_ffI_f1_data): Likewise.
20681 (struct test_c_c_data): Rename test_name field to arg_str.
20682 (struct test_cc_c_data): Likewise.
20683 (struct test_f_i_data): Likewise.
20684 (struct test_ff_i_data): Likewise.
20685 (struct test_f_l_data): Likewise.
20686 (struct test_f_L_data): Likewise.
20687 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20689 (COMMON_TEST_SETUP): New macro.
20690 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20691 (COMMON_TEST_CLEANUP): Likewise.
20692 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20693 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20695 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20696 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20698 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20699 (RUN_TEST_fff_f): Take argument string. Call new setup and
20701 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20702 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20704 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20705 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20707 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20708 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20710 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20711 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20713 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20714 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20716 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20717 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20719 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20720 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20722 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20723 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20725 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20726 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20728 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20729 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20731 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20732 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20734 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20735 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20737 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20738 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20740 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20741 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20743 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20744 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20746 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20748 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20750 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20751 to _sifields.sigfault.
20752 (si_addr_lsb): Define new macro.
20753 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20757 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20760 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20762 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20764 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20765 loading the domain.
20767 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20769 * math/gen-libm-test.pl (parse_args): Do not include expected
20770 result in test name.
20771 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20772 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20773 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20774 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20775 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20778 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20780 * benchtests/Makefile: Sort function entries.
20782 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20783 tanh, asinh, acosh, atanh.
20784 * benchtests/acos-inputs: New file.
20785 * benchtests/acosh-inputs: New file.
20786 * benchtests/asin-inputs: New file.
20787 * benchtests/asinh-inputs: New file.
20788 * benchtests/atanh-inputs: New file.
20789 * benchtests/cosh-inputs: New file.
20790 * benchtests/log-inputs: New file.
20791 * benchtests/sinh-inputs: New file.
20792 * benchtests/tanh-inputs: New file.
20794 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20797 * posix/tst-getaddrinfo4.c: New test.
20798 * posix/Makefile (tests): Add it.
20800 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20803 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20804 when no services were used.
20805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20806 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20808 2013-05-21 Andreas Schwab <schwab@suse.de>
20811 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20812 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20814 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20815 redundant variable declarations and reallocation of buffer when
20816 parsing as IPv6 address. Always set NSS status when called from
20817 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20818 buffer too small. Correct computation of needed size.
20819 * nss/Makefile (tests): Add test-digits-dots.
20820 * nss/test-digits-dots.c: New test.
20822 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20824 * benchtests/Makefile: Remove instructions for adding
20826 * benchtests/README: New file to explain how to execute and
20827 enhance the benchmark tests.
20829 2013-05-21 Andreas Schwab <schwab@suse.de>
20832 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20833 * setjmp/tst-sigsetjmp.c: New test.
20835 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20837 * sysdeps/x86_64/memset.S (memset): New implementation.
20838 (__bzero): Likewise.
20839 (__memset_tail): New function.
20841 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20843 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20844 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20845 __memcpy_sse2_unaligned ifunc selection.
20846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20847 Add memcpy-sse2-unaligned.S.
20848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20849 Add: __memcpy_sse2_unaligned.
20851 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20855 math_force_eval before restoring floating-point envrionment.
20856 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20857 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20861 (__nearbyintl): Use math_force_eval before restoring
20862 floating-point environment.
20863 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20865 * math/gen-libm-test.pl (special_functions): Remove.
20866 (parse_args): Don't handle TEST_extra. Handle functions with no
20868 * math/libm-test.inc (struct test_sincos_data): Replace with
20869 struct test_fFF_11_data.
20870 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20871 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20872 (sincos_test_data): Change element type to struct
20873 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20874 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20875 RUN_TEST_LOOP_sincos.
20876 * math/README.libm-test: Don't mention special handling of
20877 individual functions.
20878 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20879 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20880 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20881 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20882 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20885 * math/gen-libm-test.pl (get_variable): Remove function.
20886 (parse_args): Don't show pointer parameters to call in test
20887 names. Use "extra output N" in test names for extra outputs
20888 rather than naming variables.
20890 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20893 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20894 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20895 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20897 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20899 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20902 * math/gen-libm-test.pl (@tests): Remove variable.
20903 ($count): Likewise.
20904 (new_test): Remove function.
20905 (show_exceptions): New function.
20906 (special_functions): Use show_exceptions instead of new_test.
20907 (parse_args): Likewise.
20908 (generate_testfile): Pass only function name in generated call to
20909 print_max_error or print_complex_max_error.
20910 (get_ulps): Do not handle complex tests specially.
20911 (output_test): Rename to ...
20912 (get_all_ulps_for_test): ... this. Return a string rather than
20913 printing to a file. Require ulps to be present.
20914 (output_ulps): Generate arrays rather than #defines.
20915 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20916 (struct ulp_data): New type.
20917 (BUILD_COMPLEX_ULP): Remove macro.
20918 (compare_ulp_data): New function.
20919 (find_ulps): Likewise.
20920 (find_test_ulps): Likewise.
20921 (find_function_ulps): Likewise.
20922 (find_complex_function_ulps): Likewise.
20923 (print_max_error): Determine allowed ulps using
20924 find_function_ulps.
20925 (print_complex_max_error): Determine allowed ulps using
20926 find_complex_function_ulps.
20927 (check_float_internal): Determine max ulps using find_test_ulps.
20928 (check_float): Do not take max_ulp parameter. Update call to
20929 check_float_internal.
20930 (check_complex): Likewise.
20931 (check_int): Do not take max_ulp parameter.
20932 (check_long): Likewise.
20933 (check_bool): Likewise.
20934 (check_longlong): Likewise.
20935 (struct test_f_f_data): Remove max_ulp field.
20936 (struct test_ff_f_data): Likewise.
20937 (struct test_ff_f_data_nexttoward): Likewise.
20938 (struct test_fi_f_data): Likewise.
20939 (struct test_fl_f_data): Likewise.
20940 (struct test_if_f_data): Likewise.
20941 (struct test_fff_f_data): Likewise.
20942 (struct test_c_f_data): Likewise.
20943 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20944 (struct test_fF_f1_data): Likewise.
20945 (struct test_ffI_f1_data): Likewise.
20946 (struct test_c_c_data): Remove max_ulp field.
20947 (struct test_cc_c_data): Likewise.
20948 (struct test_f_i_data): Likewise.
20949 (struct test_ff_i_data): Likewise.
20950 (struct test_f_l_data): Likewise.
20951 (struct test_f_L_data): Likewise.
20952 (struct test_sincos_data): Likewise.
20953 (RUN_TEST_f_f): Do not handle ulps.
20954 (RUN_TEST_LOOP_f_f): Likewise.
20955 (RUN_TEST_2_f): Likewise.
20956 (RUN_TEST_LOOP_2_f): Likewise.
20957 (RUN_TEST_fff_f): Likewise.
20958 (RUN_TEST_LOOP_fff_f): Likewise.
20959 (RUN_TEST_c_f): Likewise.
20960 (RUN_TEST_LOOP_c_f): Likewise.
20961 (RUN_TEST_f_f1): Likewise.
20962 (RUN_TEST_LOOP_f_f1): Likewise.
20963 (RUN_TEST_fF_f1): Likewise.
20964 (RUN_TEST_LOOP_fF_f1): Likewise.
20965 (RUN_TEST_fI_f1): Likewise.
20966 (RUN_TEST_LOOP_fI_f1): Likewise.
20967 (RUN_TEST_ffI_f1): Likewise.
20968 (RUN_TEST_LOOP_ffI_f1): Likewise.
20969 (RUN_TEST_c_c): Likewise.
20970 (RUN_TEST_LOOP_c_c): Likewise.
20971 (RUN_TEST_cc_c): Likewise.
20972 (RUN_TEST_LOOP_cc_c): Likewise.
20973 (RUN_TEST_f_i): Likewise.
20974 (RUN_TEST_LOOP_f_i): Likewise.
20975 (RUN_TEST_f_i_tg): Likewise.
20976 (RUN_TEST_LOOP_f_i_tg): Likewise.
20977 (RUN_TEST_ff_i_tg): Likewise.
20978 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20979 (RUN_TEST_f_b): Likewise.
20980 (RUN_TEST_LOOP_f_b): Likewise.
20981 (RUN_TEST_f_b_tg): Likewise.
20982 (RUN_TEST_LOOP_f_b_tg): Likewise.
20983 (RUN_TEST_f_l): Likewise.
20984 (RUN_TEST_LOOP_f_l): Likewise.
20985 (RUN_TEST_f_L): Likewise.
20986 (RUN_TEST_LOOP_f_L): Likewise.
20987 (RUN_TEST_sincos): Likewise.
20988 (RUN_TEST_LOOP_sincos): Likewise.
20990 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20994 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20995 main case of finite arguments, set rounding mode to FE_TONEAREST
20996 and discard exceptions.
20997 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20999 (remainder_tonearest_test_data): New variable.
21000 (remainder_test_tonearest): New function.
21001 (remainder_towardzero_test_data): New variable.
21002 (remainder_test_towardzero): New function.
21003 (remainder_downward_test_data): New variable.
21004 (remainder_test_downward): New function.
21005 (remainder_upward_test_data): New variable.
21006 (remainder_test_upward): New function.
21007 (main): Call the new test functions.
21009 * math/libm-test.inc (struct test_f_f1_data): Remove field
21011 (struct test_fF_f1_data): Likewise.
21012 (struct test_ffI_f1_data): Likewise.
21013 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21014 based on value of EXTRA_EXPECTED.
21015 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21016 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21017 EXTRA_VAR based on value of EXTRA_EXPECTED.
21018 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21019 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21020 EXTRA_VAR based on value of EXTRA_EXPECTED.
21021 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21022 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21023 EXTRA_VAR based on value of EXTRA_EXPECTED.
21024 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21025 * math/gen-libm-test.pl (parse_args): Don't output initializers
21026 for extra output values.
21028 * math/libm-test.inc (check_int): Expect result to be exactly
21029 equal to expected value and do not handle ulps.
21030 (check_long): Likewise.
21031 (check_longlong): Likewise.
21033 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21035 (cimag_test_data): Likewise.
21036 (conj_test_data): Likewise.
21037 (copysign_test_data): Likewise.
21038 (cproj_test_data): Likewise.
21039 (creal_test_data): Likewise.
21040 (fabs_test_data): Likewise.
21041 (fdim_test_data): Likewise.
21042 (finite_test_data): Likewise.
21043 (floor_test_data): Likewise.
21044 (fmax_test_data): Likewise.
21045 (fmin_test_data): Likewise.
21046 (fmod_test_data): Likewise.
21047 (fpclassify_test_data): Likewise.
21048 (frexp_test_data): Likewise.
21049 (ilogb_test_data): Likewise.
21050 (isfinite_test_data): Likewise.
21051 (isgreater_test_data): Likewise.
21052 (isgreaterequal_test_data): Likewise.
21053 (isinf_test_data): Likewise.
21054 (isless_test_data): Likewise.
21055 (islessequal_test_data): Likewise.
21056 (islessgreater_test_data): Likewise.
21057 (isnan_test_data): Likewise.
21058 (isnormal_test_data): Likewise.
21059 (issignaling_test_data): Likewise.
21060 (isunordered_test_data): Likewise.
21061 (ldexp_test_data): Likewise.
21062 (lrint_test_data): Likewise.
21063 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21064 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21065 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21066 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21067 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21068 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21070 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21071 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21072 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21073 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21075 (lrint_downward_test_data): Test for "inexact" exceptions.
21076 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21077 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21078 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21080 (lrint_upward_test_data): Test for "inexact" exceptions.
21081 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21083 (llrint_test_data): Test for "inexact" exceptions.
21084 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21085 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21086 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21087 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21088 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21089 (llrint_downward_test_data): Test for "inexact" exceptions.
21090 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21091 (llrint_upward_test_data): Test for "inexact" exceptions.
21092 (logb_test_data): Likewise.
21093 (logb_downward_test_data): Likewise.
21094 (nextafter_test_data): Likewise.
21095 (nexttoward_test_data): Likewise.
21096 (remainder_test_data): Likewise.
21097 (remquo_test_data): Likewise.
21098 (scalbn_test_data): Likewise.
21099 (scalbln_test_data): Likewise.
21100 (signbit_test_data): Likewise.
21101 (sqrt_test_data): Likewise.
21102 (significand_test_data): Likewise.
21104 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21107 * benchtests/bench-modf.c (struct args): Mark arg0 as
21109 * scripts/bench.pl: Mark members of struct args as volatile.
21111 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21114 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21115 negative infinity on POWER6 or lower.
21116 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21118 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21121 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21122 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21123 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21124 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21125 (_FP_SETQNAN): New macro.
21126 (_FP_SETQNAN_SEMIRAW): Likewise.
21127 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21128 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21129 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21130 (FP_EXTEND): Use _FP_FRAC_SNANP.
21131 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21132 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21134 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21136 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21139 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21141 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21142 with DIVIDE_BY_ZERO_EXCEPTION.
21143 (gamma_test_data): Likewise.
21144 (lgamma_test_data): Likewise.
21145 (log_test_data): Likewise.
21146 (log10_test_data): Likewise.
21147 (log2_test_data): Likewise.
21148 (tgamma_test_data): Likewise.
21150 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21151 (acos_test_tonearest): Likewise.
21152 (acos_test_towardzero): Likewise.
21153 (acos_test_downward): Likewise.
21154 (acos_test_upward): Likewise.
21155 (acosh_test): Likewise.
21156 (asin_test): Likewise.
21157 (asin_test_tonearest): Likewise.
21158 (asin_test_towardzero): Likewise.
21159 (asin_test_downward): Likewise.
21160 (asin_test_upward): Likewise.
21161 (asinh_test): Likewise.
21162 (atan_test): Likewise.
21163 (atanh_test): Likewise.
21164 (atan2_test): Likewise.
21165 (cabs_test): Likewise.
21166 (cacos_test): Likewise.
21167 (cacosh_test): Likewise.
21168 (casin_test): Likewise.
21169 (casinh_test): Likewise.
21170 (catan_test): Likewise.
21171 (catanh_test): Likewise.
21172 (cbrt_test): Likewise.
21173 (ccos_test): Likewise.
21174 (ccosh_test): Likewise.
21175 (cexp_test): Likewise.
21176 (clog_test): Likewise.
21177 (clog10_test): Likewise.
21178 (cos_test): Likewise.
21179 (cos_test_tonearest): Likewise.
21180 (cos_test_towardzero): Likewise.
21181 (cos_test_downward): Likewise.
21182 (cos_test_upward): Likewise.
21183 (cosh_test): Likewise.
21184 (cosh_test_tonearest): Likewise.
21185 (cosh_test_towardzero): Likewise.
21186 (cosh_test_downward): Likewise.
21187 (cosh_test_upward): Likewise.
21188 (cpow_test): Likewise.
21189 (csin_test): Likewise.
21190 (csinh_test): Likewise.
21191 (csqrt_test): Likewise.
21192 (ctan_test): Likewise.
21193 (ctan_test_tonearest): Likewise.
21194 (ctan_test_towardzero): Likewise.
21195 (ctan_test_downward): Likewise.
21196 (ctan_test_upward): Likewise.
21197 (ctanh_test): Likewise.
21198 (ctanh_test_tonearest): Likewise.
21199 (ctanh_test_towardzero): Likewise.
21200 (ctanh_test_downward): Likewise.
21201 (ctanh_test_upward): Likewise.
21202 (erf_test): Likewise.
21203 (erfc_test): Likewise.
21204 (exp_test): Likewise.
21205 (exp_test_tonearest): Likewise.
21206 (exp_test_towardzero): Likewise.
21207 (exp_test_downward): Likewise.
21208 (exp_test_upward): Likewise.
21209 (exp10_test): Likewise.
21210 (exp2_test): Likewise.
21211 (expm1_test): Likewise.
21212 (fmod_test): Likewise.
21213 (gamma_test): Likewise.
21214 (hypot_test): Likewise.
21215 (j0_test): Likewise.
21216 (j1_test): Likewise.
21217 (jn_test): Likewise.
21218 (lgamma_test): Likewise.
21219 (log_test): Likewise.
21220 (log10_test): Likewise.
21221 (log1p_test): Likewise.
21222 (log2_test): Likewise.
21223 (logb_test_downward): Likewise.
21224 (pow_test): Likewise.
21225 (pow_test_tonearest): Likewise.
21226 (pow_test_towardzero): Likewise.
21227 (pow_test_downward): Likewise.
21228 (pow_test_upward): Likewise.
21229 (remainder_test): Likewise.
21230 (remquo_test): Likewise.
21231 (sin_test): Likewise.
21232 (sin_test_tonearest): Likewise.
21233 (sin_test_towardzero): Likewise.
21234 (sin_test_downward): Likewise.
21235 (sin_test_upward): Likewise.
21236 (sincos_test): Likewise.
21237 (sinh_test): Likewise.
21238 (sinh_test_tonearest): Likewise.
21239 (sinh_test_towardzero): Likewise.
21240 (sinh_test_downward): Likewise.
21241 (sinh_test_upward): Likewise.
21242 (sqrt_test): Likewise.
21243 (tan_test): Likewise.
21244 (tan_test_tonearest): Likewise.
21245 (tan_test_towardzero): Likewise.
21246 (tan_test_downward): Likewise.
21247 (tan_test_upward): Likewise.
21248 (tanh_test): Likewise.
21249 (tgamma_test): Likewise.
21250 (y0_test): Likewise.
21251 (y1_test): Likewise.
21252 (yn_test): Likewise.
21254 * math/gen-libm-test.pl (adjust_arg): Remove function.
21255 (special_function): Remove argument $in_func. Only handle
21256 generating output for tables of tests, not inside functions.
21257 (parse_args): Likewise.
21258 (generate_testfile): Remove variable $in_func. Update call to
21260 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21261 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21262 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21263 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21264 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21265 (MAX_VALUE_INIT): Rename macro to max_value.
21266 (MIN_VALUE_INIT): Rename macro to min_value.
21267 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21268 (plus_zero): Remove variable.
21269 (minus_zero): Likewise.
21270 (plus_infty): Likewise.
21271 (minus_infty): Likewise.
21272 (qnan_value): Likewise.
21273 (max_value): Likewise.
21274 (min_value): Likewise.
21275 (min_subnorm_value): Likewise.
21277 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21279 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21280 uint64_t or uint32_t usage.
21281 * crypt/sha256-block.c: Likewise.
21282 * crypt/sha256-crypt.c: Likewise.
21283 * crypt/sha256.c: Likewise.
21284 * crypt/sha512-block.c: Likewise.
21285 * crypt/sha512-crypt.c: Likewise.
21286 * crypt/sha512.c: Likewise.
21287 * debug/backtrace-tst.c: Likewise.
21288 * debug/pcprofiledump.c: Likewise.
21289 * elf/cache.c: Likewise.
21290 * elf/dl-cache.c: Likewise.
21291 * elf/dl-misc.c: Likewise.
21292 * elf/dl-profile.c: Likewise.
21293 * elf/dl-support.c: Likewise.
21294 * elf/ldconfig.c: Likewise.
21295 * elf/sprof.c: Likewise.
21296 * iconv/dummy-repertoire.c: Likewise.
21297 * iconv/iconv_charmap.c: Likewise.
21298 * iconv/skeleton.c: Likewise.
21299 * iconvdata/8bit-generic.c: Likewise.
21300 * iconvdata/cp737.h: Likewise.
21301 * iconvdata/cp775.h: Likewise.
21302 * iconvdata/ibm1008.h: Likewise.
21303 * iconvdata/ibm1025.h: Likewise.
21304 * iconvdata/ibm1046.h: Likewise.
21305 * iconvdata/ibm1097.h: Likewise.
21306 * iconvdata/ibm1112.h: Likewise.
21307 * iconvdata/ibm1122.h: Likewise.
21308 * iconvdata/ibm1123.h: Likewise.
21309 * iconvdata/ibm1124.h: Likewise.
21310 * iconvdata/ibm1129.h: Likewise.
21311 * iconvdata/ibm1130.h: Likewise.
21312 * iconvdata/ibm1132.h: Likewise.
21313 * iconvdata/ibm1133.h: Likewise.
21314 * iconvdata/ibm1137.h: Likewise.
21315 * iconvdata/ibm1140.h: Likewise.
21316 * iconvdata/ibm1141.h: Likewise.
21317 * iconvdata/ibm1142.h: Likewise.
21318 * iconvdata/ibm1143.h: Likewise.
21319 * iconvdata/ibm1144.h: Likewise.
21320 * iconvdata/ibm1145.h: Likewise.
21321 * iconvdata/ibm1146.h: Likewise.
21322 * iconvdata/ibm1147.h: Likewise.
21323 * iconvdata/ibm1148.h: Likewise.
21324 * iconvdata/ibm1149.h: Likewise.
21325 * iconvdata/ibm1153.h: Likewise.
21326 * iconvdata/ibm1154.h: Likewise.
21327 * iconvdata/ibm1155.h: Likewise.
21328 * iconvdata/ibm1156.h: Likewise.
21329 * iconvdata/ibm1157.h: Likewise.
21330 * iconvdata/ibm1158.h: Likewise.
21331 * iconvdata/ibm1160.h: Likewise.
21332 * iconvdata/ibm1161.h: Likewise.
21333 * iconvdata/ibm1162.h: Likewise.
21334 * iconvdata/ibm1163.h: Likewise.
21335 * iconvdata/ibm1164.h: Likewise.
21336 * iconvdata/ibm1166.h: Likewise.
21337 * iconvdata/ibm1167.h: Likewise.
21338 * iconvdata/ibm12712.h: Likewise.
21339 * iconvdata/ibm1390.h: Likewise.
21340 * iconvdata/ibm1399.h: Likewise.
21341 * iconvdata/ibm16804.h: Likewise.
21342 * iconvdata/ibm4517.h: Likewise.
21343 * iconvdata/ibm4899.h: Likewise.
21344 * iconvdata/ibm4909.h: Likewise.
21345 * iconvdata/ibm4971.h: Likewise.
21346 * iconvdata/ibm5347.h: Likewise.
21347 * iconvdata/ibm803.h: Likewise.
21348 * iconvdata/ibm856.h: Likewise.
21349 * iconvdata/ibm901.h: Likewise.
21350 * iconvdata/ibm902.h: Likewise.
21351 * iconvdata/ibm9030.h: Likewise.
21352 * iconvdata/ibm9066.h: Likewise.
21353 * iconvdata/ibm921.h: Likewise.
21354 * iconvdata/ibm922.h: Likewise.
21355 * iconvdata/ibm9448.h: Likewise.
21356 * iconvdata/isiri-3342.h: Likewise.
21357 * iconvdata/jis0201.h: Likewise.
21358 * include/link.h: Likewise.
21359 * include/netdb.h: Likewise.
21360 * inet/check_native.c: Likewise.
21361 * inet/check_pf.c: Likewise.
21362 * inet/getipv4sourcefilter.c: Likewise.
21363 * inet/getnameinfo.c: Likewise.
21364 * inet/getsourcefilter.c: Likewise.
21365 * inet/htonl.c: Likewise.
21366 * inet/setipv4sourcefilter.c: Likewise.
21367 * inet/setsourcefilter.c: Likewise.
21368 * inet/test-inet6_opt.c: Likewise.
21369 * inet/tst-network.c: Likewise.
21370 * locale/C-collate.c: Likewise.
21371 * locale/C-ctype.c: Likewise.
21372 * locale/C-time.c: Likewise.
21373 * locale/C-translit.h: Likewise.
21374 * locale/loadarchive.c: Likewise.
21375 * locale/programs/3level.h: Likewise.
21376 * locale/programs/charmap.c: Likewise.
21377 * locale/programs/charmap.h: Likewise.
21378 * locale/programs/ld-address.c: Likewise.
21379 * locale/programs/ld-collate.c: Likewise.
21380 * locale/programs/ld-ctype.c: Likewise.
21381 * locale/programs/ld-identification.c: Likewise.
21382 * locale/programs/ld-measurement.c: Likewise.
21383 * locale/programs/ld-messages.c: Likewise.
21384 * locale/programs/ld-monetary.c: Likewise.
21385 * locale/programs/ld-name.c: Likewise.
21386 * locale/programs/ld-numeric.c: Likewise.
21387 * locale/programs/ld-paper.c: Likewise.
21388 * locale/programs/ld-telephone.c: Likewise.
21389 * locale/programs/ld-time.c: Likewise.
21390 * locale/programs/linereader.c: Likewise.
21391 * locale/programs/locale.c: Likewise.
21392 * locale/programs/locarchive.c: Likewise.
21393 * locale/programs/locfile.h: Likewise.
21394 * locale/programs/repertoire.c: Likewise.
21395 * locale/programs/simple-hash.c: Likewise.
21396 * locale/programs/simple-hash.h: Likewise.
21397 * malloc/memusage.c: Likewise.
21398 * malloc/memusagestat.c: Likewise.
21399 * nis/nis_defaults.c: Likewise.
21400 * nis/nis_hash.c: Likewise.
21401 * nis/nis_print.c: Likewise.
21402 * nis/nis_xdr.c: Likewise.
21403 * nscd/connections.c: Likewise.
21404 * nscd/hstcache.c: Likewise.
21405 * nscd/nscd_gethst_r.c: Likewise.
21406 * nscd/nscd_getserv_r.c: Likewise.
21407 * nscd/nscd_helper.c: Likewise.
21408 * nscd/servicescache.c: Likewise.
21409 * nss/makedb.c: Likewise.
21410 * nss/nss_db/db-XXX.c: Likewise.
21411 * nss/nss_db/db-initgroups.c: Likewise.
21412 * nss/nss_db/db-netgrp.c: Likewise.
21413 * nss/nss_files/files-network.c: Likewise.
21414 * nss/nss_files/files-parse.c: Likewise.
21415 * posix/bug-regex5.c: Likewise.
21416 * posix/fnmatch_loop.c: Likewise.
21417 * posix/regcomp.c: Likewise.
21418 * posix/regexec.c: Likewise.
21419 * posix/tst-rfc3484-2.c: Likewise.
21420 * posix/tst-rfc3484-3.c: Likewise.
21421 * posix/tst-rfc3484.c: Likewise.
21422 * resolv/nss_dns/dns-canon.c: Likewise.
21423 * resolv/nss_dns/dns-network.c: Likewise.
21424 * resolv/res_init.c: Likewise.
21425 * resolv/res_mkquery.c: Likewise.
21426 * resolv/tst-aton.c: Likewise.
21427 * stdlib/cxa_atexit.c: Likewise.
21428 * stdlib/cxa_finalize.c: Likewise.
21429 * stdlib/gen-fpioconst.c: Likewise.
21430 * stdlib/strtol_l.c: Likewise.
21431 * string/tst-endian.c: Likewise.
21432 * sunrpc/auth_des.c: Likewise.
21433 * sunrpc/clnt_udp.c: Likewise.
21434 * sunrpc/rtime.c: Likewise.
21435 * sunrpc/svcauth_des.c: Likewise.
21436 * sunrpc/xdr.c: Likewise.
21437 * sunrpc/xdr_intXX_t.c: Likewise.
21438 * sunrpc/xdr_rec.c: Likewise.
21439 * sysdeps/generic/ldconfig.h: Likewise.
21440 * sysdeps/generic/ldsodefs.h: Likewise.
21441 * sysdeps/generic/memusage.h: Likewise.
21442 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21445 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21451 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21452 * sysdeps/posix/getaddrinfo.c: Likewise.
21453 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21454 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21455 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21457 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21458 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21459 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21460 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21461 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21462 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21463 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21464 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21465 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21466 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21467 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21468 * sysdeps/x86_64/dl-tls.h: Likewise.
21469 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21470 * time/alt_digit.c: Likewise.
21471 * time/era.c: Likewise.
21472 * wcsmbs/tst-c16c32-1.c: Likewise.
21474 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21476 * math/libm-test.inc (struct test_sincos_data): New type.
21477 (RUN_TEST_LOOP_sincos): New macro.
21478 (sincos_test_data): New variable.
21479 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21481 2013-05-16 Richard Henderson <rth@redhat.com>
21483 * math/atest-exp2.c (LIMB64): New macro.
21484 (CONSTSZ): New macro.
21485 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21487 (print_mpn_fp): ... to function scope.
21488 (read_mpn_hex): Remove.
21489 (get_log2): Remove.
21490 (exp2_mpn): Use mp_log2.
21491 (main): Use mp_exp1.
21493 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21495 * math/libm-test.inc: Remove comment about not testing "inexact"
21497 (INEXACT_EXCEPTION): New macro.
21498 (NO_INEXACT_EXCEPTION): Likewise.
21499 (INVALID_EXCEPTION_OK): Update value.
21500 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21501 (OVERFLOW_EXCEPTION_OK): Likewise.
21502 (UNDERFLOW_EXCEPTION_OK): Likewise.
21503 (IGNORE_ZERO_INF_SIGN): Likewise.
21504 (ERRNO_UNCHANGED): Likewise.
21505 (ERRNO_EDOM): Likewise.
21506 (ERRNO_ERANGE): Likewise.
21507 (test_exceptions): Handle testing "inexact" exceptions.
21508 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21509 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21510 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21511 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21513 (rint_towardzero_test_data): Likewise.
21514 (rint_downward_test_data): Likewise.
21515 (rint_upward_test_data): Likewise.
21517 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21518 with OVERFLOW_EXCEPTION.
21519 (exp10_test_data): Likewise.
21520 (exp2_test_data): Likewise.
21521 (expm1_test_data): Likewise.
21522 (lgamma_test_data): Likewise.
21523 (pow_test_data): Likewise.
21524 (tgamma_test_data): Likewise.
21525 (yn_test_data): Remove duplicate test of overflow.
21527 * math/libm-test.inc (struct test_cc_c_data): New type.
21528 (RUN_TEST_LOOP_cc_c): New macro.
21529 (cpow_test_data): New variable.
21530 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21532 * math/libm-test.inc (struct test_f_L_data): New type.
21533 (RUN_TEST_LOOP_f_L): New macro.
21534 (llrint_test_data): New variable.
21535 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21536 (llrint_tonearest_test_data): New variable.
21537 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21538 (llrint_towardzero_test_data): New variable.
21539 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21540 (llrint_downward_test_data): New variable.
21541 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21542 (llrint_upward_test_data): New variable.
21543 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21544 (llround_test_data): New variable.
21545 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21547 2013-05-13 Peter Collingbourne <pcc@google.com>
21549 * math/atest-exp2.c (get_log2): Remove const attribute.
21551 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21553 * math/libm-test.inc (struct test_f_l_data): New type.
21554 (RUN_TEST_LOOP_f_l): New macro.
21555 (lrint_test_data): New variable.
21556 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21557 (lrint_tonearest_test_data): New variable.
21558 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21559 (lrint_towardzero_test_data): New variable.
21560 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21561 (lrint_downward_test_data): New variable.
21562 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21563 (lrint_upward_test_data): New variable.
21564 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21565 (lround_test_data): New variable.
21566 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21568 2013-05-15 Peter Collingbourne <pcc@google.com>
21570 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21571 (EXTRACT_WORDS64) Use where appropriate.
21572 (INSERT_WORDS64) Likewise.
21574 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21575 constraints with x constraints.
21576 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21578 * malloc/obstack.c (_obstack_compat): Add initializer.
21580 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21583 si_trapno and add si_addr_lsb to _sifields.sigfault.
21584 (si_trapno): Remove macro.
21585 (si_addr_lsb): Define new macro.
21586 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21588 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21590 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21591 instead of TEST_f_l.
21592 (llrint_test_tonearest): Likewise.
21593 (llrint_test_towardzero): Likewise.
21594 (llrint_test_downward): Likewise.
21595 (llrint_test_upward): Likewise.
21596 (llround_test): Likewise.
21598 * math/libm-test.inc (struct test_f_i_data): Add comment.
21599 (RUN_TEST_LOOP_f_b): New macro.
21600 (RUN_TEST_LOOP_f_b_tg): Likewise.
21601 (finite_test_data): New variable.
21602 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21603 (isfinite_test_data): New variable.
21604 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21605 (isinf_test_data): New variable.
21606 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21607 (isnan_test_data): New variable.
21608 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21609 (isnormal_test_data): New variable.
21610 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21611 (issignaling_test_data): New variable.
21612 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21613 (signbit_test_data): New variable.
21614 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21616 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21617 with INVALID_EXCEPTION.
21618 (acosh_test_data): Likewise.
21619 (asin_test_data): Likewise.
21620 (atanh_test_data): Likewise.
21621 (fmod_test_data): Likewise.
21622 (log_test_data): Likewise.
21623 (log10_test_data): Likewise.
21624 (log2_test_data): Likewise.
21625 (pow_test_data): Likewise.
21626 (sqrt_test_data): Likewise.
21627 (y0_test_data): Likewise.
21628 (y1_test_data): Likewise.
21629 (yn_test_data): Likewise.
21631 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21634 * math/libm-test.inc (struct test_ff_i_data): New type.
21635 (RUN_TEST_LOOP_ff_i_tg): New macro.
21636 (isgreater_test_data): New variable.
21637 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21638 (isgreaterequal_test_data): New variable.
21639 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21640 (isless_test_data): New variable.
21641 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21642 (islessequal_test_data): New variable.
21643 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21644 (islessgreater_test_data): New variable.
21645 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21646 (isunordered_test_data): New variable.
21647 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21649 2013-05-14 David S. Miller <davem@davemloft.net>
21651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21653 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21655 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21657 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21659 (struct test_f_i_data): Change type of max_ulp to int.
21661 * math/libm-test.inc (test_ffI_f1_data): New type.
21662 (RUN_TEST_LOOP_ffI_f1): New macro.
21663 (remquo_test_data): New variable.
21664 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21666 * setjmp/tst-setjmp-fp.c: New file.
21667 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21668 (link-libm): New variable.
21669 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21671 * math/libm-test.inc (struct test_f_i_data): New type.
21672 (RUN_TEST_LOOP_f_i): New macro.
21673 (RUN_TEST_LOOP_f_i_tg): Likewise.
21674 (fpclassify_test_data): New variable.
21675 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21676 (ilogb_test_data): New variable.
21677 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21679 * math/libm-test.inc (scalbln_test): Correct function name in END
21682 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21683 (RUN_TEST_LOOP_fI_f1): New macro.
21684 (frexp_test_data): New variable.
21685 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21687 * math/libm-test.inc (struct test_fF_f1_data): New type.
21688 (RUN_TEST_LOOP_fF_f1): New macro.
21689 (modf_test_data): New variable.
21690 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21692 * math/libm-test.inc (struct test_f_f1_data): New type.
21693 (RUN_TEST_LOOP_f_f1): New macro.
21694 (gamma_test_data): New variable.
21695 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21696 (lgamma_test_data): New variable.
21697 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21699 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21701 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21702 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21703 (main): Comment "tls" pseudo-hwcap.
21705 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21707 * math/libm-test.inc (struct test_fl_f_data): New type.
21708 (RUN_TEST_LOOP_fl_f): New variable.
21709 (scalbln_test_data): New variable.
21710 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21712 * math/libm-test.inc (struct test_fi_f_data): New type.
21713 (RUN_TEST_LOOP_fi_f): New macro.
21714 (ldexp_test_data): New variable.
21715 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21716 (scalbn_test_data): New variable.
21717 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21719 * math/libm-test.inc (struct test_c_f_data): New type.
21720 (RUN_TEST_LOOP_c_f): New macro.
21721 (cabs_test_data): New variable.
21722 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21723 (carg_test_data): New variable.
21724 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21725 (cimag_test_data): New variable.
21726 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21727 (creal_test_data): New variable.
21728 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21730 * math/libm-test.inc (struct test_if_f_data): New type.
21731 (RUN_TEST_LOOP_if_f): New macro.
21732 (jn_test_data): New variable.
21733 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21734 (yn_test_data): New variable.
21735 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21737 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21739 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21741 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21742 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21744 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21746 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21747 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21748 (bench-deps): Add bench-timing.h.
21749 * benchtests-bench-skeleton.c: Include bench-timing.h.
21750 (main): Use TIMING_* macros instead of clock_gettime.
21751 * benchtests/bench-timing.h: New file.
21754 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21755 Renamed from _LIB_VERSION.
21756 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21758 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21760 * math/libm-test.inc (struct test_fff_f_data): New type.
21761 (RUN_TEST_LOOP_fff_f): New macro.
21762 (fma_test_data): New variable.
21763 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21764 (fma_towardzero_test_data): New variable.
21765 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21766 (fma_downward_test_data): New variable.
21767 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21768 (fma_upward_test_data): New variable.
21769 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21771 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21772 (struct test_c_c_data): New type.
21773 (RUN_TEST_LOOP_c_c): New macro.
21774 (cacos_test_data): New variable.
21775 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21776 (cacosh_test_data): New variable.
21777 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21778 (casin_test_data): New variable.
21779 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21780 (casinh_test_data): New variable.
21781 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21782 (catan_test_data): New variable.
21783 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21784 (catanh_test_data): New variable.
21785 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21786 (ccos_test_data): New variable.
21787 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21788 (ccosh_test_data): New variable.
21789 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21790 (cexp_test_data): New variable.
21791 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21792 (clog_test_data): New variable.
21793 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21794 (clog10_test_data): New variable.
21795 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21796 (conj_test_data): New variable.
21797 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21798 (cproj_test_data): New variable.
21799 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21800 (csin_test_data): New variable.
21801 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21802 (csinh_test_data): New variable.
21803 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21804 (csqrt_test_data): New variable.
21805 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21806 (ctan_test_data): New variable.
21807 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21808 (ctan_tonearest_test_data): New variable.
21809 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21810 (ctan_towardzero_test_data): New variable.
21811 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21812 (ctan_downward_test_data): New variable.
21813 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21814 (ctan_upward_test_data): New variable.
21815 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21816 (ctanh_test_data): New variable.
21817 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21818 (ctanh_tonearest_test_data): New variable.
21819 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21820 (ctanh_towardzero_test_data): New variable.
21821 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21822 (ctanh_downward_test_data): New variable.
21823 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21824 (ctanh_upward_test_data): New variable.
21825 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21826 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21829 * math/libm-test.inc (struct test_ff_f_data): New type.
21830 (struct test_ff_f_data_nexttoward): Likewise.
21831 (RUN_TEST_LOOP_2_f): New macro.
21832 (RUN_TEST_LOOP_ff_f): Likewise.
21833 (atan2_test_data): New variable.
21834 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21835 (copysign_test_data): New variable.
21836 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21837 (fdim_test_data): New variable.
21838 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21839 (fmax_test_data): New variable.
21840 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21841 (fmin_test_data): New variable.
21842 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21843 (fmod_test_data): New variable.
21844 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21845 (hypot_test_data): New variable.
21846 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21847 (nextafter_test_data): New variable.
21848 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21849 (nexttoward_test_data): New variable.
21850 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21851 (pow_test_data): New variable.
21852 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21853 (pow_tonearest_test_data): New variable.
21854 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21855 (pow_towardzero_test_data): New variable.
21856 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21857 (pow_downward_test_data): New variable.
21858 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21859 (pow_upward_test_data): New variable.
21860 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21861 (remainder_test_data): New variable.
21862 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21863 (scalb_test_data): New variable.
21864 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21865 * sysdeps/i386/fpu/libm-test-ulps: Update.
21867 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21869 * math/libm-test.inc (fma_test): Use max_value instead of local
21871 (nextafter_test): Likewise.
21873 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21874 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21875 (acos_downward_test_data): New variable.
21876 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21877 (acos_upward_test_data): New variable.
21878 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21879 (acosh_test_data): New variable.
21880 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21881 (asin_test_data): New variable.
21882 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21883 (asin_tonearest_test_data): New variable.
21884 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21885 (asin_towardzero_test_data): New variable.
21886 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21887 (asin_downward_test_data): New variable.
21888 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21889 (asin_upward_test_data): New variable.
21890 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21891 (asinh_test_data): New variable.
21892 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21893 (atan_test_data): New variable.
21894 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21895 (atanh_test_data): New variable.
21896 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21897 (cbrt_test_data): New variable.
21898 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21899 (ceil_test_data): New variable.
21900 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21901 (cos_test_data): New variable.
21902 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21903 (cos_tonearest_test_data): New variable.
21904 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21905 (cos_towardzero_test_data): New variable.
21906 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21907 (cos_downward_test_data): New variable.
21908 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21909 (cos_upward_test_data): New variable.
21910 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21911 (cosh_test_data): New variable.
21912 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21913 (cosh_tonearest_test_data): New variable.
21914 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21915 (cosh_towardzero_test_data): New variable.
21916 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21917 (cosh_downward_test_data): New variable.
21918 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21919 (cosh_upward_test_data): New variable.
21920 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21921 (erf_test_data): New variable.
21922 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21923 (erfc_test_data): New variable.
21924 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21925 (exp_test_data): New variable.
21926 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21927 (exp_tonearest_test_data): New variable.
21928 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21929 (exp_towardzero_test_data): New variable.
21930 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21931 (exp_downward_test_data): New variable.
21932 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21933 (exp_upward_test_data): New variable.
21934 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21935 (exp10_test_data): New variable.
21936 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21937 (exp2_test_data): New variable.
21938 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21939 (expm1_test_data): New variable.
21940 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21941 (fabs_test_data): New variable.
21942 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21943 (floor_test_data): New variable.
21944 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21945 (j0_test_data): New variable.
21946 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21947 (j1_test_data): New variable.
21948 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21949 (log_test_data): New variable.
21950 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21951 (log10_test_data): New variable.
21952 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21953 (log1p_test_data): New variable.
21954 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21955 (log2_test_data): New variable.
21956 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21957 (logb_test_data): New variable.
21958 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21959 (logb_downward_test_data): New variable.
21960 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21961 (nearbyint_test_data): New variable.
21962 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21963 (rint_test_data): New variable.
21964 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21965 (rint_tonearest_test_data): New variable.
21966 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21967 (rint_towardzero_test_data): New variable.
21968 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21969 (rint_downward_test_data): New variable.
21970 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21971 (rint_upward_test_data): New variable.
21972 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21973 (round_test_data): New variable.
21974 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21975 (sin_test_data): New variable.
21976 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21977 (sin_tonearest_test_data): New variable.
21978 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21979 (sin_towardzero_test_data): New variable.
21980 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21981 (sin_downward_test_data): New variable.
21982 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21983 (sin_upward_test_data): New variable.
21984 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21985 (sinh_test_data): New variable.
21986 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21987 (sinh_tonearest_test_data): New variable.
21988 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21989 (sinh_towardzero_test_data): New variable.
21990 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21991 (sinh_downward_test_data): New variable.
21992 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21993 (sinh_upward_test_data): New variable.
21994 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21995 (sqrt_test_data): New variable.
21996 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21997 (tan_test_data): New variable.
21998 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21999 (tan_tonearest_test_data): New variable.
22000 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22001 (tan_towardzero_test_data): New variable.
22002 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22003 (tan_downward_test_data): New variable.
22004 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22005 (tan_upward_test_data): New variable.
22006 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22007 (tanh_test_data): New variable.
22008 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22009 (tgamma_test_data): New variable.
22010 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22011 (trunc_test_data): New variable.
22012 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22013 (y0_test_data): New variable.
22014 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22015 (y1_test_data): New variable.
22016 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22017 (significand_test_data): New variable.
22018 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22020 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22023 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22025 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22027 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22029 2013-05-10 Andreas Jaeger <aj@suse.de>
22032 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22033 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22035 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22037 * math/gen-libm-test.pl (adjust_arg): New function.
22038 (special_functions): Handle generating output in both functions
22040 (parse_args): Likewise.
22041 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22042 $in_func argument to parse_args.
22043 * math/libm-test.inc (struct test_f_f_data): New type.
22044 (IF_ROUND_INIT_): New macro.
22045 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22046 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22047 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22048 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22049 (ROUND_RESTORE_): Likewise.
22050 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22051 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22052 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22053 (ROUND_RESTORE_FE_UPWARD): Likewise.
22054 (RUN_TEST_LOOP_f_f): New macro.
22055 (acos_test_data): New variable.
22056 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22057 (acos_tonearest_test_data): New variable.
22058 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22060 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22062 * benchtests/bench-skeleton.c (startup): Fix coding style.
22064 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22067 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22068 negative infinity argument.
22069 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22070 negative infinity argument.
22071 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22072 negative infinity argument.
22073 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22076 2013-05-10 Florian Weimer <fweimer@redhat.com>
22078 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22079 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22080 * iconv/iconv_prog.c (main): Likewise.
22081 * locale/programs/charmap-dir.c (charmap_readdir)
22082 (fopen_uncompressed): Likewise.
22083 * locale/programs/locfile.c (siblings_uncached)
22084 (write_locale_data): Use lstat64 instead of lstat.
22085 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22088 2013-05-10 Andreas Jaeger <aj@suse.de>
22091 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22093 Include <locale.h>.
22095 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22097 * elf/dl-close.c (_dl_close_worker): Add comments.
22099 2013-05-09 Joseph Myers <joseph@codesourcery.com>
22102 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22104 (__ieee754_rem_pio2l): Update comments.
22107 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22109 (__ieee754_rem_pio2l): Update comments.
22111 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22112 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22114 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22117 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22118 (M_PI_34_LOG10El): Likewise.
22119 (M_PI2_LOG10El): Likewise.
22120 (M_PI4_LOG10El): Likewise.
22121 (M_PI_LOG10El): Likewise.
22123 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22127 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22129 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22130 (MINUS_ZERO_INIT): Likewise.
22131 (PLUS_INFTY_INIT): Likewise.
22132 (MINUS_INFTY_INIT): Likewise.
22133 (QNAN_VALUE_INIT): Likewise.
22134 (MAX_VALUE_INIT): Likewise.
22135 (MIN_VALUE_INIT): Likewise.
22136 (MIN_SUBNORM_VALUE_INIT): Likewise.
22137 (plus_zero): Initialize with PLUS_ZERO_INIT.
22138 (minus_zero): Initialize with MINUS_ZERO_INIT.
22139 (plus_infty): Initialize with PLUS_INFTY_INIT.
22140 (minus_infty): Initialize with MINUS_INFTY_INIT.
22141 (qnan_value): Initialize with QNAN_VALUE_INIT.
22142 (max_value): Initialize with MAX_VALUE_INIT.
22143 (min_value): Initialize with MIN_VALUE_INIT.
22144 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22146 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22147 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22148 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22149 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22151 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22152 (RUN_TEST_2_f): Likewise.
22153 (RUN_TEST_ff_f): Likewise.
22154 (RUN_TEST_fi_f): Likewise.
22155 (RUN_TEST_fl_f): Likewise.
22156 (RUN_TEST_fff_f): Likewise.
22157 (RUN_TEST_c_f): Likewise.
22158 (RUN_TEST_f_f1): Likewise.
22159 (RUN_TEST_fF_f1): Likewise.
22160 (RUN_TEST_fI_f1): Likewise.
22161 (RUN_TEST_ffI_f1): Likewise.
22162 (RUN_TEST_c_c): Likewise.
22163 (RUN_TEST_cc_c): Likewise.
22164 (RUN_TEST_f_i): Likewise.
22165 (RUN_TEST_f_i_tg): Likewise.
22166 (RUN_TEST_ff_i_tg): Likewise.
22167 (RUN_TEST_f_b): Likewise.
22168 (RUN_TEST_f_b_tg): Likewise.
22169 (RUN_TEST_f_l): Likewise.
22170 (RUN_TEST_f_L): Likewise.
22171 (RUN_TEST_sincos): Likewise.
22172 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22173 whether to show exceptions. Do not include ");\n" in return
22175 (special_functions): Output call to RUN_TEST_sincos instead of
22176 check_float calls. Update calls to new_test.
22177 (parse_args): Output call to single RUN_TEST_* macro instead of
22178 check_* calls and other assignments. Update calls to new_test.
22184 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22185 input to result for tgamma overflow.
22186 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22187 (gamma_coeff): New variable.
22188 (NCOEFF): New macro.
22189 (gamma_positive): New function.
22190 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22191 underflow here. Use gamma_positive instead of exp (lgamma) for
22193 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22194 (gamma_coeff): New variable.
22195 (NCOEFF): New macro.
22196 (gammaf_positive): New function.
22197 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22198 underflow here. Use gamma_positive instead of exp (lgamma) for
22200 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22201 (gamma_coeff): New variable.
22202 (NCOEFF): New macro.
22203 (gammal_positive): New function.
22204 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22205 underflow here. Use gamma_positive instead of exp (lgamma) for
22207 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22208 (gamma_coeff): New variable.
22209 (NCOEFF): New macro.
22210 (gammal_positive): New function.
22211 (__ieee754_gammal_r): Handle positive infinity, overflow and
22212 underflow here. Handle NaN the same as positive infinity. Remove
22213 check x < 0xffffffff for negative integers. Use gamma_positive
22214 instead of exp (lgamma) for other arguments.
22215 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22216 (gamma_coeff): New variable.
22217 (NCOEFF): New macro.
22218 (gammal_positive): New function.
22219 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22220 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22224 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22225 * sysdeps/generic/math_private.h (__gamma_productf): New
22227 (__gamma_product): Likewise.
22228 (__gamma_productl): Likewise.
22229 * math/Makefile (libm-calls): Add gamma_product.
22230 * math/libm-test.inc (tgamma_test): Add more tests.
22231 * sysdeps/i386/fpu/libm-test-ulps: Update.
22232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22234 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22236 * benchtests/bench-skeleton.c (main): Preheat CPU.
22238 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22240 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22242 2013-05-07 Roland McGrath <roland@hack.frob.com>
22244 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22245 and _dl_skip_args_internal.
22247 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22249 * manual/message.texi (Message Translation): Talk about users.
22250 Message to key mapping impacts design.
22252 2013-05-06 Roland McGrath <roland@hack.frob.com>
22254 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22256 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22258 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22259 * sysdeps/wordsize-64/glob64.c: ... here.
22261 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22262 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22265 * debug/getlogin_r_chk.c: Moved to ...
22266 * login/getlogin_r_chk.c: ... here.
22267 * debug/Makefile (routines): Move getlogin_r_chk to ...
22268 * login/Makefile (routines): ... here.
22269 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22270 * login/Versions (libc: GLIBC_2.4): ... here.
22272 * io/poll.c (__poll): Renamed from poll.
22273 Add libc_hidden_def.
22274 (poll): Define as weak alias.
22276 * debug/ptsname_r_chk.c: Moved to ...
22277 * login/ptsname_r_chk.c: ... here.
22278 * debug/Makefile (routines): Move ptsname_r_chk to ...
22279 * login/Makefile (routines): ... here.
22280 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22281 * login/Versions (libc: GLIBC_2.4): ... here.
22283 * posix/getlogin.c: Moved to ...
22284 * login/getlogin.c: ... here.
22285 * posix/getlogin_r.c: Moved to ...
22286 * login/getlogin_r.c: ... here.
22287 * posix/getlogin_r.c: Moved to ...
22288 * login/getlogin_r.c: ... here.
22289 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22290 * login/Makefile (routines): ... here.
22291 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22292 * login/Versions (libc: GLIBC_2.0): ... here.
22294 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22295 (setrlimit): Define as weak alias.
22297 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22298 Call __ names for open, ftruncate, and close.
22299 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22300 (truncate): Define as weak alias.
22302 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22304 * math/gen-libm-test.pl (parse_args): Initialize x before each
22305 test of frexp, modf and remquo.
22307 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22308 test signgam value.
22310 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22314 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22316 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22318 2013-05-06 Roland McGrath <roland@hack.frob.com>
22320 * elf/dl-writev.h: New file.
22321 * elf/dl-misc.c: Include it.
22322 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22323 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22325 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22327 * math/libm-test.inc (noXFails): Remove variable.
22328 (noXPasses): Likewise.
22329 (BUILD_COMPLEX_INT): Remove macro.
22330 (print_screen): Remove xfail argument.
22331 (print_screen_max_error): Likewise.
22332 (update_stats): Likewise.
22333 (print_max_error): Likewise. Update calls to other affected
22335 (print_complex_max_error): Likewise.
22336 (test_single_exception): Update calls to print_screen.
22337 (test_single_errno): Likewise.
22338 (check_float_internal): Remove xfail argument. Update calls to
22339 other affected functions.
22340 (check_float): Likewise.
22341 (check_complex): Likewise.
22342 (check_int): Likewise.
22343 (check_long): Likewise.
22344 (check_bool): Likewise.
22345 (check_longlong): Likewise.
22346 (main): Don't print noXFails and noXPasses.
22347 * math/gen-libm-test.pl (top level): Don't mention expected
22348 failure handling in comment.
22349 (new_test): Don't handle expected failures.
22350 (parse_args): Don't mention expected failure handling in comment.
22351 (generate_testfile): Don't handle expected failures.
22352 (parse_ulps): Likewise.
22353 (print_ulps_file): Likewise.
22354 (get_failure): Remove function.
22355 (output_test): Don't handle expected failures.
22356 * make/README.libm-test: Don't mention expected failure handling.
22358 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22359 (minus_zero): Likewise.
22360 (plus_infty): Likewise.
22361 (minus_infty): Likewise.
22362 (qnan_value): Likewise.
22363 (max_value): Likewise.
22364 (min_value): Likewise.
22365 (min_subnorm_value): Likewise.
22366 (initialize): Do not initialize those variables dynamically.
22368 2013-05-03 Roland McGrath <roland@hack.frob.com>
22370 * io/open.c (__open_2): Moved to ...
22371 * io/open_2.c: ... this new file.
22372 * io/open64.c (__open64_2): Moved to ...
22373 * io/open64_2.c: ... this new file.
22374 * io/openat.c (__openat_2): Moved to ...
22375 * io/openat_2.c: ... this new file.
22376 * io/openat64.c (__openat64_2): Moved to ...
22377 * io/openat64_2.c: ... this new file.
22378 * io/Makefile (routines): Add them.
22379 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22380 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22381 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22382 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22383 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22384 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22385 (__openat64): Add hidden_ver.
22386 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22387 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22389 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22390 Separately conditionalize setting of GLRO(dl_sysinfo) so
22391 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22392 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22394 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22396 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22399 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22400 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22401 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22402 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22403 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22405 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22407 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22408 test signgam value.
22410 * math/libm-test.inc (hypot_test): Do not use
22411 IGNORE_ZERO_INF_SIGN.
22413 2013-05-03 Andreas Jaeger <aj@suse.de>
22415 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22417 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22418 (PF_MAX): Adjust for VSOCK change.
22420 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22424 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22427 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22428 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22429 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22431 2013-05-02 David S. Miller <davem@davemloft.net>
22433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22435 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22437 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22439 2013-05-01 Roland McGrath <roland@hack.frob.com>
22441 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22443 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22446 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22447 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22448 Use __attribute__ ((__gnu_inline__)).
22449 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22450 Don't use __attribute__ ((__gnu_inline__)).
22452 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22455 * math/s_catan.c (__catan): Handle small real or imaginary part of
22456 input specially to avoid spurious underflow.
22457 * math/s_catanf.c (__catanf): Likewise.
22458 * math/s_catanh.c (__catanh): Likewise.
22459 * math/s_catanhf.c (__catanhf): Likewise.
22460 * math/s_catanhl.c (__catanhl): Likewise.
22461 * math/s_catanl.c (__catanl): Likewise.
22462 * math/libm-test.inc (catan_test): Add more tests.
22463 (catanh_test): Likewise.
22464 * sysdeps/i386/fpu/libm-test-ulps: Update.
22465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22467 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22471 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22474 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22475 accurately for denominator in atan2.
22476 * math/s_catanf.c (__catanf): Likewise.
22477 * math/s_catanh.c (__catanh): Likewise.
22478 * math/s_catanhf.c (__catanhf): Likewise.
22479 * math/s_catanhl.c (__catanhl): Likewise.
22480 * math/s_catanl.c (__catanl): Likewise.
22481 * math/libm-test.inc (catan_test): Add more tests.
22482 (catanh_test): Likewise.
22483 * sysdeps/i386/fpu/libm-test-ulps: Update.
22484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22486 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22488 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22490 * benchtests/Makefile (bench): Remove slow benchmarks.
22491 * benchtests/atan-inputs: Add slow benchmark inputs.
22492 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22493 (BENCH_FUNC): Accept variant offset.
22495 * benchtests/bench-skeleton.c (main): Run benchmark for each
22497 * benchtests/cos-inputs: Add slow benchmark inputs.
22498 * benchtests/exp-inputs: Likewise.
22499 * benchtests/pow-inputs: Likewise.
22500 * benchtests/sin-inputs: Likewise.
22501 * benchtests/slowatan-inputs: Remove.
22502 * benchtests/slowatan.c: Remove.
22503 * benchtests/slowcos-inputs: Remove.
22504 * benchtests/slowcos.c: Remove.
22505 * benchtests/slowexp-inputs: Remove.
22506 * benchtests/slowexp.c: Remove.
22507 * benchtests/slowpow-inputs: Remove.
22508 * benchtests/slowpow.c: Remove.
22509 * benchtests/slowsin-inputs: Remove.
22510 * benchtests/slowsin.c: Remove.
22511 * benchtests/slowtan-inputs: Remove.
22512 * benchtests/slowtan.c: Remove.
22513 * benchtests/tan-inputs: Add slow benchmark inputs.
22514 * scripts/bench.pl: Parse comments and directives.
22516 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22518 ($(objpfx)bench-%.c): Remove *-ITER.
22519 * benchtests/bench-modf.c: Remove definition of ITER.
22520 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22521 (main): Loop for DURATION seconds instead of fixed number of
22523 * scripts/bench.pl: Don't expect iterations in parameters.
22525 2013-04-29 Roland McGrath <roland@hack.frob.com>
22527 * io/fchdir.c (__fchdir): Renamed from fchdir.
22528 (fchdir): Define as weak alias.
22530 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22532 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22533 (ERRNO_EDOM): Likewise.
22534 (ERRNO_ERANGE): Likewise.
22535 (noErrnoTests): New variable.
22536 (init_max_error): Set errno to 0.
22537 (test_single_errno): New function.
22538 (test_errno): Likewise.
22539 (check_float_internal): Call test_errno. Set errno to 0.
22540 (check_complex): Refer to errno tests in comment.
22541 (check_int): Call test_errno. Set errno to 0.
22542 (check_long): Likewise.
22543 (check_bool): Likewise.
22544 (check_longlong): Likewise.
22545 (cos_test): Use ERRNO_* flags for errno tests instead of
22547 (expm1_test): Likewise.
22548 (fmod_test): Likewise.
22549 (ilogb_test): Likewise.
22550 (lgamma_test): Likewise.
22551 (pow_test): Likewise.
22552 (remainder_test): Likewise.
22553 (sin_test): Likewise.
22554 (tan_test): Likewise.
22555 (yn_test): Likewise.
22556 (initialize): Set errno to 0.
22557 (main): Print number of errno tests.
22558 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22560 2013-04-29 Andreas Jaeger <aj@suse.de>
22563 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22567 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22568 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22572 * stdlib/random.c (__initstate): Return NULL if
22576 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22577 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22580 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22584 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22586 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22587 of individual tests.
22588 (casin_test): Likewise.
22589 (casinh_test): Likewise.
22591 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22594 * math/s_catan.c (__catan): Handle arguments with large real or
22595 imaginary part separately without squaring.
22596 * math/s_catanf.c (__catanf): Likewise.
22597 * math/s_catanh.c (__catanh): Likewise.
22598 * math/s_catanhf.c (__catanhf): Likewise.
22599 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22601 (__catanhl): Handle arguments with large real or imaginary part
22602 separately without squaring.
22603 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22605 (__catanl): Handle arguments with large real or imaginary part
22606 separately without squaring.
22607 * math/libm-test.inc (catan_test): Add more tests.
22608 (catanh_test): Likewise.
22609 * sysdeps/i386/fpu/libm-test-ulps: Update.
22610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22612 2013-04-27 Andreas Jaeger <aj@suse.de>
22615 * stdlib/stdlib.h: Update guards for qecvt.
22616 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22619 2013-04-27 Allan McRae <allan@archlinux.org>
22621 * sysdeps/i386/fpu/libm-test-ulps: Update.
22623 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22626 * math/s_catan.c: Include <float.h>.
22627 (__catan): Ensure underflow exception occurs for underflowed
22629 * math/s_catanf.c: Include <float.h>.
22630 (__catanf): Ensure underflow exception occurs for underflowed
22632 * math/s_catanh.c: Include <float.h>.
22633 (__catanh): Ensure underflow exception occurs for underflowed
22635 * math/s_catanhf.c: Include <float.h>.
22636 (__catanhf): Ensure underflow exception occurs for underflowed
22638 * math/s_catanhl.c: Include <float.h>.
22639 (__catanhl): Ensure underflow exception occurs for underflowed
22641 * math/s_catanl.c: Include <float.h>.
22642 (__catanl): Ensure underflow exception occurs for underflowed
22644 * math/libm-test.inc (catan_test): Add more tests.
22645 (catanh_test): Likewise.
22648 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22649 underflowed result.
22650 * math/s_ccoshf.c (__ccoshf): Likewise.
22651 * math/s_ccoshl.c (__ccoshl): Likewise.
22652 * math/s_csin.c (__csin): Likewise.
22653 * math/s_csinf.c (__csinf): Likewise.
22654 * math/s_csinh.c (__csinh): Likewise.
22655 * math/s_csinhf.c (__csinhf): Likewise.
22656 * math/s_csinhl.c (__csinhl): Likewise.
22657 * math/s_csinl.c (__csinl): Likewise.
22658 * math/libm-test.inc (ccos_test): Add more tests.
22659 (ccosh_test): Likewise.
22660 (csin_test): Likewise.
22661 (csinh_test): Likewise.
22663 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22665 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22666 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22667 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22668 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22669 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22670 powerpc/power5+/fpu folders.
22671 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22674 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22678 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22680 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22681 additions to variable.
22682 [$(config-machine) = x86_64] (modules-names): Likewise.
22683 ($(objpfx)tst-audit3): Remove dependency.
22684 ($(objpfx)tst-audit3.out): Likewise.
22685 ($(objpfx)tst-audit4): Likewise.
22686 ($(objpfx)tst-audit4.out): Likewise.
22687 ($(objpfx)tst-audit5): Likewise.
22688 ($(objpfx)tst-audit5.out): Likewise.
22689 ($(objpfx)tst-audit6): Likewise.
22690 ($(objpfx)tst-audit6.out): Likewise.
22691 ($(objpfx)tst-audit7): Likewise.
22692 ($(objpfx)tst-audit7.out): Likewise.
22693 (tst-audit3-ENV): Remove variable.
22694 (tst-audit4-ENV): Likewise.
22695 (tst-audit5-ENV): Likewise.
22696 (tst-audit6-ENV): Likewise.
22697 (tst-audit7-ENV): Likewise.
22698 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22699 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22700 addition to variable.
22701 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22702 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22703 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22704 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22705 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22706 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22707 tst-audit3, tst-audit4 and tst-audit5.
22708 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22709 tst-audit6 and tst-audit7.
22710 [$(subdir) = elf] (modules-names): Add audit modules for those
22712 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22713 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22714 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22715 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22716 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22717 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22718 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22719 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22720 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22721 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22722 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22723 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22724 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22725 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22726 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22727 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22729 [$(subdir) = elf && $(config-cflags-avx) = yes]
22730 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22731 [$(subdir) = elf && $(config-cflags-avx) = yes]
22732 (CFLAGS-tst-auditmod4a.c): Likewise.
22733 [$(subdir) = elf && $(config-cflags-avx) = yes]
22734 (CFLAGS-tst-auditmod4b.c): Likewise.
22735 [$(subdir) = elf && $(config-cflags-avx) = yes]
22736 (CFLAGS-tst-auditmod6b.c): Likewise.
22737 [$(subdir) = elf && $(config-cflags-avx) = yes]
22738 (CFLAGS-tst-auditmod6c.c): Likewise.
22739 [$(subdir) = elf && $(config-cflags-avx) = yes]
22740 (CFLAGS-tst-auditmod7b.c): Likewise.
22741 * elf/tst-audit3.c: Move to ...
22742 * sysdeps/x86_64/tst-audit3.c: ... here.
22743 * elf/tst-audit4.c: Move to ...
22744 * sysdeps/x86_64/tst-audit4.c: ... here.
22745 * elf/tst-audit5.c: Move to ...
22746 * sysdeps/x86_64/tst-audit5.c: ... here.
22747 * elf/tst-audit6.c: Move to ...
22748 * sysdeps/x86_64/tst-audit6.c: ... here.
22749 * elf/tst-audit7.c: Move to ...
22750 * sysdeps/x86_64/tst-audit7.c: ... here.
22751 * elf/tst-auditmod3a.c: Move to ...
22752 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22753 * elf/tst-auditmod3b.c: Move to ...
22754 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22755 * elf/tst-auditmod4a.c: Move to ...
22756 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22757 * elf/tst-auditmod4b.c: Move to ...
22758 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22759 * elf/tst-auditmod5a.c: Move to ...
22760 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22761 * elf/tst-auditmod5b.c: Move to ...
22762 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22763 * elf/tst-auditmod6a.c: Move to ...
22764 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22765 * elf/tst-auditmod6b.c: Move to ...
22766 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22767 * elf/tst-auditmod6c.c: Move to ...
22768 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22769 * elf/tst-auditmod7a.c: Move to ...
22770 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22771 * elf/tst-auditmod7b.c: Move to ...
22772 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22774 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22777 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22778 define unconditionally.
22779 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22780 define unconditionally.
22781 (INT8_C, INT16_C, etc.): Likewise.
22783 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22785 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22786 __ehdr_start with hidden visibility.
22788 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22790 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22792 * math/libm-test.inc (cos_test): Use accurate hex constants.
22793 (sincost_test): Likewise.
22795 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22797 * math/libm-test.inc (catan_test): Add more tests.
22798 (catanh_test): Likewise.
22800 * math/s_catanf.c (__catanf): Use suffixed floating-point
22802 * math/s_catanhf.c (__catanhf): Likewise.
22803 * math/s_catanhl.c (__catanhl): Likewise.
22804 * math/s_catanl.c (__catanl): Likewise.
22807 * math/s_catan.c (__catan): Calculate imaginary part of result
22808 with log1p not log unless computing log of number close to 0.
22809 * math/s_catanf.c (__catanf): Likewise.
22810 * math/s_catanl.c (__catanl): Likewise.
22811 * math/s_catanh.c (__catanh): Calculate real part of result with
22812 log1p not log unless computing log of number close to 0.
22813 * math/s_catanhf.c (__catanhf): Likewise.
22814 * math/s_catanhl.c (__catanhl): Likewise.
22815 * math/libm-test.inc (catan_test): Add more tests.
22816 (catanh_test): Likewise.
22817 * sysdeps/i386/fpu/libm-test-ulps: Update.
22818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22820 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22822 * benchtests/Makefile: Mention files in which fast and slow
22823 paths of math functions are implemented.
22825 2013-04-23 Roland McGrath <roland@hack.frob.com>
22827 * sysdeps/posix/timespec_get.c: New file.
22829 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22831 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22833 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22835 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22836 powerpc/power5/fpu folders.
22837 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22838 * benchtests/Makefile: Add modf testcase.
22839 * benchtests/bench-modf.c: New file: Benchmark test for mo
22841 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22844 * time/Makefile (tests): Add tst-strptime-whitespace.
22845 * time/strptime_l.c (get_number): Use ISSPACE.
22846 (__strptime_internal): Likewise.
22847 * time/tst-strptime-whitespace.c: New test case.
22849 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22851 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22853 (_nss_files_init): Set it here.
22855 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22857 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22858 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22861 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22863 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22865 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22867 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22870 2013-04-21 David S. Miller <davem@davemloft.net>
22872 * po/ru.po: Update Russion translation from translation project.
22874 2013-04-17 Adam Conrad <adconrad@0c3.net>
22876 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22879 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22881 * configure.in: Remove i386 configure warning. Remove i386 case.
22882 * configure: Regenerate.
22883 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22884 Add example to error message.
22885 * sysdeps/i386/configure: Regenerate.
22887 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22889 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22891 * benchtests/cos-inputs: New file.
22892 * benchtests/slowcos-inputs: New file.
22893 * benchtests/slowcos.c: New file.
22894 * benchtests/slowtan-inputs: New file.
22895 * benchtests/slowtan.c: New file.
22896 * benchtests/tan-inputs: New file.
22898 2013-04-16 Roland McGrath <roland@hack.frob.com>
22900 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22903 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22905 * benchtests/Makefile: Include cppflags-iterator.mk to add
22906 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22908 * Makefile.in (bench-clean): New target.
22909 * benchtests/Makefile (bench-clean): Likewise.
22911 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22913 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22915 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22917 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22919 2013-04-15 Andreas Schwab <schwab@suse.de>
22921 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22923 * nscd/pwdcache.c (cache_addpw): Likewise.
22924 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22927 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22929 * benchtests/Makefile (bench): Write all output to
22930 bench-out.tmp together.
22932 2013-04-15 Andreas Schwab <schwab@suse.de>
22934 * nscd/nscd.c (main): Don't fork again after closing files.
22936 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22938 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22940 * benchtests/Rules (bench-deps): Collect dependencies into a
22941 single variable. Add Makefile to dependencies.
22942 ($(objpfx)bench-%.c): Depend on bench-deps.
22944 2013-04-12 Roland McGrath <roland@hack.frob.com>
22945 Xavier Roche <roche+kml2@exalead.com>
22948 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22949 just that it's a file descriptor.
22950 * manual/llio.texi (Synchronizing AIO Operations): Update description
22951 for EBADF error from aio_fsync.
22953 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22955 * Rules (bench): Move target definition...
22956 * benchtests/Makefile: ... here.
22958 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22960 * math/libm-test.inc (cos_test): Fix PI/2 test.
22961 (sincos_test): Likewise.
22962 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22963 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22965 2013-04-11 Andreas Schwab <schwab@suse.de>
22968 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22969 accept exponent character only when digits were seen.
22970 * stdio-common/Makefile (tests): Add bug26.
22971 * stdio-common/bug26.c: New file.
22974 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22977 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22979 * Makeconfig (rtld-prefix): Define built linker prefix.
22980 * Rules (run-bench): Use it.
22981 * math/Makefile (run-regen-ulps): Likewise.
22983 * Rules (bench): Remove eval.
22985 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22986 Roland McGrath <roland@hack.frob.com>
22987 Ondrej Bilka <neleai@seznam.cz>
22990 * time/getdate.c: Include ctype.h and alloca.h.
22991 (__getdate_r): Trim leading and trailing spaces of input.
22992 * time/tst-getdate.c (tests): Add tests with leading and
22995 2013-04-08 Roland McGrath <roland@hack.frob.com>
22998 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22999 when computing value.
23001 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23003 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23004 Use testrun.sh to run libm tests.
23007 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23009 2013-04-06 Marko Myllynen <myllynen@redhat.com>
23012 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23014 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23016 * Makefile.in (regen-ulps): New target.
23017 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23018 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23019 [ifneq (no,$(PERL)] (regen-ulps): New target.
23020 [ifeq (no,$(PERL)] (regen-ulps): New target.
23021 * math/libm-test.inc (ulps_file_name): Define.
23022 (output_dir): New variable.
23023 (options): Add "output-dir" option.
23024 (parse_opt): Handle 'o' case.
23025 (main): If output_dir is non-NULL use it as a prefix
23027 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23029 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23031 [BZ #10060, #10062]
23032 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23033 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23034 fail configure if __sync_val_compare_and_swap is not inlined.
23035 * sysdeps/i386/configure: Regenerate.
23036 * configure.in: Build for i686 when configured for i386.
23037 * configure: Regenerate.
23038 * README: Remove i386 reference.
23040 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23042 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23043 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23045 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23047 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23048 (lmsnanval): New variables.
23049 (F): Add conversion tests.
23050 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23051 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23053 * stdio-common/tstdiomisc.c (F): Properly collect individual
23056 [BZ #14686, #15336]
23057 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23058 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23059 Instead, use input NaN values or generate a qNaN by arithmetic
23060 operation. Also fix bugs to comply with the standard.
23061 * math/libm-test.inc (remainder_test): Add more tests.
23063 [BZ #15335, #15342]
23064 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23066 input NaN values or generate a qNaN by arithmetic operation.
23068 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23071 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23074 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23077 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23078 underflowed result.
23079 * math/s_cexpf.c (__cexpf): Likewise.
23080 * math/s_cexpl.c (__cexpl): Likewise.
23081 * math/libm-test.inc (cexp_test): Add more tests.
23083 2013-04-03 Andreas Schwab <schwab@suse.de>
23086 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23087 order arrays from heap if bigger than alloca cutoff.
23089 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23091 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23092 (SNAN_TESTS_double): Refer to GCC PR56831.
23093 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23096 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23098 * Rules (bench): Move bench.out after the run is complete.
23100 * Rules (bench): Echo currently running benchmark.
23102 * benchtests/Makefile (bench): Add atan and slowatan.
23103 * benchtests/atan-inputs: New file.
23104 * benchtests/slowatan-inputs: New file.
23105 * benchtests/slowatan.c: New file.
23107 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23112 * sysdeps/unix/sysv/linux/kernel-features.h
23113 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23114 __ASSUME_XFS_RESTRICTED_CHOWN.
23115 * sysdeps/unix/sysv/linux/pathconf.c
23116 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23117 Save and restore errno.
23119 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23122 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23123 arguments using __kernel_casinh.
23124 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23125 arguments using __kernel_casinhf.
23126 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23127 arguments using __kernel_casinhl.
23128 * math/libm-test.inc (cacosh_test): Add more tests.
23129 * sysdeps/i386/fpu/libm-test-ulps: Update.
23130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23132 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23134 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23137 * bench/Makefile (bench): Add sin and slowsin.
23138 * benchtests/sin-inputs: New file.
23139 * benchtests/slowsin-inputs: New file.
23140 * benchtests/slowsin.c: New file.
23142 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23143 (bench): Add slowexp and slowpow.
23144 (exp-ITER): Increase iterations.
23145 (pow-ITER): Likewise.
23146 * benchtests/exp-inputs: Change input.
23147 * benchtests/pow-inputs: Likewise.
23148 * benchtests/slowexp-inputs: New file.
23149 * benchtests/slowexp.c: New file.
23150 * benchtests/slowpow-inputs: New file.
23151 * benchtests/slowpow.c: New file.
23153 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23155 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23157 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23158 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23159 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23160 * benchtests/Makefile: Add rint benchtest.
23161 * benchtests/rint-inputs: Input for rint benchtest.
23163 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23165 * Versions.def (libm): Add GLIBC_2.18.
23166 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23167 hidden libm prototypes.
23168 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23169 * math/Makefile (libm-calls): Add s_issignaling.
23170 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23171 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23172 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23174 * math/math.h [__USE_GNU] (issignaling): New macro.
23175 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23176 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23178 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23179 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23180 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23181 * manual/arith.texi (issignaling): New section.
23182 * manual/libm-err-tab.pl (@all_functions): Update comment.
23183 * math/gen-libm-test.pl (parse_args): Apply special handling for
23185 * math/libm-test.inc (print_float, issignaling_test): New
23187 (check_float_internal): Add issignaling checks.
23188 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23189 default definition.
23190 * sysdeps/powerpc/math-tests.h: New file.
23191 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23193 * math/test-snan.c (TEST_FUNC): Likewise.
23195 2013-03-30 David S. Miller <davem@davemloft.net>
23197 * po/de.po: Update from translation team.
23199 2013-03-30 Joseph Myers <joseph@codesourcery.com>
23202 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23203 imaginary part less than 1.0 and real part less than 0.5
23205 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23206 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23207 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23208 (cacos_test): Add more tests.
23209 (casin_test): Likewise.
23210 (casinh_test): Likewise.
23211 * sysdeps/i386/fpu/libm-test-ulps: Update.
23212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23214 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23216 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23217 ONE with its value.
23219 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23220 (__pow_mp): Replace ONE and MONE with their values.
23221 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23223 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23224 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23225 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23226 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23228 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23230 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23231 (__pow_mp): Replace ZERO and MZERO with their values.
23232 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23234 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23236 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23237 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23240 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23242 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23244 2013-03-28 Roland McGrath <roland@hack.frob.com>
23246 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23247 Declare with __attribute__ ((weak)).
23248 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23249 Call __call_tls_dtors only if it's not NULL.
23251 2013-03-28 Roland McGrath <roland@hack.frob.com>
23253 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23254 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23255 magic __ehdr_start linker symbol if it's defined.
23256 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23257 them up here if it was already done.
23259 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23260 (_dl_aux_init): Use const in cast when setting it.
23261 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23262 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23263 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23265 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23267 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23268 * csu/libc-tls.c: Nor here.
23269 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23271 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23272 (__libc_message): Never call vsyslog.
23274 2013-03-28 Alan Modra <amodra@gmail.com>
23276 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23278 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23281 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23284 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23288 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23291 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23292 Don't add gid passed as argument.
23294 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23296 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23299 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23300 imaginary part between 1.0 and 1.5 and real part less than 0.5
23302 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23303 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23304 * math/libm-test.inc (cacos_test): Add more tests.
23305 (casin_test): Likewise.
23306 (casinh_test): Likewise.
23307 * sysdeps/i386/fpu/libm-test-ulps: Update.
23308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23310 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23312 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23315 (denorm): Likewise.
23316 (__dbl_mp): Likewise.
23317 (add_magnitudes): Likewise.
23318 (sub_magnitudes): Likewise.
23326 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23328 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23329 (__dubcos): Likewise.
23330 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23331 (__ieee754_acos): Likewise.
23332 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23333 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23334 (__exp1): Likewise.
23335 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23338 (my_log2): Likewise.
23339 (checkint): Likewise.
23340 * sysdeps/ieee754/dbl-64/e_remainder.c
23341 (__ieee754_remainder): Likewise.
23342 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23344 (bsloww): Likewise.
23345 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23347 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23348 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23349 MANTISSA_STORE_T to store computations on mantissa. Use
23350 macros for rounding and division.
23351 (denorm): Likewise.
23352 (__dbl_mp): Likewise.
23353 (add_magnitudes): Likewise.
23354 (sub_magnitudes): Likewise.
23357 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23358 powers of two in terms of TWOPOW macro.
23359 (mp_no): Make type of mantissa as MANTISSA_T.
23360 [!RADIXI]: Define RADIXI.
23361 [!TWO52]: Define TWO52.
23362 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23364 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23366 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23367 llroundl symbol when building for PPC32.
23369 2013-03-24 Mark H Weaver <mhw@netris.org>
23371 * manual/arith.texi (Normalization Functions): Fix prototypes for
23372 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23374 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23378 high value to check if expl overflow.
23379 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23380 to check for underflow and overflow.
23381 * math/libm-test.inc: Add exp test.
23383 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23386 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23389 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23391 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23394 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23396 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23397 wrap blocks consisting of several statements.
23399 * sysdeps/generic/math-tests.h: New file.
23400 * sysdeps/i386/fpu/math-tests.h: Likewise.
23401 * math/test-snan.c: Include it.
23402 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23404 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23407 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23408 (__ieee754_j0l): Do not improve calculations using cos of twice
23409 input for inputs above LDBL_MAX / 2.0L.
23410 (__ieee754_y0l): Likewise.
23411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23412 (__ieee754_j1l): Do not improve calculations using cos of twice
23413 input for inputs above LDBL_MAX / 2.0L.
23414 (__ieee754_y1l): Likewise.
23415 * math/libm-test.inc (j0_test): Add another test.
23416 (j1_test): Likewise.
23417 (y0_test): Likewise.
23418 (y1_test): Likewise.
23419 * sysdeps/i386/fpu/libm-test-ulps: Update.
23421 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23423 * Rules ($(objpfx)bench-%.c): Include code from a C source
23426 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23429 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23430 imaginary part 1.0 and real part less than 0.5 specially.
23431 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23432 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23433 * math/libm-test.inc (cacos_test): Add more tests.
23434 (casin_test): Likewise.
23435 (casinh_test): Likewise.
23436 * sysdeps/i386/fpu/libm-test-ulps: Update.
23437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23439 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23441 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23442 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23444 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23446 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23447 * config.make.in (config-cflags-sse4): Remove variable.
23448 (config-cflags-avx): Likewise.
23449 (config-cflags-sse2avx): Likewise.
23450 (config-cflags-novzeroupper): Likewise.
23451 (config-asflags-i686): Likewise.
23452 (have-mfma4): Likewise.
23453 (have-as-vis3): Likewise.
23455 * configure.in (MIG): Do not AC_SUBST.
23456 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23457 (libc_cv_cc_sse4): Do not AC_SUBST.
23458 (libc_cv_cc_avx): Likewise.
23459 (libc_cv_cc_sse2avx): Likewise.
23460 (libc_cv_cc_novzeroupper): Likewise.
23461 (libc_cv_cc_fma4): Likewise.
23462 (libc_cv_as_i686): Likewise.
23463 (libc_cv_sparc_as_vis3): Likewise.
23464 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23466 (config-asflags-i686): Likewise.
23467 (config-cflags-avx): Likewise.
23468 (config-cflags-sse2avx): Likewise.
23469 (have-mfma4): Likewise.
23470 (config-cflags-novzeroupper): Likewise.
23471 * sysdeps/mach/configure.in (MIG): Likewise.
23472 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23473 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23475 (config-cflags-avx): Likewise.
23476 (config-cflags-sse2avx): Likewise.
23477 (have-mfma4): Likewise.
23478 (config-cflags-novzeroupper): Likewise.
23479 * configure: Regenerated.
23480 * sysdeps/i386/configure: Likewise.
23481 * sysdeps/mach/configure: Likewise.
23482 * sysdeps/sparc/configure: Likewise.
23483 * sysdeps/x86_64/configure: Likewise.
23485 2013-03-20 Roland McGrath <roland@hack.frob.com>
23488 * locale/programs/localedef.c (options): Put N_ translation marker
23489 on argument names, not just descriptions.
23491 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23493 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23495 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23498 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23500 2013-03-19 Roland McGrath <roland@hack.frob.com>
23502 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23503 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23504 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23505 [!BEFORE_ABORT] (before_abort): New function.
23506 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23507 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23508 (writev_for_fatal): New function.
23509 (WRITEV_FOR_FATAL): New macro; call that.
23510 (backtrace_and_maps): New function.
23511 (BEFORE_ABORT): New macro; call that.
23512 (struct str_list): Type removed.
23513 (__libc_message, __libc_fatal): Functions removed.
23514 Include <sysdeps/posix/libc_fatal.c> instead.
23516 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23518 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23520 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23523 2013-03-19 Andreas Schwab <schwab@suse.de>
23525 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23526 * sysdeps/gnu/configure: Regenerate.
23528 * configure.in: Substitute libc_cv_rtlddir.
23529 * configure: Regenerate.
23530 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23531 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23532 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23533 * elf/Makefile (install-others, CFLAGS-interp.c)
23534 (ldso_install, common-ldd-rewrite): Likewise.
23535 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23536 $(inst_slibdir)/$(rtld-installed-name).
23537 * scripts/rellns-sh: Add -p option.
23538 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23541 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23543 * manual/nptl.texi: Renamed to ...
23544 * manual/threads.texi: ... this.
23545 * manual/Makefile (chapters): Update.
23547 2013-03-18 Roland McGrath <roland@hack.frob.com>
23550 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23551 on argument names, not just descriptions.
23552 * malloc/memusagestat.c (options): Likewise.
23553 * nss/getent.c (options): Likewise.
23555 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23558 * iconv/iconv_prog.c (options): Put N_ translation marker
23559 on argument names, not just descriptions.
23560 * iconv/iconvconfig.c (options): Likewise.
23562 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23564 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23565 implementation which is faster on all x86_64 architectures.
23566 Tested on AMD, Intel Nehalem, SNB, IVB.
23567 * sysdeps/x86_64/strnlen.S: Likewise.
23569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23570 Remove all multiarch strlen and strnlen versions.
23571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23572 Remove strlen and strnlen related parts.
23574 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23575 Inline strlen part.
23576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23578 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23579 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23580 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23581 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23582 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23583 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23585 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23587 * manual/memory.texi (Malloc Tunable Parameters):
23588 Sort parameters alphabetically. Add comments for missing entries.
23590 2013-03-17 David S. Miller <davem@davemloft.net>
23592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23594 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23597 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23598 for arguments at most half maximum finite value.
23599 * math/libm-test.inc (j0_test): Add more tests.
23600 (j1_test): Likewise.
23601 (y0_test): Likewise.
23602 (y1_test): Likewise.
23603 * sysdeps/i386/fpu/libm-test-ulps: Update.
23604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23607 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23608 1 / x and functions P and Q for arguments above 0x1p256L.
23609 (__ieee754_y0l): Likewise.
23610 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23611 (__ieee754_y1l): Likewise.
23612 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23613 (j1_test): Likewise.
23614 (y0_test): Likewise.
23615 (y1_test): Likewise.
23617 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23619 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23622 2013-03-15 Roland McGrath <roland@hack.frob.com>
23624 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23625 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23626 zero since it's initialized to EXEC_PAGESIZE.
23628 * sysdeps/unix/sysv/linux/ldsodefs.h
23629 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23630 * sysdeps/generic/ldsodefs.h: ... here.
23632 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23634 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23636 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23638 * math/test-snan.c: Renamed from
23639 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23640 * math/Makefile (tests): Add test-snan.
23641 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23644 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23645 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23647 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23648 __builtin_nan family of functions.
23649 * math/libm-test.inc (initialize): Initialize qnan_value with
23650 __builtin_nan family of functions.
23651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23653 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23655 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23656 storage class. Initialize qNaN_var and sNaN_var with
23657 __builtin_nan and __builtin_nans families of functions,
23660 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23661 (sqrt_test): Remove duplicate test with qNaN input.
23662 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23663 (round_test, signbit_test, significand_test): Note missing +/-Inf
23664 as well as qNaN tests.
23666 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23667 qNaN_var. Fix a few strings, too.
23668 * math/libm-test.inc (nan_value): Rename to qnan_value.
23669 * math/gen-libm-test.pl (%beautify): Adjust to that.
23670 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23671 * math/test-misc.c (main): Likewise.
23672 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23673 to __qnan_bytes, and __qnan_union, respectively.
23674 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23676 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23677 and lqnanval, respectively.
23678 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23679 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23680 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23681 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23683 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23684 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23687 * math/test-misc.c (main): Fix copy'n'pastos.
23688 * misc/tst-efgcvt.c (special): Likewise.
23690 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23691 Remove declarations.
23693 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23695 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23696 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23697 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23698 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23700 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23702 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23703 macro to return vdso values correctly in IFUNC implementations.
23704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23705 Optimization by using IFUNC.
23707 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23708 Richard Henderson <rth@redhat.com>
23709 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23711 * Makefile.in (bench): New target.
23712 * NEWS: Mention the benchmark framework.
23713 * Rules (bench): Likewise.
23714 (binaries-bench): Generate binaries for functions to
23716 * benchtests/Makefile: New makefile for benchmark tests.
23717 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23719 * benchtests/exp-inputs: New input file for EXP function.
23720 * benchtests/pow-inputs: New input file for POW function.
23721 * scripts/bench.pl: New script to generate source files for
23722 benchmark programs.
23724 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23726 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23727 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23728 computations on mantissa. Use macros for rounding and
23730 (denorm): Likewise.
23731 (__dbl_mp): Likewise.
23732 (add_magnitudes): Likewise.
23733 (sub_magnitudes): Likewise.
23736 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23737 powers of two in terms of TWOPOW macro.
23738 (mp_no): Make type of mantissa as MANTISSA_T.
23739 [!RADIXI]: Define RADIXI.
23740 [!TWO52]: Define TWO52.
23741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23743 * manual/nptl.texi (cindex): Modify threads to pthreads.
23745 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23747 * sysdeps/x86_64/preconfigure: Regenerated.
23749 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23752 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23754 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23755 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23757 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23758 * math/libm-test.inc (j0_test): Do not allow one spurious
23759 underflow exception.
23760 (y1_test): Likewise.
23762 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23764 * manual/Makefile (chapters): Add nptl.
23765 * manual/debug.texi (Debugging Support): Add link to Threads
23767 * manual/nptl.texi: New file.
23769 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23771 2013-03-14 Petr Baudis <pasky@ucw.cz>
23773 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23774 for non-NULL pointer before the memory validity test. Pointed
23775 out by Holger Brunck <holger.brunck@keymile.com>.
23777 2013-03-13 Andreas Schwab <schwab@suse.de>
23779 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23782 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23784 * timezone/zic.c: Update from tzcode 2013b.
23786 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23788 * manual/install.texi (Configuring and compiling):
23789 Mention i686 and i586.
23790 * INSTALL: Regenerate.
23792 2013-03-12 Roland McGrath <roland@hack.frob.com>
23794 * sysdeps/init_array/elf-init.c: New file.
23796 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23797 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23799 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23800 __gmon_start__ as global, but as static with a .preinit_array pointer.
23801 * sysdeps/init_array/gmon-start.c: New file. Use that.
23802 * sysdeps/init_array/crti.S: New file, empty except for comments.
23803 * sysdeps/init_array/crtn.S: Likewise.
23805 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23807 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23810 Remove Prefer_SSE_for_memop.
23811 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23812 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23813 HAS_PREFER_SSE_FOR_MEMOP.
23814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23817 Remove bzero, memset ifunc support.
23818 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23819 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23820 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23821 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23823 2013-03-11 Andreas Schwab <schwab@suse.de>
23826 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23829 (GLIBC_2.16): Remove pthread_atfork.
23831 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23833 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23834 (ptestcases.h): Likewise.
23836 2013-03-08 Roland McGrath <roland@hack.frob.com>
23838 * Makeconfig ($(common-objpfx)config.status): Depend on
23839 sysdeps/*/preconfigure{,.in} too.
23841 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23843 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23844 (__free_hook): Use void * instead of __malloc_ptr_t.
23845 (__malloc_hook): Likewise.
23846 (__realloc_hook): Likewise.
23847 (__memalign_hook): Likewise.
23848 (__after_morecore_hook): Likewise.
23849 * malloc/arena.c (save_malloc_hook): Likewise.
23850 (save_free_hook): Likewise.
23851 * malloc/hooks.c (malloc_hook_ini): Likewise.
23852 (realloc_hook_ini): Likewise.
23853 (memalign_hook_ini): Likewise.
23854 * malloc/malloc.c (malloc_hook_ini): Likewise.
23855 (realloc_hook_ini): Likewise.
23856 (memalign_hook_ini): Likewise.
23857 (__free_hook): Likewise.
23858 (__malloc_hook): Likewise.
23859 (__realloc_hook): Likewise.
23860 (__memalign_hook): Likewise.
23861 (__libc_malloc): Likewise.
23862 (__libc_free): Likewise.
23863 (__libc_realloc): Likewise.
23864 (__libc_memalign): Likewise.
23865 (__libc_valloc): Likewise.
23866 (__libc_pvalloc): Likewise.
23867 (__libc_calloc): Likewise.
23868 (__posix_memalign): Likewise.
23869 * malloc/morecore.c (__sbrk): Likewise.
23870 (__default_morecore): Likewise.
23872 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23874 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23875 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23876 __malloc_ptrdiff_t.
23878 * malloc/malloc.h (__malloc_size_t): Remove macro.
23879 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23881 (old_memalign_hook): Likewise.
23882 (old_realloc_hook): Likewise.
23883 (struct hdr): Likewise.
23885 (mallochook): Likewise.
23886 (memalignhook): Likewise.
23887 (reallochook): Likewise.
23888 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23889 (tr_old_realloc_hook): Likewise.
23890 (tr_old_memalign_hook): Likewise.
23891 (tr_mallochook): Likewise.
23892 (tr_reallochook): Likewise.
23893 (tr_memalignhook): Likewise.
23895 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23897 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23898 default_ldbl_pack and using as default implementation.
23899 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23901 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23902 redundant definition.
23903 (ldbl_insert_mantissa): Likewise.
23904 (ldbl_canonicalize): Likewise.
23905 (ldbl_nearbyint): Likewise.
23906 (ldbl_pack): Rename to ldbl_pack_ppc.
23907 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23908 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23909 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23911 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23914 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23915 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23916 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23918 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23919 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23920 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23922 2013-03-07 Andreas Jaeger <aj@suse.de>
23924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23927 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23929 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23930 Include mpa.h and declare __MPEXP.
23931 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23932 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23933 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23934 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23935 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23936 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23937 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23939 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23940 (__slowpow): Use long double EXPL and LOGL functions to
23942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23943 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23944 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23945 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23946 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23947 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23950 intermediate variable to calculate exponent.
23952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23956 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23957 [!NO__SQR]: Define __sqr.
23958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23959 and NO__SQR. Remove all code except __mul and __sqr. Include
23960 sysdeps/ieee754/dbl-64/mpa.c.
23961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23964 * posix/Makefile (tests): Add tst-pathconf.
23965 * posix/tst-pathconf.c: New test case.
23966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23968 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23970 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23972 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23974 2013-03-06 Andreas Jaeger <aj@suse.de>
23976 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23977 definition via __MAP_ANONYMOUS.
23979 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23980 it's not part of Linux headers.
23982 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23983 (MAP_HUGE_MASK): Define.
23985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23987 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23990 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23991 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23993 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23998 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23999 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24000 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24001 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24002 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24003 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24005 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24009 Handle f2fs and efivarfs.
24011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24015 (EFIVARFS_MAGIC): Add.
24016 (F2FS_LINK_MAX): Add.
24018 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24020 * stdio-common/vfprintf.c: Replace __builtin_expect with
24023 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24026 * sysdeps/generic/bp-sym.h: Remove file.
24027 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24028 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24029 <bp-sym.h> and <bp-asm.h>.
24030 (__longjmp): Don't use BP_SYM.
24031 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24033 (memcpy): Don't use BP_SYM.
24034 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24035 <bp-sym.h> and <bp-asm.h>.
24036 (memcpy): Don't use BP_SYM.
24037 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24039 (memcpy): Don't use BP_SYM.
24040 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24042 (memset): Don't use BP_SYM.
24043 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24044 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24045 (__bzero): Don't use BP_SYM.
24046 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24047 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24048 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24049 <bp-sym.h> and <bp-asm.h>.
24050 (memcmp): Don't use BP_SYM. Remove comment about bounded
24052 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24053 <bp-sym.h> and <bp-asm.h>.
24054 (memcpy): Don't use BP_SYM.
24055 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24056 <bp-sym.h> and <bp-asm.h>.
24057 (memset): Don't use BP_SYM.
24058 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24059 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24060 (__bzero): Don't use BP_SYM.
24061 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24062 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24064 <bp-sym.h> and <bp-asm.h>.
24065 (strncmp): Don't use BP_SYM. Remove comment about bounded
24067 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24068 <bp-sym.h> and <bp-asm.h>.
24069 (memcpy): Don't use BP_SYM.
24070 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24071 <bp-sym.h> and <bp-asm.h>.
24072 (memset): Don't use BP_SYM.
24073 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24074 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24075 (__bzero): Don't use BP_SYM.
24076 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24077 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24079 <bp-sym.h> and <bp-asm.h>.
24080 (__memchr): Don't use BP_SYM.
24081 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24082 <bp-sym.h> and <bp-asm.h>.
24083 (memcmp): Don't use BP_SYM. Remove comment about bounded
24085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24086 <bp-sym.h> and <bp-asm.h>.
24087 (memcpy): Don't use BP_SYM.
24088 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24089 <bp-sym.h> and <bp-asm.h>.
24090 (__mempcpy): Don't use BP_SYM.
24091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24092 <bp-sym.h> and <bp-asm.h>.
24093 (__memrchr): Don't use BP_SYM.
24094 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24095 <bp-sym.h> and <bp-asm.h>.
24096 (memset): Don't use BP_SYM.
24097 (__bzero): Likewise.
24098 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24099 <bp-sym.h> and <bp-asm.h>.
24100 (__rawmemchr): Don't use BP_SYM.
24101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24102 <bp-sym.h> and <bp-asm.h>.
24103 (__STRCMP): Don't use BP_SYM.
24104 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24105 <bp-sym.h> and <bp-asm.h>.
24106 (strchr): Don't use BP_SYM.
24107 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24108 <bp-sym.h> and <bp-asm.h>.
24109 (__strchrnul): Don't use BP_SYM.
24110 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24111 <bp-sym.h> and <bp-asm.h>.
24112 (strlen): Don't use BP_SYM.
24113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24114 <bp-sym.h> and <bp-asm.h>.
24115 (strncmp): Don't use BP_SYM. Remove comment about bounded
24117 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24118 <bp-sym.h> and <bp-asm.h>.
24119 (__strnlen): Don't use BP_SYM.
24120 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24121 <bp-sym.h> and <bp-asm.h>.
24122 (__GI__setjmp): Don't use BP_SYM.
24123 (_setjmp): Likewise.
24124 (__sigsetjmp): Likewise.
24125 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24126 (L(start_addresses)): Don't use BP_SYM.
24127 (_start): Likewise.
24128 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24130 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24131 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24132 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24133 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24134 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24136 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24137 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24138 about bounded pointers.
24139 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24140 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24141 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24143 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24144 about bounded pointers. Remove GKM FIXME comments.
24145 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24146 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24148 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24149 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24150 Remove GKM FIXME comments.
24151 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24152 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24153 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24155 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24156 about bounded pointers. Remove GKM FIXME comment.
24157 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24159 (strncmp): Don't use BP_SYM. Remove comment about bounded
24161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24162 <bp-sym.h> and <bp-asm.h>.
24163 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24165 <bp-sym.h> and <bp-asm.h>.
24166 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24169 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24171 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24174 2013-03-05 David S. Miller <davem@davemloft.net>
24176 * po/es.po: Update from translation team.
24178 2013-03-05 Andreas Jaeger <aj@suse.de>
24180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24181 <bits/mman-linux.h>.
24182 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24185 <bits/mman-linux.h> to end of file.
24186 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24188 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24189 <bits/mman-linux.h> to end of file.
24190 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24192 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24193 <bits/mman-linux.h> to end of file.
24195 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24196 (MCL_CURRENT, MCL_FUTURE): Define here.
24198 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24201 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24203 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24205 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24207 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24208 fourth parameter needed for rt_sigprocmask syscall.
24209 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24210 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24211 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24212 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24213 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24214 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24216 2013-03-04 Joseph Myers <joseph@codesourcery.com>
24219 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24220 comment about bounded pointers.
24221 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24222 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24224 2013-03-04 Andreas Jaeger <aj@suse.de>
24226 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24227 common definitions.
24229 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24230 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24236 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24240 __ieee754_sqrl instead of __sqrl.
24242 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24244 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24245 * sysdeps/powerpc/fpu_control.h: ... here.
24246 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24247 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24248 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24249 * sysdeps/powerpc/bits/mathinline.h: ... here.
24251 2013-03-01 Roland McGrath <roland@hack.frob.com>
24253 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24254 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24255 to just [NEED_DL_SYSINFO_DSO].
24256 * elf/dl-support.c: Likewise.
24257 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24258 * elf/rtld.c (dl_main): Likewise.
24259 * elf/setup-vdso.h (setup_vdso): Likewise.
24260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24261 * sysdeps/unix/sysv/linux/dl-sysdep.c
24262 (_dl_discover_osversion): Likewise.
24264 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24266 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24267 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24269 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24271 * NEWS: Mention libm performance improvements and non-x86 PI
24274 * csu/libc-start.c (__pthread_initialize_minimal): Change
24275 function arguments.
24276 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24278 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24281 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24282 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24283 <bp-sym.h> and <bp-asm.h>.
24284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24285 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24287 (memcpy): Don't use BP_SYM.
24288 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24290 (__mpn_add_n): Don't use BP_SYM.
24291 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24292 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24294 (__mpn_addmul_1): Don't use BP_SYM.
24295 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24296 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24298 (_setjmp): Don't use BP_SYM.
24299 (__novmx_setjmp): Likewise.
24300 (__GI__setjmp): Likewise.
24301 (__vmx_setjmp): Likewise.
24302 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24304 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24305 (__bzero): Don't use BP_SYM.
24306 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24307 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24308 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24309 <bp-sym.h> and <bp-asm.h>.
24310 (memcpy): Don't use BP_SYM.
24311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24312 <bp-sym.h> and <bp-asm.h>.
24313 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24314 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24315 <bp-sym.h> and <bp-asm.h>.
24316 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24317 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24319 (__mpn_lshift): Don't use BP_SYM.
24320 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24321 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24323 (memset): Don't use BP_SYM.
24324 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24325 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24326 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24328 (__mpn_mul_1): Don't use BP_SYM.
24329 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24330 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24331 <bp-sym.h> and <bp-asm.h>.
24332 (memcmp): Don't use BP_SYM.
24333 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24334 <bp-sym.h> and <bp-asm.h>.
24335 (memcpy): Don't use BP_SYM.
24336 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24337 <bp-sym.h> and <bp-asm.h>.
24338 (memset): Don't use BP_SYM.
24339 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24340 <bp-sym.h> and <bp-asm.h>.
24341 (strncmp): Don't use BP_SYM.
24342 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24343 <bp-sym.h> and <bp-asm.h>.
24344 (memcpy): Don't use BP_SYM.
24345 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24346 <bp-sym.h> and <bp-asm.h>.
24347 (memset): Don't use BP_SYM.
24348 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24349 <bp-sym.h> and <bp-asm.h>.
24350 (__memchr): Don't use BP_SYM.
24351 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24352 <bp-sym.h> and <bp-asm.h>.
24353 (memcmp): Don't use BP_SYM.
24354 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24355 <bp-sym.h> and <bp-asm.h>.
24356 (memcpy): Don't use BP_SYM.
24357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24358 <bp-sym.h> and <bp-asm.h>.
24359 (__mempcpy): Don't use BP_SYM.
24360 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24361 <bp-sym.h> and <bp-asm.h>.
24362 (__memrchr): Don't use BP_SYM.
24363 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24364 <bp-sym.h> and <bp-asm.h>.
24365 (memset): Don't use BP_SYM.
24366 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24367 <bp-sym.h> and <bp-asm.h>.
24368 (__rawmemchr): Don't use BP_SYM.
24369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24370 <bp-sym.h> and <bp-asm.h>.
24371 (__STRCMP): Don't use BP_SYM.
24372 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24373 <bp-sym.h> and <bp-asm.h>.
24374 (strchr): Don't use BP_SYM.
24375 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24376 <bp-sym.h> and <bp-asm.h>.
24377 (__strchrnul): Don't use BP_SYM.
24378 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24379 <bp-sym.h> and <bp-asm.h>.
24380 (strlen): Don't use BP_SYM.
24381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24382 <bp-sym.h> and <bp-asm.h>.
24383 (strncmp): Don't use BP_SYM.
24384 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24385 <bp-sym.h> and <bp-asm.h>.
24386 (__strnlen): Don't use BP_SYM.
24387 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24389 (__mpn_rshift): Don't use BP_SYM.
24390 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24391 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24392 <bp-sym.h> and <bp-asm.h>.
24393 (__sigsetjmp): Don't use BP_SYM.
24394 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24395 (L(start_addresses)): Don't use BP_SYM.
24396 (_start): Likewise.
24397 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24399 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24400 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24401 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24402 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24404 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24405 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24406 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24407 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24409 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24411 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24412 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24414 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24416 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24417 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24418 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24420 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24422 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24424 (strncmp): Don't use BP_SYM,
24425 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24427 (__mpn_sub_n): Don't use BP_SYM.
24428 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24429 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24431 (__mpn_submul_1): Don't use BP_SYM.
24432 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24434 <bp-sym.h> and <bp-asm.h>.
24435 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24437 <bp-sym.h> and <bp-asm.h>.
24438 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24441 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24444 Use ZK to minimize writes to Z.
24445 (sub_magnitudes): Simplify code a bit.
24446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24447 Use ZK to minimize writes to Z.
24448 (sub_magnitudes): Simplify code a bit.
24450 2013-02-27 Roland McGrath <roland@hack.frob.com>
24452 * csu/gmon-start.c: Add special exception to license text.
24454 2013-02-27 Richard Henderson <rth@redhat.com>
24456 * scripts/config.guess: Update from config.git.
24457 * scripts/config.sub: Likewise.
24459 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24461 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24463 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24465 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24467 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24469 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24471 2013-02-26 Roland McGrath <roland@hack.frob.com>
24473 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24474 [$(build-shared = yes].
24476 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24478 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24479 (__mul): Reduce iterations for calculating mantissa.
24481 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24483 (__mpranred): Likewise.
24486 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24487 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24489 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24491 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24492 Define __attribute__.
24494 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24496 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24498 * posix/regex_internal.h (__attribute): Remove.
24499 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24500 (re_string_context_at): Likewise.
24501 (bitset_not): Use __attribute__ and mark function as possibly
24503 (bitset_merge): Likewise.
24504 (bitset_mask): Likewise.
24505 (re_string_char_size_at): Likewise.
24506 (re_string_wchar_at): Likewise.
24507 (re_string_elem_size_at): Likewise.
24509 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24511 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24515 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24519 (denorm): Likewise.
24520 (__dbl_mp): Likewise.
24521 (add_magnitudes): Likewise.
24522 (sub_magnitudes): Likewise.
24526 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24529 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24532 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24536 up changes with default code.
24537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24540 2013-02-24 Allan McRae <allan@archlinux.org>
24542 * manual/socket.texi (The Internet Namespace): Order menu items
24543 to match that in the file.
24545 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24546 node listing of the info page menu.
24548 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24551 * sysdeps/i386/bp-asm.h: Remove file.
24552 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24553 (PARMS): Do not use macros from bp-asm.h.
24557 (__mpn_add_n): Do not use BP_SYM
24558 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24560 (PARMS): Do not use macros from bp-asm.h.
24563 (__mpn_addmul_1): Do not use BP_SYM
24564 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24566 (PARMS): Do not use macros from bp-asm.h.
24567 (SIGMSK): Likewise.
24568 (_setjmp): Likewise. Do not use BP_SYM.
24569 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24571 (PARMS): Do not use macros from bp-asm.h.
24572 (SIGMSK): Likewise.
24573 (setjmp): Likewise. Do not use BP_SYM.
24574 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24576 (PARMS): Do not use macros from bp-asm.h.
24577 (__frexp): Do not use BP_SYM.
24579 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24581 (PARMS): Do not use macros from bp-asm.h.
24582 (__frexpf): Do not use BP_SYM.
24583 (frexpf): Likewise.
24584 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24586 (PARMS): Do not use macros from bp-asm.h.
24587 (__frexpl): Do not use BP_SYM.
24588 (frexpl): Likewise.
24589 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24591 (PARMS): Do not use macros from bp-asm.h.
24592 (__remquo): Do not use BP_SYM.
24593 (remquo): Likewise.
24594 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24596 (PARMS): Do not use macros from bp-asm.h.
24597 (__remquof): Do not use BP_SYM.
24598 (remquof): Likewise.
24599 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24601 (PARMS): Do not use macros from bp-asm.h.
24602 (__remquol): Do not use BP_SYM.
24603 (remquol): Likewise.
24604 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24606 (PARMS): Do not use macros from bp-asm.h.
24609 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24610 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24612 (PARMS): Do not use macros from bp-asm.h.
24613 (strlen): Do not use BP_SYM.
24614 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24616 (PARMS): Do not use macros from bp-asm.h.
24620 (__mpn_add_n): Do not use BP_SYM.
24621 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24623 (PARMS): Do not use macros from bp-asm.h.
24626 (__mpn_addmul_1): Do not use BP_SYM.
24627 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24630 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24632 (PARMS): Do not use macros from bp-asm.h.
24635 (__mpn_lshift): Do not use BP_SYM.
24636 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24638 (PARMS): Do not use macros from bp-asm.h.
24642 (memcpy): Likewise. Do not use BP_SYM.
24643 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24644 libc_hidden_def and weak_alias.
24645 (mempcpy): Do not use BP_SYM in weak_alias.
24646 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24648 (PARMS): Do not use macros from bp-asm.h.
24651 [!BZERO_P] (CHR): Likewise.
24652 (memset): Likewise. Do not use BP_SYM.
24653 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24655 (PARMS): Do not use macros from bp-asm.h.
24658 (__mpn_mul_1): Do not use BP_SYM.
24659 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24661 (PARMS): Do not use macros from bp-asm.h.
24664 (__mpn_rshift): Do not use BP_SYM.
24665 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24667 (PARMS): Do not use macros from bp-asm.h.
24670 (strchr): Likewise. Do not use BP_SYM.
24671 (index): Do not use BP_SYM in weak_alias.
24672 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24674 (PARMS): Do not use macros from bp-asm.h.
24677 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24678 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24680 (PARMS): Do not use macros from bp-asm.h.
24681 (strlen): Do not use BP_SYM.
24682 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24684 (PARMS): Do not use macros from bp-asm.h.
24688 (__mpn_sub_n): Do not use BP_SYM.
24689 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24691 (PARMS): Do not use macros from bp-asm.h.
24694 (__mpn_submul_1): Do not use BP_SYM.
24695 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24697 (PARMS): Do not use macros from bp-asm.h.
24701 (__mpn_add_n): Do not use BP_SYM.
24702 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24705 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24707 (PARMS): Do not use macros from bp-asm.h.
24710 (memcmp): Do not use BP_SYM.
24711 (bcmp): Do not use BP_SYM in weak_alias.
24712 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24714 (PARMS): Do not use macros from bp-asm.h.
24718 (memcpy): Likewise. Do not use BP_SYM.
24719 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24721 (PARMS): Do not use macros from bp-asm.h.
24725 (memmove): Likewise. Do not use BP_SYM.
24726 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24728 (PARMS): Do not use macros from bp-asm.h.
24732 (__mempcpy): Likewise. Do not use BP_SYM.
24733 (mempcpy): Do not use BP_SYM in weak_alias.
24734 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24736 (PARMS): Do not use macros from bp-asm.h.
24739 [!BZERO_P] (CHR): Likewise.
24740 (memset): Likewise. Do not use BP_SYM.
24741 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24743 (PARMS): Do not use macros from bp-asm.h.
24745 (strcmp): Do not use BP_SYM.
24746 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24748 (PARMS): Do not use macros from bp-asm.h.
24751 [USE_AS_STRTOK_R] (SAVE): Likewise.
24752 (FUNCTION): Likewise. Do not use BP_SYM.
24753 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24755 (strtok_r): Likewise.
24756 (__GI___strtok_r): Likewise.
24757 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24758 (PARMS): Do not use macros from bp-asm.h.
24761 (__mpn_lshift): Do not use BP_SYM.
24762 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24763 (PARMS): Do not use macros from bp-asm.h.
24766 (__memchr): Do not use BP_SYM.
24767 (memchr): Do not use BP_SYM in weak_alias.
24768 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24769 (PARMS): Do not use macros from bp-asm.h.
24772 (memcmp): Do not use BP_SYM.
24773 (bcmp): Do not use BP_SYM in weak_alias.
24774 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24775 (PARMS): Do not use macros from bp-asm.h.
24778 (__mpn_mul_1): Do not use BP_SYM.
24779 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24781 (PARMS): Do not use macros from bp-asm.h.
24784 (__rawmemchr): Do not use BP_SYM.
24785 (rawmemchr): Do not use BP_SYM in weak_alias.
24786 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24787 (PARMS): Do not use macros from bp-asm.h.
24790 (__mpn_rshift): Do not use BP_SYM.
24791 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24792 (PARMS): Do not use macros from bp-asm.h.
24793 (SIGMSK): Likewise.
24794 (__sigsetjmp): Likewise. Do not use BP_SYM.
24795 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24796 (_start): Do not use BP_SYM.
24797 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24798 (PARMS): Do not use macros from bp-asm.h.
24801 (__stpcpy): Likewise. Do not use BP_SYM.
24802 (stpcpy): Do not use BP_SYM in weak_alias.
24803 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24805 (PARMS): Do not use macros from bp-asm.h.
24809 (__stpncpy): Likewise. Do not use BP_SYM.
24810 (stpncpy): Do not use BP_SYM in weak_alias.
24811 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24812 (PARMS): Do not use macros from bp-asm.h.
24815 (strchr): Likewise. Do not use BP_SYM.
24816 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24818 (PARMS): Do not use macros from bp-asm.h.
24821 (__strchrnul): Likewise. Do not use BP_SYM.
24822 (strchrnul): Do not use BP_SYM in weak_alias.
24823 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24825 (PARMS): Do not use macros from bp-asm.h.
24827 (strcspn): Do not use BP_SYM.
24828 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24830 (PARMS): Do not use macros from bp-asm.h.
24833 (strpbrk): Likewise. Do not use BP_SYM.
24834 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24836 (PARMS): Do not use macros from bp-asm.h.
24839 (strrchr): Likewise. Do not use BP_SYM.
24840 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24841 (PARMS): Do not use macros from bp-asm.h.
24843 (strspn): Do not use BP_SYM.
24844 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24845 (PARMS): Do not use macros from bp-asm.h.
24849 (FUNCTION): Likewise. Do not use BP_SYM.
24850 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24852 (strtok_r): Likewise.
24853 (__GI___strtok_r): Likewise.
24854 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24855 (PARMS): Do not use macros from bp-asm.h.
24859 (__mpn_sub_n): Do not use BP_SYM.
24860 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24862 (PARMS): Do not use macros from bp-asm.h.
24865 (__mpn_submul_1): Do not use BP_SYM.
24866 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24868 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24870 (PARMS): Do not use macros from bp-asm.h.
24875 (__clone): Do not use BP_SYM.
24876 (clone): Do not use BP_SYM in weak_alias.
24877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24879 (PARMS): Do not use macros from bp-asm.h.
24881 (__mmap64): Do not use BP_SYM.
24882 (mmap64): Do not use BP_SYM in weak_alias.
24883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24884 <bp-sym.h> and <bp-asm.h>.
24885 (PARMS): Do not use macros from bp-asm.h.
24886 (__posix_fadvise64_l64): Do not use BP_SYM.
24887 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24888 (PARMS): Do not use macros from bp-asm.h.
24890 (semtimedop): Do not use BP_SYM.
24891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24894 2013-02-21 Allan McRae <allan@archlinux.org>
24896 * manual/message.texi (Charset conversion in gettext):
24897 Move @end statement to beginning of line.
24899 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24907 (denorm): Likewise.
24908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24911 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24913 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24914 tail-call to the resolved function if pltexit isn't needed.
24916 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24919 or Y being zero as being unlikely.
24920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24923 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24925 * manual/nss.texi (System Databases and Name Service Switch):
24926 Remove frobnicate @pxref.
24928 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24930 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24931 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24933 2013-02-20 Petr Machata <pmachata@redhat.com>
24935 * elf/elf.h (R_ARM_TARGET1): New macro.
24936 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24937 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24938 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24939 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24940 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24941 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24942 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24943 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24944 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24945 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24946 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24947 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24948 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24949 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24950 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24951 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24952 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24953 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24954 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24955 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24956 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24957 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24958 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24959 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24960 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24961 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24962 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24963 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24964 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24965 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24966 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24967 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24968 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24969 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24970 (R_ARM_THM_GOT_BREL12): Likewise.
24971 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24972 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24973 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24974 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24975 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24976 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24977 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24978 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24979 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24981 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24983 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24984 __attribute_used__ to __attribute__ ((unused)).
24986 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24988 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24991 comment formatting.
24992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24994 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24997 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24999 (ENTER): Remove both macro definitions.
25001 (CHECK_BOUNDS_LOW): Likewise.
25002 (CHECK_BOUNDS_HIGH): Likewise.
25003 (CHECK_BOUNDS_BOTH): Likewise.
25004 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25005 (RETURN_BOUNDED_POINTER): Likewise.
25006 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25007 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25008 (POP_ERRNO_LOCATION_RETURN): Likewise.
25009 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25010 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25011 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25013 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25014 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25015 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25016 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25017 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25018 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25019 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25020 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25021 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25022 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25023 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25024 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25025 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25026 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25028 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25029 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25031 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25032 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25033 * sysdeps/i386/i586/memset.S (memset): Likewise.
25034 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25036 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25038 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25039 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25040 Change uses of L(2) to L(out).
25041 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25042 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25043 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25044 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25045 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25047 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25048 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25050 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25051 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25052 (RETURN): Do not use macro LEAVE.
25053 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25054 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25055 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25056 * sysdeps/i386/i686/memset.S (memset): Likewise.
25057 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25058 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25059 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25060 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25062 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25063 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25064 L(1_2) and L(1_3) into L(1).
25065 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25066 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25067 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25068 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25069 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25070 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25071 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25072 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25073 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25075 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25076 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25077 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25078 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25079 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25080 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25081 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25082 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25083 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25084 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25085 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25086 * sysdeps/i386/strspn.S (strspn): Likewise.
25087 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25089 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25090 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25091 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25092 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25093 L(1_3) into L(1_1).
25094 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25095 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25096 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25098 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25100 2013-02-19 Jakub Jelinek <jakub@redhat.com>
25102 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25105 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25107 * math/atest-exp.c (exp_mpn): Remove ROUND.
25108 * math/atest-exp2.c (exp_mpn): Likewise.
25109 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25111 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25112 * stdlib/tst-tls-atexit-lib.c: Likewise.
25113 * stdlib/tst-tls-atexit.c: Likewise.
25115 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25117 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25118 and __attribute_alloc_size__.
25120 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25122 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25123 __attribute_alloc_size__.
25124 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25125 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25127 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25129 * include/programs/xmalloc.h: New file.
25130 * catgets/gencat.c: Include it.
25131 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25132 * elf/pldd.c: Likewise.
25133 * iconv/iconv_charmap.c: Likewise.
25134 * iconv/iconvconfig.c: Likewise.
25135 * iconv/strtab.c: Likewise.
25136 * locale/programs/locale.c: Likewise.
25137 * locale/programs/localedef.h: Likewise.
25138 * locale/programs/simple-hash.c: Likewise.
25139 * nscd/nscd.h: Likewise.
25140 * nss/makedb.c: Likewise.
25141 * sysdeps/generic/ldconfig.h: Likewise.
25143 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25145 * Versions.def: Add GLIBC_2.18.
25146 * include/link.h (struct link_map): New member l_tls_dtor_count.
25147 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25148 (__call_tls_dtors): Likewise.
25149 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25150 __cxa_thread_atexit_impl.
25151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25167 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25168 (tests): Add test case tst-tls-atexit.
25169 (modules-names): Add shared library for tst-tls-atexit.
25170 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25171 (GLIBC_PRIVATE): Add __call_tls_dtors.
25172 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25174 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25175 * stdlib/tst-tls-atexit.c: New test case.
25176 * stdlib/tst-tls-atexit-lib.c: New test case.
25178 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25180 * elf/Versions (ld): Add _dl_find_dso_for_object.
25181 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25182 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25183 (dl_open_worker): Use _dl_find_dso_for_object.
25184 * elf/dl-sym.c (do_sym): Likewise.
25185 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25187 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25189 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25190 Syntactic changes only.
25191 (_dl_runtime_profile): Do a tail-call to the resolved function.
25193 2013-02-17 Joseph Myers <joseph@codesourcery.com>
25196 * sysdeps/x86_64/bp-asm.h: Remove file.
25197 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25198 <bp-sym.h> and <bp-asm.h>.
25199 (__clone): Do not use BP_SYM.
25200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25201 <bp-sym.h> and <bp-asm.h>.
25202 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25203 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25205 (_setjmp): Do not use BP_SYM.
25206 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25208 (setjmp): Do not use BP_SYM.
25209 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25211 (mempcpy): Do not use BP_SYM in weak_alias.
25212 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25214 (strchr): Do not use BP_SYM.
25215 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25217 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25218 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25219 (_start): Do not use BP_SYM.
25220 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25222 (strcat): Do not use BP_SYM.
25223 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25225 (STRCMP): Do not use BP_SYM.
25226 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25228 (STRCPY): Do not use BP_SYM.
25229 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25231 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25233 (FUNCTION): Do not use BP_SYM.
25234 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25236 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25238 2013-02-17 Andreas Jaeger <aj@suse.de>
25240 * time/Versions: Sort entries.
25241 * string/Versions: Likewise.
25242 * resolv/Versions: Likewise.
25243 * posix/Versions: Likewise.
25244 * iconv/Versions: Likewise.
25245 * elf/Versions: Likewise.
25246 * wcsmbs/Versions: Likewise.
25248 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25250 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25251 loop termination condition.
25253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25254 variable to calculate EZ.
25257 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25258 the lower precision input.
25260 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25263 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25264 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25265 (run-via-rtld-prefix): Do not handle %-bp tests.
25266 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25267 (all-object-suffixes): Remove .ob.
25268 (bppfx): Remove variable.
25269 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25270 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25271 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25272 [$(build-bounded) = yes] (libtype.ob): Likewise.
25273 * Makerules (elide-routines.ob): Remove variable.
25274 (do-tests-clean): Do not handle *-bp.out.
25275 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25276 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25277 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25278 (tests): Do not include $(tests-bp.out).
25279 (xtests): Do not include $(xtests-bp.out).
25280 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25281 [$(build-bounded) = yes] ($(addprefix
25282 $(objpfx),$(binaries-bounded))): Remove rule.
25283 ($(objpfx)%-bp.out): Remove rule.
25284 * config.make.in (build-bounded): Remove variable.
25285 * crypt/Makefile [$(build-bounded) = yes]
25286 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25287 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25288 append to variable.
25289 [$(build-bounded) = yes] (install-lib): Likewise.
25290 [$(build-bounded) = yes] (generated): Likewise.
25291 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25293 * intl/Makefile [$(build-bounded) = yes]
25294 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25295 * math/Makefile [$(build-bounded) = yes]
25296 ($(tests:%=$(objpfx)%-bp): Likewise.
25297 * misc/Makefile [$(build-bounded) = yes]
25298 ($(objpfx)tst-tsearch-bp): Likewise.
25299 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25300 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25302 * string/Makefile (o-objects.ob): Remove variable.
25303 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25304 (CFLAGS-.ob): Remove variable.
25305 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25306 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25307 both definitions of variable.
25308 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25309 (ASFLAGS-.ob): Remove variable.
25311 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25314 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25315 Remove __BOUNDED_POINTERS__ from condition.
25316 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25317 * string/bits/string2.h [!__NO_STRING_INLINES &&
25318 !__BOUNDED_POINTERS__]: Likewise.
25319 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25321 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25322 Remove conditional code.
25323 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25324 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25325 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25329 * csu/libc-start.c: Do not include <bp-sym.h>.
25330 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25331 * elf/dl-open.c: Do not include <bp-sym.h>.
25332 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25333 * math/fegetenv.c: Do not include <bp-sym.h>.
25334 (fegetenv): Do not use BP_SYM in versioned symbols.
25335 * nptl/sysdeps/pthread/bits/libc-lockP.h
25336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25339 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25341 (__pthread_mutex_destroy): Likewise.
25342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25343 (__pthread_mutex_lock): Likewise.
25344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25345 (__pthread_mutex_trylock): Likewise.
25346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25347 (__pthread_mutex_unlock): Likewise.
25348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25349 (__pthread_mutexattr_init): Likewise.
25350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25351 (__pthread_mutexattr_destroy): Likewise.
25352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25353 (__pthread_mutexattr_settype): Likewise.
25354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25355 (__pthread_rwlock_init): Likewise.
25356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25357 (__pthread_rwlock_destroy): Likewise.
25358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25359 (__pthread_rwlock_rdlock): Likewise.
25360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25361 (__pthread_rwlock_tryrdlock): Likewise.
25362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25363 (__pthread_rwlock_wrlock): Likewise.
25364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25365 (__pthread_rwlock_trywrlock): Likewise.
25366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25367 (__pthread_rwlock_unlock): Likewise.
25368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25369 (__pthread_key_create): Likewise.
25370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25371 (__pthread_setspecific): Likewise.
25372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25373 (__pthread_getspecific): Likewise.
25374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25377 (_pthread_cleanup_push_defer): Likewise.
25378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25379 (_pthread_cleanup_pop_restore): Likewise.
25380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25381 (pthread_setcancelstate): Likewise.
25382 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25384 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25385 (memchr): Do not use BP_SYM in weak_alias.
25386 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25387 (fegetenv): Do not use BP_SYM in versioned symbols.
25388 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25389 (fesetenv): Do not use BP_SYM in versioned symbols.
25390 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25391 (feupdateenv): Do not use BP_SYM in versioned symbols.
25392 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25393 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25394 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25395 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25396 (open64): Do not use BP_SYM in weak_alias.
25397 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25398 (fegetenv): Do not use BP_SYM in versioned symbols.
25399 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25400 (fesetenv): Do not use BP_SYM in versioned symbols.
25401 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25402 (feupdateenv): Do not use BP_SYM in versioned symbols.
25403 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25404 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25405 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25406 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25407 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25408 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25409 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25411 (__libc_start_main): Do not use BP_SYM.
25413 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25416 redundant return line.
25418 (denorm): Likewise.
25419 (dbl_mp): Likewise.
25420 (sub_magnitudes): Likewise.
25426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25428 (denorm): Likewise.
25429 (dbl_mp): Likewise.
25430 (sub_magnitudes): Likewise.
25437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25439 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25440 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25443 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25444 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25446 of __mul for squares.
25447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25451 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25452 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25454 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25457 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25459 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25460 prototype or function definition. Rename ubp_* variables and
25461 parameters. Remove argv definitions conditional on
25462 [__BOUNDED_POINTERS__].
25463 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25464 * elf/dl-runtime.c (_dl_fixup): Likewise.
25465 * include/set-hooks.h (RUN_HOOK): Likewise.
25466 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25468 * string/strcpy.c (strcpy): Do not use __unbounded.
25469 * sysdeps/generic/frame.h (struct layout): Likewise.
25470 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25471 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25472 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25473 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25474 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25475 (__backtrace): Likewise.
25476 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25478 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25479 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25480 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25482 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25483 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25484 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25485 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25486 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25487 Do not use __unbounded.
25488 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25489 Rename __unboundedrlimits parameter to rlimits in prototype.
25490 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25491 Do not use __unbounded.
25492 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25493 not use __ptrvalue.
25494 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25495 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25496 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25497 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25498 __ptrvalue or __unbounded.
25499 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25500 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25502 (__new_msgctl): Do not use __ptrvalue.
25503 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25505 (__libc_msgrcv): Do not use __ptrvalue.
25506 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25507 startup_info): Do not use __unbounded.
25508 (__libc_start_main): Likewise. Rename ubp_* variables and
25509 parameters. Remove argv definitions conditional on
25510 [__BOUNDED_POINTERS__].
25511 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25513 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25515 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25517 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25519 (__new_shmctl): Do not use __ptrvalue.
25520 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25521 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25523 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25525 (__libc_sigaction): Likewise.
25526 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25529 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25531 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25533 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25535 * string/mempcpy.c: Implement by calling memcpy.
25537 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25545 values in the mantissa.
25547 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25548 minimize writes to Z.
25549 (sub_magnitudes): Simplify code a bit.
25551 2013-02-12 Roland McGrath <roland@hack.frob.com>
25553 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25554 from the message. The linker prefixes all warnings with that already.
25556 2013-02-12 Andreas Schwab <schwab@suse.de>
25559 * posix/regexec.c (extend_buffers): Add parameter min_len.
25560 (check_matching): Pass minimum needed length.
25561 (clean_state_log_if_needed): Likewise.
25562 (get_subexp): Likewise.
25563 * posix/Makefile (tests): Add bug-regex34.
25564 (bug-regex34-ENV): Define.
25565 * posix/bug-regex34.c: New file.
25568 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25569 elements compare against the byte sequence of it, not its name.
25570 * posix/Makefile (tests): Add bug-regex35.
25571 (bug-regex35-ENV): Define.
25572 * posix/bug-regex35.c: New file.
25574 2013-02-11 Tom de Vries <tom@codesourcery.com>
25576 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25578 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25579 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25580 (CHECK_EOL): Add undef.
25582 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25584 * bits/stdlib-bsearch.h: New file.
25585 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25586 * stdlib/stdlib.h: Likewise.
25588 2013-02-11 Roland McGrath <roland@hack.frob.com>
25590 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25591 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25593 * manual/search.texi (Array Search Function): Add missing const in
25595 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25596 declaration to use rlim_t.
25597 (Basic Scheduling Functions): Remove erroneous const from
25598 sched_getparam prototype. Remove erroneous * from
25599 sched_get_priority_max and sched_get_priority_min prototypes.
25600 (Resource Usage): Fix summary @comment on vtimes to refer to
25601 sys/vtimes.h rather than vtimes.h.
25602 Add missing *s in vtimes prototype.
25603 (Limits on Resources): Fix ulimit prototype to return long int.
25604 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25605 prototypes to use long int rather than double.
25606 (BSD Random): Fix initstate and setstate to use char *, not void *.
25607 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25608 prototype to make second argument 'struct aiocb64 *const[]'.
25609 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25610 (Status of AIO Operations): Remove erroneous const in aio_return and
25611 aio_return64 prototypes.
25612 (Synchronizing I/O): Fix sync prototype to return void.
25613 * manual/startup.texi (Suboptions): Remove an erroneous const in
25614 getsubopt prototype.
25615 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25616 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25617 use size_t rather than int.
25618 (Scanning All Users): Likewise for getpwent_r.
25619 (Setting Groups): Add missing const to setgroups prototype.
25620 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25621 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25622 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25623 'const void *' rather than 'const char *'.
25624 (Host Address Functions): Likewise for inet_ntop.
25625 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25626 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25627 ssize_t for return value.
25628 (Sending Data): Likewise for send, sendto, sendmsg.
25629 (Socket Option Functions): Add a missing const in setsockopt prototype.
25630 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25631 use wchar_t for the argument.
25632 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25633 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25635 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25636 double/float/long double for second argument.
25637 Fix return types of significand, significandf, significandl.
25638 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25639 argument in fchmod prototype.
25640 (File Owner): Use uid_t and gid_t in fchown prototype.
25641 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25642 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25643 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25644 use 'const struct dirent **' as argument types to CMP function pointer
25646 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25647 (File Times): Fix summary magic @comment for struct utimbuf and utime
25648 to refer to utime.h, not time.h.
25649 * manual/string.texi (Argz Functions): Add missing const in
25650 argz_extract and argz_next prototypes.
25651 (Finding Tokens in a String): Likewise for basename.
25652 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25653 (Copying and Concatenation): Fix typo in wmemmove prototype.
25654 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25655 (Signal Stack): Remove erroneous const in sigstack prototype.
25656 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25658 (Simple Calendar Time): Likewise for stime.
25659 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25661 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25662 say sys/sysctl.h instead.
25663 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25664 and vsyslog prototypes.
25666 2013-02-11 Tom de Vries <tom@codesourcery.com>
25668 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25671 2013-02-11 Roland McGrath <roland@hack.frob.com>
25673 * misc/sys/mman.h: Fix typo in mremap comment.
25675 2013-02-08 Roland McGrath <roland@hack.frob.com>
25677 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25678 the '\0' terminator.
25680 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25683 * debug/segfault.c: Don't include <bp-checks.h>.
25684 * sysdeps/generic/bp-checks.h: Remove file.
25685 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25686 (__GETDENTS): Don't use CHECK_N.
25687 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25688 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25689 (__getgroups): Don't use CHECK_N.
25690 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25691 (setgroups): Don't use CHECK_N.
25692 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25693 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25694 (__libc_msgrcv): Don't use CHECK_N.
25695 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25696 (__libc_msgsnd): Don't use CHECK_N.
25697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25699 (__libc_pread): Don't use CHECK_N.
25700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25701 include <bp-checks.h>.
25702 (__libc_pread64): Don't use CHECK_N.
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25704 include <bp-checks.h>.
25705 (__libc_pwrite): Don't use CHECK_N.
25706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25707 include <bp-checks.h>.
25708 (__libc_pwrite64): Don't use CHECK_N.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25711 (__libc_pread): Don't use CHECK_N.
25712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25713 include <bp-checks.h>.
25714 (__libc_pread64): Don't use CHECK_N.
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25716 include <bp-checks.h>.
25717 (__libc_pwrite): Don't use CHECK_N.
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25719 include <bp-checks.h>.
25720 (__libc_pwrite64): Don't use CHECK_N.
25721 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25722 (do_pread): Don't use CHECK_N.
25723 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25724 (do_pread64): Don't use CHECK_N.
25725 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25726 (do_pwrite): Don't use CHECK_N.
25727 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25728 (do_pwrite64): Don't use CHECK_N.
25729 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25730 (__libc_readv): Don't use CHECK_N.
25731 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25732 (semop): Don't use CHECK_N.
25733 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25735 (semtimedop): Don't use CHECK_N.
25736 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25737 (__libc_pread): Don't use CHECK_N.
25738 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25740 (__libc_pread64): Don't use CHECK_N.
25741 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25743 (__libc_pwrite): Don't use CHECK_N.
25744 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25746 (__libc_pwrite64): Don't use CHECK_N.
25747 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25749 (__libc_msgrcv): Don't use CHECK_N.
25750 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25751 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25752 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25753 (__libc_writev): Don't use CHECK_N.
25755 2013-02-08 Roland McGrath <roland@hack.frob.com>
25757 * string/strcpy.c: Removed unused variable.
25759 * Makeconfig (+sysdep-includes): Define with := rather than =.
25760 Use an existing include/ subdir of each sysdeps dir before it.
25762 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25764 * nscd/connection.c (register_traced_file): Comment function.
25765 [HAVE_INOTIFY] (union __inev): Define.
25766 [HAVE_INOTIFY] (inotify_check_files): New function.
25767 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25768 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25770 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25772 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25774 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25775 loaded if not already and that a failure is permanent.
25777 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25780 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25781 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25783 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25786 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25787 (CHECK_1_NULL_OK): Likewise.
25788 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25789 (__fxstat): Do not use CHECK_1.
25790 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25792 (___fxstat64): Do not use CHECK_1.
25793 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25795 (__fxstatat): Do not use CHECK_1.
25796 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25798 (__fxstatat64): Do not use CHECK_1.
25799 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25801 (__fxstat): Do not use CHECK_1.
25802 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25804 (__fxstatat): Do not use CHECK_1.
25805 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25807 (__getresgid): Do not use CHECK_1.
25808 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25810 (__getresuid): Do not use CHECK_1.
25811 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25813 (__lxstat): Do not use CHECK_1.
25814 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25816 (__old_msgctl): Do not use CHECK_1.
25817 (__new_msgctl): Likewise.
25818 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25820 (__new_setrlimit): Do not use CHECK_1.
25821 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25823 (__old_shmctl): Do not use CHECK_1.
25824 (__new_shmctl): Likewise.
25825 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25827 (__xstat): Do not use CHECK_1.
25828 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25829 (__lxstat): Do not use CHECK_1.
25830 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25832 (___lxstat64): Do not use CHECK_1.
25833 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25834 (__old_msgctl): Do not use CHECK_1.
25835 (__new_msgctl): Likewise.
25836 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25838 (__gettimeofday): Do not use CHECK_1.
25839 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25840 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25841 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25843 (__gettimeofday): Do not use CHECK_1.
25844 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25845 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25846 (__new_shmctl): Do not use CHECK_1.
25847 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25849 (do_sigtimedwait): Do not use CHECK_1.
25850 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25852 (do_sigwaitinfo): Do not use CHECK_1.
25853 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25855 (msgctl): Do not use CHECK_1.
25856 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25858 (shmctl): Do not use CHECK_1.
25859 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25860 (ustat): Do not use CHECK_1.
25861 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25863 (__fxstat): Do not use CHECK_1.
25864 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25866 (__fxstatat): Do not use CHECK_1.
25867 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25869 (__lxstat): Do not use CHECK_1.
25870 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25872 (__xstat): Do not use CHECK_1.
25873 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25874 (__xstat): Do not use CHECK_1.
25875 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25876 (___xstat64): Do not use CHECK_1.
25879 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25881 (CHECK_BOUNDS_HIGH): Likewise.
25882 * string/strcpy.c: Do not include <bp-checks.h>.
25883 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25885 2013-02-07 Roland McGrath <roland@hack.frob.com>
25887 * nscd/nscd-client.h (__nscd_drop_map_ref):
25888 Add __attribute__ ((unused)).
25889 * nis/nss-nisplus.h (niserr2nss): Likewise.
25891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25892 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25894 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25895 Remove inline keyword.
25896 * include/rounding-mode.h (round_away): Likewise.
25897 * libio/wfileops.c (adjust_wide_data): Likewise.
25898 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25899 (__m128i_strloadu_tolower): Likewise.
25900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25901 (__m128i_strloadu_tolower): Likewise.
25902 * time/mktime.c (ydhms_diff): Likewise.
25903 * locale/elem-hash.h (elem_hash): Likewise.
25904 * locale/setlocale.c (setdata): Likewise.
25905 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25906 (re_string_wchar_at): Likewise.
25907 (bitset_not, bitset_merge, bitset_mask): Likewise.
25908 [!(__GNUC__ > 3)] (inline): Remove macro.
25909 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25910 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25911 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25912 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25913 * string/memcmp.c (memcmp_bytes): Likewise.
25914 * locale/programs/locarchive.c (compute_hashval): Likewise.
25915 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25916 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25917 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25918 * nss/getent.c (print_rpc, print_protocols): Likewise.
25919 (print_passwd, print_group, print_aliases): Likewise.
25920 * nis/nss-nisplus.h (niserr2nss): Likewise.
25921 * nscd/connections.c (restart_p): Likewise.
25922 Change return type to bool.
25924 2013-02-05 Roland McGrath <roland@hack.frob.com>
25926 * Makeconfig (all-Depend-files): Add existing
25927 $(sorted-subdirs:=/Depend) files.
25928 (all-subdirs): Remove nss.
25929 * sysdeps/unix/inet/Subdirs: Add it here instead.
25930 * hesiod/Depend: New file.
25932 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25933 instead of calling alloca.
25935 * io/lseek.c (__lseek): Rename to __libc_lseek.
25936 Define __lseek as an alias.
25938 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25940 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25942 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25943 else clause and remove check for non-standard endianness.
25945 2013-02-04 David S. Miller <davem@davemloft.net>
25947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25949 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25952 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25953 (__ubp_memchr): Remove prototype.
25954 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25955 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25956 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25957 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25958 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25960 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25961 (__ubp_memchr): Likewise.
25962 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25963 (__ubp_memchr): Likewise.
25964 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25965 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25966 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25967 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25969 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25970 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25971 (__getcwd): Do not use CHECK_STRING.
25972 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25974 (__real_chown): Do not use CHECK_STRING.
25975 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25977 (fchownat): Do not use CHECK_STRING.
25978 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25980 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25982 (__lchown): Do not use CHECK_STRING.
25983 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25984 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25985 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25986 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25988 include <bp-checks.h>.
25989 (truncate64): Do not use CHECK_STRING.
25990 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25992 (__real_chown): Do not use CHECK_STRING.
25993 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25995 (__lchown): Do not use CHECK_STRING.
25996 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25998 (__chown): Do not use CHECK_STRING.
25999 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26001 (truncate64): Do not use CHECK_STRING.
26002 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26004 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26005 (__xmknod): Do not use CHECK_STRING.
26006 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26008 (__xmknodat): Do not use CHECK_STRING.
26009 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26010 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26012 2013-02-04 Andreas Schwab <schwab@suse.de>
26015 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26016 * include/netdb.h: Likewise for h_errno.
26017 * elf/tst-stackguard1.c: Include <tls.h>.
26019 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26021 * elf/link.h (struct link_map): Extend the l_addr comment.
26022 * include/link.h (struct link_map): Likewise.
26024 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26027 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26028 (BOUNDED_1): Remove macro.
26029 * debug/backtrace.c: Don't include <bp-checks.h>.
26030 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26031 (__backtrace): Likewise.
26032 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26034 (__backtrace): Don't use BOUNDED_1.
26035 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26037 (__backtrace): Don't use BOUNDED_1.
26038 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26039 (__backtrace): Don't use BOUNDED_1.
26040 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26041 (shmat): Don't use BOUNDED_N.
26043 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26046 * sysdeps/generic/bp-start.h: Remove file.
26047 * csu/libc-start.c: Don't include <bp-start.h>.
26048 (LIBC_START_MAIN): Set up __environ directly instead of using
26049 INIT_ARGV_and_ENVIRON.
26050 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26054 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26056 (CHECK_FCNTL): Likewise.
26057 (CHECK_N_PAGES): Likewise.
26060 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26062 (CHECK_SIGSET_NULL_OK): Likewise.
26063 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26065 (sigpending): Don't use CHECK_SIGSET.
26066 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26068 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26069 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26071 (do_sigsuspend): Don't use CHECK_SIGSET.
26072 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26074 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26075 (do_sigwait): Don't use CHECK_SIGSET.
26076 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26078 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26079 include <bp-checks.h>.
26080 (sigpending): Don't use CHECK_SIGSET.
26081 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26082 include <bp-checks.h>.
26083 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26084 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26086 (sigpending): Don't use CHECK_SIGSET.
26087 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26089 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26092 * sysdeps/generic/bp-semctl.h: Remove file.
26093 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26094 <bp-checks.h> and <bp-semctl.h>.
26095 (__old_semctl): Don't use CHECK_SEMCTL.
26096 (__new_semctl): Likewise.
26097 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26099 (__old_semctl): Don't use CHECK_SEMCTL.
26100 (__new_semctl): Likewise.
26101 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26102 <bp-checks.h> and <bp-semctl.h>.
26103 (__old_semctl): Don't use CHECK_SEMCTL.
26104 (__new_semctl): Likewise.
26105 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26106 <bp-checks.h> and <bp-semctl.h>.
26107 (semctl): Don't use CHECK_SEMCTL.
26110 * Makerules (elide-bp-thunks): Remove variable.
26111 (elide-routines.oS): Don't use $(elide-bp-thunks).
26112 (elide-routines.os): Likewise.
26113 (elide-routines.o): Likewise.
26114 (elide-routines.op): Likewise.
26115 (elide-routines.og): Likewise.
26116 (objects): Don't use $(bp-thunks).
26117 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26119 (common-generated): Do not add s-proto-bp.d.
26120 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26123 Do not generate makefile rules for bounded-pointer thunks.
26124 * sysdeps/generic/bp-thunks.h: Remove file.
26125 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26126 * sysdeps/unix/s-proto-bp.S: Likewise.
26129 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26130 parts of result separately when argument is not close to line from
26131 -i to i and one part of argument is small.
26132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26134 * math/libm-test.inc (cacos_test): Add more tests.
26135 (casin_test): Likewise.
26136 (casinh_test): Likewise.
26137 * sysdeps/i386/fpu/libm-test-ulps: Update.
26138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26140 2013-01-31 David S. Miller <davem@davemloft.net>
26142 * po/de.po: Update from translation team.
26144 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26146 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26148 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26150 * configure.in (_AC_PROG_CC_C89): New definition.
26151 * configure: Regenerate.
26153 * configure.in (AC_PROG_CPP): New definition.
26154 * configure: Regenerate.
26156 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26158 * debug/tst-backtrace.h: New file.
26159 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26160 (ret): Remove variable.
26162 (FAIL): Remove macro.
26163 (NO_INLINE): Likewise.
26164 (fn1): Use match function instead of strstr.
26165 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26166 (ret): Remove variable.
26168 (FAIL): Remove macro.
26169 (NO_INLINE): Likewise.
26170 (fn): Use match function instead of strstr.
26171 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26172 (ret): Remove variable.
26174 (FAIL): Remove macro.
26175 (NO_INLINE): Likewise.
26176 (handle_signal): Use match function instead of strstr.
26177 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26178 (ret): Remove variable.
26180 (FAIL): Remove macro.
26181 (NO_INLINE): Likewise.
26182 (handle_signal): Use match function instead of strstr.
26184 2013-01-23 Roland McGrath <roland@hack.frob.com>
26186 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26188 2013-01-23 David S. Miller <davem@davemloft.net>
26190 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26191 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26192 argument of CAS if possible.
26193 * sysdeps/sparc/sparc64/bits/atomic.h
26194 (__arch_compare_and_exchange_val_32_acq): Likewise.
26195 (__arch_compare_and_exchange_val_64_acq): Likewise.
26197 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26199 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26200 * sysdeps/posix/ulimit.c: ... this.
26201 Include <limits.h>.
26202 * sysdeps/unix/bsd/ulimit.c: Remove file.
26204 2013-01-23 Adam Conrad <adconrad@0c3.net>
26206 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26207 (LDFLAGS-tst-array5): Likewise.
26209 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26212 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26213 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26214 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26215 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26217 2013-01-21 David S. Miller <davem@davemloft.net>
26219 * sysdeps/sparc/backtrace.c: New file.
26220 * sysdeps/sparc/sparc32/backtrace.h: New file.
26221 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26222 * sysdeps/sparc/sparc64/backtrace.h: New file.
26223 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26224 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26227 2013-01-21 Andreas Schwab <schwab@suse.de>
26230 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26233 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26239 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26240 Mark Mitchell <mark@codesourcery.com>
26241 Tom de Vries <tom@codesourcery.com>
26242 Paul Pluzhnikov <ppluzhnikov@google.com>
26244 * debug/tst-backtrace2.c: New file.
26245 * debug/tst-backtrace3.c: Likewise.
26246 * debug/tst-backtrace4.c: Likewise.
26247 * debug/tst-backtrace5.c: Likewise.
26248 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26249 (CFLAGS-tst-backtrace3.c): Likewise.
26250 (CFLAGS-tst-backtrace4.c): Likewise.
26251 (CFLAGS-tst-backtrace5.c): Likewise.
26252 (LDFLAGS-tst-backtrace2): Likewise.
26253 (LDFLAGS-tst-backtrace3): Likewise.
26254 (LDFLAGS-tst-backtrace4): Likewise.
26255 (LDFLAGS-tst-backtrace5): Likewise.
26256 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26257 tst-backtrace4 and tst-backtrace5.
26259 2013-01-18 Anton Blanchard <anton@samba.org>
26260 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26262 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26263 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26264 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26265 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26267 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26268 "+r" and remove output regs list as redundant. Add explicit inline
26269 asm to specify register of return val to work around compiler codegen
26270 bug. Remove (int) cast on return value. Add return type parameter to
26271 use in macro so that this macro does not truncate return value for
26273 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26274 pass to INTERNAL_VSYSCALL_NCS.
26275 (INLINE_VSYSCALL): Add 'long int' as return type to
26276 INTERNAL_VSYSCALL_NCS macro invocation.
26277 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26278 INTERNAL_VSYSCALL_NCS macro invocation.
26279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26281 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26284 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26285 Fix application of SIMD FP exception mask.
26287 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26288 mp_no from a power of two.
26289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26290 __mpexp_twomm1. Use __pow_mp.
26292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26295 2013-01-17 David S. Miller <davem@davemloft.net>
26297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26299 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26302 * include/complex.h: Condition contents on [!_COMPLEX_H].
26303 (__kernel_casinhf): New prototype.
26304 (__kernel_casinh): Likewise.
26305 (__kernel_casinhl): Likewise.
26306 * math/Makefile (libm_calls): Add k_casinh.
26307 * math/k_casinh.c: New file.
26308 * math/k_casinhf.c: Likewise.
26309 * math/k_casinhl.c: Likewise.
26310 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26311 finite nonzero arguments.
26312 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26313 finite nonzero arguments.
26314 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26315 finite nonzero arguments.
26316 * math/s_casinh.c: Do not include <float.h>.
26317 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26318 * math/s_casinhf.c: Do not include <float.h>.
26319 (__casinhf): Move code for finite nonzero arguments to
26321 * math/s_casinhl.c: Do not include <float.h>.
26322 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26324 (__casinhl): Move code for finite nonzero arguments to
26326 * math/libm-test.inc (cacos_test): Add more tests.
26327 * sysdeps/i386/fpu/libm-test-ulps: Update.
26328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26330 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26332 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26333 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26334 [!HAVE_MREMAP]: Remove [defined linux] case.
26335 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26337 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26339 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26341 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26343 * elf/elf.h (R_386_SIZE32): New relocation.
26344 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26346 (elf_machine_rela): Likewise.
26347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26348 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26350 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26352 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26353 (FP_FAST_FMA): Do not define.
26354 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26355 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26356 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26357 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26358 !_SOFT_FLOAT]: Likewise.
26359 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26360 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26362 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26363 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26364 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26365 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26366 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26367 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26370 2013-01-16 Andreas Schwab <schwab@suse.de>
26373 * include/stdlib.h (__mktemp): Add declaration.
26374 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26375 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26377 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26379 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26381 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26382 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26383 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26385 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26386 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26390 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26391 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26392 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26394 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26395 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26397 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26399 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26401 2013-01-15 David S. Miller <davem@davemloft.net>
26403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26404 trunc{,f} to libm-sysdep_routes.
26405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26415 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26416 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26417 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26418 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26419 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26420 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26423 nearbyint{,f} to libm-sysdep_routes.
26424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26435 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26437 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26438 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26440 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26441 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26442 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26444 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26445 libc_feholdexcept and libc_fesetenv.
26447 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26449 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26451 2013-01-14 David S. Miller <davem@davemloft.net>
26453 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26454 (SPARC_ASM_VIS2_IFUNC): Likewise.
26455 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26457 use of 'siam' instruction.
26458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26491 routines to libm-sysdep_routines.
26492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26495 fdim/fdimf to libm-sysdep_routines.
26496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26504 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26505 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26506 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26507 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26509 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26511 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26512 to optimize copies.
26514 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26519 local variable MPTWO.
26520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26523 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26525 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26528 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26530 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26532 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26534 * manual/pattern.texi (glob_t): Document gl_flags.
26535 (glob64_t): Likewise.
26537 2013-01-11 David S. Miller <davem@davemloft.net>
26539 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26540 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26541 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26542 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26543 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26544 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26545 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26546 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26547 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26548 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26549 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26550 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26551 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26553 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26554 sparc V9 rather than using V8 code.
26555 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26556 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26558 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26560 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26563 2013-01-11 Roland McGrath <roland@hack.frob.com>
26565 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26566 not in the main loop.
26567 * configure: Regenerated.
26569 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26571 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26572 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26574 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26575 [!__GLIBC_HAVE_LONG_LONG] case.
26576 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26577 condition to just #else.
26578 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26579 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26580 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26581 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26583 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26584 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26585 #elif condition to just #else.
26586 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26587 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26588 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26589 #elif condition to just #else.
26591 2013-01-11 Steve Ellcey <sellcey@mips.com>
26593 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26594 (EF_MIPS_ARCH_64): Fix value.
26595 (EF_MIPS_ARCH_32R2): New.
26596 (EF_MIPS_ARCH_64R2): New.
26598 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26600 * Makeconfig (+link-pie-before-libc): New.
26601 (+link-pie-after-libc): Likewise.
26602 (+link-pie-tests): Likewise.
26603 (+link-pie): Rewritten.
26604 (link-before-libc): Remove $(config-LDFLAGS).
26605 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26606 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26607 (config-LDFLAGS): Renamed to ...
26608 (rtld-LDFLAGS): This.
26609 (rtld-tests-LDFLAGS): New macro.
26610 (link-libc-rpath-link): Likewise.
26611 (link-libc-tests-rpath-link): Likewise.
26612 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26613 (link-libc): Prepand $(link-libc-rpath-link).
26614 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26615 (test-program-prefix): New macro.
26616 (test-via-rtld-prefix): Likewise.
26617 (test-program-cmd): Likewise.
26618 (host-test-program-cmd): Likewise.
26619 * Makefile ($(common-objpfx)testrun.sh): Replace
26620 $(run-program-prefix) with $(test-program-prefix).
26621 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26623 ($(common-objpfx)shlib.lds): Likewise.
26624 (build-module-helper): Likewise.
26625 ($(common-objpfx)format.lds): Likewise.
26626 * Rules (binaries-pie-tests): New.
26627 (binaries-pie-notests): Likewise.
26628 (binaries-pie): Rewritten.
26629 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26630 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26631 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26632 (make-test-out): Replace $(host-built-program-cmd) with
26633 $(host-test-program-cmd).
26634 * config.make.in (build-hardcoded-path-in-tests): New variable.
26635 * configure.in (--enable-hardcoded-path-in-tests): New configure
26637 (hardcoded_path_in_tests): New AC_SUBST.
26638 * configure: Regenerated.
26639 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26640 $(built-program-cmd) with $(test-program-cmd).
26641 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26642 (test_program_cmd): This.
26643 * elf/Makefile ($(objpfx)order.out): Run test with
26644 $(test-program-prefix).
26645 ($(objpfx)order2.out): Likewise.
26646 ($(objpfx)tst-initorder.out): Likewise.
26647 ($(objpfx)tst-initorder2.out): Likewise.
26648 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26649 $(test-program-cmd).
26650 ($(objpfx)tst-array1-static.out): Likewise.
26651 ($(objpfx)tst-array2.out): Likewise.
26652 ($(objpfx)tst-array3.out): Likewise.
26653 ($(objpfx)tst-array4.out): Likewise.
26654 ($(objpfx)tst-array5.out): Likewise.
26655 ($(objpfx)tst-array5-static.out): Likewise.
26656 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26657 $(test-program-cmd).
26658 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26659 $(run-program-prefix) with $(test-program-prefix).
26660 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26661 (test_program_prefix): This.
26662 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26663 $(run-program-prefix) with $(test-program-prefix).
26664 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26665 (test_program_prefix): This.
26666 * iconvdata/tst-tables.sh: Likewise.
26667 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26668 $(run-program-prefix) with $(test-program-prefix).
26669 ($(objpfx)tst-translit.out): Likewise.
26670 ($(objpfx)tst-gettext2.out): Likewise.
26671 ($(objpfx)tst-gettext4.out): Likewise.
26672 ($(objpfx)tst-gettext6.out): Likewise.
26673 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26674 (test_program_prefix): This.
26675 * intl/tst-gettext2.sh: Likewise.
26676 * intl/tst-gettext4.sh Likewise.
26677 * intl/tst-gettext6.sh: Likewise.
26678 * intl/tst-translit.sh: Likewise.
26679 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26680 with $(test-program-cmd).
26681 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26682 $(run-program-prefix) with $(test-program-prefix).
26683 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26684 (test_program_prefix): This.
26685 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26686 $(run-program-prefix) with $(test-program-prefix).
26687 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26688 (test_program_prefix): This.
26689 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26690 * posix/Makefile ($(objpfx)globtest.out): Replace
26691 $(run-via-rtld-prefix) and $(test-wrapper) with
26692 $(test-program-prefix) and $(test-via-rtld-prefix).
26693 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26694 $(test-program-prefix).
26695 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26696 $(host-test-program-cmd).
26697 (tst-spawn-ARGS): Likewise.
26698 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26699 $(test-program-prefix).
26700 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26701 (test_via_rtld_prefix): This.
26702 (test_wrapper): Renamed to ...
26703 (test_program_prefix): This.
26704 (run_program_prefix): Replaced by test_program_prefix.
26705 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26706 (test_program_prefix): This.
26707 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26708 with $(host-test-program-cmd).
26709 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26710 $(run-program-prefix) with $(test-program-prefix).
26711 ($(objpfx)tst-printf.out): Likewise.
26712 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26713 $(test-program-cmd).
26714 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26715 (test_program_prefix): This.
26716 * stdio-common/tst-unbputc.sh: Likewise.
26717 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26718 $(run-program-prefix) with $(test-program-prefix).
26719 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26720 (test_program_prefix): This.
26721 * string/Makefile ($(objpfx)tst-svc.out): Replace
26722 $(built-program-cmd) with $(test-program-cmd).
26724 2013-01-11 Andreas Jaeger <aj@suse.de>
26727 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26728 value. Sync with Linux 3.7.
26730 2013-01-10 David S. Miller <davem@davemloft.net>
26732 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26736 2013-01-10 Roland McGrath <roland@hack.frob.com>
26738 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26740 * configure: Regenerated.
26742 2013-01-10 David S. Miller <davem@davemloft.net>
26744 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26745 sparc V9 rather than using V8 code.
26746 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26747 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26749 2013-01-10 Roland McGrath <roland@hack.frob.com>
26751 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26752 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26753 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26754 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26755 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26756 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26757 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26758 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26759 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26760 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26761 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26762 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26763 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26764 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26765 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26766 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26767 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26768 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26769 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26770 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26771 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26772 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26773 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26774 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26775 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26776 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26777 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26779 2013-01-10 David S. Miller <davem@davemloft.net>
26781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26783 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26785 * posix/Makefile (tests-static): New variable.
26786 (tests): Add $(tests-static).
26787 (tst-exec-static-ARGS): New variable.
26788 (tst-spawn-static-ARGS): Likewise.
26789 * posix/tst-exec-static.c: New file.
26790 * posix/tst-spawn-static.c: Likewise.
26791 * posix/tst-exec.c: Support run directly.
26792 * posix/tst-spawn.c: Likewise.
26794 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26796 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26798 * math/bits/mathcalls.h (llrint): Likewise.
26799 (llround): Likewise.
26800 * stdlib/stdlib.h (struct drand48_data): Likewise.
26801 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26802 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26803 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26805 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26807 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26808 (elf_greg_t): Likewise.
26809 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26810 (__jmp_buf): Likewise.
26811 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26813 (llrint): Likewise, for all definitions.
26814 (llrintl): Likewise.
26816 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26817 Remove [__GNUC__] condition.
26818 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26819 condition to just [__USE_ISOC99].
26820 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26822 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26825 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26826 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26828 (_POSIX_V6_ILP32_OFF32): Likewise.
26829 (_XBS5_ILP32_OFF32): Likewise.
26830 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26831 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26833 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26835 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26838 doubles __mpexp_twomm1. Adjust usage.
26839 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26842 2013-01-10 Andreas Schwab <schwab@suse.de>
26845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26846 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26848 2013-01-09 David S. Miller <davem@davemloft.net>
26851 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26852 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26853 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26854 (TCP_FASTOPEN): Define.
26855 (tcp_repair_opt): New structure.
26856 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26858 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26859 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26860 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26861 (tcp_cookie_transactions): New structure.
26863 2013-01-09 Anton Blanchard <anton@samba.org>
26865 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26866 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26867 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26868 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26870 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26872 * include/features.h (__USE_ANSI): Remove.
26874 2013-01-09 Roland McGrath <roland@hack.frob.com>
26876 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26878 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26880 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26882 * sysdeps/s390/fpu/libm-test-ulps: Update.
26884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26886 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26890 (denorm): Likewise.
26891 (__mp_dbl): Likewise.
26892 (__dbl_mp): Likewise.
26893 (add_magnitudes): Likewise.
26894 (sub_magnitudes): Likewise.
26900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26904 (denorm): Likewise.
26905 (__mp_dbl): Likewise.
26906 (__dbl_mp): Likewise.
26907 (add_magnitudes): Likewise.
26908 (sub_magnitudes): Likewise.
26914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26918 (denorm): Likewise.
26919 (__mp_dbl): Likewise.
26920 (__dbl_mp): Likewise.
26921 (add_magnitudes): Likewise.
26922 (sub_magnitudes): Likewise.
26929 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26931 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26932 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26933 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26934 2 && __USE_EXTERN_INLINES]: Likewise.
26936 2013-01-08 Andreas Jaeger <aj@suse.de>
26939 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26941 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26942 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26944 2013-01-07 Anton Blanchard <anton@samba.org>
26946 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26947 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26948 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26949 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26950 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26952 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26953 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26955 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26956 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26957 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26958 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26959 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26961 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26962 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26964 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26966 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26967 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26969 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26970 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26971 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26972 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26973 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26974 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26975 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26976 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26979 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26982 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26984 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26986 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26987 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26988 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26990 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26992 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26993 (__MALLOC_PMT): Likewise.
26994 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26995 [__GNUC__], only on [_LIBC].
26996 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26997 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26998 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26999 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27000 forward declaration.
27001 (realloc_hook_ini): Likewise.
27002 (memalign_hook_ini): Likewise.
27003 (__libc_memalign): Do not use __MALLOC_PMT in variable
27005 (__libc_valloc): Likewise.
27006 (__libc_pvalloc): Likewise.
27007 (__libc_calloc): Likewise.
27008 (__posix_memalign): Likewise.
27011 * math/s_casinh.c: Include <float.h>.
27012 (__casinh): Do not do computation with squaring and square root
27013 for large arguments.
27014 * math/s_casinhf.c: Include <float.h>.
27015 (__casinhf): Do not do computation with squaring and square root
27016 for large arguments.
27017 * math/s_casinhl.c: Include <float.h>.
27018 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27019 (__casinhl): Do not do computation with squaring and square root
27020 for large arguments.
27021 * math/libm-test.inc (casin_test): Add more tests.
27022 (casinh_test): Likewise.
27023 * sysdeps/i386/fpu/libm-test-ulps: Update.
27024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27026 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27029 (__x86_64_raw_data_cache_size): Likewise.
27030 (__x86_64_data_cache_size_half): Likewise.
27031 (__x86_64_raw_data_cache_size_half): Likewise.
27032 (__x86_64_shared_cache_size): Likewise.
27033 (__x86_64_raw_shared_cache_size): Likewise.
27034 (__x86_64_shared_cache_size_half): Likewise.
27035 (__x86_64_raw_shared_cache_size_half): Likewise.
27036 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27038 (__x86_data_cache_size): This.
27039 (__x86_64_raw_data_cache_size): Renamed to ...
27040 (__x86_raw_data_cache_size): This.
27041 (__x86_64_data_cache_size_half): Renamed to ...
27042 (__x86_data_cache_size_half): This.
27043 (__x86_64_raw_data_cache_size_half): Renamed to ...
27044 (__x86_raw_data_cache_size_half): This.
27045 (__x86_64_shared_cache_size): Renamed to ...
27046 (__x86_shared_cache_size): This.
27047 (__x86_64_raw_shared_cache_size): Renamed to ...
27048 (__x86_raw_shared_cache_size): This.
27049 (__x86_64_shared_cache_size_half): Renamed to ...
27050 (__x86_shared_cache_size_half): This.
27051 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27052 (__x86_raw_shared_cache_size_half): This.
27053 * sysdeps/x86_64/memcpy.S: Updated.
27054 * sysdeps/x86_64/memset.S: Likewise.
27055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27059 2013-01-04 David S. Miller <davem@davemloft.net>
27061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27063 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27065 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27066 1 to avoid redefinition warning.
27067 (__USE_GNU): Don't define.
27068 (init_signaling_nan): Protoize.
27070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27072 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27074 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27076 (__cpymn): Likewise.
27077 (norm): Remove commented code.
27078 (denorm): Likewise.
27079 (__mp_dbl): Likewise.
27081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27082 (__cpymn): Likewise.
27083 (norm): Remove commented code.
27084 (denorm): Likewise.
27085 (__mp_dbl): Likewise.
27088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27089 mp_no value for 1.0 and 2.0.
27090 (norm): Use RADIXI instead of radixi.d.
27091 (denorm): Likewise.
27092 (__mul): Use 0.0 instead of zero.d.
27093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27094 mp_no value for 1.0 and 2.0.
27095 (norm): Use RADIXI instead of radixi.d.
27096 (denorm): Likewise.
27097 (__mul): Use 0.0 instead of zero.d.
27099 2013-01-04 Joseph Myers <joseph@codesourcery.com>
27102 * math/s_casinh.c (__casinh): Reduce finite argument to first
27103 quadrant then set signs of results at the end.
27104 * math/s_casinhf.c (__casinhf): Likewise.
27105 * math/s_casinhl.c (__casinhl): Likewise.
27106 * math/libm-test.inc (casin_test): Add more tests.
27107 (casinh_test): Likewise.
27108 * sysdeps/i386/fpu/libm-test-ulps: Update.
27109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27111 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27113 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27115 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27117 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27119 (denorm): Likewise.
27120 (__mp_dbl): Likewise.
27123 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27124 and adjust the header comment.
27126 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27127 variable name from declaration.
27129 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27132 Initialize COMMON_CPUID_INDEX_7 element.
27133 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27134 (CPUID_RTM): Likewise.
27135 (HAS_RTM): Likewise.
27136 (COMMON_CPUID_INDEX_7): New enum.
27138 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27141 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27142 size is zero, record memory as freed.
27144 2013-01-03 Andreas Jaeger <aj@suse.de>
27146 * po/ia.po: Add new Interlingua translation.
27148 2012-01-03 Allan McRae <allan@archlinux.org>
27150 * locale/programs/localedef.c: Fix description of '--posix' flag.
27152 2013-01-02 Joseph Myers <joseph@codesourcery.com>
27154 * NEWS: Update dates in second copyright notice.
27155 * README: Update copyright dates in example.
27156 * manual/libc.texinfo: Update copyright dates.
27157 * scripts/test-installation.pl: Update copyright date in --version
27160 * hurd/ctty-input.c: Fix copyright notice formatting.
27161 * hurd/ctty-output.c: Likewise.
27162 * hurd/dtable.c: Likewise.
27163 * hurd/hurd-raise.c: Likewise.
27164 * hurd/hurdprio.c: Likewise.
27165 * hurd/msgportdemux.c: Likewise.
27166 * misc/sys/file.h: Likewise.
27167 * misc/sys/ioctl.h: Likewise.
27168 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27169 * sysdeps/mach/hurd/chdir.c: Likewise.
27170 * sysdeps/mach/hurd/fchdir.c: Likewise.
27171 * sysdeps/mach/hurd/rename.c: Likewise.
27172 * sysdeps/mach/hurd/rmdir.c: Likewise.
27173 * sysdeps/mach/hurd/seekdir.c: Likewise.
27174 * sysdeps/mach/hurd/setsid.c: Likewise.
27175 * sysdeps/posix/wait3.c: Likewise.
27177 * All files with FSF copyright notices: Update copyright dates
27178 using scripts/update-copyrights.
27179 * intl/plural.c: Regenerated.
27180 * locale/programs/charmap-kw.h: Likewise.
27181 * locale/programs/locfile-kw.h: Likewise.
27183 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27185 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27189 calculation loop and add branch prediction.
27191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27192 check access beyond bounds of m1np.
27194 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27196 (__inv): Remove local variable MPTWO to use the global
27198 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27202 MP3HALFS static const.
27204 2013-01-01 David S. Miller <davem@davemloft.net>
27206 * po/ca.po: Update from translation team.
27208 2013-01-01 Joseph Myers <joseph@codesourcery.com>
27210 * scripts/update-copyrights: New file.
27211 * Makeconfig: Reformat copyright notice.
27212 * ctype/ctype.h: Likewise.
27213 * debug/swprintf_chk.c: Likewise.
27214 * elf/dl-cache.c: Likewise.
27215 * elf/dl-debug.c: Likewise.
27216 * elf/dl-object.c: Likewise.
27217 * grp/initgroups.c: Likewise.
27218 * hurd/Makefile: Likewise.
27219 * hurd/hurd/signal.h: Likewise.
27220 * hurd/hurdfault.c: Likewise.
27221 * hurd/hurdioctl.c: Likewise.
27222 * hurd/hurdlookup.c: Likewise.
27223 * hurd/intr-msg.c: Likewise.
27224 * iconv/gconv_open.c: Likewise.
27225 * libio/swprintf.c: Likewise.
27226 * locale/lc-ctype.c: Likewise.
27227 * locale/nl_langinfo.c: Likewise.
27228 * mach/Machrules: Likewise.
27229 * mach/Makefile: Likewise.
27230 * malloc/obstack.h: Likewise.
27231 * manual/Makefile: Likewise.
27232 * manual/tsort.awk: Likewise.
27233 * misc/bits/stab.def: Likewise.
27234 * nis/nis_print_group_entry.c: Likewise.
27235 * nis/nis_table.c: Likewise.
27236 * nis/nss_compat/compat-pwd.c: Likewise.
27237 * nis/nss_compat/compat-spwd.c: Likewise.
27238 * po/Makefile: Likewise.
27239 * posix/fnmatch.c: Likewise.
27240 * posix/regex.h: Likewise.
27241 * resolv/Makefile: Likewise.
27242 * resolv/nss_dns/dns-network.c: Likewise.
27243 * resolv/res_hconf.c: Likewise.
27244 * scripts/gen-sorted.awk: Likewise.
27245 * soft-fp/soft-fp.h: Likewise.
27246 * stdio-common/printf.h: Likewise.
27247 * stdlib/monetary.h: Likewise.
27248 * stdlib/random.c: Likewise.
27249 * stdlib/random_r.c: Likewise.
27250 * sysdeps/generic/Makefile: Likewise.
27251 * sysdeps/gnu/Makefile: Likewise.
27252 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27265 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27267 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27280 * sysdeps/mach/hurd/errnos.awk: Likewise.
27281 * sysdeps/mach/hurd/fork.c: Likewise.
27282 * sysdeps/mach/hurd/getcwd.c: Likewise.
27283 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27284 * sysdeps/mach/hurd/mmap.c: Likewise.
27285 * sysdeps/mach/hurd/utimes.c: Likewise.
27286 * sysdeps/mach/hurd/xmknod.c: Likewise.
27287 * sysdeps/posix/profil.c: Likewise.
27288 * sysdeps/posix/readdir_r.c: Likewise.
27289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27290 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27291 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27292 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27296 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27298 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27299 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27300 * sysdeps/pthread/lio_listio.c: Likewise.
27301 * sysdeps/sparc/dl-procinfo.h: Likewise.
27302 * sysdeps/unix/i386/sysdep.S: Likewise.
27303 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27304 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27305 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27306 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27308 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27309 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27310 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27311 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27312 * sysdeps/wordsize-32/divdi3.c: Likewise.
27313 * time/sys/time.h: Likewise.
27314 * wcsmbs/Makefile: Likewise.
27316 2013-01-01 David S. Miller <davem@davemloft.net>
27318 * po/fr.po: Update from translation team.
27320 * catgets/gencat.c: Update copyright year.
27321 * csu/version.c: Likewise.
27322 * debug/catchsegv.sh: Likewise.
27323 * debug/pcprofiledump.c: Likewise.
27324 * debug/xtrace.sh: Likewise.
27325 * elf/ldconfig.c: Likewise.
27326 * elf/ldd.bash.in: Likewise.
27327 * elf/pldd.c: Likewise.
27328 * elf/sotruss.ksh: Likewise.
27329 * elf/sprof.c: Likewise.
27330 * iconv/iconv_prog.c: Likewise.
27331 * iconv/iconvconfig.c: Likewise.
27332 * locale/programs/locale.c: Likewise.
27333 * locale/programs/localedef.c: Likewise.
27334 * login/programs/pt_chown.c: Likewise.
27335 * malloc/memusage.sh: Likewise.
27336 * malloc/memusagestat.c: Likewise.
27337 * malloc/mtrace.pl: Likewise.
27338 * nscd/nscd.c: Likewise.
27339 * nss/getent.c: Likewise.
27340 * nss/makedb.c: Likewise.
27341 * posix/getconf.c: Likewise.
27343 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27345 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27348 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27350 * math/bits/mathcalls.h (modf): Use __nonnull.
27352 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27354 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27355 (split): Use macro CN instead of the bare value.
27356 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27359 instead of the bare value.
27360 (power1): Likewise.
27362 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27366 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27368 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27370 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27371 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27372 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27373 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27375 2012-12-28 Andreas Jaeger <aj@suse.de>
27377 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27378 values are from Linux 3.7.
27380 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27381 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27383 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27385 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27388 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27390 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27391 variables with preprocessor constants.
27392 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27393 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27394 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27396 2012-12-27 Bruno Haible <bruno@clisp.org>
27399 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27402 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27405 and use variable directly.
27406 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27408 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27410 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27411 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27413 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27415 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27416 include directive. Remove local variable MPONE.
27417 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27418 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27419 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27421 2012-12-25 David S. Miller <davem@davemloft.net>
27423 * version.h (RELEASE): Set to "development".
27424 (VERSION): Set to "2.17.90".
27425 * NEWS: Add 2.18 section.
27427 2012-12-21 David S. Miller <davem@davemloft.net>
27429 * po/hr.po: Update from translation team.
27431 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27433 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27435 2012-12-19 Steve Ellcey <sellcey@mips.com>
27437 * NEWS: Mention new memcpy for MIPS.
27439 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27441 * manual/contrib.texi (Contributors): Spelling correction.
27443 2012-12-15 David S. Miller <davem@davemloft.net>
27445 * po/ru.po: Update from translation team.
27447 2012-12-13 David S. Miller <davem@davemloft.net>
27449 * NEWS: Mention IFUNC testsuite enhancements.
27451 * po/pl.po: Update from translation team.
27452 * po/bg.po: Likewise.
27454 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27455 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27457 2012-12-11 David S. Miller <davem@davemloft.net>
27459 * po/sv.po: Update from translation team.
27461 * po/vi.po: Update from translation team.
27463 * po/cs.po: Update from translation team.
27465 * po/de.po: Update from translation team.
27466 * po/eo.po: Likewise.
27467 * po/nl.po: Likewise.
27469 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27472 * manual/argp.texi (Argp Helper Functions): Move node to follow
27473 Argp Parsing State.
27476 * manual/conf.texi (Limits on File System Capacity): Mention if
27477 terminating null is included in the max size.
27479 2012-12-10 Andreas Jaeger <aj@suse.de>
27481 * po/cs.po: Update from translation team.
27483 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27485 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27486 void pointer and cast to uintptr_t.
27487 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27489 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27490 * sysdeps/s390/s390-64/memset.S: Likewise.
27492 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27495 * menual/message.texi (Message Translation): Fix typos.
27496 (Helper programs for gettext): Likewise.
27498 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27501 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27504 2012-12-07 David S. Miller <davem@davemloft.net>
27506 * po/libc.pot: Update.
27508 2012-12-07 Richard Henderson <rth@redhat.com>
27511 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27512 normal/normal case to before the switch.
27513 (_FP_DIV): Likewise.
27515 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27516 Mike Frysinger <vapier@gentoo.org>
27518 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27519 check for __NR_fadvise64_64.
27521 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27523 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27524 0, not just to plain "0" as a statement.
27525 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27528 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27530 * NEWS: Use sourceware.org in Bugzilla URL.
27532 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27535 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27537 * stdio-common/tst-put-error.c (do_test): Add newline to the
27538 padded test to ensure flush.
27540 2012-12-05 Jeff Law <law@redhat.com>
27542 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27544 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27546 * README: Don't refer to ports add-on as distributed separately.
27547 Mention AArch64 in list of systems supported in the ports add-on.
27549 * LICENSES: Add more non-FSF copyright and license notices.
27551 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27554 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27556 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27557 10000 as width of padded output.
27559 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27561 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27563 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27564 variable LX with __attribute__ ((unused)).
27565 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27567 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27570 with __attribute__ ((unused)).
27572 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27574 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27576 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27578 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27579 (CFLAGS-nldbl-acos.c): New variable.
27580 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27581 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27582 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27583 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27584 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27585 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27586 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27587 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27588 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27589 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27590 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27591 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27592 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27593 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27594 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27595 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27596 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27597 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27598 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27599 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27600 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27601 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27602 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27603 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27604 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27605 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27606 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27607 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27608 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27609 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27610 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27611 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27612 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27613 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27614 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27615 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27616 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27617 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27618 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27619 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27620 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27621 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27622 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27623 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27624 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27625 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27626 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27627 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27628 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27629 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27630 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27631 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27632 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27633 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27634 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27635 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27636 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27637 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27638 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27639 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27640 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27641 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27642 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27643 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27644 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27645 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27646 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27647 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27648 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27649 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27650 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27651 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27652 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27653 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27654 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27655 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27656 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27657 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27658 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27659 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27660 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27661 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27662 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27663 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27664 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27665 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27666 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27667 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27668 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27669 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27670 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27671 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27672 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27673 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27674 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27675 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27676 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27679 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27683 whole low double instead of just low 47 bits when splitting values
27686 2012-12-03 Allan McRae <allan@archlinux.org>
27688 * manual/stdio.texi (Predefined Printf Handlers): Remove
27689 @hsep and @vsep usage.
27691 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27693 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27694 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27696 2012-12-03 Jeff Law <law@redhat.com>
27698 * time/sys/time.h (settimeofday): Do not mark TV argument
27701 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27703 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27704 when currently writing and seek to current position when not.
27705 * libio/Makefile (tests): Remove bug-fclose1.
27706 * libio/bug-fclose1.c: Delete.
27708 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27710 * manual/arith.texi (feenableexcept): Fix typo.
27711 (fedisableexcept): Likewise.
27713 2012-11-30 Roland McGrath <roland@hack.frob.com>
27715 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27716 second, differently-typed declaration, rather than a cast.
27718 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27720 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27721 * include/rpc/svc.h: ... here.
27723 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27726 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27727 depending n and resplen2 to catch cases where answer
27730 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27732 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27733 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27735 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27737 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27739 2012-11-29 Roland McGrath <roland@hack.frob.com>
27741 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27743 2012-11-28 Jeff Law <law@redhat.com>
27746 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27747 dataset_temporary. Track alloca usage into alloca_used.
27748 If dataset is large allocate and release it via malloc/free.
27750 2012-06-04 Florian Weimer <fweimer@redhat.com>
27753 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27755 2012-11-28 David S. Miller <davem@davemloft.net>
27757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27759 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27762 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27763 of pi/2 rounded to nearest to 64 bits.
27764 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27765 nearest to 64 bits.
27766 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27769 2012-11-28 Jeff Law <law@redhat.com>
27770 Martin Osvald <mosvald@redhat.com>
27773 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27774 * sunrpc/svc.c: Include time.h.
27775 (__svc_accept_failed): New function.
27776 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27777 any reason other than EINTR, call __svc_accept_failed.
27778 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27779 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27781 2012-11-28 Andreas Schwab <schwab@suse.de>
27783 * scripts/abilist.awk: Also handle indirect functions in .opd
27786 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27789 * sysdeps/x86/fpu/powl_helper.c: New file.
27790 * sysdeps/x86/fpu/Makefile: Likewise.
27791 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27793 (__ieee754_powl): Use __powl_helper for finite arguments except
27794 integer exponents below 8.
27795 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27797 (__ieee754_powl): Use __powl_helper for finite arguments except
27798 integer exponents below 8.
27799 * math/libm-test.inc (pow_test): Add more tests and enable some
27800 previously disabled tests.
27801 * sysdeps/i386/fpu/libm-test-ulps: Update.
27802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27804 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27805 Carlos O'Donell <carlos_odonell@mentor.com>
27807 * nss/makedb.c (is_prime): Assert that input is odd and greater
27808 than 4. Note that fact in a comment too.
27809 (next_prime): Add 4 to input.
27811 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27814 * libio/Makefile (tests): Add test case tst-fwrite-error.
27815 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27816 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27817 * libio/tst-fwrite-error.c: New test case.
27819 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27821 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27822 before casting to void *.
27823 * include/libc-internal.h (__pointer_type): New macro.
27824 (__integer_if_pointer_type_sub): Likewise.
27825 (__integer_if_pointer_type): Likewise.
27826 (cast_to_integer): Likewise.
27827 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27828 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27829 before casting to atomic64_t.
27830 (atomic_exchange_acq): Likewise.
27831 (__arch_exchange_and_add_body): Likewise.
27832 (__arch_add_body): Likewise.
27833 (atomic_add_negative): Likewise.
27834 (atomic_add_zero): Likewise.
27836 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27838 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27839 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27840 (add_fdes): Likewise.
27841 (linear_search_fdes): Likewise.
27842 (binary_search_unencoded_fdes): Likewise.
27844 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27846 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27848 2012-11-24 Adam Conrad <adconrad@0c3.net>
27850 * configure.in: Autodetect C++ header directories.
27851 * configure: Regenerated.
27853 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27855 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27857 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27861 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27863 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27864 LDBL_MANT_DIG == 106]: Disable some tests.
27865 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27867 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27871 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27872 input for small inputs. Return +/- pi/2 for large inputs.
27873 * math/libm-test.inc (atan_test): Add more tests.
27875 * sysdeps/generic/unwind-dw2-fde-glibc.c
27876 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27877 __attribute__ ((unused)).
27880 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27881 x * y if x and y are nonzero and z is zero.
27884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27885 nonzero exponents with absolute value below 0x1p-117 to +/-
27889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27890 up arguments below 2**-450, not just those below 2**-500.
27891 * math/libm-test.inc (hypot_test): Add another test.
27894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27895 Return a+b for ratio over 2**120, not 2**60.
27896 * math/libm-test.inc (hypot_test): Add another test.
27898 * math/libm-test.inc (clog_test): Use
27899 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27900 (clog10_test): Likewise.
27903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27905 2012-11-22 Andreas Schwab <schwab@suse.de>
27907 * sysdeps/i386/fpu/libm-test-ulps: Update.
27909 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27911 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27912 printf output with newline.
27914 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27917 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27918 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27919 -z nodlopen, -z initfirst and -z execstack support.
27920 * configure: Regenerated.
27922 * elf/elf.h (DF_1_NODIRECT): New macro.
27923 (DF_1_IGNMULDEF): Likewise.
27924 (DF_1_NOKSYMS): Likewise.
27925 (DF_1_NOHDR): Likewise.
27926 (DF_1_EDITED): Likewise.
27927 (DF_1_NORELOC): Likewise.
27928 (DF_1_SYMINTPOSE): Likewise.
27929 (DF_1_GLOBAUDIT): Likewise.
27930 (DF_1_SINGLETON): Likewise.
27931 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27932 DT_1_SUPPORTED_MASK bits.
27933 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27935 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27937 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27939 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27941 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27944 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27945 (sendmmsg): Move declarations...
27946 * socket/sys/socket.h: ... here.
27947 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27948 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27950 * socket/recvmmsg.c: ... this new file.
27951 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27952 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27953 definition of __sendmmsg hidden.
27954 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27955 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27956 Move ENOSYS stub into and include it from...
27957 * socket/sendmmsg.c: ... this new file.
27958 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27959 (sysdep_routines): Move recvmmsg and sendmmsg...
27960 * socket/Makefile (routines): ... here.
27961 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27962 (GLIBC_PRIVATE): Add __sendmmsg.
27963 * include/sys/socket.h (__sendmmsg): Add declarations.
27964 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27967 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27970 variable I1 with __attribute__ ((unused)).
27971 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27973 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27975 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27976 DUMMY variables with __attribute__ ((unused)).
27978 * bits/byteswap.h: Include <bits/types.h>.
27979 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27981 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27983 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27984 string_t. Do not manually set errno.
27985 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27986 length with __strnlen. Make sure to both set errno and return it on
27989 2012-11-19 David S. Miller <davem@davemloft.net>
27991 With help from Joseph Myers.
27992 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27993 very large arguments properly.
27994 * math/libm-test.inc (atan_test): New tests.
27995 (atan2_test): New tests.
27996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27999 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28002 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28005 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28006 [POSIX] (EADDRNOTAVAIL): Likewise.
28007 [POSIX] (EAFNOSUPPORT): Likewise.
28008 [POSIX] (EALREADY): Likewise.
28009 [POSIX] (ECONNABORTED): Likewise.
28010 [POSIX] (ECONNREFUSED): Likewise.
28011 [POSIX] (ECONNRESET): Likewise.
28012 [POSIX] (EDESTADDRREQ): Likewise.
28013 [POSIX] (EDQUOT): Likewise.
28014 [POSIX] (EHOSTUNREACH): Likewise.
28015 [POSIX] (EIDRM): Likewise.
28016 [POSIX] (EISCONN): Likewise.
28017 [POSIX] (ELOOP): Likewise.
28018 [POSIX] (EMULTIHOP): Likewise.
28019 [POSIX] (ENETDOWN): Likewise.
28020 [POSIX] (ENETUNREACH): Likewise.
28021 [POSIX] (ENOBUFS): Likewise.
28022 [POSIX] (ENODATA): Likewise.
28023 [POSIX] (ENOLINK): Likewise.
28024 [POSIX] (ENOMSG): Likewise.
28025 [POSIX] (ENOPROTOOPT): Likewise.
28026 [POSIX] (ENOSR): Likewise.
28027 [POSIX] (ENOSTR): Likewise.
28028 [POSIX] (ENOTCONN): Likewise.
28029 [POSIX] (ENOTSOCK): Likewise.
28030 [POSIX] (EOPNOTSUPP): Likewise.
28031 [POSIX] (EOVERFLOW): Likewise.
28032 [POSIX] (EPROTO): Likewise.
28033 [POSIX] (EPROTONOSUPPORT): Likewise.
28034 [POSIX] (EPROTOTYPE): Likewise.
28035 [POSIX] (ESTALE): Likewise.
28036 [POSIX] (ETIME): Likewise.
28037 [POSIX] (ETXTBSY): Likewise.
28038 [POSIX] (EWOULDBLOCK): Likewise.
28039 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28040 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28041 [POSIX] (SEEK_CUR): Likewise.
28042 [POSIX] (SEEK_END): Likewise.
28043 [POSIX || UNIX98] (mode_t): Do not require.
28044 [POSIX] (off_t): Likewise.
28045 [POSIX] (pid_t): Likewise.
28046 [POSIX] (sys/stat.h): Do not allow header.
28047 [POSIX] (unistd.h): Likewise.
28048 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28049 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28050 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28051 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28053 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28054 sigevent): Specify elements.
28055 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28057 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28058 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28060 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28061 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28062 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28063 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28064 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28065 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28066 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28067 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28068 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28069 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28070 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28071 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28072 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28073 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28075 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28077 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28079 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28081 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28082 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28083 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28084 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28085 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28086 Specify lower bound on value.
28087 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28088 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28089 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28090 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28091 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28092 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28093 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28094 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28096 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28098 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28099 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28100 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28101 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28102 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28103 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28104 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28105 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28106 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28107 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28108 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28109 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28110 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28111 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28112 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28113 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28115 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28117 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28118 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28119 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28120 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28121 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28122 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28124 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28125 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28126 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28127 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28128 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28129 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28130 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28132 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28133 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28134 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28135 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28136 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28137 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28138 specify as optional.
28139 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28140 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28141 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28142 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28143 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28144 [XPG3] (NL_LANGMAX): Likewise.
28145 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28146 [POSIX || XPG3] (NL_NMAX): Likewise.
28147 [POSIX || XPG3] (NL_SETMAX): Likewise.
28148 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28149 [XPG3] (NZERO): Likewise.
28150 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28151 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28152 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28153 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28154 (REG_ERANGE): Expect.
28155 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28157 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28158 Use (void) in prototype.
28159 [POSIX] (*_t): Allow.
28160 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28161 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28162 (WRDE_BADVAL): Expect.
28164 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28166 [XPG3 || XPG4] (O_RSYNC): Likewise.
28167 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28169 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28170 [XPG3 || XPG4] (sigqueue): Likewise.
28171 [XPG3 || XPG4] (sigtimedwait): Likewise.
28172 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28173 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28174 [XPG3 || XPG4] (vsnprintf): Likewise.
28175 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28177 [XPG3 || XPG4] (blksize_t): Likewise.
28178 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28180 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28181 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28182 [XPG3 || XPG4] (struct itimerspec): Likewise.
28183 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28184 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28185 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28186 [XPG3 || XPG4] (clockid_t): Likewise.
28187 [XPG3 || XPG4] (timer_t): Likewise.
28188 [XPG3 || XPG4] (clock_getres): Likewise.
28189 [XPG3 || XPG4] (clock_gettime): Likewise.
28190 [XPG3 || XPG4] (clock_settime): Likewise.
28191 [XPG3 || XPG4] (nanosleep): Likewise.
28192 [XPG3 || XPG4] (timer_create): Likewise.
28193 [XPG3 || XPG4] (timer_delete): Likewise.
28194 [XPG3 || XPG4] (timer_gettime): Likewise.
28195 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28196 [XPG3 || XPG4] (timer_settime): Likewise.
28197 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28198 [XPG3 || XPG4] (getlogin_r): Likewise.
28199 [XPG3 || XPG4] (pread): Likewise.
28200 [XPG3 || XPG4] (pthread_atfork): Likewise.
28201 [XPG3 || XPG4] (pwrite): Likewise.
28204 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28207 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28209 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28210 finalizing MALLSTREAM.
28212 * sysdeps/mach/hurd/syncfs.c: New file.
28214 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28217 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28218 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28219 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28220 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28221 (_nss_dns_gethostbyname4_r): Likewise.
28222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28223 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28225 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28228 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28230 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28232 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28233 * elf/cache.c (print_entry): Print ",AArch64" for
28236 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28237 * elf/cache.c (print_entry): Print ",hard-float" for
28240 2012-11-18 David S. Miller <davem@davemloft.net>
28242 With help from Joseph Myers.
28243 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28245 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28247 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28248 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28250 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28251 * math/libm-test.inc (y0_test): New tests.
28252 (y1_test): New tests.
28253 * sysdeps/i386/fpu/libm-test-ulps: Update.
28254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28257 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28259 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28261 * configure: Regenerated.
28263 2012-11-17 David S. Miller <davem@davemloft.net>
28266 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28267 nonzero exponents with absolute value below 0x1p-128 to +/-
28270 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28272 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28274 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28276 * posix/getconf-speclist.c: New file.
28277 * posix/posix-envs.def: Likewise.
28278 * posix/confstr.c (START_ENV_GROUP): New macro.
28279 (END_ENV_GROUP): Likewise.
28280 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28281 (KNOWN_PRESENT_ENV_STRING): Likewise.
28282 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28283 (UNKNOWN_ENVIRONMENT): Likewise.
28284 (confstr): Include posix-envs.def instead of handling
28285 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28286 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28287 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28288 (END_ENV_GROUP): Likewise.
28289 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28290 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28291 (UNKNOWN_ENVIRONMENT): Likewise.
28292 (__sysconf): Include posix-envs.def instead of handling associated
28293 cases directly here.
28294 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28295 preprocessing getconf-speclist.c rather than running getconf or
28296 generating empty file.
28298 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28300 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28302 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28305 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28307 2012-11-16 David S. Miller <davem@davemloft.net>
28309 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28310 smaller than LDBL_EPSILON/2.0L, just return xm1.
28312 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28314 * elf/tst-array1.c (init): Set constructor priority to 1000.
28315 (fini): Set destructor priority to 1000.
28316 * elf/tst-array2dep.c: Likewise.
28318 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28321 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28322 (_IO_new_file_xsputn): Also return EOF if none of the input
28323 data was written when overflow failed.
28324 * libio/iopadn.c (_IO_padn): Likewise.
28325 * libio/iowpadn.c (_IO_wpadn): Likewise.
28326 * stdio-common/tst-put-error.c: Add copyright notice.
28327 (do_test): Add case for printing padded string.
28328 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28329 _IO_padn returned error.
28330 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28331 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28334 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28336 * libio/libioP.h: Add comment note that the references to C++
28337 bits are now obsolete.
28339 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28341 * math/libm-test.inc (check_complex): Use asprintf.
28343 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28345 * debug/pcprofiledump.c (print_version): Update copyright year.
28346 * malloc/memusagestat.c (print_version): Likewise.
28348 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28351 * elf/Makefile (tests): Add tst-audit8.
28352 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28353 ($(objpfx)tst-audit8.out): New target.
28354 (tst-audit8-ENV): New variable.
28355 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28356 audit if l_reloc_result is NULL.
28357 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28358 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28359 * elf/tst-audit8.c: New file.
28361 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28363 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28364 * misc/Makefile (CFLAGS-select.c): Define.
28365 * posix/Makefile (CFLAGS-pause.c): Define.
28367 2012-11-13 David S. Miller <davem@davemloft.net>
28369 * crypt/Makefile: Move test targets after toplevel Rules
28370 inclusion. Grab any necessary sysdep routines when linking.
28371 * crypt/md5.c (md5_process_block): Remove define, we will always
28372 name it __md5_process_block.
28373 (md5_finish_ctx): Update md5_process_block call.
28374 (md5_stream): Likewise.
28375 (md5_process_bytes): Likewise.
28376 (md5_process_block): Rename to __md5_process_block and move to ...
28377 * crypt/md5-block.c: ... here.
28378 * crypt/sha256.c (sha256_process_block): Move to ...
28379 * crypt/sha256-block.c: ... here.
28380 * crypt/sha512.c (sha512_process_block): Move to ...
28381 * crypt/sha512-block.c: ... here.
28382 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28384 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28385 * sysdeps/sparc/sparc64/multiarch/Makefile
28386 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28388 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28389 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28391 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28392 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28393 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28394 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28395 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28396 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28397 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28398 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28399 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28401 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28402 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28404 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28406 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28408 * timezone/tzselect.ksh: Update from tzcode git revision
28409 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28410 * timezone/zdump.c: Likewise.
28411 * timezone/zic.c: Likewise.
28412 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28413 in TZVERSION setting, not $(PKGVERSION).
28414 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28415 REPORT_BUGS_TO settings.
28418 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28421 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28423 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28424 detection to immediately after _FP_ROUND().
28425 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28428 2012-11-11 David S. Miller <davem@davemloft.net>
28430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28432 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28433 __close rather than their public counterparts.
28435 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28437 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28439 [UNIX98] (sem_timedwait): Do not expect.
28440 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28441 [XPG4 || UNIX98] (sockatmark): Do not expect.
28442 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28443 (clock_getcpuclockid): Do not expect.
28444 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28445 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28447 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28448 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28449 [UNIX98] (vwscanf): Likewise.
28450 [UNIX98] (vswscanf): Likewise.
28452 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28454 * timezone/version.h: Remove file.
28455 * timezone/README: Do not refer to version.h.
28456 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28457 $(objpfx)version.h.
28458 ($(objpfx)zdump.o): Likewise.
28459 ($(objpfx)version.h): New target.
28461 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28463 * timezone/README: Don't mention modification to tzselect.ksh.
28464 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28465 work on unmodified tzselect.ksh. Substitute version numbers in
28468 * Makefile (format-me): Remove.
28469 (INSTALL): Adjust indentation. Use commands directly instead of
28470 using $(format-me).
28472 * aclocal.m4 (ACX_PKGVERSION): New macro.
28473 (ACX_BUGURL): Likewise.
28474 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28475 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28476 (REPORT_BUGS_TO): Likewise.
28477 * configure: Regenerated.
28478 * config.h.in (PKGVERSION): New macro.
28479 (REPORT_BUGS_TO): Likewise.
28480 * config.make.in (PKGVERSION): New variable.
28481 (PKGVERSION_TEXI): Likewise.
28482 (REPORT_BUGS_TO): Likewise.
28483 (REPORT_BUGS_TEXI): Likewise.
28484 * Makefile (format-me): Use -I$(common-objpfx)manual.
28485 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28486 ($(common-objpfx)manual/%): New target.
28487 (manual/%): Remove target.
28488 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28489 (print_version): Use PKGVERSION.
28490 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28491 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28492 and REPORT_BUGS_TO.
28493 ($(objpfx)xtrace): Likewise.
28494 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28495 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28496 (print_version): Use PKGVERSION.
28497 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28498 (do_version): Use PKGVERSION.
28499 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28501 (common-ldd-rewrite): Likewise.
28502 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28503 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28504 (print_version): Use PKGVERSION.
28505 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28506 * elf/pldd.c (argp_program_bug_address): Remove variable.
28507 (more_help): New function.
28508 (argp): Use more_help.
28509 (print_version): Use PKGVERSION.
28510 * elf/sln.c (main): Use PKGVERSION.
28511 (usage): Use REPORT_BUGS_TO.
28512 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28513 (top level): Use PKGVERSION.
28514 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28515 (print_version): Use PKGVERSION.
28516 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28517 (print_version): Use PKGVERSION.
28518 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28519 (print_version): Use PKGVERSION.
28520 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28521 (print_version): Use PKGVERSION.
28522 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28523 (print_version): Use PKGVERSION.
28524 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28525 (print_version): Use PKGVERSION.
28526 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28528 ($(objpfx)memusage): Likewise.
28529 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28530 (do_version): Use PKGVERSION.
28531 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28532 (print_version): Use PKGVERSION.
28533 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28534 ($PKGVERSION): New variable.
28535 ($REPORT_BUGS_TO): Likewise.
28536 (usage): Use $REPORT_BUGS_TO.
28537 (top level): Use $PKGVERSION.
28538 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28539 ($(objpfx)pkgvers.texi): New rule.
28540 ($(objpfx)stamp-pkgvers): Likewise.
28541 * manual/install.texi: Include pkgvers.texi.
28542 (--with-pkgversion): Document new configure option.
28543 (--with-bugurl): Likewise.
28544 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28545 than necessarily for this particular distribution. Use
28546 REPORT_BUGS_TO for where to report bugs.
28547 * INSTALL: Regenerated.
28548 * manual/libc.texinfo: Include pkgvers.texi.
28549 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28550 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28551 (print_version): Use PKGVERSION.
28552 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28553 (print_version): Use PKGVERSION.
28554 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28555 (print_version): Use PKGVERSION.
28556 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28557 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28559 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28560 (print_version): Use PKGVERSION.
28561 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28562 (print_version): Use PKGVERSION.
28563 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28566 * timezone/checktab.awk: Update from tzcode 2012i.
28567 * timezone/ialloc.c: Likewise.
28568 * timezone/private.h: Likewise.
28569 * timezone/scheck.c: Likewise.
28570 * timezone/tzfile.h: Likewise.
28571 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28572 (TZVERSION): Hardcode tzcode version number.
28573 * timezone/zdump.c: Update from tzcode 2012i.
28574 * timezone/zic.c: Likewise.
28575 * timezone/version.h: New file.
28576 * timezone/README: Describe version.h. Update upstream location.
28579 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28580 (mktemp): Enable declaration.
28581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28584 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28598 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28599 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28600 for copies of such integer values.
28601 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28602 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28604 2012-11-09 Andreas Jaeger <aj@suse.de>
28606 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28607 definitions and declarations that are provided by
28608 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28610 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28612 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28613 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28614 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28617 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28619 * elf/elf.h: Update comment before AArch64 relocations.
28621 2012-11-07 David S. Miller <davem@davemloft.net>
28623 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28624 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28625 (__start_context): Declare.
28626 (__makecontext_ret): Delete.
28627 (__makecontext): Hook up __start_context instead of
28629 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28630 (sysdep_routines): Add __start_context when in stdlib.
28632 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28634 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28635 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28636 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28638 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28639 (READELF): New variable. Use it instead of hardcoded "readelf".
28641 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28643 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28644 * sysdeps/x86/Makefile: Here.
28645 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28646 * sysdeps/x86/tst-xmmymm.sh: This.
28648 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28650 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28652 [UNIX98] (pthread_barrier_t): Do not expect.
28653 [UNIX98] (pthread_barrierattr_t): Likewise.
28654 [UNIX98] (pthread_spinlock_t): Likewise.
28655 [UNIX98] (pthread_barrier_destroy): Likewise.
28656 [UNIX98] (pthread_barrier_init): Likewise.
28657 [UNIX98] (pthread_barrier_wait): Likewise.
28658 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28659 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28660 [UNIX98] (pthread_barrierattr_init): Likewise.
28661 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28662 [UNIX98] (pthread_getcpuclockid): Likewise.
28663 [UNIX98] (pthread_mutex_timedlock): Likewise.
28664 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28665 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28666 [UNIX98] (pthread_sigmask): Likewise.
28667 [UNIX98] (pthread_spin_destroy): Likewise.
28668 [UNIX98] (pthread_spin_init): Likewise.
28669 [UNIX98] (pthread_spin_lock): Likewise.
28670 [UNIX98] (pthread_spin_trylock): Likewise.
28671 [UNIX98] (pthread_spin_unlock): Likewise.
28672 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28674 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28675 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28676 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28677 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28678 [XPG3 || XPG4] (pthread_key_t): Likewise.
28679 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28680 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28681 [XPG3 || XPG4] (pthread_once_t): Likewise.
28682 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28683 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28684 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28685 [XPG3 || XPG4] (pthread_t): Likewise.
28687 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28689 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28691 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28692 Change function return type to int.
28694 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28695 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28696 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28697 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28698 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28699 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28700 [!POSIX] (posix_madvise): Likewise.
28701 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28703 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28704 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28705 (mode_t): Likewise.
28706 (posix_mem_offset): Likewise.
28707 (posix_typed_mem_get_info): Likewise.
28708 (posix_typed_mem_open): Likewise.
28710 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28711 Change condition to [XOPEN2K8].
28713 * conform/conformtest.pl: Preprocess allow-header data with -x c
28714 instead of from stdin.
28715 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28716 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28717 [C99-based standards] (cerfc): Likewise.
28718 [C99-based standards] (cexp2): Likewise.
28719 [C99-based standards] (cexpm1): Likewise.
28720 [C99-based standards] (clog10): Likewise.
28721 [C99-based standards] (clog1p): Likewise.
28722 [C99-based standards] (clog2): Likewise.
28723 [C99-based standards] (clgamma): Likewise.
28724 [C99-based standards] (ctgamma): Likewise.
28725 [C99-based standards] (cerff): Likewise.
28726 [C99-based standards] (cerfcf): Likewise.
28727 [C99-based standards] (cexp2f): Likewise.
28728 [C99-based standards] (cexpm1f): Likewise.
28729 [C99-based standards] (clog10f): Likewise.
28730 [C99-based standards] (clog1pf): Likewise.
28731 [C99-based standards] (clog2f): Likewise.
28732 [C99-based standards] (clgammaf): Likewise.
28733 [C99-based standards] (ctgammaf): Likewise.
28734 [C99-based standards] (cerfl): Likewise.
28735 [C99-based standards] (cerfcl): Likewise.
28736 [C99-based standards] (cexp2l): Likewise.
28737 [C99-based standards] (cexpm1l): Likewise.
28738 [C99-based standards] (clog10l): Likewise.
28739 [C99-based standards] (clog1pl): Likewise.
28740 [C99-based standards] (clog2l): Likewise.
28741 [C99-based standards] (clgammal): Likewise.
28742 [C99-based standards] (ctgammal): Likewise.
28743 * conform/data/inttypes.h-data [C99-based standards]: Include
28744 stdint.h-data. Remove all expectations for stdint.h contents.
28745 [C99-based standards] (PRI*): Do not allow.
28746 [C99-based standards] (SCN*): Likewise.
28747 [C99-based standards] (*_t): Likewise.
28748 [C99-based-standards] (PRId8): Expect macro.
28749 [C99-based-standards] (PRIi8): Likewise.
28750 [C99-based-standards] (PRIo8): Likewise.
28751 [C99-based-standards] (PRIu8): Likewise.
28752 [C99-based-standards] (PRIx8): Likewise.
28753 [C99-based-standards] (PRIX8): Likewise.
28754 [C99-based-standards] (SCNd8): Likewise.
28755 [C99-based-standards] (SCNi8): Likewise.
28756 [C99-based-standards] (SCNo8): Likewise.
28757 [C99-based-standards] (SCNu8): Likewise.
28758 [C99-based-standards] (SCNx8): Likewise.
28759 [C99-based-standards] (PRIdLEAST8): Likewise.
28760 [C99-based-standards] (PRIiLEAST8): Likewise.
28761 [C99-based-standards] (PRIoLEAST8): Likewise.
28762 [C99-based-standards] (PRIuLEAST8): Likewise.
28763 [C99-based-standards] (PRIxLEAST8): Likewise.
28764 [C99-based-standards] (PRIXLEAST8): Likewise.
28765 [C99-based-standards] (SCNdLEAST8): Likewise.
28766 [C99-based-standards] (SCNiLEAST8): Likewise.
28767 [C99-based-standards] (SCNoLEAST8): Likewise.
28768 [C99-based-standards] (SCNuLEAST8): Likewise.
28769 [C99-based-standards] (SCNxLEAST8): Likewise.
28770 [C99-based-standards] (PRIdFAST8): Likewise.
28771 [C99-based-standards] (PRIiFAST8): Likewise.
28772 [C99-based-standards] (PRIoFAST8): Likewise.
28773 [C99-based-standards] (PRIuFAST8): Likewise.
28774 [C99-based-standards] (PRIxFAST8): Likewise.
28775 [C99-based-standards] (PRIXFAST8): Likewise.
28776 [C99-based-standards] (SCNdFAST8): Likewise.
28777 [C99-based-standards] (SCNiFAST8): Likewise.
28778 [C99-based-standards] (SCNoFAST8): Likewise.
28779 [C99-based-standards] (SCNuFAST8): Likewise.
28780 [C99-based-standards] (SCNxFAST8): Likewise.
28781 [C99-based-standards] (PRId16): Likewise.
28782 [C99-based-standards] (PRIi16): Likewise.
28783 [C99-based-standards] (PRIo16): Likewise.
28784 [C99-based-standards] (PRIu16): Likewise.
28785 [C99-based-standards] (PRIx16): Likewise.
28786 [C99-based-standards] (PRIX16): Likewise.
28787 [C99-based-standards] (SCNd16): Likewise.
28788 [C99-based-standards] (SCNi16): Likewise.
28789 [C99-based-standards] (SCNo16): Likewise.
28790 [C99-based-standards] (SCNu16): Likewise.
28791 [C99-based-standards] (SCNx16): Likewise.
28792 [C99-based-standards] (PRIdLEAST16): Likewise.
28793 [C99-based-standards] (PRIiLEAST16): Likewise.
28794 [C99-based-standards] (PRIoLEAST16): Likewise.
28795 [C99-based-standards] (PRIuLEAST16): Likewise.
28796 [C99-based-standards] (PRIxLEAST16): Likewise.
28797 [C99-based-standards] (PRIXLEAST16): Likewise.
28798 [C99-based-standards] (SCNdLEAST16): Likewise.
28799 [C99-based-standards] (SCNiLEAST16): Likewise.
28800 [C99-based-standards] (SCNoLEAST16): Likewise.
28801 [C99-based-standards] (SCNuLEAST16): Likewise.
28802 [C99-based-standards] (SCNxLEAST16): Likewise.
28803 [C99-based-standards] (PRIdFAST16): Likewise.
28804 [C99-based-standards] (PRIiFAST16): Likewise.
28805 [C99-based-standards] (PRIoFAST16): Likewise.
28806 [C99-based-standards] (PRIuFAST16): Likewise.
28807 [C99-based-standards] (PRIxFAST16): Likewise.
28808 [C99-based-standards] (PRIXFAST16): Likewise.
28809 [C99-based-standards] (SCNdFAST16): Likewise.
28810 [C99-based-standards] (SCNiFAST16): Likewise.
28811 [C99-based-standards] (SCNoFAST16): Likewise.
28812 [C99-based-standards] (SCNuFAST16): Likewise.
28813 [C99-based-standards] (SCNxFAST16): Likewise.
28814 [C99-based-standards] (PRId32): Likewise.
28815 [C99-based-standards] (PRIi32): Likewise.
28816 [C99-based-standards] (PRIo32): Likewise.
28817 [C99-based-standards] (PRIu32): Likewise.
28818 [C99-based-standards] (PRIx32): Likewise.
28819 [C99-based-standards] (PRIX32): Likewise.
28820 [C99-based-standards] (SCNd32): Likewise.
28821 [C99-based-standards] (SCNi32): Likewise.
28822 [C99-based-standards] (SCNo32): Likewise.
28823 [C99-based-standards] (SCNu32): Likewise.
28824 [C99-based-standards] (SCNx32): Likewise.
28825 [C99-based-standards] (PRIdLEAST32): Likewise.
28826 [C99-based-standards] (PRIiLEAST32): Likewise.
28827 [C99-based-standards] (PRIoLEAST32): Likewise.
28828 [C99-based-standards] (PRIuLEAST32): Likewise.
28829 [C99-based-standards] (PRIxLEAST32): Likewise.
28830 [C99-based-standards] (PRIXLEAST32): Likewise.
28831 [C99-based-standards] (SCNdLEAST32): Likewise.
28832 [C99-based-standards] (SCNiLEAST32): Likewise.
28833 [C99-based-standards] (SCNoLEAST32): Likewise.
28834 [C99-based-standards] (SCNuLEAST32): Likewise.
28835 [C99-based-standards] (SCNxLEAST32): Likewise.
28836 [C99-based-standards] (PRIdFAST32): Likewise.
28837 [C99-based-standards] (PRIiFAST32): Likewise.
28838 [C99-based-standards] (PRIoFAST32): Likewise.
28839 [C99-based-standards] (PRIuFAST32): Likewise.
28840 [C99-based-standards] (PRIxFAST32): Likewise.
28841 [C99-based-standards] (PRIXFAST32): Likewise.
28842 [C99-based-standards] (SCNdFAST32): Likewise.
28843 [C99-based-standards] (SCNiFAST32): Likewise.
28844 [C99-based-standards] (SCNoFAST32): Likewise.
28845 [C99-based-standards] (SCNuFAST32): Likewise.
28846 [C99-based-standards] (SCNxFAST32): Likewise.
28847 [C99-based-standards] (PRId64): Likewise.
28848 [C99-based-standards] (PRIi64): Likewise.
28849 [C99-based-standards] (PRIo64): Likewise.
28850 [C99-based-standards] (PRIu64): Likewise.
28851 [C99-based-standards] (PRIx64): Likewise.
28852 [C99-based-standards] (PRIX64): Likewise.
28853 [C99-based-standards] (SCNd64): Likewise.
28854 [C99-based-standards] (SCNi64): Likewise.
28855 [C99-based-standards] (SCNo64): Likewise.
28856 [C99-based-standards] (SCNu64): Likewise.
28857 [C99-based-standards] (SCNx64): Likewise.
28858 [C99-based-standards] (PRIdLEAST64): Likewise.
28859 [C99-based-standards] (PRIiLEAST64): Likewise.
28860 [C99-based-standards] (PRIoLEAST64): Likewise.
28861 [C99-based-standards] (PRIuLEAST64): Likewise.
28862 [C99-based-standards] (PRIxLEAST64): Likewise.
28863 [C99-based-standards] (PRIXLEAST64): Likewise.
28864 [C99-based-standards] (SCNdLEAST64): Likewise.
28865 [C99-based-standards] (SCNiLEAST64): Likewise.
28866 [C99-based-standards] (SCNoLEAST64): Likewise.
28867 [C99-based-standards] (SCNuLEAST64): Likewise.
28868 [C99-based-standards] (SCNxLEAST64): Likewise.
28869 [C99-based-standards] (PRIdFAST64): Likewise.
28870 [C99-based-standards] (PRIiFAST64): Likewise.
28871 [C99-based-standards] (PRIoFAST64): Likewise.
28872 [C99-based-standards] (PRIuFAST64): Likewise.
28873 [C99-based-standards] (PRIxFAST64): Likewise.
28874 [C99-based-standards] (PRIXFAST64): Likewise.
28875 [C99-based-standards] (SCNdFAST64): Likewise.
28876 [C99-based-standards] (SCNiFAST64): Likewise.
28877 [C99-based-standards] (SCNoFAST64): Likewise.
28878 [C99-based-standards] (SCNuFAST64): Likewise.
28879 [C99-based-standards] (SCNxFAST64): Likewise.
28880 [C99-based-standards] (PRIdMAX): Likewise.
28881 [C99-based-standards] (PRIiMAX): Likewise.
28882 [C99-based-standards] (PRIoMAX): Likewise.
28883 [C99-based-standards] (PRIuMAX): Likewise.
28884 [C99-based-standards] (PRIxMAX): Likewise.
28885 [C99-based-standards] (PRIXMAX): Likewise.
28886 [C99-based-standards] (SCNdMAX): Likewise.
28887 [C99-based-standards] (SCNiMAX): Likewise.
28888 [C99-based-standards] (SCNoMAX): Likewise.
28889 [C99-based-standards] (SCNuMAX): Likewise.
28890 [C99-based-standards] (SCNxMAX): Likewise.
28891 [C99-based-standards] (PRIdPTR): Likewise.
28892 [C99-based-standards] (PRIiPTR): Likewise.
28893 [C99-based-standards] (PRIoPTR): Likewise.
28894 [C99-based-standards] (PRIuPTR): Likewise.
28895 [C99-based-standards] (PRIxPTR): Likewise.
28896 [C99-based-standards] (PRIXPTR): Likewise.
28897 [C99-based-standards] (SCNdPTR): Likewise.
28898 [C99-based-standards] (SCNiPTR): Likewise.
28899 [C99-based-standards] (SCNoPTR): Likewise.
28900 [C99-based-standards] (SCNuPTR): Likewise.
28901 [C99-based-standards] (SCNxPTR): Likewise.
28902 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28904 * conform/data/stdint.h-data: Update comments to clarify
28906 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28908 [C99-based standards] (INT8_MAX): Likewise.
28909 [C99-based standards] (INT16_MIN): Likewise.
28910 [C99-based standards] (INT16_MAX): Likewise.
28911 [C99-based standards] (INT32_MIN): Likewise.
28912 [C99-based standards] (INT32_MAX): Likewise.
28913 [C99-based standards] (INT64_MIN): Likewise.
28914 [C99-based standards] (INT64_MAX): Likewise.
28915 [C99-based standards] (UINT8_MAX): Likewise.
28916 [C99-based standards] (UINT16_MAX): Likewise.
28917 [C99-based standards] (UINT32_MAX): Likewise.
28918 [C99-based standards] (UINT64_MAX): Likewise.
28919 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28920 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28921 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28922 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28923 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28924 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28925 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28926 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28927 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28928 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28929 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28930 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28931 [C99-based standards] (INT_FAST8_MIN): Likewise.
28932 [C99-based standards] (INT_FAST8_MAX): Likewise.
28933 [C99-based standards] (INT_FAST16_MIN): Likewise.
28934 [C99-based standards] (INT_FAST16_MAX): Likewise.
28935 [C99-based standards] (INT_FAST32_MIN): Likewise.
28936 [C99-based standards] (INT_FAST32_MAX): Likewise.
28937 [C99-based standards] (INT_FAST64_MIN): Likewise.
28938 [C99-based standards] (INT_FAST64_MAX): Likewise.
28939 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28940 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28941 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28942 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28943 [C99-based standards] (INTPTR_MIN): Likewise.
28944 [C99-based standards] (INTPTR_MAX): Likewise.
28945 [C99-based standards] (UINTPTR_MAX): Likewise.
28946 [C99-based standards] (INTMAX_MIN): Likewise.
28947 [C99-based standards] (INTMAX_MAX): Likewise.
28948 [C99-based standards] (UINTMAX_MAX): Likewise.
28949 [C99-based standards] (PTRDIFF_MIN): Likewise.
28950 [C99-based standards] (PTRDIFF_MAX): Likewise.
28951 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28952 [C99-based standards] (SIZE_MAX): Likewise.
28953 [C99-based standards] (WCHAR_MAX): Likewise.
28954 [C99-based standards] (WINT_MAX): Likewise.
28955 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28956 constraint on value.
28957 [C99-based standards] (WCHAR_MIN): Likewise.
28958 [C99-based standards] (WINT_MIN): Likewise.
28959 [C99-based standards] (*_t): Allow.
28960 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28961 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28962 Include math.h-data and complex.h-data. Remove all expectations
28963 of math.h and complex.h contents.
28964 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28966 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28967 (struct tm): Expect tag.
28968 [C99-based-standards] (wcstof): Expect function.
28969 [C99-based-standards] (wcstold): Likewise.
28970 [C99-based-standards] (wcstoll): Likewise.
28971 [C99-based-standards] (wcstoull): Likewise.
28972 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28973 macro-int-constant. Specify type.
28974 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28975 constraint on value.
28976 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28978 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28980 [ISO C standards]: Do not allow headers.
28981 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28982 wcs[abcdefghijklmnopqrstuvwxyz]*.
28983 [ISO C standards] (*_t): Do not allow.
28984 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28986 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28987 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28989 [ISO C standards]: Do not allow headers.
28990 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28991 is[abcdefghijklmnopqrstuvwxyz]*.
28992 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28993 to[abcdefghijklmnopqrstuvwxyz]*.
28994 [ISO C standards] (*_t): Do not allow.
28995 * conform/data/stdalign.h-data: New file.
28996 * conform/data/stdbool.h-data: Likewise.
28997 * conform/data/stdnoreturn.h-data: Likewise.
28999 2012-11-07 Roland McGrath <roland@hack.frob.com>
29002 * manual/filesys.texi (Directory Entries): Typo fix.
29003 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29005 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29007 * elf/elf.h (EM_AARCH64): New macro.
29008 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29009 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29010 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29011 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29012 (R_AARCH64_TLSDESC): Likewise.
29013 (NT_ARM_TLS): Likewise.
29014 (NT_ARM_HW_BREAK): Likewise.
29015 (NT_ARM_HW_WATCH): Likewise.
29017 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29020 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29021 (__ieee754_powl): Saturate nonzero exponents with absolute value
29022 below 0x1p-79 to +/- 0x1p-79.
29023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29024 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29025 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29026 nonzero exponents with absolute value below 0x1p-32 to +/-
29028 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29029 (__ieee754_powl): Saturate nonzero exponents with absolute value
29030 below 0x1p-79 to +/- 0x1p-79.
29031 * math/libm-test.inc (pow_test): Add more tests.
29033 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29035 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29036 _dl_s390_cap_flags with kernel. Increase string length.
29037 (_dl_s390_platforms): Add z196 and zEC12.
29039 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29041 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29042 Change XOPEN21K to XOPEN2K.
29044 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29046 * string/memmove.c: Use memcpy when possible.
29048 2012-11-06 Andreas Jaeger <aj@suse.de>
29050 * po/eo.po: Update from translation team.
29052 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29056 exponent and small x and y exponents, scale x or y up. Increase
29057 by 2 the exponent used in scaling up.
29058 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29059 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29060 * math/libm-test.inc (fma_test): Add more tests.
29061 (fma_test_towardzero): Likewise.
29062 (fma_test_downward): Likewise.
29063 (fma_test_upward): Likewise.
29065 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29068 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29072 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29073 namespace for names of struct fields.
29074 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29076 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29077 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29079 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29082 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29084 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29086 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29090 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29093 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29097 definitely overflow as x * y not x * y + z.
29098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29100 * math/libm-test.inc (fma_test): Add more tests.
29101 (fma_test_towardzero): Likewise.
29102 (fma_test_downward): Likewise.
29103 (fma_test_upward): Likewise.
29105 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29109 * include/stub-tag.h: Remove file.
29110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29112 * manual/maint.texi (Porting): Don't reference it.
29113 * Makerules ($(objpfx)stubs): Likewise.
29114 * dirent/closedir.c: Don't include <stub-tag.h>.
29115 * dirent/dirfd.c: Likewise.
29116 * dirent/fdopendir.c: Likewise.
29117 * dirent/getdents.c: Likewise.
29118 * dirent/getdents64.c: Likewise.
29119 * dirent/opendir.c: Likewise.
29120 * dirent/readdir.c: Likewise.
29121 * dirent/readdir64.c: Likewise.
29122 * dirent/readdir64_r.c: Likewise.
29123 * dirent/readdir_r.c: Likewise.
29124 * dirent/rewinddir.c: Likewise.
29125 * dirent/seekdir.c: Likewise.
29126 * dirent/telldir.c: Likewise.
29127 * gmon/profil.c: Likewise.
29128 * grp/setgroups.c: Likewise.
29129 * inet/if_index.c: Likewise.
29130 * io/access.c: Likewise.
29131 * io/chdir.c: Likewise.
29132 * io/chmod.c: Likewise.
29133 * io/chown.c: Likewise.
29134 * io/close.c: Likewise.
29135 * io/dup.c: Likewise.
29136 * io/dup2.c: Likewise.
29137 * io/dup3.c: Likewise.
29138 * io/euidaccess.c: Likewise.
29139 * io/faccessat.c: Likewise.
29140 * io/fchdir.c: Likewise.
29141 * io/fchmod.c: Likewise.
29142 * io/fchmodat.c: Likewise.
29143 * io/fchown.c: Likewise.
29144 * io/fchownat.c: Likewise.
29145 * io/fcntl.c: Likewise.
29146 * io/flock.c: Likewise.
29147 * io/fstatfs.c: Likewise.
29148 * io/fstatfs64.c: Likewise.
29149 * io/fstatvfs.c: Likewise.
29150 * io/fstatvfs64.c: Likewise.
29151 * io/futimens.c: Likewise.
29152 * io/fxstat.c: Likewise.
29153 * io/fxstat64.c: Likewise.
29154 * io/fxstatat.c: Likewise.
29155 * io/fxstatat64.c: Likewise.
29156 * io/getcwd.c: Likewise.
29157 * io/isatty.c: Likewise.
29158 * io/lchmod.c: Likewise.
29159 * io/lchown.c: Likewise.
29160 * io/link.c: Likewise.
29161 * io/linkat.c: Likewise.
29162 * io/lseek.c: Likewise.
29163 * io/lseek64.c: Likewise.
29164 * io/lxstat64.c: Likewise.
29165 * io/mkdir.c: Likewise.
29166 * io/mkdirat.c: Likewise.
29167 * io/mkfifo.c: Likewise.
29168 * io/mkfifoat.c: Likewise.
29169 * io/open.c: Likewise.
29170 * io/open64.c: Likewise.
29171 * io/openat.c: Likewise.
29172 * io/openat64.c: Likewise.
29173 * io/pipe.c: Likewise.
29174 * io/pipe2.c: Likewise.
29175 * io/poll.c: Likewise.
29176 * io/posix_fadvise.c: Likewise.
29177 * io/posix_fadvise64.c: Likewise.
29178 * io/posix_fallocate.c: Likewise.
29179 * io/posix_fallocate64.c: Likewise.
29180 * io/read.c: Likewise.
29181 * io/readlink.c: Likewise.
29182 * io/readlinkat.c: Likewise.
29183 * io/rmdir.c: Likewise.
29184 * io/sendfile.c: Likewise.
29185 * io/sendfile64.c: Likewise.
29186 * io/statfs.c: Likewise.
29187 * io/statfs64.c: Likewise.
29188 * io/statvfs.c: Likewise.
29189 * io/statvfs64.c: Likewise.
29190 * io/symlink.c: Likewise.
29191 * io/symlinkat.c: Likewise.
29192 * io/ttyname.c: Likewise.
29193 * io/ttyname_r.c: Likewise.
29194 * io/umask.c: Likewise.
29195 * io/unlink.c: Likewise.
29196 * io/unlinkat.c: Likewise.
29197 * io/utime.c: Likewise.
29198 * io/utimensat.c: Likewise.
29199 * io/write.c: Likewise.
29200 * io/xmknod.c: Likewise.
29201 * io/xmknodat.c: Likewise.
29202 * io/xstat.c: Likewise.
29203 * io/xstat64.c: Likewise.
29204 * login/getpt.c: Likewise.
29205 * login/grantpt.c: Likewise.
29206 * login/unlockpt.c: Likewise.
29207 * math/e_acoshl.c: Likewise.
29208 * math/e_acosl.c: Likewise.
29209 * math/e_asinl.c: Likewise.
29210 * math/e_atan2l.c: Likewise.
29211 * math/e_atanhl.c: Likewise.
29212 * math/e_coshl.c: Likewise.
29213 * math/e_expl.c: Likewise.
29214 * math/e_fmodl.c: Likewise.
29215 * math/e_gammal_r.c: Likewise.
29216 * math/e_hypotl.c: Likewise.
29217 * math/e_j0l.c: Likewise.
29218 * math/e_j1l.c: Likewise.
29219 * math/e_jnl.c: Likewise.
29220 * math/e_lgammal_r.c: Likewise.
29221 * math/e_log10l.c: Likewise.
29222 * math/e_log2l.c: Likewise.
29223 * math/e_logl.c: Likewise.
29224 * math/e_powl.c: Likewise.
29225 * math/e_rem_pio2l.c: Likewise.
29226 * math/e_sinhl.c: Likewise.
29227 * math/e_sqrtl.c: Likewise.
29228 * math/fclrexcpt.c: Likewise.
29229 * math/fedisblxcpt.c: Likewise.
29230 * math/feenablxcpt.c: Likewise.
29231 * math/fegetenv.c: Likewise.
29232 * math/fegetexcept.c: Likewise.
29233 * math/fegetround.c: Likewise.
29234 * math/feholdexcpt.c: Likewise.
29235 * math/fesetenv.c: Likewise.
29236 * math/fesetround.c: Likewise.
29237 * math/feupdateenv.c: Likewise.
29238 * math/fgetexcptflg.c: Likewise.
29239 * math/fraiseexcpt.c: Likewise.
29240 * math/fsetexcptflg.c: Likewise.
29241 * math/ftestexcept.c: Likewise.
29242 * math/k_cosl.c: Likewise.
29243 * math/k_rem_pio2l.c: Likewise.
29244 * math/k_sinl.c: Likewise.
29245 * math/k_tanl.c: Likewise.
29246 * math/s_asinhl.c: Likewise.
29247 * math/s_atanl.c: Likewise.
29248 * math/s_cbrtl.c: Likewise.
29249 * math/s_erfl.c: Likewise.
29250 * math/s_expm1l.c: Likewise.
29251 * math/s_log1pl.c: Likewise.
29252 * math/s_tanhl.c: Likewise.
29253 * misc/acct.c: Likewise.
29254 * misc/brk.c: Likewise.
29255 * misc/chflags.c: Likewise.
29256 * misc/chroot.c: Likewise.
29257 * misc/fchflags.c: Likewise.
29258 * misc/fgetxattr.c: Likewise.
29259 * misc/flistxattr.c: Likewise.
29260 * misc/fremovexattr.c: Likewise.
29261 * misc/fsetxattr.c: Likewise.
29262 * misc/fsync.c: Likewise.
29263 * misc/ftruncate.c: Likewise.
29264 * misc/futimes.c: Likewise.
29265 * misc/futimesat.c: Likewise.
29266 * misc/getdomain.c: Likewise.
29267 * misc/getdtsz.c: Likewise.
29268 * misc/gethostid.c: Likewise.
29269 * misc/gethostname.c: Likewise.
29270 * misc/getloadavg.c: Likewise.
29271 * misc/getpagesize.c: Likewise.
29272 * misc/getsysstats.c: Likewise.
29273 * misc/getxattr.c: Likewise.
29274 * misc/gtty.c: Likewise.
29275 * misc/ioctl.c: Likewise.
29276 * misc/lgetxattr.c: Likewise.
29277 * misc/listxattr.c: Likewise.
29278 * misc/llistxattr.c: Likewise.
29279 * misc/lremovexattr.c: Likewise.
29280 * misc/lsetxattr.c: Likewise.
29281 * misc/lutimes.c: Likewise.
29282 * misc/madvise.c: Likewise.
29283 * misc/mincore.c: Likewise.
29284 * misc/mlock.c: Likewise.
29285 * misc/mlockall.c: Likewise.
29286 * misc/mmap.c: Likewise.
29287 * misc/mprotect.c: Likewise.
29288 * misc/msync.c: Likewise.
29289 * misc/munlock.c: Likewise.
29290 * misc/munlockall.c: Likewise.
29291 * misc/munmap.c: Likewise.
29292 * misc/preadv.c: Likewise.
29293 * misc/preadv64.c: Likewise.
29294 * misc/ptrace.c: Likewise.
29295 * misc/pwritev.c: Likewise.
29296 * misc/pwritev64.c: Likewise.
29297 * misc/readv.c: Likewise.
29298 * misc/reboot.c: Likewise.
29299 * misc/remap_file_pages.c: Likewise.
29300 * misc/removexattr.c: Likewise.
29301 * misc/revoke.c: Likewise.
29302 * misc/select.c: Likewise.
29303 * misc/setdomain.c: Likewise.
29304 * misc/setegid.c: Likewise.
29305 * misc/seteuid.c: Likewise.
29306 * misc/sethostid.c: Likewise.
29307 * misc/sethostname.c: Likewise.
29308 * misc/setregid.c: Likewise.
29309 * misc/setreuid.c: Likewise.
29310 * misc/setxattr.c: Likewise.
29311 * misc/sstk.c: Likewise.
29312 * misc/stty.c: Likewise.
29313 * misc/swapoff.c: Likewise.
29314 * misc/swapon.c: Likewise.
29315 * misc/sync.c: Likewise.
29316 * misc/syncfs.c: Likewise.
29317 * misc/syscall.c: Likewise.
29318 * misc/truncate.c: Likewise.
29319 * misc/ualarm.c: Likewise.
29320 * misc/usleep.c: Likewise.
29321 * misc/ustat.c: Likewise.
29322 * misc/utimes.c: Likewise.
29323 * misc/vhangup.c: Likewise.
29324 * misc/writev.c: Likewise.
29325 * posix/_exit.c: Likewise.
29326 * posix/alarm.c: Likewise.
29327 * posix/execve.c: Likewise.
29328 * posix/fexecve.c: Likewise.
29329 * posix/fork.c: Likewise.
29330 * posix/fpathconf.c: Likewise.
29331 * posix/getaddrinfo.c: Likewise.
29332 * posix/getegid.c: Likewise.
29333 * posix/geteuid.c: Likewise.
29334 * posix/getgid.c: Likewise.
29335 * posix/getgroups.c: Likewise.
29336 * posix/getlogin.c: Likewise.
29337 * posix/getlogin_r.c: Likewise.
29338 * posix/getpgid.c: Likewise.
29339 * posix/getpid.c: Likewise.
29340 * posix/getppid.c: Likewise.
29341 * posix/getresgid.c: Likewise.
29342 * posix/getresuid.c: Likewise.
29343 * posix/getsid.c: Likewise.
29344 * posix/getuid.c: Likewise.
29345 * posix/glob64.c: Likewise.
29346 * posix/nanosleep.c: Likewise.
29347 * posix/pathconf.c: Likewise.
29348 * posix/pause.c: Likewise.
29349 * posix/posix_madvise.c: Likewise.
29350 * posix/pread.c: Likewise.
29351 * posix/pread64.c: Likewise.
29352 * posix/pwrite.c: Likewise.
29353 * posix/pwrite64.c: Likewise.
29354 * posix/sched_getaffinity.c: Likewise.
29355 * posix/sched_getp.c: Likewise.
29356 * posix/sched_gets.c: Likewise.
29357 * posix/sched_primax.c: Likewise.
29358 * posix/sched_primin.c: Likewise.
29359 * posix/sched_rr_gi.c: Likewise.
29360 * posix/sched_setaffinity.c: Likewise.
29361 * posix/sched_setp.c: Likewise.
29362 * posix/sched_sets.c: Likewise.
29363 * posix/sched_yield.c: Likewise.
29364 * posix/setgid.c: Likewise.
29365 * posix/setlogin.c: Likewise.
29366 * posix/setpgid.c: Likewise.
29367 * posix/setresgid.c: Likewise.
29368 * posix/setresuid.c: Likewise.
29369 * posix/setsid.c: Likewise.
29370 * posix/setuid.c: Likewise.
29371 * posix/sleep.c: Likewise.
29372 * posix/spawni.c: Likewise.
29373 * posix/sysconf.c: Likewise.
29374 * posix/times.c: Likewise.
29375 * posix/wait.c: Likewise.
29376 * posix/wait3.c: Likewise.
29377 * posix/wait4.c: Likewise.
29378 * posix/waitpid.c: Likewise.
29379 * resolv/gai_sigqueue.c: Likewise.
29380 * resource/getpriority.c: Likewise.
29381 * resource/getrlimit.c: Likewise.
29382 * resource/getrusage.c: Likewise.
29383 * resource/nice.c: Likewise.
29384 * resource/setpriority.c: Likewise.
29385 * resource/setrlimit.c: Likewise.
29386 * resource/ulimit.c: Likewise.
29387 * rt/aio_cancel.c: Likewise.
29388 * rt/aio_fsync.c: Likewise.
29389 * rt/aio_read.c: Likewise.
29390 * rt/aio_sigqueue.c: Likewise.
29391 * rt/aio_suspend.c: Likewise.
29392 * rt/aio_write.c: Likewise.
29393 * rt/clock_getres.c: Likewise.
29394 * rt/clock_gettime.c: Likewise.
29395 * rt/clock_nanosleep.c: Likewise.
29396 * rt/clock_settime.c: Likewise.
29397 * rt/lio_listio.c: Likewise.
29398 * rt/mq_close.c: Likewise.
29399 * rt/mq_getattr.c: Likewise.
29400 * rt/mq_notify.c: Likewise.
29401 * rt/mq_open.c: Likewise.
29402 * rt/mq_receive.c: Likewise.
29403 * rt/mq_send.c: Likewise.
29404 * rt/mq_setattr.c: Likewise.
29405 * rt/mq_timedreceive.c: Likewise.
29406 * rt/mq_timedsend.c: Likewise.
29407 * rt/mq_unlink.c: Likewise.
29408 * rt/shm_open.c: Likewise.
29409 * rt/shm_unlink.c: Likewise.
29410 * rt/timer_create.c: Likewise.
29411 * rt/timer_delete.c: Likewise.
29412 * rt/timer_getoverr.c: Likewise.
29413 * rt/timer_gettime.c: Likewise.
29414 * rt/timer_settime.c: Likewise.
29415 * setjmp/__longjmp.c: Likewise.
29416 * setjmp/setjmp.c: Likewise.
29417 * signal/kill.c: Likewise.
29418 * signal/killpg.c: Likewise.
29419 * signal/raise.c: Likewise.
29420 * signal/sigaction.c: Likewise.
29421 * signal/sigaltstack.c: Likewise.
29422 * signal/sigblock.c: Likewise.
29423 * signal/sigignore.c: Likewise.
29424 * signal/sigintr.c: Likewise.
29425 * signal/signal.c: Likewise.
29426 * signal/sigpause.c: Likewise.
29427 * signal/sigpending.c: Likewise.
29428 * signal/sigqueue.c: Likewise.
29429 * signal/sigreturn.c: Likewise.
29430 * signal/sigset.c: Likewise.
29431 * signal/sigsetmask.c: Likewise.
29432 * signal/sigstack.c: Likewise.
29433 * signal/sigsuspend.c: Likewise.
29434 * signal/sigtimedwait.c: Likewise.
29435 * signal/sigvec.c: Likewise.
29436 * signal/sigwait.c: Likewise.
29437 * signal/sigwaitinfo.c: Likewise.
29438 * signal/sysv_signal.c: Likewise.
29439 * socket/accept.c: Likewise.
29440 * socket/accept4.c: Likewise.
29441 * socket/bind.c: Likewise.
29442 * socket/connect.c: Likewise.
29443 * socket/getpeername.c: Likewise.
29444 * socket/getsockname.c: Likewise.
29445 * socket/getsockopt.c: Likewise.
29446 * socket/isfdtype.c: Likewise.
29447 * socket/listen.c: Likewise.
29448 * socket/recv.c: Likewise.
29449 * socket/recvfrom.c: Likewise.
29450 * socket/recvmsg.c: Likewise.
29451 * socket/send.c: Likewise.
29452 * socket/sendmsg.c: Likewise.
29453 * socket/sendto.c: Likewise.
29454 * socket/setsockopt.c: Likewise.
29455 * socket/shutdown.c: Likewise.
29456 * socket/sockatmark.c: Likewise.
29457 * socket/socket.c: Likewise.
29458 * socket/socketpair.c: Likewise.
29459 * stdio-common/ctermid.c: Likewise.
29460 * stdio-common/cuserid.c: Likewise.
29461 * stdio-common/remove.c: Likewise.
29462 * stdio-common/rename.c: Likewise.
29463 * stdio-common/renameat.c: Likewise.
29464 * stdio-common/tempname.c: Likewise.
29465 * stdlib/getcontext.c: Likewise.
29466 * stdlib/makecontext.c: Likewise.
29467 * stdlib/setcontext.c: Likewise.
29468 * stdlib/swapcontext.c: Likewise.
29469 * stdlib/system.c: Likewise.
29470 * streams/fattach.c: Likewise.
29471 * streams/fdetach.c: Likewise.
29472 * streams/getmsg.c: Likewise.
29473 * streams/getpmsg.c: Likewise.
29474 * streams/putmsg.c: Likewise.
29475 * streams/putpmsg.c: Likewise.
29476 * sysdeps/unix/bsd/getpt.c: Likewise.
29477 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29478 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29479 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29482 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29484 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29485 * sysvipc/msgctl.c: Likewise.
29486 * sysvipc/msgget.c: Likewise.
29487 * sysvipc/msgrcv.c: Likewise.
29488 * sysvipc/msgsnd.c: Likewise.
29489 * sysvipc/semctl.c: Likewise.
29490 * sysvipc/semget.c: Likewise.
29491 * sysvipc/semop.c: Likewise.
29492 * sysvipc/semtimedop.c: Likewise.
29493 * sysvipc/shmat.c: Likewise.
29494 * sysvipc/shmctl.c: Likewise.
29495 * sysvipc/shmdt.c: Likewise.
29496 * sysvipc/shmget.c: Likewise.
29497 * termios/tcdrain.c: Likewise.
29498 * termios/tcflow.c: Likewise.
29499 * termios/tcflush.c: Likewise.
29500 * termios/tcgetattr.c: Likewise.
29501 * termios/tcgetpgrp.c: Likewise.
29502 * termios/tcsendbrk.c: Likewise.
29503 * termios/tcsetattr.c: Likewise.
29504 * termios/tcsetpgrp.c: Likewise.
29505 * time/adjtime.c: Likewise.
29506 * time/clock.c: Likewise.
29507 * time/getitimer.c: Likewise.
29508 * time/gettimeofday.c: Likewise.
29509 * time/setitimer.c: Likewise.
29510 * time/settimeofday.c: Likewise.
29511 * time/stime.c: Likewise.
29512 * time/time.c: Likewise.
29514 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29516 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29519 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29521 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29523 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29527 FE_TONEAREST before applying Dekker multiplication and Knuth
29528 addition. Clear inexact exceptions and check for exact zero
29529 results afterwards.
29530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29531 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29532 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29533 * math/libm-test.inc (fma_test): Add more tests.
29534 (fma_test_towardzero): Likewise.
29535 (fma_test_downward): Likewise.
29536 (fma_test_upward): Likewise.
29537 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29539 (libc_fesetround): New macro.
29540 (libc_fesetroundf): Likewise.
29541 (libc_fesetroundl): Likewise.
29542 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29544 (libc_fesetround_387): Likewise.
29545 (libc_fesetroundf): New macro.
29546 (libc_fesetround): Likewise.
29547 (libc_fesetroundl): Likewise.
29548 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29550 (libc_fesetroundf): New macro.
29551 (libc_fesetround): Likewise.
29552 (libc_fesetroundl): Likewise.
29553 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29554 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29555 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29557 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29558 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29560 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29561 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29563 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29567 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29568 integer constant usable in #if and use that to give value to enum
29570 (FE_DIVBYZERO): Likewise.
29571 (FE_UNDERFLOW): Likewise.
29572 (FE_OVERFLOW): Likewise.
29573 (FE_INVALID): Likewise.
29574 (FE_INVALID_SNAN): Likewise.
29575 (FE_INVALID_ISI): Likewise.
29576 (FE_INVALID_IDI): Likewise.
29577 (FE_INVALID_ZDZ): Likewise.
29578 (FE_INVALID_IMZ): Likewise.
29579 (FE_INVALID_COMPARE): Likewise.
29580 (FE_INVALID_SOFTWARE): Likewise.
29581 (FE_INVALID_SQRT): Likewise.
29582 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29583 (FE_TONEAREST): Likewise.
29584 (FE_TOWARDZERO): Likewise.
29585 (FE_UPWARD): Likewise.
29586 (FE_DOWNWARD): Likewise.
29587 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29588 (FE_DIVBYZERO): Likewise.
29589 (FE_OVERFLOW): Likewise.
29590 (FE_UNDERFLOW): Likewise.
29591 (FE_INEXACT): Likewise.
29592 (FE_TONEAREST): Likewise.
29593 (FE_DOWNWARD): Likewise.
29594 (FE_UPWARD): Likewise.
29595 (FE_TOWARDZERO): Likewise.
29596 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29597 (FE_UNDERFLOW): Likewise.
29598 (FE_OVERFLOW): Likewise.
29599 (FE_DIVBYZERO): Likewise.
29600 (FE_INVALID): Likewise.
29601 (FE_TONEAREST): Likewise.
29602 (FE_TOWARDZERO): Likewise.
29603 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29604 (FE_OVERFLOW): Likewise.
29605 (FE_UNDERFLOW): Likewise.
29606 (FE_DIVBYZERO): Likewise.
29607 (FE_INEXACT): Likewise.
29608 (FE_TONEAREST): Likewise.
29609 (FE_TOWARDZERO): Likewise.
29610 (FE_UPWARD): Likewise.
29611 (FE_DOWNWARD): Likewise.
29612 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29613 (FE_DIVBYZERO): Likewise.
29614 (FE_OVERFLOW): Likewise.
29615 (FE_UNDERFLOW): Likewise.
29616 (FE_INEXACT): Likewise.
29617 (FE_TONEAREST): Likewise.
29618 (FE_DOWNWARD): Likewise.
29619 (FE_UPWARD): Likewise.
29620 (FE_TOWARDZERO): Likewise.
29622 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29624 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29626 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29628 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29629 commands. Quote $PWD.
29630 (blacklist_exports): Don't use remove_newlines. Replace "declare
29632 (remove_newlines): Remove.
29634 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29636 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29637 * stdlib/stdlib.h (atof): Moved to ...
29638 * include/bits/stdlib-float.h: Here. New file.
29639 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29640 * stdlib/bits/stdlib-float.h: New file.
29641 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29643 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29646 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29648 * conform/conformtest.pl (@headers): Add fenv.h.
29649 * conform/data/fenv.h-data: New file.
29650 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29651 include of <math/fenv.h>.
29653 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29654 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29655 && !UNIX98]. Enables tests for XOPEN2K8.
29656 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29657 POSIX2008]: Likewise.
29659 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29660 (struct rusage): Do not expect type or its members.
29663 * math/math.h (FP_NAN): Define macro to integer constant usable in
29664 #if and use that to give value to enum constant.
29665 (FP_INFINITE): Likewise.
29666 (FP_ZERO): Likewise.
29667 (FP_SUBNORMAL): Likewise.
29668 (FP_NORMAL): Likewise.
29670 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29672 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29673 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29676 2012-11-02 Roland McGrath <roland@hack.frob.com>
29678 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29679 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29680 autoconf-time if not.
29681 * configure.in: Remove AC_PREREQ.
29683 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29685 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29686 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29687 of the internal implementation.
29689 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29691 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29692 except include of <misc/sys/syslog.h>.
29694 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29697 function returns with a NULL context exit with zero.
29699 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29701 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29703 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29705 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29706 (run_program_cmd): This.
29707 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29708 (tst_langinfo): New variable. Use it.
29710 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29712 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29713 floating point opcodes.
29715 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29717 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29720 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29722 * sysdeps/mach/hurd/powerpc: Remove directory.
29723 * sysdeps/mach/powerpc: Likewise.
29725 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29727 * scripts/check-local-headers.sh: Ignore c++ headers.
29729 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29731 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29732 __libc_cleanup_region_start argument.
29734 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29739 x * y using scaling, not as x * y + z.
29740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29741 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29742 * math/libm-test.inc (fma_test): Add more tests.
29743 (fma_test_towardzero): Likewise.
29744 (fma_test_downward): Likewise.
29745 (fma_test_upward): Likewise.
29747 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29749 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29751 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29753 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29756 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29758 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29760 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29767 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29770 Fix the order of the list for glibc 2.17.
29771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29774 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29778 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29782 for low part of x being zero before using __atanl (y).
29783 * math/libm-test.inc (atan2_test): Add another test.
29785 * manual/install.texi (Configuring and compiling): Document
29786 general use of test-wrapper and test-wrapper-env.
29787 * INSTALL: Regenerated.
29789 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29790 (__fma): Do not extract and scale down low bits on after-rounding
29791 systems when result rounded to normal precision would have normal
29793 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29794 (__fmal): Do not extract and scale down low bits on after-rounding
29795 systems when result rounded to normal precision would have normal
29797 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29798 (__fmal): Do not extract and scale down low bits on after-rounding
29799 systems when result rounded to normal precision would have normal
29801 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29803 (fma_test): Add more tests.
29804 (fma_test_towardzero): Likewise.
29805 (fma_test_downward): Likewise.
29806 (fma_test_upward): Likewise.
29808 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29810 * sysdeps/i386/tininess.h: Renamed to ...
29811 * sysdeps/x86/tininess.h: This.
29812 * sysdeps/x86_64/tininess.h: Removed.
29814 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29816 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29817 input. Use $(build-program-cmd).
29818 ($(objpfx)tst-array1-static.out): Likewise.
29819 ($(objpfx)tst-array2.out): Likewise.
29820 ($(objpfx)tst-array3.out): Likewise.
29821 ($(objpfx)tst-array4.out): Likewise.
29822 ($(objpfx)tst-array5.out): Likewise.
29823 ($(objpfx)tst-array5-static.out): Likewise.
29825 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29827 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29830 * nss/nsswitch.h (nss_interface_function): Provide new
29831 macro for use with NSS functions.
29832 * grp/initgroups.c: Use new macro.
29833 * nss/getXXbyYY.c: Likewise.
29834 * nss/getXXbyYY_r.c: Likewise.
29835 * nss/getXXent.c: Likewise.
29836 * nss/getXXent_r.c: Likewise.
29837 * sysdeps/posix/getaddrinfo.c: Likewise.
29839 2012-10-30 Andreas Jaeger <aj@suse.de>
29841 * po/ru.po: Update Russion translation from translation project.
29843 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29848 result and shift together with sticky bit instead of replicating
29849 round-to-nearest rounding.
29850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29852 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29853 missing underflow exceptions.
29854 (fma_test_towardzero): Add more tests.
29855 (fma_test_downward): Likewise.
29856 (fma_test_upward): Likewise.
29859 * sysdeps/generic/tininess.h: New file.
29860 * sysdeps/i386/tininess.h: Likewise.
29861 * sysdeps/sh/tininess.h: Likewise.
29862 * sysdeps/x86_64/tininess.h: Likewise.
29863 * stdlib/tst-strtod-underflow.c: Likewise.
29864 * stdlib/tst-tininess.c: Likewise.
29865 * stdlib/strtod_l.c: Include <tininess.h>.
29866 (round_and_return): Do not set errno for exact underflow cases.
29867 Force an underflow exception when setting errno for underflow.
29868 Determine underflow based on rounding to normal precision if
29869 TININESS_AFTER_ROUNDING.
29870 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29871 ERANGE for exact underflow cases.
29872 * stdlib/Makefile (tests): Add tst-tininess and
29873 tst-strtod-underflow.
29874 ($(objpfx)tst-tininess): Use $(link-libm).
29875 ($(objpfx)tst-strtod-underflow): Likewise.
29877 2012-10-30 Andreas Jaeger <aj@suse.de>
29880 * elf/Makefile (tests): Remove conditional for have-initfini-array
29881 since this is now always required and the variable does not exist
29883 (tests-static): Likewise.
29884 (modules-names): Likewise.
29886 * po/eo.po: Add Esperanto translation from translation project.
29888 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29889 merged with constructor/destructor.
29890 (init_array): Likewise.
29891 * elf/tst-array2dep.c (fini_array): Likewise.
29892 (init_array): Likewise.
29894 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29896 * manual/message.texi: Delete @cartouche tags.
29898 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29900 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29902 * sysdeps/mach/hurd/fsync.c: Likewise.
29904 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29905 [_POSIX_REALTIME_SIGNALS]: Change condition to
29906 [_POSIX_REALTIME_SIGNALS > 0].
29908 2012-10-27 Andreas Jaeger <aj@suse.de>
29910 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29911 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29913 [__WORDSIZE != 64]: Likewise.
29915 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29917 * iconvdata/tst-table.sh: Remove ${SHELL}.
29918 * iconvdata/tst-tables.sh: Likewise.
29920 2012-10-25 David S. Miller <davem@davemloft.net>
29922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29923 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29929 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29930 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29933 2012-10-25 Roland McGrath <roland@hack.frob.com>
29935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29936 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29939 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29940 Jim Blandy <jimb@codesourcery.com>
29942 * scripts/cross-test-ssh.sh: New file.
29943 * manual/install.texi (Configuring and compiling): Document use of
29945 * INSTALL: Regenerated.
29947 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29949 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29952 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29954 * Makeconfig (run-program-prefix): Fix comment.
29956 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29957 Jim Blandy <jimb@codesourcery.com>
29959 * Makeconfig (test-wrapper): New variable,
29960 (test-wrapper-env): Likewise.
29961 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29962 (run-built-tests): Define to yes.
29963 (run-program-prefix): Use $(test-wrapper).
29964 (built-program-cmd): Likewise.
29965 * Rules (make-test-out): Use $(test-wrapper-env) and
29966 $(host-built-program-cmd).
29967 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29968 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29970 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29971 $(test-wrapper-env) to tst-rtld-load-self.sh.
29972 ($(objpfx)order2.out): Use $(test-wrapper).
29973 ($(objpfx)tst-initorder.out): Likewise.
29974 ($(objpfx)tst-initorder2.out): Likewise.
29975 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29976 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29977 (test_wrapper_env): New variable. Use it to run ld.so.
29978 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29979 Use it to run ld.so.
29980 (test_wrapper_env): Likewise.
29981 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29982 $(test-wrapper) to run-iconv-test.sh.
29983 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29984 (ICONV): Use $test_wrapper.
29985 * posix/Makefile ($(objpfx)globtest.out): Pass
29986 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29987 globtest.sh, not $(run-program-prefix).
29988 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29989 (test_wrapper): Likewise.
29990 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29991 set together with run_via_rtld_prefix.
29992 (run_program_prefix): Define in terms of test_wrapper and
29993 run_via_rtld_prefix.
29995 2012-10-24 Roland McGrath <roland@hack.frob.com>
29997 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29998 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30002 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30003 Declare __clock_getres, __clock_gettime, __clock_settime,
30004 __clock_nanosleep, and __clock_getcpuclockid.
30005 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30006 Remove librt_hidden_def (clock_gettime).
30007 * sysdeps/unix/clock_gettime.c: Likewise.
30008 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30010 * rt/clock_getres.c: Define __clock_getres as an alias.
30011 * sysdeps/posix/clock_getres.c: Likewise.
30012 * rt/clock_settime.c: Define __clock_settime as an alias.
30013 * sysdeps/unix/clock_settime.c: Likewise.
30014 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30015 * sysdeps/unix/clock_nanosleep.c: Likewise.
30016 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30017 * rt/clock-compat.c: New file.
30018 * rt/Makefile (librt-routines): Add clock-compat and move
30019 $(clock-routines) to ...
30020 (routines): ... here, new variable.
30021 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30022 Don't add get_clockfreq here.
30023 * rt/Versions (libc: GLIBC_2.17): New version set.
30024 Add clock_* symbols here.
30025 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30027 (GLIBC_2.17): Add clock_* symbols.
30028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30039 * NEWS: Mention the move.
30041 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30042 Use __open, __read, __close rather than their public counterparts.
30043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30044 (__get_clockfreq_via_cpuinfo): Likewise.
30045 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30046 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30048 * config.h.in (HAVE_IFUNC): New #undef.
30049 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30051 * configure: Regenerated.
30053 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30055 * configure.in: Move READELF check to start of file.
30056 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30057 libc_cv_asm_gnu_indirect_function in the process.
30058 * configure: Regenerated.
30060 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30062 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30063 send the output to /dev/null.
30064 (libc_cv_cc_with_libunwind): Likewise.
30065 (libc_cv_as_noexecstack): Likewise.
30066 * configure: Regenerate.
30068 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30070 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30072 * posix/globtest.sh (TMPDIR): Do not set.
30073 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30074 (testout): Likewise.
30076 2012-10-24 Andreas Jaeger <aj@suse.de>
30078 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30079 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30080 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30081 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30082 posix_fadvise64, posix_fallocate64.
30084 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30085 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30086 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30088 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30090 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30093 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30094 <bits/fcntl-linux.h>.
30095 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30098 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30099 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30100 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30101 [__WORDSIZE != 64]: Likewise.
30103 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30105 * Makeconfig (run-built-tests): New variable.
30106 * Rules [$(cross-compiling) = yes]: Change condition to
30107 [$(run-built-tests) = no].
30108 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30109 to [$(run-built-tests) = yes].
30110 * elf/Makefile [$(cross-compiling) = no]: Likewise
30111 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30112 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30113 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30114 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30115 * io/Makefile [$(cross-compiling) = no]: Likewise.
30116 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30117 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30118 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30119 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30120 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30121 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30122 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30123 * string/Makefile [$(cross-compiling) = no]: Likewise.
30125 * posix/Makefile ($(objpfx)globtest.out): Pass
30126 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30127 $(rtld-installed-name).
30128 * posix/globtest.sh (elf_objpfx): Remove variable.
30129 (rtld_installed_name): Likewise.
30130 (library_path): Likewise.
30131 (run_program_prefix): New variable. Use for running globtest
30134 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30135 Joseph Myers <joseph@codesourcery.com>
30137 * Makeconfig (host-built-program-cmd): New variable.
30138 * elf/Makefile (tst-stackguard1-ARGS): Use
30139 $(host-built-program-cmd).
30140 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30141 (tst-spawn-ARGS): Likewise.
30142 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30144 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30145 Jim Blandy <jimb@codesourcery.com>
30147 * Makeconfig (run-via-rtld-prefix): New variable.
30148 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30149 (built-program-cmd): Likewise.
30151 2012-10-22 Andreas Jaeger <aj@suse.de>
30153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30154 __O_RSYNC if it exists, otherwise to O_SYNC.
30156 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30157 Joseph Myers <joseph@codesourcery.com>
30159 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30161 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30163 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30166 2012-10-22 Andreas Jaeger <aj@suse.de>
30168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30173 bits/fcntl-linux.h.
30175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30176 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30183 2012-10-21 Jim Blandy <jimb@codesourcery.com>
30184 Joseph Myers <joseph@codesourcery.com>
30186 * config.make.in (NM): New variable.
30188 2012-10-21 Andreas Jaeger <aj@suse.de>
30190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30191 definitions and declarations that are provided by
30192 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30194 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30197 * elf/Makefile (tests-static): Add tst-leaks1-static.
30198 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30199 ($(objpfx)tst-leaks1-static): New rule.
30200 ($(objpfx)tst-leaks1-static-mem): Likewise.
30201 (tst-leaks1-static-ENV): New macro.
30202 * elf/dl-open.c (dl_open_worker): Check the main application
30203 only if SHARED is defined.
30204 * elf/tst-leaks1-static.c: New file.
30206 2012-10-20 Andreas Jaeger <aj@suse.de>
30208 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30209 generic values for Linux.
30210 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30211 and declarations that are provided by <bits/fcntl-linux.h> and
30212 include <bits/fcntl-linux.h>.
30213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30216 2012-10-20 Roland McGrath <roland@hack.frob.com>
30218 * io/fcntl.h: Move include of <bits/types.h> to the top and
30219 include it unconditionally.
30221 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30223 * wcsmbs/Makefile (tests-ifunc): New variable.
30224 (tests): Add $(tests-ifunc).
30225 * wcsmbs/test-wcschr-ifunc.c: New file.
30226 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30227 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30228 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30229 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30230 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30232 * string/Makefile (tests-ifunc): New variable.
30233 (tests): Add $(tests-ifunc).
30234 * string/test-memccpy.c (TEST_NAME): New macro.
30235 * string/test-memchr.c (TEST_NAME): Likewise.
30236 * string/test-memcmp.c (TEST_NAME): Likewise.
30237 * string/test-memcpy.c (TEST_NAME): Likewise.
30238 * string/test-memmem.c (TEST_NAME): Likewise.
30239 * string/test-memmove.c (TEST_NAME): Likewise.
30240 * string/test-memset.c (TEST_NAME): Likewise.
30241 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30242 * string/test-stpcpy.c (TEST_NAME): Likewise.
30243 * string/test-stpncpy.c (TEST_NAME): Likewise.
30244 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30245 * string/test-strcasestr.c (TEST_NAME): Likewise.
30246 * string/test-strcat.c (TEST_NAME): Likewise.
30247 * string/test-strchr.c (TEST_NAME): Likewise.
30248 * string/test-strcmp.c(TEST_NAME): Likewise.
30249 * string/test-strcpy.c (TEST_NAME): Likewise.
30250 * string/test-strcspn.c (TEST_NAME): Likewise.
30251 * string/test-strlen.c (TEST_NAME): Likewise.
30252 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30253 * string/test-strncmp.c (TEST_NAME): Likewise.
30254 * string/test-strncpy.c (TEST_NAME): Likewise.
30255 * string/test-strnlen.c (TEST_NAME): Likewise.
30256 * string/test-strpbrk.c (TEST_NAME): Likewise.
30257 * string/test-strrchr.c (TEST_NAME): Likewise.
30258 * string/test-strspn.c (TEST_NAME): Likewise.
30259 * string/test-strstr.c (TEST_NAME): Likewise.
30260 * string/test-bcopy-ifunc.c: New file.
30261 * string/test-bzero-ifunc.c: Likewise.
30262 * string/test-memccpy-ifunc.c: Likewise.
30263 * string/test-memchr-ifunc.c: Likewise.
30264 * string/test-memcmp-ifunc.c: Likewise.
30265 * string/test-memcpy-ifunc.c: Likewise.
30266 * string/test-memmem-ifunc.c: Likewise.
30267 * string/test-memmove-ifunc.c: Likewise.
30268 * string/test-mempcpy-ifunc.c: Likewise.
30269 * string/test-memset-ifunc.c: Likewise.
30270 * string/test-rawmemchr-ifunc.c: Likewise.
30271 * string/test-stpcpy-ifunc.c: Likewise.
30272 * string/test-stpncpy-ifunc.c: Likewise.
30273 * string/test-strcasecmp-ifunc.c: Likewise.
30274 * string/test-strcasestr-ifunc.c: Likewise.
30275 * string/test-strcat-ifunc.c: Likewise.
30276 * string/test-strchr-ifunc.c: Likewise.
30277 * string/test-strchrnul-ifunc.c: Likewise.
30278 * string/test-strcmp-ifunc.c: Likewise.
30279 * string/test-strcpy-ifunc.c: Likewise.
30280 * string/test-strcspn-ifunc.c: Likewise.
30281 * string/test-strlen-ifunc.c: Likewise.
30282 * string/test-strncasecmp-ifunc.c: Likewise.
30283 * string/test-strncat-ifunc.c: Likewise.
30284 * string/test-strncmp-ifunc.c: Likewise.
30285 * string/test-strncpy-ifunc.c: Likewise.
30286 * string/test-strnlen-ifunc.c: Likewise.
30287 * string/test-strpbrk-ifunc.c: Likewise.
30288 * string/test-strrchr-ifunc.c: Likewise.
30289 * string/test-strspn-ifunc.c: Likewise.
30290 * string/test-strstr-ifunc.c: Likewise.
30292 * debug/Makefile (tests-ifunc): New variable.
30293 (tests): Add $(tests-ifunc).
30294 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30295 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30296 * debug/test-stpcpy_chk-ifunc.c: New file.
30297 * debug/test-strcpy_chk-ifunc.c: Likewise.
30299 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30302 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30303 header is not read in.
30305 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30307 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30308 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30309 directly. Pass built executable to script as
30310 $(built-program-cmd).
30311 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30312 $testprogram without using LD_LIBRARY_PATH and $ldso.
30314 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30315 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30316 $(rtld-installed-name).
30317 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30318 (rtld_installed_name): Likewise.
30319 (library_path): Likewise.
30320 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30321 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30322 $(run-program-prefix) to tst-tables.sh.
30323 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30324 it to run tst-table-from and tst-table-to.
30325 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30326 Pass it to tst-table.sh.
30327 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30328 $(run-program-prefix) to tst-gettext.sh.
30329 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30331 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30333 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30334 to run tst-gettext.
30335 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30336 to run tst-gettext2.
30337 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30338 to run tst-translit.
30339 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30340 $(run-program-prefix) to tst-mtrace.sh.
30341 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30343 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30344 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30345 $(rtld-installed-name).
30346 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30347 (rtld_installed_name): Likewise.
30348 (run_program_prefix): New variable. Use it to run wordexp-test.
30350 * Makeconfig (ARCH): Remove all definitions.
30351 (machine): Likewise.
30352 [ARCH]: Remove conditional code.
30353 [!objdir]: Give error.
30354 [!objdir] (objpfx): Remove.
30355 [!objdir] (common-objpfx): Likewise.
30356 [!objdir] (common-objdir): Likewise.
30357 * configure.in (config_makefile): Remove. Hardcode Makefile in
30358 AC_CONFIG_FILES call.
30359 * configure: Regenerated.
30362 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30364 (testout): Likewise.
30366 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30367 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30368 $(rtld-installed-name).
30369 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30370 (rtld_installed_name): Likwise.
30371 (runit): Remove function.
30372 (run_getconf): New variable, Use it for running getconf binary.
30374 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30377 * string/test-memmem.c (check_result): New function.
30378 (do_one_test): Use it.
30379 (check1): New function.
30380 (test_main): Use it.
30382 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30384 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30386 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30388 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30389 (_G_LSEEK64): Likewise.
30390 (_G_MMAP64): Likewise.
30391 (_G_FSTAT64): Likewise.
30392 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30393 (_G_LSEEK64): Likewise.
30394 (_G_MMAP64): Likewise.
30395 (_G_FSTAT64): Likewise.
30396 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30397 unconditional. Call __mmap64 directly.
30398 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30399 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30400 __lseek64 directly.
30401 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30402 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30404 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30405 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30406 __lseek64 directly.
30407 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30408 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30409 __lseek64 directly.
30410 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30411 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30412 __lseek64 directly.
30413 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30414 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30415 __fxstat64 directly.
30416 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30417 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30419 (freopen64) [!_G_OPEN64]: Remove conditional code.
30420 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30422 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30423 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30425 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30426 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30428 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30429 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30431 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30432 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30434 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30435 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30437 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30438 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30440 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30442 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30445 * manual/memory.texi (Malloc Tunable Parameters): Add note
30446 about free list pointers overwriting some perturb bytes.
30447 Wording suggested by Roland McGrath.
30449 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30451 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30452 (lgamma_test): Likewise.
30453 (tgamma_test): Likewise.
30455 2012-10-16 Florian Weimer <fweimer@redhat.com>
30458 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30459 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30461 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30463 * NEWS: Mention BZ #14716.
30464 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30465 when removing AVAILABLE1_USES_J macro.
30467 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30469 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30470 (__bswap_64): __uint64_t for unsigned 64-bit int.
30472 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30474 * include/string.h (memmem): Declare libc hidden alias.
30475 * string/memmem.c (memmem): Define libc hidden alias.
30476 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30477 __read, __close instead of open, read, close.
30479 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30482 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30484 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30485 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30486 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30488 (__rawmemchr_sse2): Likewise.
30489 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30490 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30491 (__strchr_sse2): Likewise.
30492 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30493 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30494 (__strcasecmp_sse2): Likewise.
30495 (__strncasecmp_sse2): Likewise.
30496 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30497 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30498 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30499 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30500 (__strrchr_sse2): Likewise.
30501 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30503 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30504 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30505 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30506 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30507 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30509 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30510 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30511 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30512 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30513 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30514 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30515 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30516 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30517 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30518 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30519 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30520 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30521 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30522 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30523 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30524 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30525 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30526 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30527 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30528 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30529 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30530 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30531 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30532 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30536 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30537 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30538 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30539 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30541 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30543 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30544 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30545 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30546 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30548 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30550 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30552 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30554 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30555 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30556 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30557 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30558 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30559 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30560 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30561 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30563 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30565 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30566 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30567 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30569 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30570 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30571 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30572 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30573 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30574 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30575 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30576 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30577 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30578 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30581 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30582 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30583 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30584 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30585 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30586 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30587 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30588 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30590 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30591 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30592 * include/ifunc-impl-list.h: New file.
30593 * misc/ifunc-impl-list.c: Likewise.
30594 * misc/Makefile (routines): Add ifunc-impl-list.
30595 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30596 * string/test-string.h: Include <ifunc-impl-list.h>.
30597 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30598 TEST_NAME]: New variables.
30599 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30601 (test_init): Call __libc_ifunc_impl_list to initialize
30602 func_list if TEST_IFUNC and TEST_NAME are defined.
30604 * string/Makefile (strop-tests): Add bcopy and bzero.
30605 * string/test-bcopy.c: New file.
30606 * string/test-bzero.c: Likewise.
30607 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30609 * string/test-memset.c: Support bzero test if TEST_BZERO is
30611 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30613 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30615 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30618 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30620 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30621 * configure: Regenerated.
30623 * Makeconfig (+link-static-before-libc): Don't include
30624 $(link-static-libc).
30626 * libio/libio.h (_IO_pos_t): Remove.
30628 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30630 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30633 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30635 * crypt/crypt-entry.c: Include fips-private.h.
30636 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30637 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30638 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30639 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30641 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30643 * crypt/crypt-private.h: Include stdbool.h.
30644 (_ufc_setup_salt_r): Return bool.
30645 * crypt/crypt-entry.c: Include errno.h.
30646 (__crypt_r): Return NULL with EINVAL for bad salt.
30647 * crypt/crypt_util.c (bad_for_salt): New.
30648 (_ufc_setup_salt_r): Check that salt is long enough and within
30649 the specified alphabet.
30650 * crypt/badsalttest.c: New file.
30651 * crypt/Makefile (tests): Add it.
30652 ($(objpfx)badsalttest): New.
30654 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30656 * NEWS: Add entry for BZ #14602.
30658 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30660 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30662 * math/libm-test.inc: Update comment listing what functions and
30664 (isgreater_test): New function.
30665 (isgreaterequal_test): Likewise.
30666 (isless_test): Likewise.
30667 (islessequal_test): Likewise.
30668 (islessgreater_test): Likewise.
30669 (isunordered_test): Likewise.
30670 (main): Call the new functions.
30672 2012-10-09 Roland McGrath <roland@hack.frob.com>
30674 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30675 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30676 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30677 * sysdeps/i386/configure: Regenerated.
30678 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30679 * sysdeps/mach/configure: Regenerated.
30680 * sysdeps/mach/hurd/configure: Regenerated.
30681 * sysdeps/powerpc/configure: Regenerated.
30682 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30683 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30684 * sysdeps/s390/s390-32/configure: Regenerated.
30685 * sysdeps/s390/s390-64/configure: Regenerated.
30686 * sysdeps/sh/configure: Regenerated.
30687 * sysdeps/sparc/configure: Regenerated.
30688 * sysdeps/unix/sysv/linux/configure: Regenerated.
30689 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30690 * sysdeps/x86_64/configure: Regenerated.
30692 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30693 defined. Don't check if MAP is NULL.
30695 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30697 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30698 (_G_stat64): Likewise.
30699 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30700 (_G_stat64): Likewise.
30701 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30702 instead of struct _G_stat64.
30703 * libio/fileops.c (mmap_remap_check): Likewise.
30704 (decide_maybe_mmap): Likewise.
30705 (_IO_new_file_seekoff): Likewise.
30706 (_IO_file_stat): Likewise.
30707 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30709 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30710 instead of struct _G_stat64.
30711 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30713 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30716 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30718 (CHECK_EOL): New macro.
30719 (two_way_short_needle): Check beginning of haystack for EOL. Use
30721 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30722 Replace with CHECK_EOL.
30723 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30724 Replace with CHECK_EOL.
30726 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30728 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30730 * math/libm-test.inc: Update comment listing what functions and
30732 (finite_test): New function.
30733 (isinf_test): Likewise.
30734 (isnan_test): Likewise.
30735 (fpclassify_test): Test subnormal input.
30736 (isfinite_test): Likewise.
30737 (isnormal_test): Likewise.
30738 (main): Call the new functions.
30740 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30743 * Makerules (%.dynsym): Force C locale when running
30744 $(OBJDUMP) --dynamic-syms.
30746 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30748 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30751 2012-10-06 David S. Miller <davem@davemloft.net>
30753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30754 upper 32-bits of the length value in %o2 since we use branch-on-register
30755 tests which consider the entire 64-bit register.
30757 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30759 * string/test-strstr.c (check2): Add a test for page boundary.
30761 2012-10-05 David S. Miller <davem@davemloft.net>
30763 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30766 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30769 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30770 and bzero when HWCAP_SPARC_CRYPTO is present.
30772 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30775 * string/test-strstr.c (check2): New function.
30776 (test_main): Call check2.
30778 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30780 * string/bug-strcasestr1.c (do_test): Moved to ...
30781 * string/test-strcasestr.c (check1): Here. New function.
30782 (do_one_test): Break out result checking code into ...
30783 (check_result): This. New function.
30784 (do_one_test): Call check_result.
30785 (test_main): Call check1.
30786 * string/bug-strchr1.c (do_test): Moved to ...
30787 * string/test-strchr.c (check1): Here. New function.
30788 (do_one_test): Break out result checking code into ...
30789 (check_result): This. New function.
30790 (do_one_test): Call check_result.
30791 (test_main): Call check1.
30792 * string/bug-strstr1.c (main): Moved to ...
30793 * string/test-strstr.c (check1): Here. New function.
30794 (do_one_test): Break out result checking code into ...
30795 (check_result): This. New function.
30796 (do_one_test): Call check_result.
30797 (test_main): Call check1.
30798 * string/bug-strcasestr1.c: Removed.
30799 * string/bug-strchr1.c: Likewise.
30800 * string/bug-strstr1.c: Likewise.
30802 * elf/Makefile (dl-routines): Add hwcaps.
30803 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30804 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30805 (_dl_important_hwcaps): Moved to ...
30806 * elf/dl-hwcaps.c: Here. New file.
30807 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30810 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30811 if IS_IN_rtld isn't defined.
30813 * elf/dl-support.c (_dl_sysinfo_map): New.
30814 Include "get-dynamic-info.h" and "setup-vdso.h".
30815 (_dl_non_dynamic_init): Call setup_vdso.
30816 * elf/dynamic-link.h: Don't include <assert.h>.
30817 (elf_get_dynamic_info): Moved to ...
30818 * elf/get-dynamic-info.h: Here. New file.
30819 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30820 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30821 * elf/setup-vdso.h: Here. New file.
30822 * elf/rtld.c: Include "setup-vdso.h".
30823 (dl_main): Call setup_vdso.
30825 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30827 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30828 creal in comment listing functions tested. List finite, isinf,
30829 isnan, isless, islessequal, isgreater, isgreaterequal,
30830 islessgreater, isunordered, lgamma_r and pow10 as functions and
30831 macros not tested. Mention which functions not tested are aliases
30832 for other functions. Fix typo. Note that signs of NaNs are not
30835 * scripts/config.guess: Update from config.git.
30836 * scripts/config.sub: Likewise.
30838 2012-10-04 Roland McGrath <roland@hack.frob.com>
30840 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30841 * misc/madvise.c (madvise): Renamed to __madvise.
30842 Make madvise a weak alias.
30843 * include/sys/mman.h: Declare __madvise.
30844 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30845 * sysdeps/unix/syscalls.list
30846 (madvise): Make __madvise the strong name, and madvise a weak alias.
30847 * sysdeps/unix/sysv/linux/syscalls.list
30848 (madvise, mmap): Remove redundant entries.
30849 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30850 * malloc/malloc.c (mtrim): Likewise.
30851 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30853 2012-10-03 Roland McGrath <roland@hack.frob.com>
30855 * sysdeps/mach/hurd/dl-cache.c: File removed.
30856 * config.h.in (USE_LDCONFIG): New #undef.
30857 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30858 * configure: Regenerated.
30859 * elf/Makefile (dl-routines): Add dl-cache only under
30860 [$(use-ldconfig) = yes].
30861 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30862 cache on [USE_LDCONFIG].
30863 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30865 * elf/rtld.c (dl_main): Likewise.
30867 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30869 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30870 _SC_LEVEL4_CACHE_LINESIZE.
30872 2012-10-03 Roland McGrath <roland@hack.frob.com>
30874 * sysdeps/unix/bsd/confstr.h: File removed.
30876 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30878 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30881 2012-10-02 Roland McGrath <roland@hack.frob.com>
30883 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30884 Make 'mapoff' field ElfW(Off) rather than off_t.
30886 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30888 * nscd/Makefile: Remove nscd-cflags and all its users.
30889 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30890 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30893 * malloc.c (malloc_printerr): Clarify error message.
30895 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30899 Set bit_FMA_Usable if FMA is supported.
30900 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30902 (bit_FMA4_Usable): Updated.
30903 (index_FMA_Usable): New macro.
30904 (CPUID_FMA): Likewise
30905 (HAS_FMA): Defined with bit_FMA_Usable.
30907 2012-10-01 Roland McGrath <roland@hack.frob.com>
30909 * bits/types.h (__swblk_t): Type removed.
30910 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30911 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30913 (__SWBLK_T_TYPE): Likewise.
30914 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30915 (__SWBLK_T_TYPE): Likewise.
30916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30917 (__SWBLK_T_TYPE): Likewise.
30918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30919 (__SWBLK_T_TYPE): Likewise.
30921 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30922 Honza Horak <hhorak@redhat.com>
30924 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30925 (xdr_mapname): Use YPMAXMAP as maxsize.
30926 (xdr_peername): Use YPMAXPEER as maxsize.
30927 (xdr_keydat): Use YPAXRECORD as maxsize.
30928 (xdr_valdat): Use YPMAXRECORD as maxsize.
30930 2012-10-01 Roland McGrath <roland@hack.frob.com>
30932 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30934 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30935 * csu/init-first.c: ... here.
30936 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30937 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30938 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30939 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30940 * sysdeps/i386/init-first.c: File removed.
30941 * sysdeps/sh/init-first.c: File removed.
30943 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30947 if x * y might underflow to zero and z is zero.
30948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30950 * math/libm-test.inc (min_subnorm_value): New variable.
30951 (fma_test): Add more tests.
30952 (fma_test_towardzero): Likewise.
30953 (fma_test_downward): Likewise
30954 (fma_test_upward): Likewise.
30955 (initialize): Set min_subnorm_value.
30957 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30962 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30963 mode for addition resulting in exact zero.
30964 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30967 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30968 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30969 * math/libm-test.inc (fma_test): Add more tests.
30970 (fma_test_towardzero): New function.
30971 (fma_test_downward): Likewise.
30972 (fma_test_upward): Likewise.
30973 (main): Call the new functions.
30975 2012-09-28 David S. Miller <davem@davemloft.net>
30977 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30979 2012-09-28 Roland McGrath <roland@hack.frob.com>
30981 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30982 instead of SIGALRM.
30984 * sysdeps/gnu/_G_config.h: Moved to ...
30985 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30986 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30987 * sysdeps/generic/_G_config.h: ... here.
30989 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30991 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30993 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30994 Conditionalize target on [libnss_test1.so-version].
30996 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30998 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30999 (elfobjdir): Move out of conditionals.
31001 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31002 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31003 (__nss_lookup_function): Conditionalize label remove_from_tree on
31004 [!DO_STATIC_NSS || SHARED], matching its only use.
31006 2012-09-28 David S. Miller <davem@davemloft.net>
31008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31009 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31011 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31013 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31015 when HWCAP_SPARC_CRYPTO is present.
31017 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31019 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31021 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31024 * stdio-common/vfprintf.c (process_string_arg): Revert
31027 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31029 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31031 * stdio-common/tst-sprintf.c: Include <locale.h>
31032 (main): Test sprintf's handling of incomplete multibyte
31035 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31037 * elf/dl-runtime.c (VERSYMIDX): Removed.
31038 * elf/dl-version.c (VERSYMIDX): Likewise.
31039 * elf/do-rel.h (VERSYMIDX): Likewise.
31040 (VALIDX): Likewise.
31041 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31042 * elf/rtld.c (VALIDX): Likewise.
31043 (ADDRIDX): Likewise.
31044 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31045 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31046 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31047 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31048 (VALIDX): Likewise.
31049 (ADDRIDX): Likewise.
31051 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31053 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31055 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31058 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31060 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31061 addresses are in the same scope as 192.0.2/24.
31062 * posix/gai.conf: Document new scope table defaults.
31064 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31067 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31068 for ftell. Compute offsets from write pointers instead.
31069 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31071 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31074 * libio/Makefile (tests): New test case tst-fseek.
31075 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31076 combination works in wide mode.
31077 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31078 state when the external buffer state changes.
31080 2012-09-27 David S. Miller <davem@davemloft.net>
31083 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31084 pass reloc->r_addend in as the 'high' argument to
31085 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31089 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31091 * rt/tst-aio2.c: Include <pthread.h>.
31092 * rt/tst-aio3.c: Likewise.
31094 2012-09-27 Steve Ellcey <sellcey@mips.com>
31096 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31098 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31100 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31101 contents on [SHARED].
31103 2012-09-26 Marek Polacek <polacek@redhat.com>
31107 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31108 for C++ and GCC <4.3 as well as for non GCC compilers.
31110 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31114 2012-09-25 Roland McGrath <roland@hack.frob.com>
31116 * Makefile.in (all, install): Declare with .PHONY.
31117 Reported by Michael Hope <michael.hope@linaro.org>.
31119 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31121 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31122 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31124 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31126 (sydep_routines): Add the new and the internal functions.
31127 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31128 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31130 (GLIBC_2.17): Add the new function.
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31132 (GLIBC_2.17): Likewise.
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31134 (GLIBC_2.17): Likewise.
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31136 (GLIBC_2.17): Likewise.
31137 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31139 2012-09-25 Alan Modra <amodra@gmail.com>
31141 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31142 Add release barrier before setting once_control to say
31143 initialisation is done. Add hints on lwarx. Use macro in
31145 (clear_once_control): Add release barrier.
31147 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31150 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31152 * math/s_clog10.c (__clog10): Likewise.
31153 * math/s_clog10f.c (__clog10f): Likewise.
31154 * math/s_clog10l.c (__clog10l): Likewise.
31155 * math/s_clogf.c (__clogf): Likewise.
31156 * math/s_clogl.c (__clogl): Likewise.
31157 * math/Makefile (libm-calls): Add x2y2m1.
31158 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31159 (__x2y2m1): Likewise.
31160 (__x2y2m1l): Likewise.
31161 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31162 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31163 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31164 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31165 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31166 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31167 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31168 * sysdeps/i386/fpu/libm-test-ulps: Update.
31169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31172 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31173 int as type of variable DEPTH.
31174 (glob): Use size_t instead of int as type of variables NEWCOUNT
31177 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31179 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31180 Add s_sincosf-sse2.
31181 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31182 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31183 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31184 macros for using routine as __sincosf_ia32.
31185 Use macro for function declaration and weak_alias.
31186 * sysdeps/i386/fpu/libm-test-ulps: Update.
31188 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31191 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31192 subnormal argument.
31193 * math/s_cexpf.c (__cexpf): Likewise.
31194 * math/s_csinf.c (__csinf): Likewise.
31195 * math/s_csinhf.c (__csinhf): Likewise.
31196 * math/s_ctanf.c (__ctanf): Likewise.
31197 * math/s_ctanhf.c (__ctanhf): Likewise.
31198 * math/s_ccosh.c (__ccoshf): Likewise.
31199 * math/s_cexp.c (__cexpl): Likewise.
31200 * math/s_csin.c (__csin): Likewise.
31201 * math/s_csinh.c (__csinh): Likewise.
31202 * math/s_ctan.c (__ctan): Likewise.
31203 * math/s_ctanh.c (ctanh): Likewise.
31204 * math/s_ccoshl.c (__ccoshl): Likewise.
31205 * math/s_cexpl.c (__cexpl): Likewise.
31206 * math/s_csinl.c (__csinl): Likewise.
31207 * math/s_csinhl.c (__csinhl): Likewise.
31208 * math/s_ctanl.c (__ctanl): Likewise.
31209 * math/s_ctanhl.c (__ctanhl): Likewise.
31211 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31213 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31214 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31215 (_IO_off_t): Define to __off_t, not _G_off_t.
31216 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31217 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31218 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31219 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31220 type of __dummy and __dummy2 fields.
31221 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31222 (_G_ssize_t): Likewise.
31223 (_G_off_t): Likewise.
31224 (_G_pid_t): Likewise.
31225 (_G_uid_t): Likewise.
31226 (_G_wchar_t): Likewise.
31227 (_G_wint_t): Likewise.
31228 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31229 (_G_ssize_t): Likewise.
31230 (_G_off_t): Likewise.
31231 (_G_pid_t): Likewise.
31232 (_G_uid_t): Likewise.
31233 (_G_wchar_t): Likewise.
31234 (_G_wint_t): Likewise.
31235 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31236 (_G_ssize_t): Likewise.
31237 (_G_off_t): Likewise.
31238 (_G_pid_t): Likewise.
31239 (_G_uid_t): Likewise.
31240 (_G_wchar_t): Likewise.
31241 (_G_wint_t): Likewise.
31243 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31245 * malloc/arena.c: Include malloc-sysdep.h.
31246 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31247 is sufficient to shrink the heap or an unmap is needed.
31248 * sysdeps/generic/malloc-sysdep.h: New file. Define
31249 new function check_may_shrink_heap.
31250 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31251 new function check_may_shrink_heap.
31253 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31255 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31258 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31260 * catgets/test-gencat.sh: Add "set -e".
31261 * elf/tst-pathopt.sh: Likewise.
31262 * grp/tst_fgetgrent.sh: Likewise.
31263 * iconvdata/run-iconv-test.sh: Likewise.
31264 * intl/tst-gettext.sh: Likewise.
31265 * intl/tst-gettext2.sh: Likewise.
31266 * intl/tst-gettext4.sh: Likewise.
31267 * intl/tst-gettext6.sh: Likewise.
31268 * intl/tst-translit.sh: Likewise.
31269 * io/ftwtest-sh: Likewise.
31270 * libio/test-freopen.sh: Likewise.
31271 * malloc/tst-mtrace.sh: Likewise.
31272 * posix/globtest.sh: Likewise.
31273 * posix/tst-getconf.sh: Likewise.
31274 * posix/wordexp-tst.sh: Likewise.
31275 * stdio-common/tst-printf.sh: Likewise.
31276 * stdio-common/tst-unbputc.sh: Likewise.
31277 * stdlib/tst-fmtmsg.sh: Likewise.
31278 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31279 * catgets/Makefile: Do not specify -e option when running
31280 testsuite shell scripts.
31281 * elf/Makefile: Likewise.
31282 * grp/Makefile: Likewise.
31283 * iconvdata/Makefile: Likewise.
31284 * intl/Makefile: Likewise.
31285 * io/Makefile: Likewise.
31286 * libio/Makefile: Likewise.
31287 * malloc/Makefile: Likewise.
31288 * posix/Makefile: Likewise.
31289 * stdio-common/Makefile: Likewise.
31290 * stdlib/Makefile: Likewise.
31291 * sysdeps/x86_64/Makefile: Likewise.
31293 * io/ftwtest-sh: Add copyright header.
31294 * posix/globtest.sh: Likewise.
31295 * posix/tst-getconf.sh: Likewise.
31296 * posix/wordexp-tst.sh: Likewise.
31297 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31299 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31302 * Makeconfig (+link): Defined as $(+link-static) if
31303 $(build-shared) isn't yes.
31304 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31306 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31308 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31311 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31312 new chunk size with MALLOC_ALIGN_MASK.
31314 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31317 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31319 (__printf_fphex): Determine rounding using get_rounding_mode and
31321 * stdio-common/tst-printf-round.c (struct hex_test): New
31323 (hex_tests): New variable.
31324 (test_hex_in_one_mode): New function.
31325 (do_test): Also run tests for hex float output.
31327 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31329 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31330 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31331 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31332 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31333 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31334 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31335 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31336 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31338 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31340 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31341 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31342 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31343 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31345 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31348 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31350 * elf/tst-rtld-load-self.sh: New test.
31351 * elf/Makefile: Run it.
31353 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31355 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31356 (tst-writev-ENV): Remove.
31357 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31359 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31361 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31363 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31365 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31367 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31369 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31370 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31371 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31374 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31377 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31378 * config.make.in (have-cpp-asm-debuginfo): Removed.
31379 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31380 * configure: Regenerated.
31382 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31385 * stdio-common/printf_fp.c: Include <stdbool.h> and
31387 (___printf_fp): Determine rounding using get_rounding_mode and
31389 * stdio-common/tst-printf-round.c: New file.
31390 * stdio-common/Makefile (tests): Add tst-printf-round.
31391 (link-libm): New variable.
31392 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31394 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31397 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31398 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31400 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31403 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31405 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31406 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31407 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31408 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31410 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31413 * include/rounding-mode.h: New file.
31414 * sysdeps/generic/get-rounding-mode.h: Likewise.
31415 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31416 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31417 (MAX_VALUE): New macro.
31418 (MIN_VALUE): Likewise.
31419 (overflow_value): New function.
31420 (underflow_value): Likewise.
31421 (round_and_return): Use overflow_value and underflow_value to
31422 determine return values in overflow and underflow cases. Use
31423 round_away to determine rounding depending on rounding mode.
31424 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31425 determine return values in overflow and underflow cases.
31426 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31427 (struct test_results): New structure.
31428 (struct test): Use struct test_results to store expected results
31429 for all rounding modes.
31430 (TEST): Include expected results for all rounding modes.
31431 (test_in_one_mode): New function.
31432 (do_test): Use test_in_one_mode to compute and check results.
31433 Check results for all rounding modes.
31434 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31437 2012-12-09 Allan McRae <allan@archlinux.org>
31439 * sysdeps/i386/fpu/libm-test-ulps: Update
31441 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31443 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31444 (_G_int32_t): Likewise.
31445 (_G_uint16_t): Likewise.
31446 (_G_uint32_t): Likewise.
31447 (_G_HAVE_BOOL): Likewise.
31448 (_G_HAVE_ATEXIT): Likewise.
31449 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31450 (_G_HAVE_IO_FILE_OPEN): Likewise.
31451 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31452 (_G_int32_t): Likewise.
31453 (_G_uint16_t): Likewise.
31454 (_G_uint32_t): Likewise.
31455 (_G_HAVE_BOOL): Likewise.
31456 (_G_HAVE_ATEXIT): Likewise.
31457 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31458 (_G_HAVE_IO_FILE_OPEN): Likewise.
31459 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31460 (_G_int32_t): Likewise.
31461 (_G_uint16_t): Likewise.
31462 (_G_uint32_t): Likewise.
31463 (_G_HAVE_BOOL): Likewise.
31464 (_G_HAVE_ATEXIT): Likewise.
31465 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31466 (_G_HAVE_IO_FILE_OPEN): Likewise.
31468 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31470 * csu/libc-tls.c: Update copyright years.
31472 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31474 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31475 [!_G_USING_THUNKS]: Remove conditional code.
31476 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31477 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31479 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31480 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31481 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31482 (_G_VTABLE_LABEL_PREFIX): Likewise.
31483 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31484 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31485 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31486 (_G_VTABLE_LABEL_PREFIX): Likewise.
31487 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31488 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31489 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31490 (_G_VTABLE_LABEL_PREFIX): Likewise.
31491 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31493 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31495 * libio/Makefile: Include ../Makeconfig before tests.
31496 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31497 only if $(build-shared) is yes.
31499 * iconv/gconv_db.c: Update copyright years.
31501 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31503 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31504 unwind info if defined PIC. Fix special cases description.
31505 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31507 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31509 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31511 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31513 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31515 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31518 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31519 (LDLIBS-tst-chk4): This.
31520 (LDFLAGS-tst-chk5): Renamed to ...
31521 (LDLIBS-tst-chk5): This.
31522 (LDFLAGS-tst-chk6): Renamed to ...
31523 (LDLIBS-tst-chk6): This.
31524 (LDFLAGS-tst-lfschk4): Renamed to ...
31525 (LDLIBS-tst-lfschk4): This.
31526 (LDFLAGS-tst-lfschk5): Renamed to ...
31527 (LDLIBS-tst-lfschk5): This.
31528 (LDFLAGS-tst-lfschk6): Renamed to ...
31529 (LDLIBS-tst-lfschk6): This.
31531 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31532 on $(common-objpfx)soversions.mk.
31534 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31537 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31540 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31542 * malloc/arena.c (arena_get_retry): New function that gets
31543 another arena for the caller to try its request on.
31544 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31545 current arena cannot fulfill the request.
31546 (__libc_memalign): Likewise.
31547 (__libc_memalign): Likewise.
31548 (__libc_pvalloc): Likewise.
31549 (__libc_calloc): Likewise.
31551 2012-09-05 John Tobey <john.tobey@gmail.com>
31554 * manual/arith.texi (Operations on Complex): Fix description
31555 of carg branch cut.
31557 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31560 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31564 * manual/memory.texi (Memory): Make order of menu items match
31567 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31569 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31570 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31571 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31573 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31575 * csu/libc-tls.c (static_dtv): Renamed to ...
31576 (_dl_static_dtv): This. Make it global.
31577 (_dl_initial_dtv): Removed.
31578 (__libc_setup_tls): Updated.
31579 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31580 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31583 2012-09-06 Petr Machata <pmachata@redhat.com>
31585 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31586 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31587 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31588 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31590 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31593 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31594 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31597 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31600 * Makeconfig (link-static-before-libc): Replace $(+prector)
31602 (link-static-after-libc): Replace $(+postctor) with
31604 (link-bounded): Replace $(+prector)/$(+postctor) with
31605 $(+prectorT)/$(+postctorT).
31606 (+prectorT): New macro.
31607 (+postctorT): Likewise.
31609 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31611 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31612 (round_str): Handle values above the maximum for IBM long double
31614 * stdlib/tst-strtod-round.c (tests): Regenerated.
31616 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31618 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31620 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31621 zarch_nohighgprs around the zarch optimized routines.
31622 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31623 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31624 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31627 2012-09-05 David S. Miller <davem@davemloft.net>
31629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31631 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31632 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31633 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31634 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31637 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31639 * malloc/arena.c: Fold copyright years.
31640 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31642 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31644 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31646 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31648 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31650 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31652 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31653 change internal state upon failure.
31655 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31657 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31658 * malloc/memusage.c (mmap): Likewise.
31659 (mmap64, mremap): Likewise. Adjust name in comment.
31661 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31663 * libio/fileops.c: Fix typos in comments.
31664 * libio/oldfileops.c: Likewise.
31665 * libio/wfileops.c: Likewise.
31667 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31670 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31671 (tst-malloc-usable-ENV): Set environment for test case.
31672 * malloc/hooks.c (malloc_check_get_size): New function to get
31674 * malloc/malloc.c (musable): Use malloc_check_get_size.
31675 * malloc/tst-malloc-usable.c: New test case.
31677 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31679 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31681 2012-09-05 Allan McRae <allan@archlinux.org>
31684 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31685 determine header location.
31686 * configure: Regenerated.
31688 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31690 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31692 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31693 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31695 (test): Regenerate.
31697 2012-09-04 David S. Miller <davem@davemloft.net>
31699 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31700 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31701 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31703 2012-09-04 Florian Weimer <fweimer@redhat.com>
31705 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31708 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31710 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31713 * libio/iogetdelim.c: Include <limits.h>.
31714 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31715 + len + 1 would overflow.
31717 2012-09-03 Andreas Jaeger <aj@suse.de>
31719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31720 * sysdeps/i386/fpu/libm-test-ulps: Update.
31722 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31724 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31725 Add s_sinf-sse2, s_conf-sse2.
31727 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31728 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31729 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31730 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31732 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31733 for using routine as __sinf_ia32.
31734 Use macro for function declaration and weak_alias.
31735 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31736 for using routine as __cosf_ia32.
31737 Use macro for function declaration and weak_alias.
31739 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31740 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31742 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31743 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31746 * math/libm-test.inc (cos_test): Add more test cases.
31747 (sin_test): Likewise.
31748 (sincos_test): Likewise.
31750 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31752 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31753 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31755 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31757 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31760 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31761 first element of the GOT.
31762 (elf_machine_load_address): Return the difference between
31763 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31765 2012-09-01 Allan McRae <allan@archlinux.org>
31768 * configure.in (AWK): Require gawk version 3.0 or later.
31769 * configure: Regenerated.
31771 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31773 * sysdeps/unix/sysv/linux/kernel-features.h
31774 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31775 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31776 [__NR_clock_getres]: Make code unconditional.
31777 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31778 (clock_getcpuclockid): Remove code left unreachable by removal of
31780 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31781 code unconditional.
31782 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31783 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31784 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31785 Make code unconditional.
31786 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31787 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31788 * sysdeps/unix/sysv/linux/clock_settime.c
31789 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31791 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31794 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31797 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31798 scripts/test-installation.pl.
31800 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31801 and $ld_so_version if it is set.
31803 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31807 failure if reading from procfs failed.
31808 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31810 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31812 * sysdeps/unix/sysv/linux/kernel-features.h
31813 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31814 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31815 Remove conditional code.
31816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31817 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31818 Remove conditional code.
31819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31820 * sysdeps/unix/sysv/linux/i386/fxstat.c
31821 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31823 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31824 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31826 * sysdeps/unix/sysv/linux/i386/lxstat.c
31827 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31829 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31830 Remove conditional code.
31831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31832 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31833 Remove conditional code.
31834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31835 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31836 <kernel-features.h>.
31837 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31839 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31840 Remove conditional code.
31841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31842 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31843 Remove conditional.
31845 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31848 * NEWS: Add fixed bug number.
31850 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31853 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31854 underflowing exponent in case of negative sign.
31855 * stdlib/tst-strtod-round-data: Add more tests.
31856 * stdlib/tst-strtod-round.c (tests): Regenerated.
31859 * stdlib/strtod_l.c (NDIG): Remove.
31860 (HEXNDIG): Likewise.
31861 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31862 smallest representable value.
31863 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31864 lie within an exact representation of 1/2 ulp of the result.
31865 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31867 (TENS_P9_IDX): Define unconditionally.
31868 (TENS_P9_SIZE): Likewise.
31869 (TENS_P10_IDX): Likewise.
31870 (TENS_P10_SIZE): Likewise.
31871 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31872 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31873 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31874 entries for 10^2^13 and 10^2^14.
31875 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31876 (TENS_P13_IDX): Define.
31877 (TENS_P13_SIZE): Likewise.
31878 (TENS_P14_IDX): Likewise.
31879 (TENS_P14_SIZE): Likewise.
31880 (_fpioconst_pow10): Change array size to
31881 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31883 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31884 1024]: Add entries for 10^2^13 and 10^2^14.
31885 [LAST_POW10 > _LAST_POW10]: Remove #error.
31886 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31887 (_fpioconst_pow10): Change array size to
31888 FPIOCONST_POW10_ARRAY_SIZE.
31889 * stdlib/gen-fpioconst.c: New file.
31890 * stdlib/gen-tst-strtod-round.c: Likewise.
31891 * stdlib/tst-strtod-round-data: Likewise.
31892 * stdlib/tst-strtod-round.c: Likewise.
31893 * stdlib/Makefile (tests): Add tst-strtod-round.
31896 * stdlib/strtod_l.c: Include <stdint.h>.
31897 (NDEBUG): Do not define.
31898 (round_and_return): Change EXPONENT parameter to type intmax_t.
31899 Rearrange calculations to avoid internal overflow possibilities.
31900 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31901 Rearrange calculations to avoid internal overflow possibilities.
31902 Assert that number fits inside MPNSIZE limbs.
31903 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31904 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31905 calculations and add assertions to avoid internal overflow
31906 possibilities. Add casts to avoid signed/unsigned operations.
31907 * stdlib/tst-strtod-overflow.c: New file.
31908 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31910 2012-08-25 Marek Polacek <polacek@redhat.com>
31912 * time/time.h: Fix some typos in comments.
31914 2012-08-23 Roland McGrath <roland@hack.frob.com>
31916 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31917 * posix/tst-rfc3484-2.c: Likewise.
31918 * posix/tst-rfc3484-3.c: Likewise.
31920 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31922 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31923 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31925 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31927 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31928 #include of fxstatat64.c.
31930 2012-08-22 Roland McGrath <roland@hack.frob.com>
31932 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31933 * shadow/getspent_r.c: Likewise.
31934 * shadow/getspnam.c: Likewise.
31935 * shadow/getspnam_r.c: Likewise.
31936 * gshadow/getsgent.c: Likewise.
31937 * gshadow/getsgent_r.c: Likewise.
31938 * gshadow/getsgnam.c: Likewise.
31939 * gshadow/getsgnam_r.c: Likewise.
31940 * inet/getnetbyad.c: Likewise.
31941 * inet/getnetbyad_r.c: Likewise.
31942 * inet/getnetbynm.c: Likewise.
31943 * inet/getnetbynm_r.c: Likewise.
31944 * inet/getnetent.c: Likewise.
31945 * inet/getnetent_r.c: Likewise.
31946 * inet/getproto.c: Likewise.
31947 * inet/getproto_r.c: Likewise.
31948 * inet/getprtent.c: Likewise.
31949 * inet/getprtent_r.c: Likewise.
31950 * inet/getprtname.c: Likewise.
31951 * inet/getprtname_r.c: Likewise.
31952 * inet/getrpcbyname.c: Likewise.
31953 * inet/getrpcbyname_r.c: Likewise.
31954 * inet/getrpcbynumber.c: Likewise.
31955 * inet/getrpcbynumber_r.c: Likewise.
31956 * inet/getrpcent.c: Likewise.
31957 * inet/getrpcent_r.c: Likewise.
31958 * inet/getaliasent.c: Likewise.
31959 * inet/getaliasent_r.c: Likewise.
31960 * inet/getaliasname.c: Likewise.
31961 * inet/getaliasname_r.c: Likewise.
31962 * nscd/getgrgid_r.c: Likewise.
31963 * nscd/getgrnam_r.c: Likewise.
31964 * nscd/gethstbyad_r.c: Likewise.
31965 * nscd/gethstbynm3_r.c: Likewise.
31966 * nscd/getpwnam_r.c: Likewise.
31967 * nscd/getpwuid_r.c: Likewise.
31968 * nscd/getsrvbynm_r.c: Likewise.
31969 * nscd/getsrvbypt_r.c: Likewise.
31970 * nscd/gai.c: Likewise.
31972 * configure.in (build_nscd): New substituted variable, set
31973 by --disable-build-nscd and defaults to $use_nscd.
31974 * configure: Regenerated.
31975 * config.make.in (build-nscd): New substituted variable.
31976 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31977 Change conditional to require [$(build-nscd) = yes] as well.
31978 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31981 * configure.in (use_nscd): New substituted variable, set by
31982 --disable-nscd. If enabled, define USE_NSCD.
31983 * configure: Regenerated.
31984 * config.h.in: Add USE_NSCD.
31985 * config.make.in (use-nscd): New substituted variable.
31986 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31987 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31988 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31989 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31990 (CFLAGS-getgrnam_r.c): Likewise.
31991 (CFLAGS-initgroups.c): Likewise.
31992 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31993 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31995 * inet/getnetgrent_r.c
31996 (nscd_setnetgrent): New function, broken out of ...
31997 (setnetgrent): ... here. Call it.
31998 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31999 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32000 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32001 * nscd/Makefile (routines, aux): Move definitions after include of
32002 Makeconfig. Conditionalize on [$(use-nscd) != no].
32003 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32004 Conditionalize on [USE_NSCD].
32005 (is_nscd, nscd_init_cb): Likewise.
32006 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32007 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32008 * nss/nss_db/db-init.c: Likewise.
32009 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32011 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32012 (make_request): Use it.
32013 (cache_valid_p): New function.
32014 (__check_pf): Use it.
32015 * NEWS: Add item for --disable-nscd.
32017 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32019 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32020 to support sed >= 4.2.1-20-ga9bf076.
32021 * configure: Regenerated.
32023 2012-08-22 Roland McGrath <roland@hack.frob.com>
32025 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32026 Conditionalize whole body on [IREL].
32028 2012-08-22 Jeff Law <law@redhat.com>
32031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32032 if the family is PF_UNSPEC.
32034 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32036 * Makerules (lib-version): Rename from V.
32037 (install-lib-nosubdir): Change V to lib-version.
32039 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32042 * powerpc32/power6/wcschr.c: New file.
32043 * powerpc32/power6/wcscpy.c: New file.
32044 * powerpc32/power6/wcsrchr.c: New file.
32045 * powerpc64/power6/wcschr.c: New file.
32046 * powerpc64/power6/wcscpy.c: New file.
32047 * powerpc64/power6/wcsrchr.c: New file.
32049 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32051 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32052 (two_way_short_needle): Use it.
32053 * string/strstr.c (AVAILABLE1_USES_J): Define.
32054 * string/strcasestr.c: Likewise.
32056 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32058 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32061 * NEWS: Add an entry.
32062 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32063 define their defaults.
32064 (two_way_short_needle): Detect end-of-string on-the-fly.
32065 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32066 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32067 * string/bug-strcasestr1.c: New test.
32068 * string/Makefile: Run it.
32070 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32073 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32074 the first character.
32076 2012-08-21 Roland McGrath <roland@hack.frob.com>
32078 * csu/elf-init.c (__libc_csu_irel): Function removed.
32079 * csu/libc-start.c (apply_irel): New function.
32080 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32082 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32084 * sysdeps/unix/sysv/linux/kernel-features.h
32085 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32086 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32087 <kernel-features.h>.
32088 [__NR_fadvise64_64]: Make code unconditional.
32089 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32090 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32091 !__NR_fadvise64_64)]: Likewise.
32092 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32093 !__NR_fadvise64_64))]: Likewise.
32094 [__NR_fadvise64]: Make code unconditional.
32095 [!__NR_fadvise64]: Remove conditional code.
32096 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32097 <kernel-features.h>.
32098 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32100 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32103 not include <kernel-features.h>.
32104 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32106 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32108 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32109 include <kernel-features.h>.
32110 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32112 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32115 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32118 slight instruction rearrangements per scrollpipe analysis.
32119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32121 2012-08-20 Roland McGrath <roland@hack.frob.com>
32123 * manual/syslog.texi (syslog; vsyslog, closelog):
32124 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32125 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32127 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32128 DSOCAPS to match condition on defining it.
32130 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32132 * sysdeps/unix/sysv/linux/kernel-features.h
32133 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32135 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32136 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32138 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32139 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32141 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32142 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32144 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32145 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32147 * sysdeps/unix/sysv/linux/kernel-features.h
32148 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32149 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32151 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32152 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32153 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32154 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32155 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32156 Make code unconditional.
32157 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32158 (__mmap64) [!__NR_mmap2]: Likewise.
32159 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32160 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32161 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32162 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32163 [__NR_mmap2]: Make code unconditional.
32164 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32165 (__mmap64) [!__NR_mmap2]: Likewise.
32167 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32169 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32171 2012-08-18 Andreas Jaeger <aj@suse.de>
32173 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32175 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32177 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32178 * include/unistd.h (__have_sock_cloexec): Likewise.
32179 (__have_pipe2): Likewise.
32180 (__have_dup3): Likewise.
32182 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32185 * include/unistd.h (__have_pipe2): Change define into an extern int.
32186 (__have_dup3): Likewise.
32187 * socket/have_sock_cloexec.c: Include fcntl.h.
32188 (__have_pipe2): New variable.
32189 (__have_dup3): Likewise.
32191 2012-08-17 Mike Frysinger <vapier@gentoo.org>
32193 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32195 2012-08-17 Marek Polacek <polacek@redhat.com>
32197 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32198 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32200 2012-08-17 Roland McGrath <roland@hack.frob.com>
32202 * configure.in: Add AC_SUBST for sysheaders.
32203 * configure: Regenerated.
32204 * config.make.in (sysheaders): New substituted variable.
32206 * sysdeps/unix/mkfifo.c: Moved ...
32207 * sysdeps/posix/mkfifo.c: ... here.
32208 * sysdeps/unix/mkfifoat.c: Moved ...
32209 * sysdeps/posix/mkfifoat.c: ... here.
32211 * sysdeps/unix/utime.c: Moved ...
32212 * sysdeps/posix/utime.c: ... here.
32214 * sysdeps/unix/time.c: Moved ...
32215 * sysdeps/posix/time.c: ... here.
32216 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32217 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32219 * sysdeps/unix/nice.c: Moved ...
32220 * sysdeps/posix/nice.c: ... here.
32222 * sysdeps/unix/alarm.c: Moved ...
32223 * sysdeps/posix/alarm.c: ... here.
32225 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32227 2012-08-17 Jeff Law <law@redhat.com>
32229 * intl/Makefile (codeset_mo): New variable.
32230 ($(codeset_mo)): New target.
32231 (tst-codeset.out): Depend on that. Remove explicit rule.
32232 (tst-gettext3.out, tst-gettext5.out): Likewise.
32233 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32234 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32235 * intl/tst-codeset.sh: Remove.
32236 * intl/tst-gettext3.sh: Likewise.
32237 * intl/tst-gettext5.sh: Likewise.
32239 2012-08-17 Roland McGrath <roland@hack.frob.com>
32241 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32242 * sysdeps/unix/syscalls.list: ... here.
32244 * sysdeps/posix/getaddrinfo.c
32245 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32246 (gaiconf_init, gaiconf_reload): Use them.
32247 [!_STATBUF_ST_NSEC]
32248 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32249 Define using time_t rather than struct timespec.
32251 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32252 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32254 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32256 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32257 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32260 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32261 __libc_cleanup_push argument.
32263 * bits/param.h: New file.
32264 * misc/sys/param.h: New file.
32265 * include/sys/param.h: New file.
32266 * misc/Makefile (headers): Add bits/param.h.
32267 * sysdeps/generic/sys/param.h: File removed.
32268 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32269 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32270 * sysdeps/mach/hurd/bits/param.h: New file.
32271 * sysdeps/mach/hurd/sys/param.h: File removed.
32273 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32276 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32278 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32279 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32282 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32283 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32284 rather than -D_IO_MTSAFE_IO conditionally.
32285 * stdio-common/Makefile (CPPFLAGS): Likewise.
32286 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32287 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32288 Use $(libio-mtsafe).
32289 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32290 of -D_IO_MTSAFE_IO.
32291 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32292 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32293 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32294 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32295 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32296 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32297 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32298 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32299 (CFLAGS-fread_u_chk.c): Likewise.
32300 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32301 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32302 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32303 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32304 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32305 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32306 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32307 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32308 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32310 * libio/Makefile: Test [$(libc-reentrant) = yes]
32311 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32314 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32315 * sysdeps/pthread/configure: File removed.
32316 * sysdeps/pthread/Makeconfig: New file.
32317 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32318 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32320 2012-08-16 Gary Benson <gbenson@redhat.com>
32322 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32323 unmapping the first object in a namespace.
32325 2012-08-16 Roland McGrath <roland@hack.frob.com>
32327 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32328 (__internal_setnetgrent): ... this. Add internal_function to
32329 definition. Add libc_hidden_def.
32330 (setnetgrent): Update caller.
32331 (internal_endnetgrent): Renamed to ...
32332 (__internal_endnetgrent): ... this. Add internal_function to
32333 definition. Add libc_hidden_def.
32334 (endnetgrent): Update caller.
32335 (internal_getnetgrent_r): Renamed to ...
32336 (__internal_getnetgrent_r): ... this. Add internal_function to
32337 definition. Add libc_hidden_def.
32338 (__getnetgrent_r): Update caller.
32339 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32341 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32343 * stdlib/longlong.h: Update from GCC.
32345 2012-08-16 Roland McGrath <roland@hack.frob.com>
32347 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32348 on _QL, which is set by umul_ppmm but never used.
32349 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32350 variables, which are set by GMP macros but never used.
32351 * stdio-common/_itowa.c (_itowa): Likewise.
32352 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32353 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32355 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32357 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32358 struct La_sh_regs is not constant.
32359 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32360 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32361 and struct La_sparc64_regs are not constant.
32363 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32365 * sysdeps/unix/sysv/linux/kernel-features.h
32366 (__ASSUME_POSIX_TIMERS): Remove.
32367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32368 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32369 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32370 Make code unconditional.
32371 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32372 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32373 Make code unconditional.
32374 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32375 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32376 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32378 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32379 Make code unconditional.
32380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32381 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32382 (__libc_missing_posix_timers): Remove.
32384 2012-08-15 Roland McGrath <roland@hack.frob.com>
32386 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32387 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32389 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32391 * elf/dl-sym.c: Include <stdlib.h>.
32393 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32394 constants, which avoids warnings in 32-bit builds.
32396 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32397 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32399 * misc/lseek.c: File moved to ...
32400 * io/lseek.c: ... here.
32402 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32404 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32405 shifting LEN more than 31 bits at once.
32407 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32410 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32411 segmentation fault for a case of two empty input strings.
32412 * string/test-strncasecmp.c (check1): Renamed to...
32413 (bz12205): ...this.
32414 (bz14195): Add new testcase for two empty input strings and N > 0.
32415 (test_main): Call new testcase, adapt for renamed function.
32417 2012-08-15 Andreas Jaeger <aj@suse.de>
32420 * crypt/md5test2.c: New test, based on test supplied by Serge
32421 Belyshev <belyshev@depni.sinp.msu.ru>.
32422 * crypt/Makefile (xtests): Add md5test-giant..
32423 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32425 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32428 * crypt/md5.c (md5_process_block): Don't assume the buffer
32429 length is less than 2**32.
32430 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32431 length is less than 2**64.
32433 2012-08-15 Roland McGrath <roland@hack.frob.com>
32435 * string/str-two-way.h: Include <sys/param.h>.
32436 (MAX): Macro removed.
32438 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32439 Move #define and #undef of memmove to just before and after
32440 including <string.h>.
32442 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32443 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32444 and after including <string.h>. Move declarations of
32445 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32446 to before #include "string/memmove.c".
32448 * include/dirent.h: Declare __getdirentries.
32450 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32451 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32453 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32455 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32456 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32457 * sysdeps/i386/configure: Regenerated.
32458 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32459 STABS_CURRENT_FILE, and STABS_FUN.
32460 (END): Remove call to STABS_FUN_END.
32461 (STABS_CURRENT_FILE1): Delete.
32462 (STABS_CURRENT_FILE): Likewise.
32463 (STABS_FUN): Likewise.
32464 (STABS_FUN_END): Likewise.
32465 (STABS_FUN2): Likewise.
32466 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32467 * sysdeps/x86_64/configure: Regenerated.
32469 2012-08-14 Roland McGrath <roland@hack.frob.com>
32471 * elf/dl-open.c: Include <atomic.h>.
32472 * elf/dl-lookup.c: Likewise.
32474 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32476 * sysdeps/unix/sysv/linux/kernel-features.h
32477 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32478 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32480 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32482 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32483 condition on __ASSUME_CLONE_THREAD_FLAGS.
32485 2012-08-14 Andreas Jaeger <aj@suse.de>
32487 * sysdeps/i386/fpu/libm-test-ulps: Update.
32489 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32491 * include/atomic.h (atomic_exchange_and_add): Split into ...
32492 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32495 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32499 2012-08-13 Jeff Law <law@redhat.com>
32501 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32502 null byte in the output string.
32504 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32506 * sysdeps/unix/sysv/linux/kernel-features.h
32507 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32508 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32509 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32510 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32511 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32512 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32513 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32515 2012-08-09 Jeff Law <law@redhat.com>
32518 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32519 When avoid_arena is set, don't retry in the that arena. Pick the
32520 next one, whatever it might be.
32521 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32522 (arena_lock): Pass in new parameter to arena_get2.
32523 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32525 (__libc_malloc): Unify retrying after main arena failure with
32526 __libc_memalign version.
32527 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32529 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32532 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32533 to __redirect_strstr.
32534 (__strstr_sse42): Use typeof __redirect_strstr.
32535 (__strstr_ia32): Likewise.
32536 (__libc_strstr): New prototype.
32537 (strstr): Renamed to ...
32538 (__libc_strstr): This.
32539 (strstr): New strong alias of __libc_strstr.
32540 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32541 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32544 (__libc_time): New prototype.
32545 (time_ifunc): Replace time with __libc_time.
32546 (time): New strong alias and hidden definition of __libc_time.
32547 (__GI_time): Remove strong alias.
32548 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32549 Include <stddef.h>.
32550 (memmove): Redefined to __redirect_memmove.
32551 (__memmove_sse2): Use typeof __redirect_memmove.
32552 (__memmove_ssse3): Likewise.
32553 (__memmove_ssse3_back): Likewise.
32554 (__libc_memmove): New prototype.
32555 (memmove): Renamed to ...
32556 (__libc_memmove): This.
32557 (memmove): New strong alias of __libc_memmove.
32559 2012-08-08 Mark Salter <msalter@redhat.com>
32562 (R_MN10300_TLS_GD): Define.
32563 (R_MN10300_TLS_LD): Likewise.
32564 (R_MN10300_TLS_LDO): Likewise.
32565 (R_MN10300_TLS_GOTIE): Likewise.
32566 (R_MN10300_TLS_IE): Likewise.
32567 (R_MN10300_TLS_LE): Likewise.
32568 (R_MN10300_TLS_DTPMOD): Likewise.
32569 (R_MN10300_TLS_DTPOFF): Likewise.
32570 (R_MN10300_TLS_TPOFF): Likewise.
32571 (R_MN10300_SYM_DIFF): Likewise.
32572 (R_MN10300_ALIGN): Likewise.
32573 (R_MN10300_NUM): Update.
32575 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32580 2012-08-08 Roland McGrath <roland@hack.frob.com>
32582 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32584 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32585 sysdeps/unix -> sysdeps/posix move.
32586 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32588 2012-08-07 Allan McRae <allan@archlinux.org>
32591 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32592 (SUNOS_CPP): Likewise.
32593 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32595 (open_input): Call CPP using execvp.
32597 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32599 * sysdeps/unix/sysv/linux/kernel-features.h
32600 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32601 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32602 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32603 (__ASSUME_WAITID_SYSCALL): Likewise.
32604 * sysdeps/unix/sysv/linux/dl-execstack.c
32605 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32606 code unconditional.
32607 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32609 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32610 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32611 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32613 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32615 [__ASSUME_WAITID_SYSCALL]: Likewise.
32616 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32618 2012-08-07 Roland McGrath <roland@hack.frob.com>
32620 * sysdeps/unix/closedir.c: Renamed to ...
32621 * sysdeps/posix/closedir.c: ... here.
32622 * sysdeps/unix/dirfd.c: Renamed to ...
32623 * sysdeps/posix/dirfd.c: ... here.
32624 * sysdeps/unix/dirstream.h: Renamed to ...
32625 * sysdeps/posix/dirstream.h: ... here.
32626 * sysdeps/unix/fdopendir.c: Renamed to ...
32627 * sysdeps/posix/fdopendir.c: ... here.
32628 * sysdeps/unix/opendir.c: Renamed to ...
32629 * sysdeps/posix/opendir.c: ... here.
32630 * sysdeps/unix/readdir.c: Renamed to ...
32631 * sysdeps/posix/readdir.c: ... here.
32632 * sysdeps/unix/readdir_r.c: Renamed to ...
32633 * sysdeps/posix/readdir_r.c: ... here.
32634 * sysdeps/unix/rewinddir.c: Renamed to ...
32635 * sysdeps/posix/rewinddir.c: ... here.
32636 * sysdeps/unix/seekdir.c: Renamed to ...
32637 * sysdeps/posix/seekdir.c: ... here.
32638 * sysdeps/unix/telldir.c: Renamed to ...
32639 * sysdeps/posix/telldir.c: ... here.
32640 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32641 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32642 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32643 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32645 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32646 * bits/fcntl.h: ... here.
32648 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32650 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32651 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32652 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32653 (struct flock): Move l_start, l_len to the beginning.
32654 Use __pid_t for l_pid.
32655 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32656 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32657 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32658 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32659 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32660 [__USE_LARGEFILE64] (struct flock64): New type.
32661 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32663 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32664 * bits/dirent.h: ... here.
32666 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32667 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32669 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32672 Change from 2.6.0 to 2.6.16.
32673 * sysdeps/unix/sysv/linux/configure: Regenerated.
32674 * sysdeps/unix/sysv/linux/kernel-features.h
32675 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32676 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32678 (__ASSUME_UTIMES): Likewise.
32679 (__ASSUME_CLONE_STOPPED): Remove.
32680 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32681 architectures, not kernel version.
32682 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32683 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32684 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32685 (__ASSUME_WAITID_SYSCALL): Likewise.
32686 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32687 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32688 * README: State 2.6.16 as minimum Linux kernel version. Do not
32689 refer to older versions.
32691 2012-08-06 Roland McGrath <roland@hack.frob.com>
32693 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32694 Define alphasort64 as an alias.
32695 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32696 Define versionsort64 as an alias.
32697 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32698 Define scandir64 as an alias.
32699 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32700 Define scandirat64 as an alias.
32701 * dirent/alphasort64.c (alphasort64):
32702 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32703 * dirent/versionsort64.c: Likewise.
32704 * dirent/scandir64.c: Likewise.
32705 * dirent/scandirat64.c: Likewise.
32706 * sysdeps/wordsize-64/alphasort.c: File removed.
32707 * sysdeps/wordsize-64/alphasort64.c: File removed.
32708 * sysdeps/wordsize-64/scandir.c: File removed.
32709 * sysdeps/wordsize-64/scandir64.c: File removed.
32710 * sysdeps/wordsize-64/scandirat.c: File removed.
32711 * sysdeps/wordsize-64/scandirat64.c: File removed.
32712 * sysdeps/wordsize-64/versionsort.c: File removed.
32713 * sysdeps/wordsize-64/versionsort64.c: File removed.
32714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32715 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32717 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32719 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32723 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32725 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32727 [defined __arch64__ || defined __sparcv9]
32728 (__INO_T_MATCHES_INO64_T): New macro.
32729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32730 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32731 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32732 * sysdeps/unix/sysv/linux/bits/dirent.h
32733 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32734 (_DIRENT_MATCHES_DIRENT64): New macro.
32736 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32737 Define lockf64 as an alias.
32738 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32739 Define fseeko64 as an alias.
32740 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32741 Define ftello64 as an alias.
32742 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32743 Define _IO_fgetpos64 and fgetpos64 as aliases.
32744 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32745 Define _IO_fsetpos64 and fsetpos64 as aliases.
32746 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32747 Conditionalize body on this.
32748 * libio/fseeko64.c: Likewise.
32749 * libio/ftello64.c: Likewise.
32750 * libio/iofgetpos64.c: Likewise.
32751 * libio/iofsetpos64.c: Likewise.
32752 * sysdeps/wordsize-64/lockf.c: File removed.
32753 * sysdeps/wordsize-64/lockf64.c: File removed.
32754 * sysdeps/wordsize-64/fseeko.c: File removed.
32755 * sysdeps/wordsize-64/fseeko64.c: File removed.
32756 * sysdeps/wordsize-64/ftello.c: File removed.
32757 * sysdeps/wordsize-64/ftello64.c: File removed.
32758 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32759 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32760 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32761 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32762 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32763 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32765 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32767 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32770 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32771 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32773 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32775 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32777 [defined __arch64__ || defined __sparcv9]
32778 (__OFF_T_MATCHES_OFF64_T): New macro.
32779 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32780 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32782 (__OFF_T_MATCHES_OFF64_T): New macro.
32784 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32786 * stdlib/secure-getenv.c (__secure_getenv): Replace
32787 GLIBC_2_16 with GLIBC_2_17.
32789 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32791 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32792 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32794 2012-08-03 David S. Miller <davem@davemloft.net>
32796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32798 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32802 (__ASSUME_CORRECT_SI_PID): Likewise.
32803 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32804 (__ASSUME_TMPFS_NAME): Likewise.
32805 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32806 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32807 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32808 (HAVE_AUX_SECURE): Make definition unconditional.
32809 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32810 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32812 2012-08-03 Roland McGrath <roland@hack.frob.com>
32814 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32815 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32816 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32817 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32818 __eloop_threshold instead of SYMLOOP_MAX.
32820 * sysdeps/generic/eloop-threshold.h: New file.
32821 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32823 * elf/chroot_canon.c (chroot_canon): Likewise.
32825 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32829 Change to 2.6.0 everywhere.
32830 * sysdeps/unix/sysv/linux/configure: Regenerated.
32831 * sysdeps/unix/sysv/linux/kernel-features.h
32832 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32833 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32835 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32836 (__ASSUME_FUTEX_REQUEUE): Remove.
32837 (__ASSUME_STATFS64): Define unconditionally.
32838 (__ASSUME_AT_SECURE): Likewise.
32839 (__ASSUME_CORRECT_SI_PID): Likewise.
32840 (__ASSUME_TGKILL): Define without depending on kernel version for
32842 (__ASSUME_UTIMES): Likewise.
32843 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32845 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32846 (__ASSUME_TMPFS_NAME): Likewise.
32847 * README: Update reference to Linux kernel versions.
32849 2012-08-02 Marek Polacek <polacek@redhat.com>
32852 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32853 libc_cv_asm_type_prefix with %.
32854 * configure: Regenerated.
32855 * include/libc-symbols.h: Remove comment about
32856 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32857 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32858 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32859 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32860 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32861 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32862 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32863 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32864 * elf/tst-unique2mod1.c: Likewise.
32865 * elf/tst-unique1mod2.c: Likewise.
32866 * elf/tst-unique1mod1.c: Likewise.
32867 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32868 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32869 Replace ASM_TYPE_DIRECTIVE with .type.
32870 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32871 * sysdeps/i386/sysdep.h: Likewise.
32872 * sysdeps/x86_64/sysdep.h: Likewise.
32873 * sysdeps/sh/sysdep.h: Likewise.
32874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32875 Do not define ASM_TYPE_DIRECTIVE.
32876 * sysdeps/powerpc/sysdep.h: Likewise.
32877 * sysdeps/powerpc/powerpc32/sysdep.h:
32878 Replace ASM_TYPE_DIRECTIVE with .type.
32879 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32881 * sysdeps/i386/fpu/e_powf.S: Likewise.
32882 * sysdeps/i386/fpu/e_expl.S: Likewise.
32883 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32885 * sysdeps/i386/fpu/e_pow.S: Likewise.
32886 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32887 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32888 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32889 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32890 * sysdeps/i386/fpu/e_log2.S: Likewise.
32891 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32892 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32893 * sysdeps/i386/fpu/e_powl.S: Likewise.
32894 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32895 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32896 * sysdeps/i386/fpu/e_logl.S: Likewise.
32897 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32898 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32899 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32900 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32901 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32902 * sysdeps/i386/fpu/e_log.S: Likewise.
32903 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32904 * sysdeps/i386/fpu/e_logf.S: Likewise.
32905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32906 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32907 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32908 * sysdeps/i386/fpu/e_log10.S: Likewise.
32909 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32910 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32911 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32912 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32913 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32914 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32915 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32916 * sysdeps/i386/i686/strtok.S: Likewise.
32917 * sysdeps/i386/i386-mcount.S: Likewise.
32918 * sysdeps/i386/strtok.S: Likewise.
32919 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32920 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32921 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32922 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32923 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32924 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32925 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32926 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32927 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32928 * sysdeps/x86_64/_mcount.S: Likewise.
32929 * sysdeps/x86_64/strtok.S: Likewise.
32930 * sysdeps/sh/_mcount.S: Likewise.
32932 2012-08-01 Roland McGrath <roland@hack.frob.com>
32934 * libio/iofopen.c: Include <fcntl.h>.
32935 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32936 (_IO_fopen64, fopen64): Define as aliases.
32937 * libio/iofopen64.c: Include <fcntl.h>.
32938 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32939 Conditionalize body on this.
32940 * sysdeps/wordsize-64/iofopen.c: File removed.
32941 * sysdeps/wordsize-64/iofopen64.c: File removed.
32943 2012-08-01 Marek Polacek <polacek@redhat.com>
32945 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32946 Use dlfcn directly instead of a variable.
32947 (binfmt-subdir): Do not define.
32950 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32953 Remove all definitions.
32954 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32955 <kernel-features.h>.
32956 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32957 (miss_F_GETOWN_EX): Remove all definitions.
32958 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32960 [!__ASSUME_FCNTL64]: Remove conditional code.
32961 [__ASSUME_FCNTL64]: Make code unconditional.
32962 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32963 <kernel-features.h>.
32964 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32965 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32966 (lockf64) [__NR_fcntl64]: Make code unconditional.
32967 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32969 * sysdeps/unix/sysv/linux/kernel-features.h
32970 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32971 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32972 Make code unconditional.
32973 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32974 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32976 [__NR_vfork]: Make code unconditional.
32977 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32978 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32980 [__NR_vfork]: Make code unconditional.
32981 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32982 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32984 2012-08-01 Roland McGrath <roland@hack.frob.com>
32986 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32987 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32989 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32990 Define mkstemp64 as an alias.
32991 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32992 Define mkstemps64 as an alias.
32993 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32994 Define mkostemp64 as an alias.
32995 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32996 Define mkostemps64 as an alias.
32997 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32998 Conditionalize body on this.
32999 * misc/mkostemp64.c: Likewise.
33000 * misc/mkostemps64.c: Likewise.
33001 * misc/mkstemps64.c: Likewise.
33002 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33003 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33004 * sysdeps/wordsize-64/mkostemp.c: File removed.
33005 * sysdeps/wordsize-64/mkstemp.c: File removed.
33006 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33007 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33009 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33012 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33013 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33014 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33015 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33017 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33018 compat_symbol macros from <shlib-compat.h> rather than the underlying
33019 default_symbol_version and symbol_version macros, so that DEFAULT
33020 lines in shlib-versions are respected.
33021 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33023 2012-08-01 Florian Weimer <fweimer@redhat.com>
33025 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33026 Declare with warn_unused_result.
33027 (setgid, setregid, setegid, setresgid): Likewise.
33028 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33030 * WUR-REPORT: Remove set*id functions.
33032 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33034 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33036 2012-07-31 Roland McGrath <roland@hack.frob.com>
33039 * include/sys/socket.h (__libc_accept, __libc_accept4):
33040 Add attribute_hidden.
33041 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33043 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33045 * inet/getnetgrent_r.c (setup): Likewise.
33047 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33049 2012-07-31 David S. Miller <davem@davemloft.net>
33051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33053 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33056 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33057 value between 1.0 and 2.0 and smaller part has absolute value less
33059 * math/s_clog10.c (__clog10): Likewise.
33060 * math/s_clog10f.c (__clog10f): Likewise.
33061 * math/s_clog10l.c (__clog10l): Likewise.
33062 * math/s_clogf.c (__clogf): Likewise.
33063 * math/s_clogl.c (__clogl): Likewise.
33064 * math/libm-test.inc (clog_test): Add more tests.
33065 (clog10_test): Likewise.
33066 * sysdeps/i386/fpu/libm-test-ulps: Update.
33067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33069 2012-07-31 Florian Weimer <fweimer@redhat.com>
33071 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33072 Exit with zero in case no suitable GID is found, and write a
33073 message to standard error.
33075 2012-07-30 Roland McGrath <roland@hack.frob.com>
33077 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33079 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33080 (MAXPATHLEN): Removed.
33081 (NOGROUP, NODEV): New macros.
33082 (setbit, clrbit, isset, isclr): New macros.
33083 (howmany, roundup, powerof2): New macros.
33084 (DEV_BSIZE): New macro.
33086 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33087 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33089 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33090 definition on [!__NO_LONG_DOUBLE_MATH].
33092 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33093 PTR_MANGLE and PTR_DEMANGLE.
33095 * socket/accept4.c (accept4): Rename to __libc_accept4.
33096 Define accept4 as a weak alias.
33098 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33099 on [_DIRENT_HAVE_D_TYPE].
33100 * io/ftw.c (ftw_dir): Likewise.
33102 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33104 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33106 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33107 Use the BSD numbers rather than the arbitrary ones we had.
33108 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33109 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33110 (SIGXCPU, SIGXFSZ): New macros.
33113 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33114 initializer on [_LIBC_REENTRANT].
33116 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33117 definitions inside [_POSIX_MAPPED_FILES].
33119 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33121 * dirent/opendir.c: Include <fcntl.h>.
33123 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33124 (__libc_getspecific): Likewise.
33125 (__libc_key_create): Likewise.
33127 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33128 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33129 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33130 (tmpfile64): Define as alias.
33131 * sysdeps/wordsize-64/tmpfile.c: File removed.
33132 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33133 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33134 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33136 * stdio-common/vfscanf.c: Include <stdbool.h>.
33137 * nss/makedb.c: Likewise.
33138 * stdio-common/_i18n_number.h: Likewise.
33139 * argp/argp-help.c: Likewise.
33140 * posix/wordexp.c: Likewise.
33141 * sysdeps/posix/spawni.c: Likewise.
33142 * nss/nss_files/files-initgroups.c: Likewise.
33143 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33144 * nss/nss_files/files-initgroups.c: Likewise.
33145 * nss/nss_db/db-netgrp.c: Likewise.
33146 * nss/nss_db/db-initgroups.c: Likewise.
33147 * io/fchmodat.c: Include <sys/stat.h>.
33149 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33150 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33152 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33155 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33156 Add multiple inclusion protection.
33158 2012-07-27 David S. Miller <davem@davemloft.net>
33160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33162 2012-07-27 Gary Benson <gbenson@redhat.com>
33165 * elf/rtld.c: Include <stap-probe.h>.
33166 (dl_main): Added static probes "init_start" and "init_complete".
33167 * elf/dl-load.c: Include <stap-probe.h>.
33168 (lose): Take new parameter "nsid".
33169 Added static probe "map_failed".
33170 (_dl_map_object_from_fd): Pass namespace id to lose.
33171 Added static probe "map_start".
33172 (open_verify): Pass namespace id to lose.
33173 * elf/dl-open.c: Include <stap-probe.h>.
33174 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33175 and "reloc_complete".
33176 * elf/dl-close.c: Include <stap-probe.h>.
33177 (_dl_close_worker): Added static probes "unmap_start" and
33179 * elf/rtld-debugger-interface.txt: New file documenting the above.
33181 2012-07-26 Roland McGrath <roland@hack.frob.com>
33183 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33184 rather than a string variable.
33185 * sunrpc/rpc_main.c (h_output): Likewise.
33186 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33188 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33190 * inet/check_native.c: New file.
33192 2012-07-26 Joseph Myers <joseph@codesourcery.com>
33195 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33196 if larger part has absolute value 1.0.
33197 * math/s_clog10.c (__clog10): Likewise.
33198 * math/s_clog10f.c (__clog10f): Likewise.
33199 * math/s_clog10l.c (__clog10l): Likewise.
33200 * math/s_clogf.c (__clogf): Likewise.
33201 * math/s_clogl.c (__clogl): Likewise.
33202 * math/libm-test.inc (clog_test): Add more tests.
33203 (clog10_test): Likewise.
33204 * sysdeps/i386/fpu/libm-test-ulps: Update.
33205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33207 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33208 (pltexit): Likewise.
33209 (La_regs): Likewise.
33210 (La_retval): Likewise.
33211 (int_retval): Likewise.
33212 Update #error for removed macros to refer only to definitions in
33214 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33216 (pltexit): Likewise.
33217 (La_regs): Likewise.
33218 (La_retval): Likewise.
33219 (int_retval): Likewise.
33220 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33222 (pltexit): Likewise.
33223 (La_regs): Likewise.
33224 (La_retval): Likewise.
33225 (int_retval): Likewise.
33226 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33228 (pltexit): Likewise.
33229 (La_regs): Likewise.
33230 (La_retval): Likewise.
33231 (int_retval): Likewise.
33232 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33234 (pltexit): Likewise.
33235 (La_regs): Likewise.
33236 (La_retval): Likewise.
33237 (int_retval): Likewise.
33238 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33240 (pltexit): Likewise.
33241 (La_regs): Likewise.
33242 (La_retval): Likewise.
33243 (int_retval): Likewise.
33244 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33246 (pltexit): Likewise.
33247 (La_regs): Likewise.
33248 (La_retval): Likewise.
33249 (int_retval): Likewise.
33250 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33251 macro definitions in tst-audit.h.
33252 * sysdeps/i386/tst-audit.h: New file.
33253 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33254 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33255 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33256 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33257 * sysdeps/sh/tst-audit.h: Likewise.
33258 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33259 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33260 * sysdeps/x86_64/tst-audit.h: Likewise.
33262 2012-07-26 Andreas Jaeger <aj@suse.de>
33264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33267 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33268 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33269 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33271 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33272 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33273 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33275 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33278 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33280 (si_call_addr, si_syscall, si_arch): Define new macro.
33281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33283 (si_call_addr, si_syscall, si_arch): Define new marcro.
33284 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33286 (si_call_addr, si_syscall, si_arch): Define new macro.
33287 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33289 (si_call_addr, si_syscall, si_arch): Define new macro.
33291 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33294 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33295 Change to 2.4.21 where previously 2.4.1.
33296 * sysdeps/unix/sysv/linux/configure: Regenerated.
33297 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33298 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33299 Linux kernel version.
33300 (__ASSUME_STD_AUXV): Remove.
33301 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33303 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33304 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33305 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33306 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33307 (__ASSUME_NETLINK_SUPPORT): Likewise.
33308 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33309 (__no_netlink_support): Remove conditional definition.
33310 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33312 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33313 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33314 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33315 (if_nameindex_ioctl): Remove.
33316 (if_nameindex_netlink): Do not handle __no_netlink_support.
33317 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33319 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33320 Remove conditional code.
33321 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33323 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33325 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33326 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33327 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33329 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33330 [!__ASSUME_STD_AUXV]: Remove conditional code.
33331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33332 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33333 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33335 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33336 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33338 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33340 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33341 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33343 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33345 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33348 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33351 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33352 code unconditional.
33353 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33355 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33357 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33360 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33362 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33365 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33366 code unconditional.
33367 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33369 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33371 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33374 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33375 code unconditional.
33376 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33378 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33380 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33383 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33385 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33386 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33387 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33388 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33389 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33390 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33391 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33392 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33393 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33394 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33395 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33396 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33397 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33398 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33399 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33400 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33401 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33402 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33403 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33405 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33406 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33407 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33409 2012-07-25 Florian Weimer <fweimer@redhat.com>
33411 * Versions.def: Add GLIBC_2.17.
33412 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33413 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33414 Introduce __libc_secure_getenv.
33415 * stdlib/Versions (2.17): Add secure_getenv
33416 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33417 * stdlib/secure-getenv.c: Rename __secure_getenv to
33418 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33419 symbol __secure_getenv for GLIBC_2.0.
33420 * stdlib/tst-secure-getenv.c: New.
33421 * stdlib/Makefile (tests): Add testcase.
33422 * manual/startup.texi (Environment Access): Document
33424 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33425 __libc_secure_getenv.
33426 * inet/ruserpass.c (ruserpass): Likewise.
33427 * malloc/mtrace.c (mtrace): Likewise.
33428 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33429 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33430 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33431 * sysdeps/posix/tempname.c: Likewise. Evaluate
33432 HAVE_SECURE_GETENV.
33433 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33434 __secure_getenv to __libc_secure_getenv.
33435 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33442 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33448 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33450 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33451 (struct La_i86_retval): Likewise.
33452 (struct La_x86_64_regs): Likewise.
33453 (struct La_x86_64_retval): Likewise.
33454 (struct La_x32_regs): Likewise.
33455 (struct La_x32_retval): Likewise.
33456 (struct La_ppc32_regs): Likewise.
33457 (struct La_ppc32_retval): Likewise.
33458 (struct La_ppc64_regs): Likewise.
33459 (struct La_ppc64_retval): Likewise.
33460 (struct La_sh_regs): Likewise.
33461 (struct La_sh_retval): Likewise.
33462 (struct La_s390_32_regs): Likewise.
33463 (struct La_s390_32_retval): Likewise.
33464 (struct La_s390_64_regs): Likewise.
33465 (struct La_s390_64_retval): Likewise.
33466 (struct La_sparc32_regs): Likewise.
33467 (struct La_sparc32_retval): Likewise.
33468 (struct La_sparc64_regs): Likewise.
33469 (struct La_sparc64_retval): Likewise.
33470 (struct audit_ifaces): Remove architecture-specific pltenter and
33472 * sysdeps/i386/ldsodefs.h: New file.
33473 * sysdeps/powerpc/ldsodefs.h: Likewise.
33474 * sysdeps/s390/ldsodefs.h: Likewise.
33475 * sysdeps/sh/ldsodefs.h: Likewise.
33476 * sysdeps/sparc/ldsodefs.h: Likewise.
33477 * sysdeps/x86_64/ldsodefs.h: Likewise.
33479 2012-07-25 Marek Polacek <polacek@redhat.com>
33482 * math/libm-test.inc (yn_test): Add another test.
33483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33484 to ERANGE when the result is +-Inf.
33485 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33486 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33487 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33488 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33490 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33492 * conform/data/time.h-data (NULL): Use macro-constant. Require
33494 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33496 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33498 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33500 * configure.in <sysdeps resolving>: Correct printing
33502 * configure: Regenerate.
33504 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33506 * math/w_ilogb.c: Include <limits.h>.
33507 * math/w_ilogbl.c: Likewise.
33509 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33511 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33512 va_copy. Document allowing for unavailable va_copy only as
33513 pre-C99 compatibility.
33514 * manual/string.texi (Copying and Concatenation): Use va_copy
33515 instead of __va_copy in concat example.
33517 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33519 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33520 (__sendto): Use create_address_port. Initialize APORT and deallocate
33523 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33524 with O_NOLINK passed to __file_name_lookup.
33526 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33527 with O_NOLINK passed to __file_name_lookup.
33529 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33530 negative N or less than NGIDS.
33532 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33533 type to string_t. Set ERANGE as errno and return it if NAME is not big
33534 enough. Use memcpy instead of strncpy.
33536 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33538 * elf/Makefile (check-data): Remove.
33539 (localplt.data): New vpath directive.
33540 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33541 instead of $(check-data).
33542 * scripts/data/localplt-generic.data: Move to ...
33543 * sysdeps/generic/localplt.data: ... here.
33544 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33545 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33546 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33549 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33552 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33555 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33558 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33561 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33565 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33567 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33568 PPC32 and PPC64 files.
33569 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33570 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33572 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33574 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33575 __makecontext_ret to ...
33576 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33577 ... here and call exit if uc_link is NULL. New file.
33578 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33579 __makecontext_ret.S.
33580 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33581 __makecontext_ret to ...
33582 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33583 ... here and call exit if uc_link is NULL. New file.
33584 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33585 __makecontext_ret.S.
33587 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33589 * elf/elf.h (R_390_IRELATIVE): New definition.
33590 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33591 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33592 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33593 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33594 (elf_machine_lazy_rel): Likewise.
33595 * sysdeps/s390/dl-irel.h: New file.
33596 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33597 * sysdeps/s390/s390-64/memset.S: New asm code.
33598 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33599 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33600 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33601 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33602 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33603 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33604 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33605 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33606 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33607 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33608 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33609 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33610 * sysdeps/s390/s390-32/memset.S: New asm code.
33611 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33613 2012-07-17 Marek Polacek <polacek@redhat.com>
33616 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33617 * sysdeps/s390/s390-64/configure.in: Likewise.
33618 * sysdeps/sparc/configure.in: Likewise.
33619 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33620 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33621 * sysdeps/i386/configure.in: Likewise.
33622 * sysdeps/x86_64/configure.in: Likewise.
33623 * sysdeps/sh/configure.in: Likewise.
33624 * sysdeps/s390/s390-32/configure: Regenerated.
33625 * sysdeps/s390/s390-64/configure: Likewise.
33626 * sysdeps/x86_64/configure: Likewise.
33627 * sysdeps/sh/configure: Likewise.
33628 * sysdeps/powerpc/powerpc64/configure: Likewise.
33629 * sysdeps/powerpc/powerpc32/configure: Likewise.
33630 * sysdeps/sparc/configure: Likwise.
33631 * sysdeps/i386/configure: Likewise.
33633 * elf/dl-open.c: Comment fixes.
33635 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33637 * Makefile [CXX] (check-data): Remove.
33638 [CXX] (c++-types.data): New vpath directive.
33639 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33640 vpath. Do not allow for C++ type data being missing.
33641 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33642 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33643 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33644 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33645 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33646 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33647 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33650 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33653 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33656 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33659 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33662 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33665 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33668 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33671 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33672 definitions to architecture-specific files.
33673 (TLS_IE): Likewise.
33674 (TLS_LD): Likewise.
33675 (TLS_GD): Likewise.
33676 * sysdeps/i386/tls-macros.h: New file.
33677 * sysdeps/powerpc/tls-macros.h: Likewise.
33678 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33679 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33680 * sysdeps/sh/tls-macros.h: Likewise.
33681 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33682 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33683 * sysdeps/x86_64/tls-macros.h: Likewise.
33685 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33687 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33688 zero value for regular exit case.
33690 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33691 (__start_context): Preserve zero value for regular exit case.
33693 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33694 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33696 * manual/setjmp.texi (setcontext): Clarify normal process
33697 termination when uc_link is the null pointer.
33698 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33701 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33703 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33704 preprocessor. Test for each exception mask separately.
33706 2012-07-16 Andreas Jaeger <aj@suse.de>
33708 * po/ru.po: Update from translation team.
33710 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33712 * conform/data/string.h-data (NULL): Use macro-constant. Require
33714 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33715 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33716 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33717 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33720 2012-07-13 Andreas Jaeger <aj@suse.de>
33722 * po/fr.po: Update from translation team.
33724 2012-07-12 Marek Polacek <polacek@redhat.com>
33727 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33728 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33731 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33735 Change to 2.4.1 where previously 2.4.0.
33736 * sysdeps/unix/sysv/linux/configure: Regenerated.
33737 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33738 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33740 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33741 (__ASSUME_AT_CLKTCK): Remove.
33742 (__ASSUME_AT_PAGESIZE): Likewise.
33743 (__ASSUME_AT_XID): Likewise.
33744 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33745 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33746 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33748 (HAVE_AUX_PAGESIZE): Likewise.
33749 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33750 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33751 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33753 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33757 the temporary buffer used to invoke __gethostbyname2_r,
33758 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33759 host_data / struct gaih_addrtuple.
33760 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33761 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33762 header file nss/nsswitch.h.
33763 * nss/nsswitch.h (global scope): Add definition of implementation
33764 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33765 resolv/nss_dns/dns-host.c).
33767 2012-07-11 Andreas Jaeger <aj@suse.de>
33769 * po/fr.po: Update from translation team.
33771 * po/sv.po: Update from translation team
33772 * po/fr.po: Another update from translation team.
33774 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33777 for subnormals or multiply small sinh result by itself.
33778 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33781 2012-07-11 David S. Miller <davem@davemloft.net>
33783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33785 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33788 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33789 (INTERNAL_MARK): Shift it here.
33791 2012-07-10 Marek Polacek <polacek@redhat.com>
33794 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33795 libc_cv_asm_global_directive with .globl.
33796 * configure: Regenerated.
33797 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33799 * sysdeps/i386/configure: Regenerated.
33800 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33802 * sysdeps/x86_64/configure: Regenerated.
33803 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33804 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33805 * elf/tst-unique2mod2.c: Likewise.
33806 * elf/tst-unique2mod1.c: Likewise.
33807 * elf/tst-unique1mod2.c: Likewise.
33808 * elf/tst-unique1mod1.c: Likewise.
33809 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33810 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33812 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33813 * sysdeps/mach/sysdep.h: Likewise.
33814 * sysdeps/i386/sysdep.h: Likewise.
33815 * sysdeps/i386/i386-mcount.S: Likewise.
33816 * sysdeps/x86_64/_mcount.S: Likewise.
33817 * sysdeps/x86_64/sysdep.h: Likewise.
33818 * sysdeps/sh/_mcount.S: Likewise.
33819 * sysdeps/sh/sysdep.h: Likewise.
33820 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33821 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33822 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33823 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33824 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33825 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33826 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33827 * locale/localeinfo.h: Likewise.
33828 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33829 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33831 2012-07-09 Roland McGrath <roland@hack.frob.com>
33834 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33836 * manual/message.texi (The Uniforum approach): Likewise.
33837 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33838 (glibc iconv Implementation): Likewise.
33840 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33843 * math/s_clog.c (__clog): Avoid scaling a value down where that
33844 could result in underflow.
33845 * math/s_clog10.c (__clog10): Likewise.
33846 * math/s_clog10f.c (__clog10f): Likewise.
33847 * math/s_clog10l.c (__clog10l): Likewise.
33848 * math/s_clogf.c (__clogf): Likewise.
33849 * math/s_clogl.c (__clogl): Likewise.
33850 * math/libm-test.inc (clog_test): Add more tests.
33851 (clog10_test): Likewise.
33852 * sysdeps/i386/fpu/libm-test-ulps: Update.
33853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33855 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33858 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33859 by 7 not 8 to examine high bit of fractional part.
33862 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33863 for call to __mcount_internal.
33864 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33865 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33866 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33868 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33871 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33872 approximation for values within 0x1p-13f of an odd multiple of
33874 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33875 exception. Add more tests.
33876 * sysdeps/i386/fpu/libm-test-ulps: Update.
33879 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33880 inputs and return -1 for them. Do not check for +Inf in case not
33881 reachable for +Inf.
33882 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33883 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33884 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33885 and return -1 for them. Do not check for +Inf in case not
33886 reachable for +Inf.
33887 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33889 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33890 and return -1 for them. Do not check for +Inf in case not
33891 reachable for +Inf.
33892 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33893 spurious underflow.
33894 * sysdeps/i386/fpu/libm-test-ulps: Update.
33895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33897 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33899 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33901 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33905 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33906 could result in spurious underflow. Scale down values above
33907 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33908 * math/s_csqrtf.c (__csqrtf): Likewise.
33909 * math/s_csqrtl.c (__csqrtl): Likewise.
33910 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33911 spurious underflow.
33912 * sysdeps/i386/fpu/libm-test-ulps: Update.
33913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33915 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33917 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33919 * catgets/xopen-msg.awk: New file.
33920 * catgets/xopen-msg.sed: Removed.
33922 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33924 * intl/po2test.awk: New file.
33925 * intl/po2test.sed: Removed.
33927 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33930 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33931 or multiply small sinh result by itself.
33932 * math/s_ctanf.c (__ctanf): Likewise.
33933 * math/s_ctanh.c (__ctanh): Likewise.
33934 * math/s_ctanhf.c (__ctanhf): Likewise.
33935 * math/s_ctanhl.c (__ctanhl): Likewise.
33936 * math/s_ctanl.c (__ctanl): Likewise.
33937 * math/libm-test.inc (ctan_test_tonearest): New function.
33938 (ctan_test_towardzero): Likewise.
33939 (ctan_test_downward): Likewise.
33940 (ctan_test_upward): Likewise.
33941 (ctanh_test_tonearest): Likewise.
33942 (ctanh_test_towardzero): Likewise.
33943 (ctanh_test_downward): Likewise.
33944 (ctanh_test_upward): Likewise.
33945 (main): Call these new functions.
33946 * sysdeps/i386/fpu/libm-test-ulps: Update.
33947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33949 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33951 * .gitignore: Delete /ports entry.
33953 2012-07-03 Andreas Jaeger <aj@suse.de>
33955 * po/bg.po: Update from translation team.
33956 * po/cs.po: Likewise.
33957 * po/de.po: Likewise.
33958 * po/hr.po: Likewise.
33959 * po/nl.pl: Likewise.
33960 * po/pl.po: Likewise.
33961 * po/vi.po: Likewise.
33963 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33965 * Makeconfig [!+link] (+link-before-libc): New variable.
33966 [!+link] (+link-after-libc): Likewise.
33967 [!+link] (+link-tests): Likewise.
33968 [!+link] (+link): Define in terms of $(+link-before-libc) and
33969 $(+link-after-libc).
33970 [!+link-static] (+link-static-before-libc): New variable.
33971 [!+link-static] (+link-static-after-libc): Likewise.
33972 [!+link-static] (+link-static-tests): Likewise.
33973 [!+link-static] (+link-static): Define in terms of
33974 $(+link-static-before-libc) and $(+link-static-after-libc).
33975 [build-shared] (link-libc-before-gnulib): New variable.
33976 [build-shared] (link-libc-tests): Likewise.
33977 [build-shared] (link-libc): Define in terms of
33978 $(link-libc-before-gnulib).
33979 [!build-shared] (link-libc-tests): New variable.
33980 (link-libc-static-tests): New variable.
33981 [!gnulib] (gnulib-arch): New variable.
33982 [!gnulib] (gnulib-tests): Likewise.
33983 [!gnulib] (static-gnulib-arch): Likewise.
33984 [!gnulib] (static-gnulib-tests): Likewise.
33985 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33986 Define with "=" instead of ":=".
33987 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33988 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33989 * Rules (binaries-all-notests): New variable.
33990 (binaries-all-tests): Likewise.
33991 (binaries-static-notests): Likewise.
33992 (binaries-static-tests): Likewise.
33993 (binaries-all): Define using $(binaries-all-notests) and
33994 $(binaries-all-tests).
33995 (binaries-static): Define using $(binaries-static-notests) and
33996 $(binaries-static-tests).
33997 (binaries-shared-tests): New variable.
33998 (binaries-shared-notests): Likewise.
33999 (binaries-shared): Remove variable.
34000 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34001 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34002 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34003 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34004 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34005 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34006 * elf/Makefile (sln-modules): New variable.
34007 (extra-objs): Add $(sln-modules:=.o).
34008 (ldconfig-modules): Add static-stubs.
34009 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34010 * elf/static-stubs.c: New file.
34013 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34014 by 7 not 8 to examine high bit of fractional part. Use volatile
34015 variables when splitting into final array of floats if
34016 __FLT_EVAL_METHOD__ != 0.
34017 * math/libm-test.inc (cos_test): Add another test.
34018 (sin_test): Likewise.
34019 * sysdeps/i386/fpu/libm-test-ulps: Update.
34022 * math/libm-test.inc (cosh_test): Add more tests.
34024 * version.h (RELEASE): Set to "development".
34025 (VERSION): Set to "2.16.90".
34027 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34029 * NEWS: Update copyright. Remove last-updated date.
34030 Mention math library bug fixes and timezone data changes.
34031 * README: Mention GNU/Hurd, x32, and HPPA support status.
34033 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34035 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34037 2012-06-27 Andreas Jaeger <aj@suse.de>
34039 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34041 2012-06-25 Andreas Jaeger <aj@suse.de>
34043 * sysdeps/s390/fpu/libm-test-ulps: Update.
34045 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34046 Thomas Schwinge <thomas@codesourcery.com>
34048 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34049 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34050 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34053 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34055 * sysdeps/mach/start.c: Remove file.
34056 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34057 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34058 * sysdeps/sh/init-first.c: Likewise.
34060 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34061 registers for frame unwinding purposes, add CFI directives.
34062 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34063 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34064 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34067 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34068 __fortify_fail returning.
34069 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34071 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34072 sysdeps/sh/____longjmp_chk.S.
34073 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34074 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34075 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34076 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34078 * sysdeps/sh/abort-instr.h: New file.
34079 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34080 process in case exit returns.
34082 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34083 initialize the GOT register before use.
34085 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34086 calculation of ARGC > 4.
34088 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34089 meaningful names to some local labels.
34091 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34092 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34094 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34095 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34096 (__arch_compare_and_exchange_val_16_acq): Likewise.
34097 (__arch_compare_and_exchange_val_32_acq): Likewise.
34098 (atomic_exchange_and_add): Fix gUSA sequence.
34099 (atomic_add): Likewise.
34100 (atomic_add_negative): Likewise.
34101 (atomic_add_zero): Likewise.
34102 (atomic_bit_test_set): Likewise.
34104 2012-06-22 Andreas Schwab <schwab@redhat.com>
34107 * include/link.h (struct link_map): Add l_free_initfini.
34108 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34110 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34111 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34112 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34115 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34117 * configure.in: Use AC_LANG_SOURCE.
34118 * configure: Regenerate.
34120 2012-06-22 Roland McGrath <roland@hack.frob.com>
34122 * configure.in (libc_cv_localstatedir): New substituted variable.
34123 * configure: Regenerated.
34124 * config.make.in (localstatedir): New variable, substituted from
34125 libc_cv_localstatedir.
34126 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34127 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34128 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34129 * sysdeps/gnu/configure: Regenerated.
34131 2012-06-21 Jeff Law <law@redhat.com>
34134 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34135 free. Simplify list management for _LIBC case.
34137 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34140 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34141 Clear sign bit of 64-bit integer value before comparing against
34144 * sysdeps/mach/configure: Regenerated.
34146 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34149 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34151 2012-06-21 Jeff Law <law@redhat.com>
34154 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34155 uint16_t for elements in the "seen" array to avoid char overflows.
34156 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34157 * elf/dl-open.c (dl_open_worker): Likewise.
34159 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34161 * scripts/list-sources.sh: Scan PORTS for translations.
34162 * po/libc.pot: Regenerated.
34164 2012-06-21 Andreas Jaeger <aj@suse.de>
34167 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34169 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34170 * bits/byteswap-16.h (__bswap_16): Likewise.
34171 * bits/byteswap.h (__bswap_constant_16): Likewise.
34173 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34176 * sysdeps/i386/fpu_control.h: Removed.
34177 * sysdeps/x86_64/fpu_control.h: Moved to ...
34178 * sysdeps/x86/fpu_control.h: Here.
34180 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34181 (_FPU_SETCW): Likewise.
34183 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34186 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34187 * sysdeps/x86/fpu/bits/mathinline.h: This.
34188 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34192 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34193 functions if __x86_64__ is defined.
34195 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34197 * string/endian.h: Add !__ASSEMBLER__ condition for including
34198 conversion interfaces.
34200 2012-06-15 Joseph Myers <joseph@codesourcery.com>
34203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34204 of ABS(x) in calculating zero to negative powers other than odd
34206 * math/libm-test.inc (pow_test): Add more tests.
34208 2012-06-15 Andreas Jaeger <aj@suse.de>
34210 * manual/contrib.texi (Contributors): Update entry of Liubov
34211 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34214 2012-06-15 Cyril Hrubis <metan@ucw.cz>
34216 * string/string.h: Add __wur to GNU version of strerror_r.
34218 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34221 * string/Makefile (tests): Add tst-strtok_r.
34222 * string/tst-strtok_r.c: New file.
34223 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34224 RAX_LP/RDX_LP on SAVE_PTR.
34226 2012-06-14 Roland McGrath <roland@hack.frob.com>
34228 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34230 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34232 * libm_test.inc (csqrt_test): Allow more spurious underflow
34234 (j0_test): Likewise.
34235 (j1_test): Likewise.
34236 (y0_test): Likewise.
34237 (y1_test): Likewise.
34239 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34241 * po/Makefile (libc.pot): Use UTF-8 charset.
34243 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34246 Suppress sign-conversion warning from FD_SET.
34247 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34248 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34249 not unsigned long int.
34250 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34252 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34256 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34257 __extern_always_inline instead of __extern_inline.
34258 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34259 (__signbit): Likewise.
34260 (__signbitl): Support C++ namespace.
34261 (lrintf): New inline function.
34263 (llrintf): Likewise.
34264 (llrint): Likewise.
34274 (floorf): Likewise.
34275 (nearbyint): Likewise.
34276 (nearbyintf): Likewise.
34278 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34280 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34281 non-default versions.
34283 2012-06-11 Roland McGrath <roland@hack.frob.com>
34286 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34288 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34290 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34291 (FE_UPWARD, FE_DOWNWARD): Don't define.
34292 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34293 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34295 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34297 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34298 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34300 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34302 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34303 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34304 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34305 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34307 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34310 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34311 * sysdeps/i386/fpu/Implies: New file.
34312 * sysdeps/x86_64/fpu/Implies: Likewise.
34313 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34314 * sysdeps/x86/fpu/bits/fenv.h: This.
34316 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34319 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34322 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34323 character 0xffff that matches the last element of the
34326 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34328 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34331 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34334 values higher than 25.6283.
34336 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34338 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34339 subnormal exponent extraction and add some __builtin_expect.
34340 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34341 Fix for subnormal mantissa calculation.
34343 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34345 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34346 cpu2 is -1 and errno is not ENOSYS.
34348 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34351 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34352 * sysdeps/x86/bits/string.h: This.
34353 * sysdeps/x86_64/bits/string.h: Removed.
34355 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34356 if not compiling for x86-64, but compiling for >= i486.
34358 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34359 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34361 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34362 New macro from Linux kernel 3.4.0.
34363 (FP_XSTATE_MAGIC2): Likewise.
34364 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34365 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34366 (struct _fpx_sw_bytes): New struct.
34367 (struct _xsave_hdr): Likewise.
34368 (struct _ymmh_state): Likewise.
34369 (struct _xstate): Likewise.
34371 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34372 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34373 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34374 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34375 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34376 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34378 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34379 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34380 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34381 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34382 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34383 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34385 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34388 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34389 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34390 (sysdep_headers): Include sys/platform/ppc.h.
34391 * sysdeps/powerpc/test-gettimebase.c: Test for
34392 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34393 * manual/Makefile (appendices): Include platform.texi.
34394 * manual/contrib.texi (Contributors): Update @node pointers.
34395 * manual/maint.texi (Maintenance): Likewise.
34396 (Platform): New node.
34397 * manual/platform.texi: New file. Document the new features.
34399 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34400 Jakub Jelinek <jakub@redhat.com>
34403 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34404 where __builtin_expect is unavailable.
34406 2012-06-03 David S. Miller <davem@davemloft.net>
34408 * stdlib/longlong.h: Updated from GCC.
34410 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34413 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34414 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34417 (GLIBC_2.16): Likewise.
34419 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34421 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34423 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34426 (default-abi): New variable.
34427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34428 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34430 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34432 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34434 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34437 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34438 definition. Document in comment.
34440 2012-06-01 David S. Miller <davem@davemloft.net>
34442 * stdlib/longlong.h: Updated from GCC.
34444 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34447 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34448 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34449 sys/debugreg.h sys/io.h here.
34450 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34451 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34453 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34454 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34455 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34456 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34457 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34458 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34460 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34461 Define only if __x86_64__ is defined.
34463 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34466 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34467 Use int64_t for variable i.
34468 * math/libm-test.inc (fmod_test): Add more tests.
34470 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34471 z computation is not scheduled after fetestexcept.
34472 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34473 Use math_force_eval instead of asm to ensure calculation scheduled
34474 before exception test.
34475 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34476 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34478 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34481 computation is not scheduled after fetestexcept.
34483 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34486 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34487 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34489 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34491 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34492 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34494 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34497 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34499 (__WCHAR_MIN): Support __WORDSIZE == 64.
34500 (__WCHAR_MAX): Likewise.
34502 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34503 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34506 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34507 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34510 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34511 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34513 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34514 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34516 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34517 Defined to 1 if __x86_64__ isn't defined.
34518 (_STAT_VER_LINUX_OLD): New.
34519 (st_atime): Remove duplicate.
34520 (st_mtime): Likewise.
34521 (st_ctime): Likewise.
34523 2012-05-31 David S. Miller <davem@davemloft.net>
34525 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34528 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34530 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34534 * elf/dl-reloc.c: Include <_itoa.h>.
34535 (_dl_reloc_bad_type): Remove use of INTUSE.
34536 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34537 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34538 * stdio-common/psiginfo.c (psiginfo): Likewise.
34539 * stdio-common/psignal.c (psignal): Likewise.
34540 * string/strsignal.c (strsignal): Likewise.
34541 * include/signal.h (_sys_siglist): Declare hidden proto.
34542 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34543 INTVARDEF with libc_hidden_data_def.
34544 * stdio-common/itoa-udigits.c: Likewise.
34545 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34546 (_itoa_lower_digits_internal): Remove declaration.
34547 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34548 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34549 (_sys_sigabbrev_internal): Remove aliases.
34550 (_sys_siglist): Define hidden alias.
34552 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34557 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34560 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34561 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34563 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34564 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34565 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34566 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34568 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34570 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34571 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34572 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34574 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34582 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34583 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34584 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34586 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34587 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34588 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34589 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34590 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34591 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34593 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34594 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34596 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34597 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34599 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34600 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34601 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34603 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34604 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34606 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34608 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34609 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34610 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34612 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34614 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34616 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34618 * math/math.h (M_El): Use two more decimal places.
34619 (M_LOG2El): Likewise.
34620 (M_LOG10El): Likewise.
34621 (M_LN2l): Likewise.
34622 (M_LN10l): Likewise.
34624 (M_PI_2l): Likewise.
34625 (M_PI_4l): Likewise.
34626 (M_1_PIl): Likewise.
34627 (M_2_PIl): Likewise.
34628 (M_2_SQRTPIl): Likewise.
34629 (M_SQRT2l): Likewise.
34630 (M_SQRT1_2l): Likewise.
34632 2012-05-31 David S. Miller <davem@davemloft.net>
34634 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34635 values between float registers.
34636 * sysdeps/sparc/sparc64/memset.S: Likewise.
34637 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34639 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34641 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34642 -D_FORTIFY_SOURCE=1.
34643 (CPPFLAGS-tst-longjmp_chk.c): Define.
34644 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34645 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34646 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34647 CFLAGS-tst-wchar-h.c.
34649 2012-05-31 Marek Polacek <polacek@redhat.com>
34652 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34653 __endmntent_internal): Remove declaration.
34654 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34655 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34656 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34658 2012-05-30 David S. Miller <davem@davemloft.net>
34660 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34661 (___Q_simulate_exceptions): Use real FP ops rather than writing
34663 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34666 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34669 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34670 * sysdeps/x86/bits/xtitypes.h: This.
34672 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34673 * sysdeps/x86/bits/wordsize.h: This.
34675 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34676 * sysdeps/x86/bits/huge_vall.h: This.
34678 * sysdeps/i386/bits/select.h: Removed.
34679 * sysdeps/x86_64/bits/select.h: Renamed to ...
34680 * sysdeps/x86/bits/select.h: This.
34682 * sysdeps/i386/bits/setjmp.h: Removed.
34683 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34684 * sysdeps/x86/bits/setjmp.h: This.
34686 * sysdeps/i386/bits/mathdef.h: Removed.
34687 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34688 * sysdeps/x86/bits/mathdef.h: This.
34690 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34693 * include/sys/socket.h (__connect_internal)
34694 (__libc_sa_len_internal): Remove declaration.
34695 (__connect, __libc_sa_len): Declare hidden_proto.
34696 (SA_LEN): Remove use of INTUSE.
34697 * socket/connect.c: Add libc_hidden_def.
34698 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34699 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34700 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34702 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34703 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34704 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34705 of adding _internal alias.
34707 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34710 * sysdeps/i386/bits/link.h: Removed.
34711 * sysdeps/i386/bits/linkmap.h: Likewise.
34712 * sysdeps/x86_64/bits/link.h: Renamed to ...
34713 * sysdeps/x86/bits/link.h: This.
34714 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34715 * sysdeps/x86/bits/linkmap.h: This.
34717 * sysdeps/i386/bits/endian.h: Removed.
34718 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34719 * sysdeps/x86/bits/endian.h: This.
34721 * sysdeps/i386/bits/byteswap.h: Removed.
34722 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34723 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34724 * sysdeps/x86/bits/byteswap.h: This.
34725 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34726 * sysdeps/x86/bits/byteswap-16.h: This.
34727 * sysdeps/i386/Implies: Add x86.
34728 * sysdeps/x86_64/Implies: Likewise.
34730 2012-05-30 David S. Miller <davem@davemloft.net>
34732 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34733 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34734 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34735 (FP_TRAPPING_EXCEPTIONS): Define.
34736 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34737 (FP_TRAPPING_EXCEPTIONS): Define.
34738 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34739 subnormals only when inexact has been signalled or underflow
34740 exceptions are enabled.
34741 (_FP_PACK_CANONICAL): Likewise.
34743 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34746 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34747 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34749 2012-05-30 Richard Henderson <rth@twiddle.net>
34751 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34752 with #ifndef NOT_IN_libc.
34754 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34755 marked to avoid plt entry.
34757 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34760 * Makeconfig (default-abi): New macro.
34761 (abi-includes): Likewise.
34762 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34763 $(abi-$(default-abi)-lib-soname) for soname if defined.
34764 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34766 * Makefile (installed-stubs): Likewise.
34767 * include/stubs-biarch.h: Removed.
34768 * scripts/lib-names.awk: Only handle one library at a time.
34769 * scripts/soversions.awk: Remove WORDSIZE support.
34770 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34772 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34774 (syscall-list-default-condition): Likewise.
34775 (syscall-list-default-condition): Likewise.
34776 (syscall-list-includes): Likewise.
34777 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34778 syscall-list-* with abi-*. Handle undefined abi-variants.
34779 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34780 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34781 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34782 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34783 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34784 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34786 (syscall-list-32-options): Likewise.
34787 (syscall-list-32-condition): Likewise.
34788 (syscall-list-64-options): Likewise.
34789 (syscall-list-64-condition): Likewise.
34790 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34792 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34795 (abi-64-ld-soname): New macro.
34796 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34797 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34800 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34801 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34803 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34805 * sysdeps/unix/sysv/linux/kernel-features.h
34806 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34807 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34808 include <kernel-features.h>.
34809 [!__NR_ftruncate64]: Remove conditional code.
34810 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34811 [__NR_ftruncate64]: Make code unconditional.
34812 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34813 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34814 include <kernel-features.h>.
34815 [!__NR_ftruncate64]: Remove conditional code.
34816 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34817 [__NR_ftruncate64]: Make code unconditional.
34818 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34820 include <kernel-features.h>.
34821 [!__NR_ftruncate64]: Remove conditional code.
34822 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34823 [__NR_ftruncate64]: Make code unconditional.
34824 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34826 include <kernel-features.h>.
34827 [!__NR_ftruncate64]: Remove conditional code.
34828 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34829 [__NR_ftruncate64]: Make code unconditional.
34830 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34832 * configure.in (libc_cv_fpie): Weaken to a compile test using
34833 LIBC_TRY_CC_OPTION.
34834 * configure: Regenerated.
34836 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34851 2012-05-27 David S. Miller <davem@davemloft.net>
34853 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34855 (__Q_simulate_exceptions): Return void. Change to simulate
34856 exceptions by writing into the %fsr.
34857 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34858 (__Qp_handle_exceptions): Likewise.
34860 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34861 __Qp_handle_exceptions.
34862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34863 __Qp_handle_exceptions.
34864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34865 as unused and give dummy FP_RND_NEAREST initializer.
34866 (FP_INHIBIT_RESULTS): Define.
34867 (___Q_simulate_exceptions): Update declaration.
34868 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34870 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34871 as unused and give dummy FP_RND_NEAREST initializer.
34872 (__Qp_handle_exceptions): Update declaration.
34873 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34876 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34878 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34879 the temporary FPU control word.
34880 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34881 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34882 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34883 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34884 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34885 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34886 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34887 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34888 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34889 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34890 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34892 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34894 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34897 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34899 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34900 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34901 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34902 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34904 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34905 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34908 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34910 * po/h.po: Update from translation team.
34912 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34914 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34916 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34917 handling of denormals.
34918 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34919 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34920 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34921 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34922 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34927 2012-05-26 Marek Polacek <polacek@redhat.com>
34930 * math/libm-test.inc (fma_test): Don't always expect underflow
34933 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34936 * elf/tst-execstack.c: Include stackinfo.h.
34937 (do_test): Adjust test case to ensure that pthread_getattr_np
34938 behaviour remains the same after marking stack executable.
34940 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34942 * sysdeps/unix/sysv/linux/kernel-features.h
34943 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34944 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34946 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34947 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34948 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34950 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34951 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34953 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34955 * configure.in: Define the default includes to being none.
34956 * configure: Regenerated.
34958 2012-05-25 Roland McGrath <roland@hack.frob.com>
34960 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34961 * sysdeps/x86_64/setjmp.S: Likewise.
34962 * sysdeps/i386/bsd-setjmp.S: Likewise.
34963 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34964 * sysdeps/i386/setjmp.S: Likewise.
34965 * sysdeps/i386/__longjmp.S: Likewise.
34966 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34967 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34969 * include/stap-probe.h: New file.
34970 * configure.in: Handle --enable-systemtap.
34971 * configure: Regenerated.
34972 * config.h.in (USE_STAP_PROBE): New #undef.
34973 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34974 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34975 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34977 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34980 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34981 to 2.4.0 where earlier.
34982 * sysdeps/unix/sysv/linux/configure: Regenerated.
34983 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34984 <kernel-features.h>.
34985 [__ASSUME_32BITUIDS]: Make code unconditional.
34986 [!__ASSUME_32BITUIDS]: Remove conditional code.
34987 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34988 <kernel-features.h>.
34989 [__ASSUME_32BITUIDS]: Make code unconditional.
34990 [!__ASSUME_32BITUIDS]: Remove conditional code.
34991 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34992 [__ASSUME_32BITUIDS]: Make code unconditional.
34993 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34994 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34995 <kernel-features.h>.
34996 [__ASSUME_32BITUIDS]: Make code unconditional.
34997 [!__ASSUME_32BITUIDS]: Remove conditional code.
34998 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34999 <kernel-features.h>.
35000 [__ASSUME_32BITUIDS]: Make code unconditional.
35001 [!__ASSUME_32BITUIDS]: Remove conditional code.
35002 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35003 <kernel-features.h>.
35004 [__ASSUME_32BITUIDS]: Make code unconditional.
35005 [!__ASSUME_32BITUIDS]: Remove conditional code.
35006 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35007 <kernel-features.h>.
35008 [__ASSUME_32BITUIDS]: Make code unconditional.
35009 [!__ASSUME_32BITUIDS]: Remove conditional code.
35010 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35011 <kernel-features.h>.
35012 [__ASSUME_32BITUIDS]: Make code unconditional.
35013 [!__ASSUME_32BITUIDS]: Remove conditional code.
35014 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35015 <kernel-features.h>.
35016 [__ASSUME_32BITUIDS]: Make code unconditional.
35017 [!__ASSUME_32BITUIDS]: Remove conditional code.
35018 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35019 <kernel-features.h>.
35020 [__ASSUME_32BITUIDS]: Make code unconditional.
35021 [!__ASSUME_32BITUIDS]: Remove conditional code.
35022 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35023 <kernel-features.h>.
35024 [__ASSUME_32BITUIDS]: Make code unconditional.
35025 [!__ASSUME_32BITUIDS]: Remove conditional code.
35026 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35027 <kernel-features.h>.
35028 [__ASSUME_32BITUIDS]: Make code unconditional.
35029 [!__ASSUME_32BITUIDS]: Remove conditional code.
35030 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35031 <kernel-features.h>.
35032 [__ASSUME_32BITUIDS]: Make code unconditional.
35033 [!__ASSUME_32BITUIDS]: Remove conditional code.
35034 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35035 <kernel-features.h>.
35036 [__NR_setresgid] (__setresgid): Do not declare.
35037 [__ASSUME_32BITUIDS]: Make code unconditional.
35038 [!__ASSUME_32BITUIDS]: Remove conditional code.
35039 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35040 <kernel-features.h>.
35041 [__NR_setresuid] (__setresuid): Do not declare.
35042 [__ASSUME_32BITUIDS]: Make code unconditional.
35043 [!__ASSUME_32BITUIDS]: Remove conditional code.
35044 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35045 <kernel-features.h>.
35046 [__ASSUME_32BITUIDS]: Make code unconditional.
35047 [!__ASSUME_32BITUIDS]: Remove conditional code.
35048 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35049 <kernel-features.h>.
35050 [__ASSUME_32BITUIDS]: Make code unconditional.
35051 [!__ASSUME_32BITUIDS]: Remove conditional code.
35052 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35053 <kernel-features.h>.
35054 [__ASSUME_32BITUIDS]: Make code unconditional.
35055 [!__ASSUME_32BITUIDS]: Remove conditional code.
35056 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35057 <kernel-features.h>.
35058 [__ASSUME_32BITUIDS]: Make code unconditional.
35059 [!__ASSUME_32BITUIDS]: Remove conditional code.
35060 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35061 <kernel-features.h>.
35062 [__ASSUME_32BITUIDS]: Make code unconditional.
35063 [!__ASSUME_32BITUIDS]: Remove conditional code.
35064 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35065 <kernel-features.h>.
35066 [__ASSUME_32BITUIDS]: Make code unconditional.
35067 [!__ASSUME_32BITUIDS]: Remove conditional code.
35068 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35069 <kernel-features.h>.
35070 [__ASSUME_32BITUIDS]: Make code unconditional.
35071 [!__ASSUME_32BITUIDS]: Remove conditional code.
35072 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35073 <kernel-features.h>.
35074 [__ASSUME_32BITUIDS]: Make code unconditional.
35075 [!__ASSUME_32BITUIDS]: Remove conditional code.
35076 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35077 <kernel-features.h>.
35078 [__ASSUME_32BITUIDS]: Make code unconditional.
35079 [!__ASSUME_32BITUIDS]: Remove conditional code.
35080 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35081 <kernel-features.h>.
35082 [__ASSUME_32BITUIDS]: Make code unconditional.
35083 [!__ASSUME_32BITUIDS]: Remove conditional code.
35084 * sysdeps/unix/sysv/linux/kernel-features.h
35085 (__ASSUME_SETRESUID_SYSCALL): Remove.
35086 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35087 (__ASSUME_32BITUIDS): Likewise.
35088 (__ASSUME_LDT_WORKS): Likewise.
35089 (__ASSUME_O_DIRECTORY): Likewise.
35090 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35091 architecture but not kernel version.
35092 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35093 (__ASSUME_MMAP2_SYSCALL): Likewise.
35094 (__ASSUME_STAT64_SYSCALL): Likewise.
35095 (__ASSUME_IPC64): Likewise.
35096 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35097 <kernel-features.h>.
35098 [__ASSUME_32BITUIDS]: Make code unconditional.
35099 [!__ASSUME_32BITUIDS]: Remove conditional code.
35100 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35101 <kernel-features.h>.
35102 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35103 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35104 132096]: Remove conditional code.
35105 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35106 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35107 <kernel-features.h>.
35108 [__ASSUME_32BITUIDS]: Make code unconditional.
35109 [!__ASSUME_32BITUIDS]: Remove conditional code.
35110 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35111 <kernel-features.h>.
35112 [__ASSUME_32BITUIDS]: Make code unconditional.
35113 [!__ASSUME_32BITUIDS]: Remove conditional code.
35114 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35115 <kernel-features.h>.
35116 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35118 (__setresgid): Do not declare.
35119 [__ASSUME_32BITUIDS]: Make code unconditional.
35120 [!__ASSUME_32BITUIDS]: Remove conditional code.
35121 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35122 <kernel-features.h>.
35123 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35125 (__setresuid): Do not declare.
35126 [__ASSUME_32BITUIDS]: Make code unconditional.
35127 [!__ASSUME_32BITUIDS]: Remove conditional code.
35128 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35129 <kernel-features.h>.
35130 [__ASSUME_32BITUIDS]: Make code unconditional.
35131 [!__ASSUME_32BITUIDS]: Remove conditional code.
35132 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35133 <kernel-features.h>.
35134 [__ASSUME_32BITUIDS]: Make code unconditional.
35135 [!__ASSUME_32BITUIDS]: Remove conditional code.
35137 2012-05-25 Richard Henderson <rth@twiddle.net>
35139 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35140 dl_hwcap to ifunc resolver.
35141 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35143 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35144 dl_hwcap to ifunc resolver.
35145 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35147 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35150 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35151 for |x| <= 2**-26, not 2**-57.
35152 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35155 2012-05-24 Jeff Law <law@redhat.com>
35157 * stdio-common/Makefile (tests): Add bug25.
35158 * stdio-common/bug25.c: New test.
35160 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35163 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35164 multiple of MALLOC_ALIGNMENT in size.
35165 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35167 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35169 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35171 (FILENAME_MAX): Use macro-int-constant.
35172 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35173 (_IOFBF): Use macro-int-constant.
35174 (_IOLBF): Likewise.
35175 (_IONBF): Likewise.
35176 (SEEK_CUR): Likewise.
35177 (SEEK_END): Likewise.
35178 (SEEK_SET): Likewise.
35179 (TMP_MAX): Likewise.
35180 (EOF): Use macro-int-constant. Require < 0.
35181 (NULL): Use macro-constant. Require == 0.
35182 (stdin): Require type to be FILE *.
35183 (stdout): Likewise.
35184 (stderr): Likewise.
35185 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35186 macro-int-constant.
35187 (EXIT_SUCCESS): Likewise.
35188 (NULL): Use macro-constant. Require == 0.
35189 (RAND_MAX): Use macro-int-constant.
35190 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35191 [C99-based standards] (strtof): Require function.
35192 [C99-based standards] (strtold): Likewise.
35193 [C99-based standards] (strtoll): Likewise.
35194 [C99-based standards] (strtoull): Likewise.
35195 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35196 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35197 [ISO || ISO99 || ISO11] (math.h): Likewise.
35198 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35199 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35200 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35202 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35205 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35206 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35207 * intl/dgettext.c (DCGETTEXT): Likewise.
35208 * intl/gettext.c (DCGETTEXT): Likewise.
35209 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35210 * posix/regex_internal.h (gettext): Likewise.
35211 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35212 Remove declaration.
35213 * include/argz.h (__argz_count_internal)
35214 (__argz_stringify_internal): Remove declaration.
35215 (__argz_count, __argz_stringify): Declare hidden proto.
35216 * intl/dcgettext.c: Remove use of INTDEF.
35217 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35218 * string/argz-stringify.c: Likewise.
35219 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35220 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35221 Declare hidden proto.
35222 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35223 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35224 Declare hidden proto.
35225 * include/stdio.h (__asprintf_internal): Don't declare.
35226 (__asprintf): Don't define as macro. Declare hidden proto.
35227 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35228 (__fsetlocking): Declare hidden proto.
35229 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35230 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35232 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35233 (_IO_setlinebuf): Remove use of INTUSE.
35234 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35235 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35236 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35237 Remove declaration.
35238 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35239 (_IO_do_flush): Remove use of INTUSE.
35240 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35241 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35242 (_IO_adjust_column, _IO_least_wmarker)
35243 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35244 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35245 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35246 (_IO_default_doallocate, _IO_wdefault_doallocate)
35247 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35248 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35249 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35250 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35251 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35252 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35253 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35254 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35255 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35256 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35257 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35258 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35259 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35261 (_IO_flush_all_internal, _IO_adjust_column_internal)
35262 (_IO_default_uflow_internal, _IO_default_finish_internal)
35263 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35264 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35265 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35266 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35267 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35268 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35269 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35270 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35271 (_IO_file_close_internal, _IO_file_close_it_internal)
35272 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35273 (_IO_file_init_internal, _IO_file_attach_internal)
35274 (_IO_file_fopen_internal, _IO_file_read_internal)
35275 (_IO_file_sync_internal, _IO_file_seek_internal)
35276 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35277 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35278 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35279 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35280 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35281 (_IO_list_all_internal, _IO_link_in_internal)
35282 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35283 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35284 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35285 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35286 (_IO_do_write_internal, _IO_padn_internal)
35287 (_IO_getline_info_internal, _IO_getline_internal)
35288 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35289 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35290 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35291 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35292 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35293 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35294 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35295 with libc_hidden_ver, remove use of INTUSE.
35296 * libio/genops.c: Likewise.
35297 * libio/freopen.c: Likewise.
35298 * libio/freopen64.c: Likewise.
35299 * libio/iofclose.c: Likewise.
35300 * libio/iofdopen.c: Likewise.
35301 * libio/iofflush.c: Likewise.
35302 * libio/iofflush_u.c: Likewise.
35303 * libio/iofgets.c: Likewise.
35304 * libio/iofgets_u.c: Likewise.
35305 * libio/iofopen.c: Likewise.
35306 * libio/iofopncook.c: Likewise.
35307 * libio/iofread.c: Likewise.
35308 * libio/iofread_u.c: Likewise.
35309 * libio/ioftell.c: Likewise.
35310 * libio/iofwrite.c: Likewise.
35311 * libio/iogetline.c: Likewise.
35312 * libio/iogets.c: Likewise.
35313 * libio/iogetwline.c: Likewise.
35314 * libio/iopadn.c: Likewise.
35315 * libio/iopopen.c: Likewise.
35316 * libio/ioseekoff.c: Likewise.
35317 * libio/ioseekpos.c: Likewise.
35318 * libio/iosetbuffer.c: Likewise.
35319 * libio/iosetvbuf.c: Likewise.
35320 * libio/ioungetc.c: Likewise.
35321 * libio/ioungetwc.c: Likewise.
35322 * libio/iovdprintf.c: Likewise.
35323 * libio/iovsprintf.c: Likewise.
35324 * libio/iovsscanf.c: Likewise.
35325 * libio/memstream.c: Likewise.
35326 * libio/obprintf.c: Likewise.
35327 * libio/oldfileops.c: Likewise.
35328 * libio/oldiofclose.c: Likewise.
35329 * libio/oldiofdopen.c: Likewise.
35330 * libio/oldiofopen.c: Likewise.
35331 * libio/oldiopopen.c: Likewise.
35332 * libio/oldstdfiles.c: Likewise.
35333 * libio/putc.c: Likewise.
35334 * libio/setbuf.c: Likewise.
35335 * libio/setlinebuf.c: Likewise.
35336 * libio/stdfiles.c: Likewise.
35337 * libio/strops.c: Likewise.
35338 * libio/vasprintf.c: Likewise.
35339 * libio/vscanf.c: Likewise.
35340 * libio/vsnprintf.c: Likewise.
35341 * libio/vswprintf.c: Likewise.
35342 * libio/wfiledoalloc.c: Likewise.
35343 * libio/wfileops.c: Likewise.
35344 * libio/wgenops.c: Likewise.
35345 * libio/wmemstream.c: Likewise.
35346 * libio/wstrops.c: Likewise.
35347 * libio/__fpurge.c: Likewise.
35348 * libio/__fsetlocking.c: Likewise.
35349 * assert/assert.c: Likewise.
35350 * debug/fgets_chk.c: Likewise.
35351 * debug/fgets_u_chk.c: Likewise.
35352 * debug/fread_chk.c: Likewise.
35353 * debug/fread_u_chk.c: Likewise.
35354 * debug/gets_chk.c: Likewise.
35355 * debug/obprintf_chk.c: Likewise.
35356 * debug/vasprintf_chk.c: Likewise.
35357 * debug/vdprintf_chk.c: Likewise.
35358 * debug/vsnprintf_chk.c: Likewise.
35359 * debug/vsprintf_chk.c: Likewise.
35360 * malloc/mtrace.c: Likewise.
35361 * misc/error.c: Likewise.
35362 * misc/syslog.c: Likewise.
35363 * stdio-common/asprintf.c: Likewise.
35364 * stdio-common/fxprintf.c: Likewise.
35365 * stdio-common/getw.c: Likewise.
35366 * stdio-common/isoc99_fscanf.c: Likewise.
35367 * stdio-common/isoc99_scanf.c: Likewise.
35368 * stdio-common/isoc99_vfscanf.c: Likewise.
35369 * stdio-common/isoc99_vscanf.c: Likewise.
35370 * stdio-common/isoc99_vsscanf.c: Likewise.
35371 * stdio-common/printf-prs.c: Likewise.
35372 * stdio-common/printf_fp.c: Likewise.
35373 * stdio-common/printf_fphex.c: Likewise.
35374 * stdio-common/printf_size.c: Likewise.
35375 * stdio-common/putw.c: Likewise.
35376 * stdio-common/scanf.c: Likewise.
35377 * stdio-common/sprintf.c: Likewise.
35378 * stdio-common/tmpfile.c: Likewise.
35379 * stdio-common/vfprintf.c: Likewise.
35380 * stdio-common/vfscanf.c: Likewise.
35381 * stdlib/strfmon_l.c: Likewise.
35382 * sunrpc/openchild.c: Likewise.
35383 * sunrpc/xdr_stdio.c: Likewise.
35384 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35385 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35387 2012-05-24 Roland McGrath <roland@hack.frob.com>
35389 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35391 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35392 in the third column, to generate for the shared library an IFUNC
35393 that uses _dl_vdso_vsym.
35394 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35395 * Makeconfig (object-suffixes-noshared): New variable.
35397 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35398 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35399 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35400 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35403 * include/sys/time.h (__gettimeofday): Remove macro.
35404 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35405 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35407 (__gettimeofday): Add libc_hidden_def.
35408 (gettimeofday): Add libc_hidden_weak.
35409 * sysdeps/mach/gettimeofday.c: Likewise.
35410 * sysdeps/posix/gettimeofday.c: Likewise.
35411 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35412 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35414 (__gettimeofday_internal): Remove strong_alias.
35415 (__gettimeofday): Add libc_hidden_def.
35416 (gettimeofday): Add libc_hidden_weak.
35417 * sysdeps/unix/syscalls.list (gettimeofday):
35418 Remove __gettimeofday_internal alias.
35420 2012-05-24 Daniel Jacobowitz <drow@false.org>
35421 H.J. Lu <hongjiu.lu@intel.com>
35424 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35425 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35426 (largebin_index_32_big): New.
35427 (largebin_index): Use it for 16-byte alignment.
35428 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35429 correction with front_misalign.
35431 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35459 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35460 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35462 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35466 * math/libm-test.inc (exp_test): Add test from bug 14036.
35467 (pow_test): Add test from bug 10846.
35469 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35471 (special_function): Do not include flags in test name.
35472 (parse_args): Likewise.
35473 * sysdeps/i386/fpu/libm-test-ulps: Update.
35474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35475 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35476 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35479 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35481 * math/libm-test.inc ("Philosophy"): Update comment about
35483 (UNDERFLOW_EXCEPTION): New macro.
35484 (UNDERFLOW_EXCEPTION_OK): Likewise.
35485 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35486 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35487 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35488 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35489 (INVALID_EXCEPTION_OK): Update value.
35490 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35491 (OVERFLOW_EXCEPTION_OK): Likewise.
35492 (IGNORE_ZERO_INF_SIGN): Likewise.
35493 (test_exceptions): Handle underflow exceptions.
35494 (acos_test): Update for underflow exception expectations.
35495 (cexp_test): Likewise.
35496 (clog_test): Likewise.
35497 (clog10_test): Likewise.
35498 (csqrt_test): Likewise.
35499 (ctan_test): Likewise.
35500 (ctanh_test): Likewise.
35501 (exp_test): Likewise.
35502 (exp10_test): Likewise.
35503 (exp2_test): Likewise.
35504 (expm1_test): Likewise.
35505 (fma_test): Likewise.
35506 (j0_test): Likewise.
35507 (jn_test): Likewise.
35508 (nexttoward_test): Likewise.
35509 (pow_test): Likewise.
35510 (scalbn_test): Likewise.
35511 (scalbln_test): Likewise.
35512 (tan_test): Likewise.
35513 (y1_test): Likewise.
35514 * sysdeps/i386/fpu/libm-test-ulps: Update.
35515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35517 2012-05-23 David S. Miller <davem@davemloft.net>
35519 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35520 (__libc_sigaction): Remove unused local variables.
35522 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35524 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35526 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35528 mktime: avoid signed integer overflow
35529 * time/mktime.c (__mktime_internal): Do not mishandle the case
35530 where diff == INT_MIN.
35532 mktime: simplify computation of average
35533 * time/mktime.c (ranged_convert): Use new time_t_avg function
35534 instead of rolling our own (probably-slower) code.
35536 mktime: do not assume signed right shift propagates sign bit
35537 * time/mktime.c (isdst_differ): New static function.
35538 (__mktime_internal): No need to normalize tm_isdst now.
35539 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35542 mktime: merge another wrapv change from gnulib
35543 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35544 from some compilers.
35546 mktime: remove incorrect attempt at unusual arithmetics
35547 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35548 The code didn't really work on such machines anyway.
35549 (TYPE_MINIMUM): Assume two's complement.
35550 (twos_complement_arithmetic): Verify that long_int and time_t
35551 are two's complement (or unsigned, in the latter case).
35553 mktime: check signed shifts on long_int and time_t, too
35554 * time/mktime.c (SHR): Check that shifts work as desired
35555 on the types long_int and time_t too, as SHR is used on
35558 mktime: do not assume 'long' is wide enough
35559 * time/mktime.c (verify): Move decl up.
35560 (long_int): New type.
35561 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35562 to remove assumption in the code that 'long' is wide enough to
35563 store year values. This assumption is not true on x32 and on
35564 some non-glibc platforms.
35566 mktime: merge wrapv change from gnulib
35567 * time/mktime.c (WRAPV): New macro.
35568 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35569 (guess_time_tm, __mktime_internal): Do not assume that signed
35570 integer overflow wraps around; modern compilers generate code
35571 where this assumption is no longer valid.
35573 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35575 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35576 Replace "jmp L(pseudo_end)" with "ret".
35577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35580 2012-05-23 Andreas Jaeger <aj@suse.de>
35582 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35583 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35585 2012-05-23 Andreas Jaeger <aj@suse.de>
35586 Maximilian Attems <max@stro.at>
35588 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35591 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35593 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35594 code so that pseudo_end is just ret and the stack pointer is
35595 correct also for static library in error case.
35597 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35599 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35600 move to syscalls.list.
35601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35606 * manual/install.texi (Running make install): Do not mention Linux
35607 kernel version for which pt_chown is not needed.
35608 (Linux): Do not mention problems with nscd with 2.0 kernels.
35609 * INSTALL: Regenerated.
35611 2012-05-23 Andreas Jaeger <aj@suse.de>
35613 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35614 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35616 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35617 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35618 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35619 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35620 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35621 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35623 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35624 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35625 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35626 * sysdeps/unix/sysv/linux/bits/in.h
35627 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35629 2012-05-22 Roland McGrath <roland@hack.frob.com>
35631 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35632 (PREPARE_VERSION): Just use assert instead, it will be elided
35633 under [NDEBUG] anyway.
35635 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35637 * sysdeps/unix/sysv/linux/Makefile: Include
35638 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35639 (sysdep_routines): Remove sysctl.
35640 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35641 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35642 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35643 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35644 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35646 2012-05-22 Andreas Jaeger <aj@suse.de>
35648 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35649 that pseudo_end is just ret and the stack pointer is correct also
35650 for static library in error case.
35652 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35655 * nss/nsswitch.c (defconfig_entries): New variable.
35656 (__nss_database_lookup): Don't leak defconfig entries.
35657 (nss_parse_service_list): Don't leak on error paths.
35658 (free_database_entries): New function.
35659 (free_defconfig): New function.
35660 (free_mem): Move common code to free_database_entries.
35662 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35664 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35666 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35668 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35669 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35672 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35673 (INTERNAL_SYSCALL_TYPES): Likewise.
35674 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35675 (LOAD_REGS_TYPES_[1-6]): Likewise.
35676 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35677 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35679 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35681 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35682 copysignl for GLIBC_2_0.
35683 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35684 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35686 logbl for GLIBC_2_0.
35687 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35688 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35690 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35692 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35693 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35695 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35698 * time/mktime.c: Update copyright years.
35700 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35702 mktime: merge comment-quoting-style change from gnulib
35703 * time/mktime.c: Quote 'like this' in comments.
35704 The GNU coding standards suggest that we no longer quote `like this',
35705 as "`" and "'" are typically rendered asymmetrically nowadays.
35706 The typical gnulib style is to quote 'like this' when quoting
35707 code, and "like this" when quoting English.
35709 * time/mktime.c (compile-command): Add "-I.".
35711 mktime: merge mktime-internal.h change from gnulib
35712 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35714 mktime: merge time_r change from gnulib
35715 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35717 mktime: merge DEBUG change from gnulib
35718 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35719 case system <time.h> has a #define.
35721 mktime: merge <sys/types.h> change from gnulib
35722 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35723 since <time.t> is now guaranteed to define time_t.
35725 mktime: merge HAVE_CONFIG_H change from gnulib
35726 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35728 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35733 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35735 (struct rusage): Use anonymous union to pad each field to
35738 2012-05-21 David S. Miller <davem@davemloft.net>
35740 * Makefules (o-iterator): Remove .s cases.
35741 (compile-command.s): Delete.
35742 (COMPILE.s): Delete.
35743 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35745 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35747 * configure.in (libc_cv_predef_stack_protector): Only consider
35748 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35749 * configure: Regenerated.
35751 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35754 New macro. Use R*LP on int and pointer.
35755 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35756 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35757 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35758 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35760 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35761 [__WORDSIZE_TIME64_COMPAT32] instead of
35762 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35763 (struct utmp): Likewise.
35764 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35765 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35767 (__WORDSIZE_TIME64_COMPAT32): This.
35768 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35769 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35770 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35771 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35772 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35773 (__WORDSIZE_TIME64_COMPAT32): New macro.
35775 2012-05-21 Andreas Jaeger <aj@suse.de>
35777 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35778 only if [SHARED]. Add prototype for __wcschr_ia32.
35780 2012-05-21 Roland McGrath <roland@hack.frob.com>
35782 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35783 of %rbp unmolested in the jmp_buf while mangling the low bits.
35784 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35785 unmolested high bits of %rbp while demangling the low bits.
35786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35788 2012-05-21 Andreas Jaeger <aj@suse.de>
35790 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35791 * sunrpc/svc_simple.c: Use it for registerrpc.
35792 * sunrpc/xcrypt.c: Use it for passwd2des.
35794 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35796 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35798 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35799 Don't define if [__SYSCALL_WORDSIZE != 32].
35800 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35803 2012-05-21 Bruno Haible <bruno@clisp.org>
35804 Andreas Jaeger <aj@suse.de>
35806 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35807 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35808 inptr and inend for must_buffer_ch.
35809 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35810 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35811 * stdio-common/Makefile (tests): Remove bug15.
35812 (bug15-ENV): Remove macro.
35813 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35816 2012-05-19 Andreas Jaeger <aj@suse.de>
35817 Roland McGrath <roland@hack.frob.com>
35819 * manual/contrib.texi: Completely rewritten. It contains now an
35820 alphabetical list of contributors and their contributions.
35822 2012-05-21 Richard Henderson <rth@twiddle.net>
35824 * misc/getauxval.c (__getauxval): Use unsigned long int.
35825 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35826 (getauxval): Use unsigned long int.
35828 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35830 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35832 2012-05-21 Roland McGrath <roland@hack.frob.com>
35834 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35835 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35836 __alignof__ (long double).
35838 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35842 2012-05-20 Richard Henderson <rth@twiddle.net>
35844 * misc/getauxval.c: New file.
35845 * misc/sys/auxv.h: New file.
35846 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35847 (routines): Add getauxval.
35848 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35849 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35850 * elf/dl-sysdep.c (_dl_auxv): Remove.
35851 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35852 * elf/dl-support.c (_dl_auxv): New variable.
35853 (_dl_aux_init): Initialize it.
35854 * manual/startup.texi (Auxiliary Vector): New node.
35855 * sysdeps/generic/bits/hwcap.h: New file.
35856 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35857 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35858 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35859 * sysdeps/sparc/sysdep.h: ... here. Include it.
35860 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35861 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35873 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35877 2012-05-19 David S. Miller <davem@davemloft.net>
35879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35881 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35884 * math/s_ccosh.c: Include <float.h>
35885 (__ccosh): Avoid internal overflow calculating sinh and cosh
35886 values before multiplying by sin and cos values.
35887 * math/s_ccoshf.c: Likewise.
35888 * math/s_ccoshl.c: Likewise.
35889 * math/s_csin.c: Likewise.
35890 * math/s_csinf.c: Likewise.
35891 * math/s_csinl.c: Likewise.
35892 * math/s_csinh.c: Likewise.
35893 * math/s_csinhf.c: Likewise.
35894 * math/s_csinhl.c: Likewise.
35895 * math/libm-test.inc (ccos_test): Add more tests.
35896 (ccosh_test): Likewise.
35897 (csin_test): Likewise.
35898 (csinh_test): Likewise.
35899 * sysdeps/i386/fpu/libm-test-ulps: Update.
35900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35902 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35904 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35905 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35907 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35909 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35911 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35912 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35913 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35914 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35915 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35916 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35917 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35918 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35919 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35920 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35921 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35922 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35923 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35924 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35925 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35926 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35927 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35928 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35929 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35930 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35931 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35932 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35933 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35934 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35935 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35936 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35937 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35938 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35939 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35940 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35941 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35943 2012-05-18 Andreas Jaeger <aj@suse.de>
35945 * csu/.gitignore: Delete.
35947 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35949 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35950 (timex): Use __syscall_slong_t.
35952 2012-05-18 Andreas Jaeger <aj@suse.de>
35953 Carlos O'Donell <carlos_odonell@mentor.com>
35955 * manual/install.texi (Configuring and compiling): Update
35956 description about files modified in the source directory.
35957 * INSTALL: Regenerated.
35959 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35961 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35962 value. Use "or" to set return value to -1.
35963 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35964 negate return value.
35966 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35968 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35969 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35970 failure if the compiler has Graphite support disabled.
35971 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35973 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35974 (CFLAGS-memmove.c): Likewise.
35975 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35978 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35980 * sysdeps/x86_64/x32/_itoa.h: New file.
35982 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35983 getdents system call only if kernel and user dirents have the
35984 same d_ino and d_off.
35986 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35987 LLONG_MAX != LONG_MAX.
35988 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35989 (_fitoa_word): Likewise.
35991 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35993 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35994 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35995 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35997 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35998 include <bits/wordsize.h>. Check __x86_64__ instead of
36000 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36001 if __x86_64__ is defined. Use anonymous union on fpstate.
36003 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36006 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36008 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36009 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36010 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36011 Refer to _rtld_local_ro instead of _rtld_global_ro.
36012 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36014 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36016 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36018 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36019 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36020 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36022 * sysdeps/powerpc/powerpc32/dl-machine.c
36023 (__elf_machine_runtime_setup) [PROF]: Don't reference
36026 2012-05-18 Andreas Jaeger <aj@suse.de>
36028 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36029 function only available for GCCs before 3.4 since GCC 3.4
36030 introduced a builtin.
36032 (llrintf): Likewise.
36033 (llrint): Likewise.
36040 (nearbyint): Likewise.
36041 (nearbyintf): Likewise.
36045 (floorf): Likewise.
36047 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36049 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36050 on both fields and cast pointer to __syscall_ulong_t.
36052 * bits/types.h (__fsword_t): New type.
36053 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36054 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36055 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36056 (__FSWORD_T_TYPE): Likewise.
36057 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36058 (__FSWORD_T_TYPE): Likewise.
36059 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36060 (__FSWORD_T_TYPE): Likewise.
36061 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36062 (__FSWORD_T_TYPE): Likewise.
36063 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36064 __SWORD_TYPE with __fsword_t.
36065 (statfs64): Likewise.
36067 2012-05-17 David S. Miller <davem@davemloft.net>
36069 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36071 2012-05-17 Andreas Jaeger <aj@suse.de>
36073 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36076 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36078 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36080 2012-05-17 Andreas Jaeger <aj@suse.de>
36082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36085 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36087 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36089 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36091 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36092 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36094 2012-05-17 Andreas Jaeger <aj@suse.de>
36095 Carlos O'Donell <carlos_odonell@mentor.com>
36098 * sysdeps/x86_64/multiarch/init-arch.h
36099 (bit_YMM_Usable): Rename to...
36100 (bit_AVX_Usable): ... this.
36101 (bit_FMA4_Usable): New macro.
36102 (bit_XMM_state): New macro.
36103 (bit_YMM_state): New macro.
36104 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36105 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36106 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36107 (CPUID_OSXSAVE): New macro.
36108 (CPUID_AVX): New macro.
36109 (CPUID_FMA4): New macro.
36110 (index_YMM_Usable): Rename to...
36111 (index_AVX_Usable): ... this.
36112 (HAS_AVX): Use HAS_ARCH_FEATURE.
36113 (HAS_FMA4): Likewise.
36114 (HAS_YMM_USABLE): Remove.
36115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36116 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36118 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36119 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36120 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36121 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36122 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36124 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36126 * math/libm-test.c: Support platforms without multiple rounding modes.
36127 * math/bug-nextafter.c: Support platforms without FP exceptions.
36128 * math/bug-nexttoward.c: Likewise.
36129 * math/test-fenv.c: Likewise.
36130 * math/test-misc.c: Likewise.
36131 * stdlib/bug-getcontext.c: Likewise.
36133 2012-05-17 Andreas Jaeger <aj@suse.de>
36135 * manual/examples/search.c (critter_cmp): Change signature to
36137 * manual/string.texi (Collation Functions): Likewise.
36139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36141 * bits/types.h: Fold copyright years.
36142 * bits/typesizes.h: Likewise.
36143 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36147 * time/time.h: Likewise.
36149 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36152 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36153 in instead of returning them. Return void.
36154 (__libc_mallinfo): Accumulate over all arenas.
36155 (__malloc_stats): Adjust for change in int_mallinfo interface.
36157 2012-05-16 Roland McGrath <roland@hack.frob.com>
36160 * configure.in (NM): Add AC_CHECK_TOOL for it.
36161 (libc_extra_cflags): New substituted variable.
36162 Check for -fstack-protector being used implicitly.
36163 * configure: Regenerated.
36164 * config.make.in (config-extra-cflags): New variable,
36165 gets @libc_extra_cflags@.
36166 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36169 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36170 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36171 * configure: Regenerated.
36172 * config.make.in (CPPUNDEFS): New substituted variable.
36173 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36174 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36175 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36177 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36179 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36180 (mq_attr): Use __syscall_slong_t.
36182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36184 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36185 Check __x86_64__ instead of __WORDSIZE.
36186 (_STAT_VER_LINUX): Likewise.
36187 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36188 __syscall_ulong_t and __syscall_slong_t.
36189 (stat64): Likewise.
36191 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36193 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36195 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36197 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36199 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36201 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36204 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36205 include <bits/wordsize.h>. Check __x86_64__ instead of
36207 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36209 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36211 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36212 include <bits/wordsize.h>. Check __x86_64__ instead of
36214 (user_regs_struct): Use "__extension__ unsigned long long"
36215 instead of "unsigned long" if __x86_64__ is defined.
36216 (user): Likewise. Pad after pointer field if __ILP32__ is
36219 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36221 * configure.in (makeinfo): Require version 4.5 or later. Allow
36223 * configure: Regenerated.
36224 * manual/install.texi (texinfo): Increase version requirement to
36226 * INSTALL: Regenerated.
36228 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36230 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36232 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36234 * sysdeps/x86_64/x32/ffs.c: New file.
36236 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36238 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36239 defined. Use __syscall_ulong_t.
36240 (shminfo): Use __syscall_ulong_t.
36241 (shm_info): Likewise.
36243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36246 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36248 (msgqnum_t): Use __syscall_ulong_t.
36249 (msglen_t): Likewise.
36250 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36253 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36254 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36256 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36258 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36259 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36261 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36264 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36265 include <bits/wordsize.h>. Check __x86_64__ instead of
36268 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36269 "unsigned long long int" if __x86_64__ is defined.
36270 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36272 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36273 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36274 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36276 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36278 (GET_PC): Cast to uintptr_t first.
36279 (GET_FRAME): Likewise.
36280 (GET_STACK): Likewise.
36282 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36283 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36285 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36286 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36287 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36288 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36289 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36290 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36292 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36293 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36294 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36297 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36298 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36299 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36300 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36302 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36303 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36304 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36305 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36306 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36307 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36308 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36310 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36312 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36314 * Makerules (+depfiles): Also collect depfiles from .oS in
36316 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36317 .oS, $(libnldbl-routines)).
36319 * Makerules (native-compile-mkdep-flags): Define.
36320 * sunrpc/Makefile (extra-objs): Add $(addprefix
36321 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36322 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36323 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36324 calling $(make-target-directory).
36326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36328 * bits/types.h (__snseconds_t): Removed.
36329 * time/time.h (struct timespec): Replace __snseconds_t with
36331 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36332 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36335 (__SNSECONDS_T_TYPE): Likewise.
36336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36337 (__SNSECONDS_T_TYPE): Likewise.
36338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36339 (__SNSECONDS_T_TYPE): Likewise.
36341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36343 * sysdeps/mach/hurd/bits/typesizes.h
36344 (__SYSCALL_SLONG_TYPE): New macro.
36345 (__SYSCALL_ULONG_TYPE): Likewise.
36347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36349 * bits/types.h (__syscall_slong_t): New type.
36350 (__syscall_ulong_t): Likewise.
36352 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36353 (__SYSCALL_ULONG_TYPE): Likewise.
36354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36355 (__SYSCALL_SLONG_TYPE): Likewise.
36356 (__SYSCALL_ULONG_TYPE): Likewise.
36357 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36358 (__SYSCALL_SLONG_TYPE): Likewise.
36359 (__SYSCALL_ULONG_TYPE): Likewise.
36360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36361 (__SYSCALL_SLONG_TYPE): Likewise.
36362 (__SYSCALL_ULONG_TYPE): Likewise.
36364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36366 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36367 Add sigaltstack-offsets.sym.
36368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36369 <sigaltstack-offsets.h>.
36370 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36371 longjmp_msg pointer.
36372 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36373 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36375 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36377 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36379 * elf/stackguard-macros.h: Remove file.
36380 * sysdeps/generic/stackguard-macros.h: New file.
36381 * sysdeps/i386/stackguard-macros.h: Likewise.
36382 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36383 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36384 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36385 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36386 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36387 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36388 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36389 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36390 <elf/stackguard-macros.h>.
36393 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36394 __aligned__ in attribute.
36395 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36396 (gregset_t): Likewise.
36398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36400 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36401 * sysdeps/x86_64/64/Implies-after: Here. New file.
36402 * sysdeps/x86_64/x32/Implies-after: New file.
36404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36406 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36407 and access return value for _dl_profile_fixup. Use R10_LP to
36410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36412 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36416 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36417 * sysdeps/x86_64/x32/sysdep.h: New file.
36419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36421 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36422 * sysdeps/x86_64/setjmp.S: Likewise.
36424 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36427 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36428 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36429 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36430 remove unused global constant.
36432 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36434 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36435 include of <not-cancel.h>.
36437 2012-05-15 Roland McGrath <roland@hack.frob.com>
36439 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36441 2012-05-15 Jeff Law <law@redhat.com>
36442 Andreas Jaeger <aj@suse.de>
36445 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36447 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36448 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36449 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36450 code changing __hst_map_handle.map.
36452 2012-05-15 Roland McGrath <roland@hack.frob.com>
36454 * configure.in (sysnames): Look for Implies-before and Implies-after
36456 * configure: Regenerated.
36458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36460 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36461 8-byte data alignment with LP_SIZE alignment.
36463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36465 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36470 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36474 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36475 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36476 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36482 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36483 (stackinfo_sub_sp): Likewise.
36485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36487 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36492 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36502 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36506 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36507 into R11_LP and load __x86_64_shared_cache_size_half into
36510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36515 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36523 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36524 powerpc32/power7/fpu/s_logb.c via #include.
36525 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36526 powerpc32/power7/fpu/s_logbf.c via #include.
36527 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36528 powerpc32/power7/fpu/s_logbl.c via #include.
36530 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36532 * README.libm: Remove file.
36534 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36536 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36537 count for x32. Use R*_LP and omit operand-size suffix.
36539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36541 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36542 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36543 * sysdeps/x86_64/x32/shlib-versions: New file.
36545 2012-05-14 Roland McGrath <roland@hack.frob.com>
36547 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36548 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36549 Use _dl_fatal_printf instead.
36551 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36553 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36554 set if not set by the user. Do not allow for being unset.
36555 * sysdeps/unix/sysv/linux/configure: Regenerated.
36557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36559 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36560 the `q' suffix from lea and replace .quad with ASM_ADDR.
36562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36565 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36567 (PTR_DEMANGLE): Likewise.
36569 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36571 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36573 (ASM_ADDR): Likewise.
36574 (RAX_LP): Likewise.
36575 (RBP_LP): Likewise.
36576 (RBX_LP): Likewise.
36577 (RCX_LP): Likewise.
36578 (RDI_LP): Likewise.
36579 (RSI_LP): Likewise.
36580 (RSP_LP): Likewise.
36583 (R10_LP): Likewise.
36584 (R10_LP): Likewise.
36585 (R11_LP): Likewise.
36586 (R12_LP): Likewise.
36587 (R13_LP): Likewise.
36588 (R14_LP): Likewise.
36589 (R15_LP): Likewise.
36591 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36593 * sysdeps/x86_64/x32/dl-machine.h: New file.
36595 2012-05-14 Andreas Jaeger <aj@suse.de>
36597 * manual/Makefile (subdir): Remove export of subdir.
36598 (all): Remove target.
36599 (.PHONY): Remove all from list.
36600 (mkinstalldirs): Remove.
36601 (.PHONY): Remove installdirs from list.
36602 ($(inst_infodir)/libc.info): Use make-target-directory.
36603 (installdirs): Remove.
36604 (subdir_%): Remove.
36605 (glibc-targets): Remove.
36608 ($(objpfx)stubs ../po/manual.pot): Remove.
36609 ($(objpfx)stamp%): Remove.
36610 (make-target-directory): Remove.
36611 (subdir_install): Remove.
36612 (routines): Remove.
36619 * manual/.gitignore: Remove, it's not needed anymore.
36620 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36622 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36624 (texis): Renamed to $(objpfx)texis.
36625 (texis-path): New, contains path to generated files.
36626 (chapters.%): Use texis-path for complete path, add extra argument
36628 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36629 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36630 (summary,texi, stamp-summary): Use complete path of
36631 files. Generate files in build dir.
36632 (dir-add.texi): Build in build dir.
36633 (libm-err.texi,stamp-libm-err): Likewise.
36634 (version.texi, stamp-version): Likewise.
36635 (.%c.texi): Likewise.
36636 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36637 (mostlyclean): Remove target.
36638 (realclean): Remove target.
36639 (generated): Add new variable with contents from mostlyclean and
36640 realclean, remove entries duplicated in common-mostlyclean, add
36641 stamp-libm-err and stamp-version.
36642 (generated-dirs): Add libc directory.
36643 ($(inst_infodir)/libc.info): Install files from build dir.
36645 * manual/install.texi (Configuring and compiling): Adjust since
36646 the info files are not part of the tar ball anymore.
36648 2012-05-14 Andreas Jaeger <aj@suse.de>
36650 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36653 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36656 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36657 to 2.2.0 where earlier.
36658 * sysdeps/unix/sysv/linux/configure: Regenerated.
36659 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36660 Remove conditional code.
36661 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36662 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36663 Remove conditional code.
36664 [!__NR_lchown]: Likewise.
36665 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36666 [__NR_lchown]: Likewise.
36667 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36668 comment referencing __ASSUME_LCHOWN_SYSCALL.
36669 * sysdeps/unix/sysv/linux/i386/sigaction.c
36670 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36671 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36672 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36673 Remove conditional code.
36674 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36675 (__protocol_available): Remove #if 0 code.
36676 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36678 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36679 * sysdeps/unix/sysv/linux/kernel-features.h
36680 (__ASSUME_GETCWD_SYSCALL): Don't define.
36681 (__ASSUME_REALTIME_SIGNALS): Likewise.
36682 (__ASSUME_PREAD_SYSCALL): Likewise.
36683 (__ASSUME_PWRITE_SYSCALL): Likewise.
36684 (__ASSUME_POLL_SYSCALL): Likewise.
36685 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36686 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36688 (__ASSUME_SIOCGIFNAME): Don't define.
36689 (__ASSUME_MSG_NOSIGNAL): Likewise.
36690 (__ASSUME_SENDFILE): Define unconditionally.
36691 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36692 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36694 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36695 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36696 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36697 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36698 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36699 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36700 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36702 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36705 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36708 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36714 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36717 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36723 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36725 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36726 Remove conditional code.
36727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36728 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36729 Remove conditional code.
36730 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36731 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36732 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36733 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36734 Remove conditional code.
36735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36736 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36737 Remove conditional code.
36738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36739 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36740 Remove conditional code.
36741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36742 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36743 Remove conditional code.
36744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36745 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36746 Remove conditional code.
36747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36748 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36749 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36751 * sysdeps/unix/sysv/linux/sigaction.c
36752 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36753 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36754 * sysdeps/unix/sysv/linux/sigpending.c
36755 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36756 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36757 * sysdeps/unix/sysv/linux/sigprocmask.c
36758 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36759 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36760 * sysdeps/unix/sysv/linux/sigsuspend.c
36761 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36762 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36763 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36764 (__libc_missing_rt_sigs): Remove.
36765 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36766 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36767 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36768 Remove conditional code.
36769 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36770 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36772 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36773 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36774 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36775 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36777 2012-05-14 Andreas Jaeger <aj@suse.de>
36779 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36780 it's not used in glibc.
36781 (__coshm1): Likewise.
36782 (__acosh1p): Likewise.
36785 * manual/string.texi (Copying and Concatenation): Add missing
36786 variable in concat example.
36787 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36789 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36792 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36793 __builtin_clzl with __builtin_clzll.
36795 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36798 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36801 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36803 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36804 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36805 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36806 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36808 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36810 * NEWS: Update ia64 info.
36812 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36814 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36817 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36819 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36820 * sysdeps/unix/syscalls.list (dup3): Likewise.
36821 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36822 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36824 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36826 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36827 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36829 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36831 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36833 (TLS_IE): Use mov/add instead of movq/addq to load thread
36835 (TLS_GD_PREFIX): New.
36838 2012-05-11 David S. Miller <davem@davemloft.net>
36840 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36841 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36842 (_FPU_SETCW): Likewise.
36844 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36846 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36847 is 32-byte aligned.
36849 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36852 * iconvdata/gb18030.c: Update tables.
36853 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36854 characters specially.
36855 (BODY for TO_LOOP): Add encoding of missing ranges.
36857 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36860 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36861 * sysdeps/mach/hurd/dup3.c: Likewise.
36862 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36863 * sysdeps/powerpc/memmove.c:: Likewise.
36865 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36867 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36868 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36870 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36872 * elf/elf.h (R_X86_64_RELATIVE64): New.
36873 (R_X86_64_NUM): Updated.
36874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36875 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36876 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36877 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36878 tst-quad1pie tst-quad2pie
36879 (modules-names): Add tst-quadmod1 tst-quadmod2.
36880 ($(objpfx)tst-quad1): New dependency.
36881 ($(objpfx)tst-quad2): Likewise.
36882 ($(objpfx)tst-quad1pie): Likewise.
36883 ($(objpfx)tst-quad2pie): Likewise.
36884 * sysdeps/x86_64/tst-quad1.c: New file.
36885 * sysdeps/x86_64/tst-quad1pie.c: New file.
36886 * sysdeps/x86_64/tst-quad2.c: Likewise.
36887 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36888 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36889 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36890 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36891 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36895 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36896 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36897 * streams/stropts.h (t_scalar_t): Define type.
36899 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36900 (_PATH_PRESERVE): Set to "/var/lib".
36901 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36903 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36906 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36907 if __dir_mkfile succeeded.
36909 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36910 checking for _hurd_dtablesize. Unlock it right after having
36911 finished _hurd_dtable allocation.
36913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36915 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36916 * sysdeps/mach/hurd/configure: Regenerated.
36917 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36918 special-casing to...
36919 * sysdeps/gnu/configure.in: ... this new file.
36920 * sysdeps/unix/sysv/linux/configure: Regenerated.
36921 * sysdeps/gnu/configure: New generated file.
36923 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36924 for Linux: use nsec instead of usec, as well as:
36925 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36926 members of type struct timespec.
36927 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36929 (struct stat64): Likewise.
36930 (_STATBUF_ST_NSEC): New macro.
36931 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36933 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36934 __strtoul_internal rather than strtoul.
36936 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36938 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36943 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36944 which preserves existing values.
36945 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36947 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36949 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36950 TIMEOUT values. Return EINVAL for NFDS values either negative or
36951 greater than FD_SETSIZE.
36953 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36955 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36956 allocated, call __vm_protect to finish enabling the existing space, and
36957 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36958 allocate the remainder.
36960 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36962 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36963 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36965 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36967 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36968 sysdeps/mach/hurd/readlink.c.
36970 * posix/tst-sysconf.c (posix_options): Only use
36971 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36972 _POSIX_SYNCHRONIZED_IO when they are defined
36973 * sysdeps/mach/hurd/bits/posix_opt.h:
36974 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36975 (_XOPEN_REALTIME): Undefine macro.
36976 (_XOPEN_REALTIME_THREADS): Undefine macro.
36977 (_XOPEN_SHM): Undefine macro.
36978 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36980 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36982 (_POSIX_ASYNC_IO): Undefine macro.
36983 (_POSIX_PRIORITIZED_IO): Undefine macro.
36984 (_POSIX_SPIN_LOCKS): Define macro to -1.
36986 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36987 SA_NODEFER, SA_RESETHAND.
36988 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36989 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36992 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36994 * elf/Makefile (pldd-modules): Define unconditionally.
36996 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36998 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37002 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37003 Return ENOENT when name is empty.
37004 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37008 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37010 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37012 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37014 Fix mlock in all cases except non-readable pages.
37015 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37016 instead of VM_PROT_ALL as parameter to __vm_wire function.
37018 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37019 (__mkdir): When path is `/', just fail with EEXIST.
37020 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37022 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37024 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37025 <sys/uio.h> (for writev).
37026 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37027 and <sys/param.h> (for MIN).
37029 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37031 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37032 REQUESTED_TIME. Properly set the remaining time and return EINTR
37035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37037 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37038 Depend on against $(link-rpcuserlibs).
37040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37042 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37043 (__libc_stack_end): Do not use attribute_relro.
37044 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37045 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37046 to libthread-provided value.
37047 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37050 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37053 * bits/libc-lock.h (__libc_once_get): New macro.
37054 * sysdeps/mach/bits/libc-lock.h: Likewise.
37055 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37056 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37057 instead of using implementation details.
37059 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37060 * libio/freopen.c: Likewise.
37061 * libio/freopen64.c: Likewise.
37062 * misc/syslog.c: Likewise.
37063 * nscd/connections.c: Likewise.
37064 * nscd/netgroupcache.c: Likewise.
37065 * sysdeps/posix/getcwd.c: Likewise.
37067 2012-05-10 Roland McGrath <roland@hack.frob.com>
37069 * math/w_ilogbf.c: Add #include <limits.h>.
37071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37073 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37074 path instead of returning without unlocking.
37076 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37077 immediate-write ioctls.
37078 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37082 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37083 __builtin_frame_address instead of making assumptions about the
37084 location of the return address relative to DATA. Force early load of
37085 the return address.
37086 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37087 __builtin_frame_address.
37090 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37091 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37092 implement dup3 and do some further code clean-ups.
37093 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37094 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37098 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37100 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37101 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37102 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37103 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37104 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37107 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37108 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37109 when handler == SIG_ERR, not when handler != SIG_ERR.
37111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37113 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37114 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37117 accept4 for GNU Hurd.
37118 * include/sys/socket.h (__libc_accept4): New prototype.
37119 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37120 to implement __libc_accept4.
37121 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37123 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37125 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37126 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37127 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37128 signal-defines.sym.
37130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37132 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37136 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37137 assertion on O_CLOEXEC flag.
37138 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37139 * hurd/intern-fd.c: Likewise.
37140 * hurd/port2fd.c: Likewise.
37142 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37145 * bits/in.h (IPV6_PKTINFO): Define new macro.
37146 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37148 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37153 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37155 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37156 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37158 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37159 * math/libm-test.inc (logb_test) : Additional logb tests.
37161 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37162 Andreas Jaeger <aj@suse.de>
37164 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37165 * configure: Regenerated.
37166 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37167 * config.make.in (link-obsolete-rpc): New substituted variable.
37168 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37169 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37170 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37171 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37172 so that libc.a contains the symbols.
37173 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37174 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37175 * sunrpc/auth_none.c: Likewise.
37176 * sunrpc/auth_unix.c: Likewise.
37177 * sunrpc/authdes_prot.c: Likewise.
37178 * sunrpc/authuxprot.c: Likewise.
37179 * sunrpc/clnt_gen.c: Likewise.
37180 * sunrpc/clnt_perr.c: Likewise.
37181 * sunrpc/clnt_raw.c: Likewise.
37182 * sunrpc/clnt_simp.c: Likewise.
37183 * sunrpc/clnt_tcp.c: Likewise.
37184 * sunrpc/clnt_udp.c: Likewise.
37185 * sunrpc/clnt_unix.c: Likewise.
37186 * sunrpc/des_crypt.c: Likewise.
37187 * sunrpc/des_soft.c: Likewise.
37188 * sunrpc/get_myaddr.c: Likewise.
37189 * sunrpc/key_call.c: Likewise.
37190 * sunrpc/key_prot.c: Likewise.
37191 * sunrpc/netname.c: Likewise.
37192 * sunrpc/pm_getmaps.c: Likewise.
37193 * sunrpc/pm_getport.c: Likewise.
37194 * sunrpc/pmap_clnt.c: Likewise.
37195 * sunrpc/pmap_prot.c: Likewise.
37196 * sunrpc/pmap_prot2.c: Likewise.
37197 * sunrpc/pmap_rmt.c: Likewise.
37198 * sunrpc/publickey.c: Likewise.
37199 * sunrpc/rpc_cmsg.c: Likewise.
37200 * sunrpc/rpc_common.c: Likewise.
37201 * sunrpc/rpc_dtable.c: Likewise.
37202 * sunrpc/rpc_prot.c: Likewise.
37203 * sunrpc/rpc_thread.c: Likewise.
37204 * sunrpc/rtime.c: Likewise.
37205 * sunrpc/svc.c: Likewise.
37206 * sunrpc/svc_auth.c: Likewise.
37207 * sunrpc/svc_raw.c: Likewise.
37208 * sunrpc/svc_run.c: Likewise.
37209 * sunrpc/svc_tcp.c: Likewise.
37210 * sunrpc/svc_udp.c: Likewise.
37211 * sunrpc/svc_unix.c: Likewise.
37212 * sunrpc/svcauth_des.c: Likewise.
37213 * sunrpc/xcrypt.c: Likewise.
37214 * sunrpc/xdr.c: Likewise.
37215 * sunrpc/xdr_array.c: Likewise.
37216 * sunrpc/xdr_float.c: Likewise.
37217 * sunrpc/xdr_intXX_t.c: Likewise.
37218 * sunrpc/xdr_mem.c: Likewise.
37219 * sunrpc/xdr_rec.c: Likewise.
37220 * sunrpc/xdr_ref.c: Likewise.
37221 * sunrpc/xdr_sizeof.c: Likewise.
37222 * sunrpc/xdr_stdio.c: Likewise.
37224 2012-05-10 Roland McGrath <roland@hack.frob.com>
37226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37227 change. Update copyright years.
37229 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37231 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37233 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37234 Joseph Myers <joseph@codesourcery.com>
37235 Paul Pluzhnikov <ppluzhnikov@google.com>
37238 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37240 [cross-compiling] (extra-libs): Likewise.
37241 [cross-compiling] (extra-libs-others): Likewise.
37242 [cross-compiling] (librpcsvc-routines): Likewise.
37243 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37244 [cross-compiling] (omit-deps): Likewise.
37245 (sunrpc-CPPFLAGS): New variable.
37246 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37247 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37248 (cross-rpcgen-objs): New variable.
37249 (extra-objs): Append $(cross-rpcgen-objs).
37250 ($(cross-rpcgen-objs)): New rule.
37251 ($(objpfx)cross-rpcgen): Likewise.
37252 (rpcgen-cmd): Define to use $(built-program-file). Expand
37254 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37255 ($(objpfx)x%.stmp): Likewise.
37256 * sunrpc/proto.h [IS_IN_build] (_): Define.
37257 [IS_IN_build] (_libc_intl_domainname): Likewise.
37259 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37262 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37263 and R_X86_64_TPOFF64.
37265 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37267 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37268 sysdeps/unix/sysv/syscalls.list.
37271 * sysdeps/unix/sysv/syscalls.list: Remove file.
37273 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37276 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37277 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37278 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37279 (__LC_IDENTIFICATION): Make these macros useful in #if
37280 expressions, as required by C99.
37282 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37284 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37285 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37288 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37290 * stdlib/longlong.h: Updated from GCC.
37292 2012-05-09 Andreas Jaeger <aj@suse.de>
37294 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37295 default is first entry.
37296 (run_mode): Set type.
37297 (main): Remove informal message about syslog.
37298 (options): Fix typo.
37301 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37304 (llrintf): Likewise.
37305 (llrint): Likewise.
37308 (nearbyint): Likewise.
37309 (nearbyintf): Likewise.
37311 2012-05-09 Andreas Jaeger <aj@suse.de>
37312 Pedro Alves <palves@redhat.com>
37314 * nscd/nscd.c (run_mode): Use enum.
37315 (main): Cleanup coding style issue.
37317 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37318 Andreas Jaeger <aj@suse.de>
37320 * nscd/nscd.c (go_background): Replaced with...
37321 (run_mode): ... this.
37322 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37323 (options): Add -F --foreground.
37324 (main): Implement it.
37325 (parse_opt): Parse it.
37327 2012-05-09 Andreas Jaeger <aj@suse.de>
37330 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37331 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37332 -Wconversion warning.
37333 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37336 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37338 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37340 (LC_ALL): Use macro-int-constant.
37341 (LC_COLLATE): Likewise.
37342 (LC_CTYPE): Likewise.
37343 (LC_MESSAGES): Likewise.
37344 (LC_MONETARY): Likewise.
37345 (LC_NUMERIC): Likewise.
37346 (LC_TIME): Likewise.
37347 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37348 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37350 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37352 [C99-based standards] (float_t): Expect type.
37353 [C99-based standards] (double_t): Expect type.
37354 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37356 [C99-based standards] (HUGE_VALL): Likewise.
37357 [C99-based standards] (INFINITY): Likewise.
37358 [C99-based standards] (NAN): Likewise.
37359 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37360 [C99-based standards] (FP_NAN): Likewise.
37361 [C99-based standards] (FP_NORMAL): Likewise.
37362 [C99-based standards] (FP_SUBNORMAL): Likewise.
37363 [C99-based standards] (FP_ZERO): Likewise.
37364 [C99-based standards] (FP_FAST_FMA): Use
37365 optional-macro-int-constant. Specify type. Require == 1.
37366 [C99-based standards] (FP_FAST_FMAF): Likewise.
37367 [C99-based standards] (FP_FAST_FMAL): Likewise.
37368 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37369 [C99-based standards] (FP_ILOGBNAN): Likewise.
37370 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37372 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37373 [C99-based standards] (math_errhandling): Specify type.
37374 [ISO99 || ISO11] (signgam): Do not allow.
37375 [non-C99-based standards] (copysignf): Do not allow.
37376 [non-C99-based standards] (exp2f): Likewise.
37377 [non-C99-based standards] (log2f): Likewise.
37378 [non-C99-based standards] (modff): Allow.
37379 [non-C99-based standards] (erff): Do not allow.
37380 [non-C99-based standards] (erfcf): Likewise.
37381 [non-C99-based standards] (gammaf): Likewise.
37382 [non-C99-based standards] (hypotf): Likewise.
37383 [non-C99-based standards] (j0f): Likewise.
37384 [non-C99-based standards] (j1f): Likewise.
37385 [non-C99-based standards] (jnf): Likewise.
37386 [non-C99-based standards] (lgammaf): Likewise.
37387 [non-C99-based standards] (tgammaf): Likewise.
37388 [non-C99-based standards] (y0f): Likewise.
37389 [non-C99-based standards] (y1f): Likewise.
37390 [non-C99-based standards] (ynf): Likewise.
37391 [non-C99-based standards] (isnanf): Likewise.
37392 [non-C99-based standards] (acoshf): Likewise.
37393 [non-C99-based standards] (asinhf): Likewise.
37394 [non-C99-based standards] (atanhf): Likewise.
37395 [non-C99-based standards] (cbrtf): Likewise.
37396 [non-C99-based standards] (expm1f): Likewise.
37397 [non-C99-based standards] (ilogbf): Likewise.
37398 [non-C99-based standards] (log1pf): Likewise.
37399 [non-C99-based standards] (logbf): Likewise.
37400 [non-C99-based standards] (nextafterf): Likewise.
37401 [non-C99-based standards] (remainderf): Likewise.
37402 [non-C99-based standards] (rintf): Likewise.
37403 [non-C99-based standards] (scalbf): Likewise.
37404 [non-C99-based standards] (copysignl): Likewise.
37405 [non-C99-based standards] (exp2l): Likewise.
37406 [non-C99-based standards] (log2l): Likewise.
37407 [non-C99-based standards] (modfl): Allow.
37408 [non-C99-based standards] (erfl): Do not allow.
37409 [non-C99-based standards] (erfcl): Likewise.
37410 [non-C99-based standards] (gammal): Likewise.
37411 [non-C99-based standards] (hypotl): Likewise.
37412 [non-C99-based standards] (j0l): Likewise.
37413 [non-C99-based standards] (j1l): Likewise.
37414 [non-C99-based standards] (jnl): Likewise.
37415 [non-C99-based standards] (lgammal): Likewise.
37416 [non-C99-based standards] (tgammal): Likewise.
37417 [non-C99-based standards] (y0l): Likewise.
37418 [non-C99-based standards] (y1l): Likewise.
37419 [non-C99-based standards] (ynl): Likewise.
37420 [non-C99-based standards] (isnanl): Likewise.
37421 [non-C99-based standards] (acoshl): Likewise.
37422 [non-C99-based standards] (asinhl): Likewise.
37423 [non-C99-based standards] (atanhl): Likewise.
37424 [non-C99-based standards] (cbrtl): Likewise.
37425 [non-C99-based standards] (expm1l): Likewise.
37426 [non-C99-based standards] (ilogbl): Likewise.
37427 [non-C99-based standards] (log1pl): Likewise.
37428 [non-C99-based standards] (logbl): Likewise.
37429 [non-C99-based standards] (nextafterl): Likewise.
37430 [non-C99-based standards] (remainderl): Likewise.
37431 [non-C99-based standards] (rintl): Likewise.
37432 [non-C99-based standards] (scalbl): Likewise.
37433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37434 [non-C99-based standards] (FP_*): Do not allow.
37435 [C99-based standards] (FP_*): Change to
37436 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37437 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37439 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37440 (SIG_ERR): Likewise.
37441 [X/Open-based standards] (SIG_HOLD): Likewise.
37442 (SIG_IGN): Likewise.
37443 (SIGABRT): Use macro-int-constant. Specify type. Require
37445 (SIGFPE): Likewise.
37446 (SIGILL): Likewise.
37447 (SIGINT): Likewise.
37448 (SIGSEGV): Likewise.
37449 (SIGTER): Likewise.
37450 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37451 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37452 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37453 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37454 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37455 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37456 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37457 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37458 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37459 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37460 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37461 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37462 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37463 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37464 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37465 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37466 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37467 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37468 [X/Open-based standards] (SIGTRAP): Likewise.
37469 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37470 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37471 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37472 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37473 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37476 2012-05-08 Ian Wienand <ianw@vmware.com>
37479 * time/tzset.c (__tzset_parse_tz): Update default rules for
37480 daylight time changes in the Energy Policy Act of 2005.
37482 2012-05-09 Andreas Jaeger <aj@suse.de>
37485 * elf/ldconfig.c (parse_conf): Change string to make clear that
37486 ldconfig only issued a warning if ld.so.conf does not exist.
37488 2012-05-08 David S. Miller <davem@davemloft.net>
37490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37491 movxtod instead of popping the value on the stack.
37493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37495 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37497 * config.h.in: Add HAVE_ARM_PCS_VFP.
37499 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37502 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37503 checking but the checks are disabled for any reason.
37505 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37507 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37508 and ELF64_R_TYPE with ELFW(R_TYPE).
37510 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37512 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37513 (ulimit): Likewise.
37515 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37516 (settimeofday): Likewise.
37518 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37520 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37521 a struct th_u2 inside the union, and move tu_block/tu_code into
37522 a new th_u3 union of tu_block/tu_code inside of that. Move
37523 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37524 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37525 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37526 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37527 (th_stuff): Change to th_u1.tu_stuff.
37529 (th_msg): Change to th_u1.th_u2.tu_data.
37531 2012-05-07 David S. Miller <davem@davemloft.net>
37533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37536 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37537 (SETUP_PIC_REG): Use it.
37538 (SETUP_PIC_REG_LEAF): Use it.
37540 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37544 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37546 (EXPL_FINITE): Likewise.
37547 (FLDLOG): Likewise.
37548 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37549 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37551 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37553 (EXPL_FINITE): Likewise.
37554 (FLDLOG): Likewise.
37555 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37556 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37558 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37559 test of -max_value argument for long double.
37560 * sysdeps/i386/fpu/libm-test-ulps: Update.
37561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37563 2012-05-06 David S. Miller <davem@davemloft.net>
37565 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37566 quad soft-float symbols whose references which are compiler
37568 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37570 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37574 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37576 (EXPL_FINITE): Likewise.
37577 (FLDLOG): Likewise.
37580 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37581 Adjust comments for base varying.
37582 (__expl_finite): Change alias to EXPL_FINITE.
37583 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37585 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37586 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37587 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37588 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37589 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37591 (EXPL_FINITE): Likewise.
37592 (FLDLOG): Likewise.
37595 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37596 Adjust comments for base varying.
37597 (__expl_finite): Change alias to EXPL_FINITE.
37598 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37603 * math/libm-test.inc (check_float_internal): Correct ulp
37604 calculation for subnormal expected results.
37606 2012-05-06 Andreas Jaeger <aj@suse.de>
37608 * Makeconfig (+math-flags): New, set to -frounding-math.
37609 (+cflags): Add +math-flags so that all of glibc gets compiled with
37612 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37614 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37616 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37622 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37623 (__ieee754_expl): Allow for and saturate large arguments.
37624 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37625 (u_threshold): Likewise.
37626 (__exp): Call __ieee754_exp before checking for overflow and
37628 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37629 (u_threshold): Likewise.
37630 (__expf): Call __ieee754_expf before checking for overflow and
37632 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37633 (u_threshold): Likewise.
37634 (__expl): Call __ieee754_expl before checking for overflow and
37636 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37637 (__ieee754_expl): Allow for and saturate large arguments.
37638 * math/libm-test.inc (exp_test): Add another test. Do not allow
37639 missing overflow exception on overflow.
37640 (expm1_test): Do not allow missing overflow exception on overflow.
37642 * sysdeps/i386/fpu/e_expl.c: Move to ...
37643 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37644 rather than using inline asm.
37645 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37646 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37647 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37649 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37652 (signal): Likewise.
37656 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37658 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37659 sysdeps/unix/common/syscalls.list.
37660 (fchmod): Likewise.
37661 (fchown): Likewise.
37662 (ftruncate): Likewise.
37663 (getrusage): Likewise.
37664 (gettimeofday): Likewise.
37665 (setpgid): Likewise.
37666 (setregid): Likewise.
37667 (setreuid): Likewise.
37668 (sigaction): Likewise.
37669 (truncate): Likewise.
37670 (vhangup): Likewise.
37671 * sysdeps/unix/common/syscalls.list: Remove file.
37672 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37673 * sysdeps/unix/sysv/linux/Implies: Likewise.
37675 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37677 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37679 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37683 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37686 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37689 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37692 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37695 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37698 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37701 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37705 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37709 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37712 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37716 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37720 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37722 * sysdeps/unix/common/bits/dirent.h: Remove file.
37723 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37725 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37726 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37727 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37728 * sysdeps/unix/bsd/isatty.c: Likewise.
37729 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37730 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37731 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37733 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37737 long double comparison inaccuracies.
37738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37741 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37743 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37746 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37749 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37750 nonzero digits before rounding a hex value.
37751 * stdlib/tst-strtod.c (tests): Add another test.
37753 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37755 * sysdeps/s390/fpu/libm-test-ulps: Update.
37757 2012-05-03 Andreas Jaeger <aj@suse.de>
37759 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37760 does not get optimized out.
37761 (malloc_opt_barrier): New.
37763 2012-05-03 Andreas Jaeger <aj@suse.de>
37764 Roland McGrath <roland@hack.frob.com>
37766 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37767 intermediate file deletion.
37768 (generated): Add .symlist files.
37770 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37773 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37774 Redirect under this condition.
37775 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37776 [__USE_GNU] (__dprintf_chk): Not under this condition.
37777 [__USE_GNU] (__vdprintf_chk): Likewise.
37778 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37779 under this condition.
37780 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37781 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37782 [__USE_XOPEN2K8] (vdprintf): Likewise.
37783 [__USE_GNU] (__dprintf_chk): Not under this condition.
37784 [__USE_GNU] (__vdprintf_chk): Likewise.
37785 [__USE_GNU] (dprintf): Likewise.
37786 [__USE_GNU] (vdprintf): Likewise.
37788 2012-05-03 Roland McGrath <roland@hack.frob.com>
37790 * elf/Makefile (common-generated): Set this instead of generated for
37791 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37792 $(all-built-dso)-derived lists.
37794 2012-05-03 Andreas Jaeger <aj@suse.de>
37796 * sysdeps/i386/fpu/libm-test-ulps: Update.
37799 * FAQ.in: Likewise.
37800 * scripts/gen-FAQ.pl: Likewise.
37801 * manual/install.texi (Installation): Point to online location of
37803 * Makefile (files-for-dist): Remove FAQ.
37806 2012-05-02 Allan McRae <allan@archlinux.org>
37808 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37809 (LDFLAGS-reldepmod5.so): Likewise.
37810 (LDFLAGS-reldep6mod1.so): Likewise.
37811 (LDFLAGS-reldep6mod4.so): Likewise.
37812 (LDFLAGS-reldep8mod3.so): Likewise.
37813 (LDFLAGS-unload4mod1.so): Likewise.
37814 (LDFLAGS-unload4mod2.so): Likewise.
37815 (LDFLAGS-tst-initorder): Likewise.
37816 (LDFLAGS-tst-initordera2.so): Likewise.
37817 (LDFLAGS-tst-initordera3.so): Likewise.
37818 (LDFLAGS-tst-initordera4.so): Likewise.
37819 (LDFLAGS-tst-initorderb2.so): Likewise.
37820 (LDFLAGS-noload): Likewise.
37821 (LDFLAGS-next): Likewise.
37822 (LDFLAGS-order2mod1.so): Likewise.
37823 (LDFLAGS-order2mod2.so): Likewise.
37824 (LDFLAGS-tst-initorder2): Likewise.
37825 (LDFLAGS-tst-initorder2a.so): Likewise.
37826 (LDFLAGS-tst-initorder2b.so): Likewise.
37827 (LDFLAGS-tst-initorder2c.so): Likewise.
37828 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37830 2012-05-02 David S. Miller <davem@davemloft.net>
37832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37834 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37837 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37839 2012-05-02 Andreas Jaeger <aj@suse.de>
37841 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37842 since we manipulate rounding mode.
37843 (CPPFLAGS-test-idouble.c): Likewise.
37844 (CPPFLAGS-test-ifloat.c): Likewise.
37845 (CFLAGS-test-ldouble.c): Likewise.
37846 (CFLAGS-test-double.c): Likewise.
37847 (CFLAGS-test-float.c): Likewise.
37848 (CFLAGS-test-misc.c): Likewise.
37849 (CFLAGS-test-test-fenv.c): Likewise.
37851 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37855 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37856 comparisons to determine direction to adjust input.
37858 2012-05-01 Roland McGrath <roland@hack.frob.com>
37860 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37861 output to the target.
37863 * scripts/localplt.awk: New file.
37864 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37865 (check-localplt-CFLAGS): Variable removed.
37866 ($(all-built-dso:=.jmprel)): New static pattern rule.
37867 (generated): Add those targets.
37868 (localplt-built-dso): New variable.
37869 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37871 * elf/check-localplt.c: File removed.
37873 * scripts/check-execstack.awk: New file.
37874 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37875 (check-execstack-CFLAGS): Variable removed.
37876 ($(objpfx)check-execstack.h): Target removed.
37877 ($(objpfx)execstack-default): New target.
37878 (generated): Add that instead of check-execstack.h.
37879 ($(all-built-dso:=.phdr)): New static pattern rule.
37880 (generated): Add those targets.
37881 * elf/check-execstack.c: File removed.
37883 * scripts/check-textrel.awk: New file.
37884 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37885 (check-textrel-CFLAGS): Variable removed.
37886 (all-built-dso): Use := to define.o
37887 ($(all-built-dso:=.dyn)): New static pattern rule.
37888 (generated): Add those targets.
37889 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37890 * config.make.in (READELF): New substituted variable.
37891 * elf/check-textrel.c: File removed.
37893 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37895 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37897 * conform/data/ctype.h-data [C99-based standards] (isblank):
37899 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37900 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37902 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37903 Specify type. Require positive value.
37904 (EILSEQ): Likewise.
37905 (ERANGE): Likewise.
37906 [ISO || POSIX] (EILSEQ): Do not expect.
37907 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37908 Specify type. Require positive value.
37909 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37910 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37911 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37912 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37913 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37914 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37915 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37916 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37917 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37918 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37919 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37920 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37921 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37922 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37923 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37924 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37925 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37926 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37927 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37928 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37929 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37930 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37931 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37932 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37933 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37934 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37935 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37936 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37937 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37938 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37939 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37940 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37941 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37942 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37943 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37944 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37945 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37946 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37947 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37948 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37949 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37950 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37951 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37952 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37953 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37954 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37955 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37956 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37957 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37958 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37959 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37960 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37961 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37962 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37963 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37964 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37965 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37966 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37967 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37968 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37969 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37970 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37971 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37972 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37973 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37974 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37975 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37976 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37977 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37978 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37979 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37980 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37981 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37982 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37983 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37984 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37985 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37987 (FLT_ROUNDS): Expect as macro, not constant.
37988 (FLT_MANT_DIG): Use macro-int-constant.
37989 (DBL_MANT_DIG): Likewise.
37990 (LDBL_MANT_DIG): Likewise.
37991 (FLT_DIG): Likewise.
37992 (DBL_DIG): Likewise.
37993 (LDBL_DIG): Likewise.
37994 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37995 (DBL_MIN_EXP): Likewise.
37996 (LDBL_MIN_EXP): Likewise.
37997 (FLT_MAX_EXP): Use macro-int-constant.
37998 (DBL_MAX_EXP): Likewise.
37999 (LDBL_MAX_EXP): Likewise.
38000 (FLT_MAX_10_EXP): Likewise.
38001 (DBL_MAX_10_EXP): Likewise.
38002 (LDBL_MAX_10_EXP): Likewise.
38003 (FLT_MAX): Use macro-constant.
38004 (DBL_MAX): Likewise.
38005 (LDBL_MAX): Likewise.
38006 (FLT_EPSILON): Use macro-constant. Give upper bound.
38007 (DBL_EPSILON): Likewise.
38008 (LDBL_EPSILON): Likewise.
38009 (FLT_MIN): Likewise.
38010 (DBL_MIN): Likewise.
38011 (LDBL_MIN): Likewise.
38012 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38013 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38014 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38015 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38016 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38017 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38018 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38019 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38020 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38021 [ISO11] (FLT_TRUE_MIN): Likewise.
38022 [ISO11] (LDBL_TRUE_MIN): Likewise.
38023 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38024 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38025 (SCHAR_MIN): Use macro-int-constant. Specify type.
38026 (SCHAR_MAX): Likewise.
38027 (UCHAR_MAX): Likewise.
38028 (CHAR_MIN): Likewise.
38029 (CHAR_MAX): Likewise.
38030 (MB_LEN_MAX): Use macro-int-constant.
38031 (SHRT_MIN): Use macro-int-constant. Specify type.
38032 (SHRT_MAX): Likewise.
38033 (USHRT_MAX): Likewise.
38034 (INT_MAX): Likewise.
38035 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38037 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38039 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38041 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38042 bound negative. Suffix upper bound with "L".
38043 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38045 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38047 [C99-based standards] (LLONG_MAX): Likewise.
38048 [C99-based standards] (ULLONG_MAX): Likewise.
38049 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38051 [ISO11] (max_align_t): Require type.
38052 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38054 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38055 from $CFLAGS, without defining away __attribute__ calls.
38056 (checknamespace): Use $CFLAGS_namespace.
38058 * conform/conformtest.pl (@keywords): Only include C99 keywords
38059 for standards based on C99 or C11.
38061 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38063 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38066 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38067 usability of symbols in #if.
38069 * conform/conformtest.pl: If macro or constant types start
38070 "promoted:", expect the symbol to be of the following type
38071 promoted by the integer promotions.
38073 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38074 in one place. Also handle "macro-constant".
38076 * conform/conformtest.pl: Only accept expected macro values with
38077 "==". Parse all "macro" lines in one place.
38078 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38080 * conform/conformtest.pl: Handle braced types on "constant" lines
38081 instead of handling "typed-constant".
38082 * conform/data/signal.h-data: Use "constant" instead of
38085 * conform/conformtest.pl: Handle "optional-" at start of lines in
38086 one place rather than duplicating several cases. Handle each
38087 format of "macro" line with initial "optional-".
38089 * conform/conformtest.pl: Only accept expected constant or
38090 optional-constant values with "==". Parse all "constant" lines in
38091 one place. Parse all "optional-constant" lines in one place.
38092 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38093 * conform/data/fmtmsg.h-data: Likewise.
38094 * conform/data/netinet/in.h-data: Likewise.
38095 * conform/data/tar.h-data: Likewise.
38096 * conform/data/limits.h-data: Use "==" form on "constant" and
38097 "optional-constant" lines.
38099 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38100 Use -std=c99 for XOPEN2K.
38101 (@knownproblems): Remove.
38102 (newtoken): Don't check %isknown.
38104 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38105 Do not expect macro.
38106 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38107 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38108 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38109 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38110 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38111 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38112 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38113 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38114 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38115 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38116 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38117 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38118 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38119 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38120 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38121 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38122 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38123 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38124 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38125 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38126 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38127 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38128 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38129 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38130 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38131 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38132 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38133 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38134 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38135 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38136 [XPG3] (acosh): Likewise.
38137 [XPG3] (asinh): Likewise.
38138 [XPG3] (atanh): Likewise.
38139 [XPG3] (cbrt): Likewise.
38140 [XPG3] (expm1): Likewise.
38141 [XPG3] (ilogb): Likewise.
38142 [XPG3] (log1p): Likewise.
38143 [XPG3] (logb): Likewise.
38144 [XPG3] (nextafter): Likewise.
38145 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38146 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38147 [XPG3] (remainder): Likewise.
38148 [XPG3] (rint): Likewise.
38149 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38150 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38151 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38152 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38153 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38154 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38155 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38156 [UNIX98 || XOPEN2K] (scalb): Expect.
38157 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38158 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38159 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38160 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38161 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38162 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38163 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38164 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38165 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38166 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38167 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38168 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38169 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38170 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38171 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38172 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38173 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38174 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38175 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38176 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38177 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38178 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38179 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38180 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38181 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38182 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38183 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38184 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38185 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38186 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38187 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38188 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38189 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38190 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38191 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38192 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38193 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38194 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38195 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38196 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38197 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38198 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38199 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38200 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38201 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38202 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38203 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38204 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38205 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38206 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38207 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38208 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38209 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38210 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38211 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38212 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38213 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38214 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38215 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38216 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38217 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38218 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38219 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38220 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38221 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38222 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38223 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38224 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38225 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38226 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38227 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38228 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38229 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38230 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38231 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38232 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38233 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38234 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38235 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38236 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38237 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38238 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38239 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38240 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38241 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38242 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38243 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38244 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38245 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38246 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38247 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38248 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38249 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38250 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38251 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38252 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38253 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38254 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38255 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38256 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38257 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38258 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38259 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38260 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38261 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38262 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38263 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38264 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38265 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38266 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38267 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38268 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38269 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38270 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38271 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38272 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38273 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38274 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38275 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38276 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38277 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38278 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38279 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38280 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38281 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38282 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38283 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38284 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38285 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38286 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38287 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38288 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38289 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38290 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38291 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38292 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38293 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38295 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38296 _XOPEN_SOURCE_EXTENDED for XPG4.
38298 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38300 * Makeconfig (localtime): Remove variable.
38301 (inst_localtime-file): Likewise.
38303 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38324 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38328 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38329 comparisons to determine direction to adjust input.
38330 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38331 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38332 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38334 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38336 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38338 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38339 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38341 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38343 * math/libm-test.inc (nexttoward_test): Add more tests.
38345 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38348 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38349 in version GLIBC_2.1, not GLIBC_2.0.
38350 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38353 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38356 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38358 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38359 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38360 * math/libm-test.inc (acos_test): Add more tests.
38361 (asin_test): Likewise.
38362 * sysdeps/i386/fpu/libm-test-ulps: Update.
38363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38366 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38368 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38369 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38370 * math/libm-test.inc (acos_test_tonearest): New function.
38371 (acos_test_towardzero): Likewise.
38372 (acos_test_downward): Likewise.
38373 (acos_test_upward): Likewise.
38374 (asin_test_tonearest): Likewise.
38375 (asin_test_towardzero): Likewise.
38376 (asin_test_downward): Likewise.
38377 (asin_test_upward): Likewise.
38378 (main): Call the new functions.
38379 * sysdeps/i386/fpu/libm-test-ulps: Update.
38380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38384 * math/e_exp10.c: Include <float.h>.
38385 (__ieee754_exp10): Handle underflow here rather than multiplying
38386 large negative argument by M_LN10.
38387 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38389 * math/e_exp10l.c: Include <float.h>.
38390 (__ieee754_exp10l): Handle underflow here rather than multiplying
38391 large negative argument by M_LN10l.
38392 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38393 spurious overflow exception on underflow.
38395 2012-04-29 Marek Polacek <polacek@redhat.com>
38397 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38398 (__fortify_function): New macro.
38399 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38400 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38401 __extern_always_inline.
38402 * libio/bits/stdio2.h: Likewise.
38403 * libio/bits/stdio.h: Likewise.
38404 * string/string.h: Likewise.
38405 * string/bits/string3.h: Likewise.
38406 * include/stdio.h: Likewise.
38407 * stdlib/bits/stdlib.h: Likewise.
38408 * stdlib/stdlib.h: Likewise.
38409 * rt/bits/mqueue2.h: Likewise.
38410 * rt/mqueue.h: Likewise.
38411 * posix/bits/unistd.h: Likewise.
38412 * posix/unistd.h: Likewise.
38413 * io/bits/poll2.h: Likewise.
38414 * io/bits/fcntl2.h: Likewise.
38415 * io/fcntl.h: Likewise.
38416 * io/sys/poll.h: Likewise.
38417 * misc/bits/syslog.h: Likewise.
38418 * misc/bits/syslog-ldbl.h: Likewise.
38419 * misc/sys/syslog.h: Likewise.
38420 * socket/bits/socket2.h: Likewise.
38421 * socket/sys/socket.h: Likewise.
38422 * debug/tst-chk1.c: Likewise.
38423 * wcsmbs/bits/wchar2.h: Likewise.
38424 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38425 * wcsmbs/wchar.h: Likewise.
38427 2012-04-29 Andreas Jaeger <aj@suse.de>
38429 * Makerules (tests): Remove enable-check-abi protection.
38430 (check-abi-warn): Remove.
38431 (check-abi-%): Remove check-abi-warn usage.
38433 * configure.in: Remove check-abi configure option.
38434 * configure: Regenerated.
38435 * config.make.in (enable-check-abi): Remove.
38437 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38440 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38441 double functions to double *_finite functions.
38444 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38445 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38447 * stdio-common/Makefile (tests): Add tst-sprintf3.
38448 * stdio-common/tst-sprintf3.c: New file.
38450 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38451 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38453 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38455 * conform/conformtest.pl: Remove duplicate typed-constant
38458 2012-04-28 David S. Miller <davem@davemloft.net>
38460 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38461 (check-abi-%): Remove AWK script prerequisite and explicit
38463 (check-abi): Rewrite to just diff the symlist with the abilist.
38464 (config-tls, config-abi-config): Delete, no longer used.
38465 (update-abi-%): Remove AWK script and explicit abilist directory.
38466 (update-abi): Rewrite to simply compare and conditionally copy the
38467 symlist and the sysdep abilist file. Remove update-abi-config
38469 * abilist/ld.abilist: Remove.
38470 * abilist/libBrokenLocale.abilist: Remove.
38471 * abilist/libanl.abilist: Remove.
38472 * abilist/libcrypt.abilist: Remove.
38473 * abilist/libdl.abilist: Remove.
38474 * abilist/librt.abilist: Remove.
38475 * abilist/libthread_db.abilist: Remove.
38476 * abilist/libutil.abilist: Remove.
38477 * scripts/extract-abilist.awk: Remove.
38478 * scripts/merge-abilist.awk: Remove.
38479 * sysdeps/generic/libcidn.abilist: New file.
38480 * sysdeps/generic/libnss_compat.abilist: New file.
38481 * sysdeps/generic/libnss_db.abilist: New file.
38482 * sysdeps/generic/libnss_dns.abilist: New file.
38483 * sysdeps/generic/libnss_files.abilist: New file.
38484 * sysdeps/generic/libnss_hesiod.abilist: New file.
38485 * sysdeps/generic/libnss_nis.abilist: New file.
38486 * sysdeps/generic/libnss_nisplus.abilist: New file.
38487 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38488 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38489 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38491 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38492 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38493 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38494 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38495 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38496 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38497 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38498 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38499 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38501 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38502 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38503 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38504 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38506 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38507 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38508 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38509 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38510 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38511 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38513 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38514 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38515 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38517 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38620 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38621 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38622 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38624 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38625 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38626 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38627 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38628 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38629 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38630 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38631 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38632 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38633 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38685 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38687 * conform/conformtest.pl: Fix typo in handling typed-constant from
38690 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38692 * README: Cut down references to pre-2.6 Linux kernels and
38693 Linuxthreads. Update lists of configurations in libc and ports
38694 and sort alphabetically. Say "or newer" with Linux kernel version
38697 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38699 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38702 * math/libm-test.inc (logb_test_downward): New test to expose
38703 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38706 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38709 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38711 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38712 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38714 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38716 * sysdeps/unix/i386/brk.S: Remove file.
38717 * sysdeps/unix/i386/dl-brk.S: Likewise.
38718 * sysdeps/unix/i386/pipe.S: Likewise.
38719 * sysdeps/unix/i386/sigreturn.S: Likewise.
38720 * sysdeps/unix/i386/syscall.S: Likewise.
38721 * sysdeps/unix/i386/vfork.S: Likewise.
38722 * sysdeps/unix/i386/wait.S: Likewise.
38724 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38725 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38727 * configure.in (arm*-none*): Do not allow without
38728 --enable-hacker-mode.
38729 (netbsd*): Remove case setting base_os.
38730 (386bsd*): Likewise.
38731 (freebsd*): Likewise.
38734 (sunos*): Likewise.
38735 (ultrix*): Likewise.
38736 (newsos*): Likewise.
38737 (dynix*): Likewise.
38743 (minix*): Likewise.
38744 (irix4*): Likewise.
38745 (irix6*): Likewise.
38746 (solaris[2-9]*): Likewise.
38748 * configure: Regenerated.
38750 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38753 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38754 overflow or cancellation in calculating denominator.
38755 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38756 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38757 down expression to avoid unexpected rounding in newer GCCs.
38758 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38760 2012-04-26 David S. Miller <davem@davemloft.net>
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38763 long-double compat symbols.
38764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38778 2012-04-25 David S. Miller <davem@davemloft.net>
38780 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38781 HWCAP_* values only after the memory barriers have been defined.
38782 (atomic_full_barrier): Define.
38783 (atomic_read_barrier): Define.
38784 (atomic_write_barrier): Define.
38786 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38788 * shlib-versions: Add libgcc_s version information.
38789 * sysdeps/generic/libgcc_s.h: Remove.
38790 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38792 * sysdeps/gnu/unwind-resume.c: Likewise.
38793 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38795 2012-04-25 David S. Miller <davem@davemloft.net>
38797 * sysdeps/unix/sparc/brk.S: Delete.
38798 * sysdeps/unix/sparc/dl-brk.S: Delete.
38799 * sysdeps/unix/sparc/pipe.S: Delete.
38800 * sysdeps/unix/sparc/sysdep.S: Delete.
38801 * sysdeps/unix/sparc/sysdep.h: Delete.
38802 * sysdeps/unix/sparc/vfork.S: Delete.
38803 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38804 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38805 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38806 (ret_ERRVAL, r0, r1, MOVE): Define.
38807 (JUMPTARGET): Remove.
38808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38809 sysdeps/unix/sparc/sysdep.h
38810 (ENTRY, END): Remove.
38811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38813 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38815 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38816 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38819 * timezone/README: Update upstream location and email address for
38821 * timezone/zdump.c: Update from tzcode 2012b.
38822 * timezone/zic.c: Likewise.
38824 * configure.in (libc_cv_as_needed): Remove test.
38825 * configure: Regenerated.
38826 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38827 conditional definition.
38828 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38829 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38830 * config.make.in (have-as-needed): Remove variable.
38832 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38833 Paul Pluzhnikov <ppluzhnikov@google.com>
38835 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38838 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38840 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38841 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38842 * sysdeps/sh/strlen.S: Likewise.
38844 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38846 * sysdeps/unix/fork.S: Remove file.
38847 * sysdeps/unix/i386/fork.S: Likewise.
38848 * sysdeps/unix/sparc/fork.S: Likewise.
38850 * sysdeps/unix/system.c: Remove file.
38851 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38853 * sysdeps/unix/getegid.S: Remove file.
38854 * sysdeps/unix/geteuid.S: Likewise.
38856 2012-04-24 Roland McGrath <roland@hack.frob.com>
38858 * scripts/check-localplt.awk: New file.
38859 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38861 * scripts/data/localplt-generic.data: Add a comment.
38863 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38864 NODE when __dir_mkfile failed.
38865 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38866 Reported by Ludovic Courtès <ludo@gnu.org>.
38868 2012-04-24 Andreas Jaeger <aj@suse.de>
38870 * Makerules (common-clean): Also remove gen-as-const-headers
38873 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38875 * Makerules (native-compile): Do not change working directory for
38876 build. Use $(OUTPUT_OPTION) in command.
38877 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38879 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38882 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38883 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38884 * math/libm-test.inc (floor_test): Add more tests.
38885 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38887 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38889 * sysdeps/unix/getdents.c: Remove file.
38890 * sysdeps/unix/sysv/getdents.c: Likewise.
38891 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38893 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38894 sysdeps/unix/mman/syscalls.list.
38896 (mprotect): Likewise.
38898 (munmap): Likewise.
38899 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38900 * sysdeps/unix/mman/syscalls.list: Remove.
38901 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38903 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38904 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38905 * configure: Regenerated.
38906 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38907 $(libgcc_s_suffix).
38908 * config.make.in (libgcc_s_suffix): Remove variable.
38910 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38912 * sysdeps/unix/sysv/gethostname.c: Move to ...
38913 * sysdeps/posix/gethostname.c: ... here.
38915 * sysdeps/unix/execve.S: Remove file.
38917 * sysdeps/unix/_exit.S: Remove file.
38919 2012-04-23 Andreas Jaeger <aj@suse.de>
38922 * manual/Makefile: Remove make dist support, there's no
38923 need for a stand-alone documentation tar ball.
38924 (TEXI2DVI): Define always, it's not in Makeconfig.
38927 (edition): Removed.
38928 (glibc-doc-$(edition).tar): Removed
38932 (ETAGS): Remove, it's in Makeconfig.
38933 (move-if-change): Remove, it's in Makeconfig.
38935 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38938 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38939 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38940 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38941 (strtod_l, strtof_l, strtold_l): Remove __wur.
38942 It is not necessarily an error to ignore strtol's return value.
38943 One can reliably look at the stored endptr to decide whether
38944 the number had valid syntax.
38946 2012-04-21 Andreas Jaeger <aj@suse.de>
38949 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38951 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38953 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38954 * sysdeps/unix/sysv/Versions: Remove file.
38956 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38961 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38964 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38965 version from __vm86.
38967 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38969 * sysdeps/unix/common/lxstat.c: Remove file.
38970 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38972 * sysdeps/unix/sysv/Makefile: Remove file.
38974 * sysdeps/unix/sysv/direct.h: Remove file.
38976 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38977 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38978 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38979 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38980 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38981 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38982 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38984 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38986 * sysdeps/unix/xmknod.c: Remove file.
38987 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38989 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38991 * sysdeps/unix/sysv/i386/time.S: Remove file.
38993 * sysdeps/unix/fxstat.c: Remove file.
38994 * sysdeps/unix/xstat.c: Likewise.
38995 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38997 * sysdeps/unix/sysv/sigaction.c: Remove file.
38999 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39000 (sysdep_headers): Remove variable.
39001 [termio.h not in sysdep_headers] (generated): Likewise.
39002 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39003 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39004 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39005 * sysdeps/unix/sysv/tcflow.c: Likewise.
39006 * sysdeps/unix/sysv/tcflush.c: Likewise.
39007 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39008 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39009 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39010 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39011 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39013 * sysdeps/unix/siglist.c: Remove file.
39015 * sysdeps/unix/getppid.S: Remove file.
39017 * sysdeps/unix/mkdir.c: Remove file.
39018 * sysdeps/unix/rmdir.c: Likewise.
39020 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39022 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39024 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39025 errlist-compat value.
39027 2012-04-18 David S. Miller <davem@davemloft.net>
39029 * sysdeps/generic/memcopy.h (reg_char): Delete.
39030 * debug/strcat_chk.c: Use char, not reg_char.
39031 * debug/strcpy_chk.c: Likewise.
39032 * debug/strncat_chk.c: Likewise.
39033 * debug/strncpy_chk.c: Likewise.
39034 * string/memchr.c: Likewise.
39035 * string/memrchr.c: Likewise.
39036 * string/rawmemchr.c: Likewise.
39037 * string/strcat.c: Likewise.
39038 * string/strchr.c: Likewise.
39039 * string/strchrnul.c: Likewise.
39040 * string/strcmp.c: Likewise.
39041 * string/strcpy.c: Likewise.
39042 * string/strncat.c: Likewise.
39043 * string/strncmp.c: Likewise.
39044 * string/strncpy.c: Likewise.
39046 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39048 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39049 __builtin_memcopy is called when src and dest ranges are known to not
39052 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39055 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39056 fwd_align_merge macro call.
39057 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39058 bwd_align_merge macro call.
39059 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39061 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39063 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39064 bwd_align_merge macros.
39065 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39066 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39067 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39069 2012-04-18 David S. Miller <davem@davemloft.net>
39071 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39073 2012-04-18 Andreas Jaeger <aj@suse.de>
39076 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39077 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39078 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39080 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39081 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39082 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39084 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39085 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39086 Adjust for changed ldbl-128 files.
39088 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39089 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39090 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39092 2012-04-17 David S. Miller <davem@davemloft.net>
39094 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39096 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39098 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39099 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39100 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39101 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39102 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39103 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39105 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39108 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39109 * math/libm-test.inc: Add ilogb errno and exception tests.
39110 * math/w_ilogb.c: New file: ilogb wrapper.
39111 * math/w_ilogbf.c: New file: ilogbf wrapper.
39112 * math/w_ilogbl.c: New file: ilogbl wrapper.
39113 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39114 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39115 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39116 exception being thrown with 0.0 as argument.
39117 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39118 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39119 exception being thrown with 0.0 as argument.
39120 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39121 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39122 exception being thrown with 0.0 as argument.
39123 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39124 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39125 exception being thrown with 0.0 as argument.
39126 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39127 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39128 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39129 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39130 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39131 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39132 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39133 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39134 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39136 2012-04-17 Petr Baudis <pasky@ucw.cz>
39138 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39141 2012-04-16 Marek Polacek <polacek@redhat.com>
39143 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39145 2012-04-16 Marek Polacek <polacek@redhat.com>
39147 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39148 operands of fdivp instruction.
39150 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39152 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39153 * elf/tst-auditmod3b.c: Likewise.
39154 * elf/tst-auditmod4b.c: Likewise.
39155 * elf/tst-auditmod5b.c: Likewise.
39156 * elf/tst-auditmod6b.c: Likewise.
39157 * elf/tst-auditmod6c.c: Likewise.
39158 * elf/tst-auditmod7b.c: Likewise.
39159 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39160 * sysdeps/x86_64/preconfigure.in: Likewise.
39161 * sysdeps/x86_64/preconfigure: Regenerated.
39163 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39165 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39168 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
39170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39171 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39173 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39176 * locale/iso-639.def: Fix gl language name. Spotted by
39179 2012-04-12 Roland McGrath <roland@hack.frob.com>
39182 * libio/libio.h (__io_write_fn): Update comment.
39184 2012-04-12 Petr Baudis <pasky@ucw.cz>
39187 * stdio.texi (Hook Functions): The user provided writer function
39188 is not allowed to return -1.
39190 2012-04-11 David S. Miller <davem@davemloft.net>
39192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39194 2012-04-11 Mike Frysinger <vapier@gentoo.org>
39196 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39197 Add a leading slash to rtkaio.
39199 2012-04-11 Jim Meyering <meyering@redhat.com>
39202 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39203 It is not necessarily an error to ignore fwrite's return
39204 value. One can reliably use ferror to test for errors after
39207 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39209 * bits/types.h (__snseconds_t): New type.
39210 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39212 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39214 (__SNSECONDS_T_TYPE): Likewise.
39215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39216 (__SNSECONDS_T_TYPE): Likewise.
39217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39218 (__SNSECONDS_T_TYPE): Likewise.
39220 2012-04-10 Andreas Jaeger <aj@suse.de>
39223 * manual/time.texi (Processor Time): Return type of times is
39224 elapsed real time since an arbitrary point in the past.
39225 (CPU Time): Move CLK_TCK from here...
39226 (Processor Time): ...to here. Correct description.
39227 * manual/conf.texi (Constants for Sysconf): Correct description of
39230 2012-04-10 David S. Miller <davem@davemloft.net>
39233 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39234 where the is a gap between DT_REL(A) and DT_JMPREL.
39236 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39238 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39239 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39240 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39242 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39244 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39245 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39246 (dl_main): Handle --inhibit-cache.
39247 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39249 * elf/dl-load.c (_dl_map_object): Use it.
39250 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39252 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39255 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39256 (__ieee754_powl): Saturate large exponents rather than testing for
39257 overflow of y*log2(x).
39258 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39259 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39263 * math/s_ctan.c: Include <float.h>.
39264 (__ctan): Avoid internal overflow or cancellation in calculating
39266 * math/s_ctanf.c: Likewise.
39267 * math/s_ctanl.c: Likewise.
39268 * math/s_ctanh.c: Likewise.
39269 * math/s_ctanhf.c: Likewise.
39270 * math/s_ctanhl.c: Likewise.
39271 * math/libm-test.inc (ctan_test): Add more tests.
39272 (ctanh_test): Likewise.
39273 * sysdeps/i386/fpu/libm-test-ulps: Update.
39274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39276 2012-04-09 Andreas Jaeger <aj@suse.de>
39279 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39280 is an optional BSD extension.
39283 * manual/stdio.texi (Opening Streams): Document additional fopen
39286 2012-04-09 Roland McGrath <roland@hack.frob.com>
39288 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39289 %eax without telling the compiler.
39291 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39294 * manual/install.texi: Use sourceware.org.
39296 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39299 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39300 (__ieee754_pow): Generate overflow and underflow using huge*huge
39301 and tiny*tiny rather than just returning constant infinity or zero
39302 for large exponents.
39303 * math/libm-test.inc (pow_test): Require overflow exceptions for
39304 applicable cases of large exponents.
39307 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39308 (__ieee754_pow): Use iterative multiplication algorithm only for
39309 integer exponents with absolute value below 1024. Check for odd
39310 integer exponents when using algorithm for real exponents.
39311 * math/libm-test.inc (pow_test): Add more tests.
39312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39314 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39317 * math/libm-test.inc (exp_test): Do not allow overflow exception
39320 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39323 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39324 instead of __kernel_standard_f.
39326 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39328 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39329 * sysdeps/x86_64/memset_chk.S: Likewise.
39331 2012-04-08 Andreas Jaeger <aj@suse.de>
39334 * manual/startup.texi (Environment Access): Describe return value
39335 for putenv and setenv.
39338 * manual/filesys.texi (Directory Entries): Add description for
39342 * manual/filesys.texi (Directory Entries): Clarify that it's file
39343 system not operating system in the description of DT_UNKNOWN.
39346 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39348 2012-04-08 Stephen Compall <s11@member.fsf.org>
39351 * manual/llio.texi (Opening and Closing Files): Add cross
39352 reference to explain mode argument.
39354 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39356 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39357 * sysdeps/x86_64/memset_chk.S: Likewise.
39359 2012-04-07 David S. Miller <davem@davemloft.net>
39361 * elf/elf.h (R_SPARC_WDISP10): Define.
39362 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39364 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39365 R_SPARC_SIZE64 and R_SPARC_H34.
39367 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39369 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39370 conditions and remove no longer applicable assertion.
39372 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39374 * bits/byteswap.h: Include <features.h>.
39375 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39376 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39378 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39380 * bits/byteswap.h (__bswap_16): Removed.
39381 Include <bits/byteswap-16.h> to get __bswap_16.
39382 * sysdeps/i386/bits/byteswap.h: Likewise.
39383 * sysdeps/s390/bits/byteswap.h: Likewise.
39384 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39385 * bits/byteswap-16.h: New file.
39386 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39387 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39388 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39389 * string/Makefile (headers): Add bits/byteswap-16.h.
39391 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39394 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39396 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39397 * nss/tst-nss-static.c: New.
39399 2012-04-06 Robert Millan <rmh@gnu.org>
39402 * manual/llio.texi (File Position Primitive): lseek
39403 refers to WHENCE when it really means OFFSET.
39405 2012-04-06 Andreas Jaeger <aj@suse.de>
39407 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39408 strncmp declarations.
39410 * abilist/libc.abilist: Add __poll and __ppoll.
39412 2012-04-05 David S. Miller <davem@davemloft.net>
39414 * scripts/check-local-headers.sh: Accept a host triplet in the
39415 path matched by the exclude regexp.
39417 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39419 * sysdeps/powerpc/powerpc32/dl-machine.h
39420 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39421 * sysdeps/s390/s390-32/dl-machine.h
39422 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39423 * sysdeps/sparc/sparc32/dl-machine.h
39424 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39425 * sysdeps/sparc/sparc64/dl-machine.h
39426 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39428 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39430 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39431 undefined symbol errors.
39433 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39436 2012-04-05 Michael Matz <matz@suse.de>
39439 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39441 2012-04-05 Andreas Jaeger <aj@suse.de>
39444 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39447 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39449 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39450 which ROUND is no valid rounding mode.
39452 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39454 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39456 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39458 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39460 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39461 an exception using FPU order intentionally.
39463 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39465 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39466 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39467 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39468 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39470 2012-04-05 Simon Josefsson <simon@josefsson.org>
39473 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39474 EINVAL when BUFLEN is too smal.
39476 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39479 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39480 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39482 2012-04-03 Andreas Jaeger <aj@suse.de>
39485 * manual/setjmp.texi (System V contexts): Fix sentence.
39488 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39489 New macro for this case.
39490 [!__GNUC__] (__bswap_64): New inline function for this case.
39491 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39492 * bits/byteswap.h: Likewise.
39493 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39494 ull, guard with __GLIBC_HAVE_LONG_LONG.
39496 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39497 __GLIBC_HAVE_LONG_LONG.
39499 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39500 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39502 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39505 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39506 inptr and inend, rather than using last_ch.
39508 2012-04-02 David S. Miller <davem@davemloft.net>
39510 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39511 * stdio-common/printf-parse.h (read_int): Change return type to
39512 'int', return -1 on INT_MAX overflow.
39513 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39514 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39515 overflows INT_MAX. Check for overflow of in-format-string precision
39516 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39517 SIZE_MAX not INT_MAX for integer overflow test.
39518 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39519 skip the construct in the format string but do not record anything.
39520 * stdio-common/bug22.c: Adjust to test both width/prevision
39521 INT_MAX overflow as well as total length INT_MAX overflow. Check
39522 explicitly for proper errno values.
39524 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39526 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39528 * string/test-strcmp.c [! WIDE]: Likewise.
39529 * time/tst-mktime2.c: Likewise for INT_MAX.
39530 * string/test-string.h: #include <sys/param.h> for MIN.
39532 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39533 * sysdeps/i386/init-first.c (init): Likewise.
39534 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39535 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39536 * sysdeps/sh/init-first.c (init): Likewise.
39538 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39540 * po/ru.po: Update from translation team.
39541 * po/vi.po: Likewise.
39543 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39545 * resolv/nss_dns/dns-host.c: Merge copyright years.
39547 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39549 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39550 Optimize memcpy with prefetch if
39551 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39552 src, dst pointers have unequal 16 byte alignments.
39554 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39557 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39558 from a CNAME entry and return the minimum ttl for the query.
39559 (gaih_getanswer_slice): Likewise.
39561 2012-03-30 Jeff Law <law@redhat.com>
39563 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39565 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39566 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39568 * resolv/nss_dns/dns-host.c: Update copyright year.
39570 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39572 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39573 requests to save a system call. Fix check that all bytes are sent.
39575 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39576 comments for sendmmsg.
39578 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39581 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39582 with only 1 character between 0x0041 and 0x01b0.
39583 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39584 * wcsmbs/tst-mbsnrtowcs.c: New file.
39586 2012-03-29 David S. Miller <davem@davemloft.net>
39588 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39589 small copies by hand.
39591 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39594 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39595 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39598 2012-03-28 David S. Miller <davem@davemloft.net>
39600 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39601 that branches into memcpy.
39602 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39604 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39605 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39606 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39608 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39609 implementation too.
39610 * sysdeps/sparc/mempcpy.S: New file.
39612 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39613 the IFUNC routine in the libc case.
39614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39616 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39617 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39618 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39619 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39620 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39621 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39622 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39623 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39625 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39626 loop to 256 bytes instead of 64 bytes and fix test signedness.
39628 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39629 * sysdeps/sparc/sparc32/Makefile: rather than here...
39630 * sysdeps/sparc/sparc64/Makefile: and here.
39632 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39634 * malloc/mallocbug.c: Avoid warnings about unused variables.
39636 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39639 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39640 in the right place. Discard and retry query if response is
39641 larger than input buffer size.
39643 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39648 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39649 x for large integer exponent.
39650 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39651 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39652 sign of result as needed afterwards.
39653 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39654 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39655 result for underflowing pow the same as for overflow.
39656 (__kernel_standard_l): Handle powl overflow and underflow here
39657 rather than calling __kernel_standard.
39658 * math/libm-test.inc (pow_test): Add more tests.
39673 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39674 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39675 (__kernel_standard_l): New function.
39676 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39678 * math/w_acosl.c (__acosl): Likewise.
39679 * math/w_asinl.c (__asinl): Likewise.
39680 * math/w_atan2l.c (__atan2l): Likewise.
39681 * math/w_atanhl.c (__atanhl): Likewise.
39682 * math/w_coshl.c (__coshl): Likewise.
39683 * math/w_exp10l.c (__exp10l): Likewise.
39684 * math/w_exp2l.c (__exp2l): Likewise.
39685 * math/w_fmodl.c (__fmodl): Likewise.
39686 * math/w_hypotl.c (__hypotl): Likewise.
39687 * math/w_j0l.c (__j0l, __y0l): Likewise.
39688 * math/w_j1l.c (__j1l, __y1l): Likewise.
39689 * math/w_jnl.c (__jnl, __ynl): Likewise.
39690 * math/w_lgammal.c (__lgammal): Likewise.
39691 * math/w_log10l.c (__log10l): Likewise.
39692 * math/w_log2l.c (__log2l): Likewise.
39693 * math/w_logl.c (__logl): Likewise.
39694 * math/w_powl.c (__powl): Likewise.
39695 * math/w_remainderl.c (__remainderl): Likewise.
39696 * math/w_scalbl.c (sysv_scalbl): Likewise.
39697 * math/w_sinhl.c (__sinhl): Likewise.
39698 * math/w_sqrtl.c (__sqrtl): Likewise.
39699 * math/w_tgammal.c (__tgammal): Likewise.
39700 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39701 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39702 * math/libm-test.inc (acos_test): Add more tests.
39703 (acosh_test): Likewise.
39704 (asin_test): Likewise.
39705 (atanh_test): Likewise.
39706 (exp_test): Likewise.
39707 (exp10_test): Likewise.
39708 (exp2_test): Likewise.
39709 (expm1_test): Likewise.
39710 (lgamma_test): Likewise.
39711 (log_test): Likewise.
39712 (log10_test): Likewise.
39713 (log1p_test): Likewise.
39714 (log2_test): Likewise.
39715 (pow_test): Do not allow some spurious overflow exceptions.
39716 (sqrt_test): Add more tests.
39717 (tgamma_test): Likewise.
39718 (y0_test): Likewise.
39719 (y1_test): Likewise.
39720 (yn_test): Likewise.
39722 2012-03-27 Anton Blanchard <anton@samba.org>
39724 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39726 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39730 2012-03-27 David S. Miller <davem@davemloft.net>
39732 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39734 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39735 have-as-vis3 check.
39737 2012-03-27 Andreas Jaeger <aj@suse.de>
39739 * sysdeps/x86_64/elf/configure.in: Moved to ...
39740 * sysdeps/x86_64/configure.in: ... here.
39741 * sysdeps/x86_64/elf/start.S: Moved to ...
39742 * sysdeps/x86_64/start.S: ... here.
39743 * sysdeps/x86_64/elf/configure: Delete.
39745 * sysdeps/x86_64/configure.in: Merge contents from
39746 sysdeps/i386/configure.in (without i686 check).
39748 * sysdeps/i386/elf/Versions: Merge into ...
39749 * sysdeps/i386/Versions: ... this.
39750 * sysdeps/i386/elf/Versions: Delete file.
39751 * sysdeps/i386/elf/start.S: Moved to ...
39752 * sysdeps/i386/start.S: ...here.
39753 * sysdeps/i386/elf/configure.in: Merge into...
39754 * sysdeps/i386/configure.in: ...here.
39755 * sysdeps/i386/elf/configure.in: Delete file.
39756 * sysdeps/i386/elf/configure: Delete file.
39758 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39759 * debug/backtracesyms.c: ... here.
39760 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39761 * debug/backtracesymsfd.c: ... here.
39762 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39763 * sysdeps/generic/ifunc-sel.h: ... here.
39765 * sysdeps/unix/i386/start.c: Delete file.
39766 * sysdeps/unix/sparc/start.c: Delete file.
39767 * sysdeps/unix/start.c: Delete file.
39769 * sysdeps/sh/elf/configure.in: Moved to ...
39770 * sysdeps/sh/configure.in: ... here.
39771 * sysdeps/sh/elf/start.S: Moved to ...
39772 * sysdeps/sh/start.S: ... here.
39773 * sysdeps/sh/elf/configure: Delete file.
39775 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39776 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39777 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39778 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39779 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39780 * sysdeps/powerpc/powerpc64/start.S: here.
39781 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39782 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39783 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39784 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39785 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39787 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39788 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39789 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39790 * sysdeps/powerpc/powerpc32/start.S: ... here.
39791 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39792 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39793 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39795 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39796 * sysdeps/powerpc/ifunc-sel.h: ... here.
39797 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39798 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39800 * sysdeps/sparc/elf/configure.in: Moved to ...
39801 * sysdeps/sparc/configure.in: ... here.
39802 * sysdeps/sparc/elf/configure: Delete file.
39803 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39804 * sysdeps/sparc/sparc32/start.S: ... here.
39805 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39806 * sysdeps/sparc/sparc64/start.S: ... here.
39807 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39808 * sysdeps/sparc/sparc32/Makefile: ... this.
39809 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39810 * sysdeps/sparc/sparc64/Makefile: ... this.
39812 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39813 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39814 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39815 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39816 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39817 * sysdeps/s390/s390-32/setjmp.S: ... here.
39818 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39819 * sysdeps/s390/s390-32/configure.in: ... here.
39820 * sysdeps/s390/s390-32/elf/configure: Delete file.
39821 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39822 * sysdeps/s390/s390-32/start.S: ... here.
39824 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39825 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39826 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39827 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39828 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39829 * sysdeps/s390/s390-64/setjmp.S: ... here.
39830 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39831 * sysdeps/s390/s390-64/configure.in: ... here
39832 * sysdeps/s390/s390-64/elf/configure: Delete file.
39833 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39834 * sysdeps/s390/s390-64/start.S: ... here.
39835 * sysdeps/s390/s390-64/elf/configure: Delete.
39837 * configure.in: Remove support for elf directories in sysdeps.
39839 * configure: Regenerated.
39840 * sysdeps/i386/configure: Regenerated.
39841 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39842 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39843 * sysdeps/s390/s390-32/configure: Regenerated.
39844 * sysdeps/s390/s390-64/configure: Regenerated.
39845 * sysdeps/sh/configure: Regenerated.
39846 * sysdeps/sparc/configure: Regenerated.
39847 * sysdeps/x86_64/configure: Regenerated.
39849 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39854 denormal result into account.
39856 2012-03-25 Roland McGrath <roland@hack.frob.com>
39858 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39859 Reported by Allan McRae <allan@archlinux.org>.
39861 2012-03-23 Jeff Law <law@redhat.com>
39863 * nss/getnssent.c (__nss_getent): Fix typo.
39865 2012-03-23 David S. Miller <davem@davemloft.net>
39867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39869 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39871 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39872 to pad to uint64_t for each field.
39873 (dl_tls_index): Replace unsigned long with uint64_t.
39875 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39876 Paul Pluzhnikov <ppluzhnikov@google.com>
39879 * grp/Makefile (otherlibs): Don't set it.
39880 * inet/Makefile (otherlibs): Likewise.
39881 * login/Makefile (otherlibs): Likewise.
39882 * nscd/Makefile (otherlibs): Likewise.
39883 * posix/Makefile (otherlibs): Likewise.
39884 * pwd/Makefile (otherlibs): Likewise.
39885 * rt/Makefile (otherlibs): Likewise.
39886 * sunrpc/Makefile (otherlibs): Likewise.
39887 * nss/Makefile (otherlibs): Likewise.
39888 Add libnss_files to routines and static-only-routines.
39889 ($(objpfx)getent): Remove rule.
39890 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39891 static-only-routines.
39893 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39896 * math/s_cexp.c: Include <float.h>.
39897 (__cexp): Handle exp result overflowing not necessarily
39898 overflowing both real and imaginary parts of result.
39899 * math/s_cexpf.c: Likewise.
39900 * math/s_cexpl.c: Likewise.
39901 * math/libm-test.inc (cexp_test): Add more tests.
39902 * sysdeps/i386/fpu/libm-test-ulps: Update.
39903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39905 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39907 * include/link.h (ELFW): New macro.
39908 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39909 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39911 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39913 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39916 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39918 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39920 (struct La_x32_retval): Likewise.
39922 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39924 * sysdeps/x86_64/preconfigure.in: New file.
39925 * sysdeps/x86_64/preconfigure: New generated file.
39927 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39930 * math/e_exp2l.c: Include <float.h>.
39931 (__ieee754_exp2l): Handle overflow and underflow cases
39932 separately. Only pass fractional part of argument to
39934 * math/libm-test.inc (exp2_test): Add more tests.
39936 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39937 negating x to take absolute value.
39938 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39940 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39941 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39943 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39944 computing low part if x was negated.
39945 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39947 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39949 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39950 la_x32_gnu_pltexit.
39951 (pltexit): Cast int_retval to ptrdiff_t.
39952 * elf/tst-auditmod3b.c: Likewise.
39953 * elf/tst-auditmod4b.c: Likewise.
39954 * elf/tst-auditmod5b.c: Likewise.
39955 * elf/tst-auditmod6b.c: Likewise.
39956 * elf/tst-auditmod6c.c: Likewise.
39957 * elf/tst-auditmod7b.c: Likewise.
39959 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39960 and x32_gnu_pltexit.
39962 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39963 __ELF_NATIVE_CLASS.
39964 (La_x32_regs): New macro.
39965 (La_x32_retval): Likewise.
39966 (la_x32_gnu_pltenter): New function prototype.
39967 (la_x32_gnu_pltexit): Likewise.
39969 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39976 * configure.in (libc_cv_cc_nofma): Check for option to disable
39977 generation of FMA instructions.
39978 * configure: Regenerate.
39979 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39980 * sysdeps/ieee754/dbl-64/Makefile: New file.
39981 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39982 Remove brandred-fma4.
39983 (CFLAGS-brandred-fma4.c): Remove.
39984 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39987 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39990 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39992 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39993 LLONG_MAX != LONG_MAX.
39994 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39995 (_fitoa_word): Likewise.
39996 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39997 LLONG_MAX != LONG_MAX.
39998 * stdio-common/_itowa.h: Include <_itoa.h>.
39999 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40000 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40001 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40002 only if not defined.
40003 (_ITOA_WORD_TYPE): Likewise.
40004 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40005 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40007 2012-03-21 David S. Miller <davem@davemloft.net>
40009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40011 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40013 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40014 of x86_64 when setting libc_cv_slibdir, libdir and
40016 * sysdeps/unix/sysv/linux/configure: Regenerated.
40018 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40020 * manual/lang.texi (Old Varargs): Remove section.
40021 (How Variadic): Update menu.
40022 (va_start): Do not mention varargs.h.
40024 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40025 Joseph Myers <joseph@codesourcery.com>
40027 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40029 * configure: Regenerated.
40031 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40033 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40034 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40037 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40040 * Makefile (files-for-dist): Remove NOTES.
40041 (NOTES): Remove rule.
40042 * README: Don't refer to NOTES.
40043 * manual/creature.texi: Don't include macros.texi.
40044 * manual/intro.texi (creature.texi): Remove comment referring to
40047 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40048 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40049 * configure: Regenerated.
40050 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40051 LIBC_TRY_CC_OPTION.
40052 (libc_cv_as_i686): Likewise.
40053 (libc_cv_cc_avx): Likewise.
40054 (libc_cv_cc_sse2avx): Likewise.
40055 (libc_cv_cc_fma4): Likewise.
40056 (libc_cv_cc_novzeroupper): Likewise.
40057 * sysdeps/i386/configure: Regenerated.
40060 * sysdeps/i386/fpu/s_cexp.S: Remove.
40061 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40062 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40063 * math/libm-test.inc (cexp_test): Add more tests.
40064 * sysdeps/i386/fpu/libm-test-ulps: Update.
40065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40067 2012-03-21 Allan McRae <allan@archlinux.org>
40069 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40071 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40074 * math/w_exp2.c: Do not include <float.h>.
40075 (o_threshold, u_threshold): Remove.
40076 (__exp2): Calculate result before checking finiteness and calling
40078 * math/w_exp2f.c: Likewise.
40079 * math/w_exp2l.c: Likewise.
40080 * math/libm-test.inc (exp2_test): Require overflow exception for
40084 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40085 range of signed 64-bit integers before using fistpll. Remove
40086 checks for whether integers fit in mantissa bits.
40087 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40088 the range of signed 32-bit integers before using fistpl. Remove
40089 checks for whether integers fit in mantissa bits.
40090 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40091 (__ieee754_powl): Test for y outside the range of signed 64-bit
40092 integers before using fistpll. Reduce 64-bit values to 63-bit
40094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40095 divide-by-zero is raised for zero to large negative powers.
40096 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40097 (__ieee754_powl): Test for y outside the range of signed 64-bit
40098 integers before using fistpll. Reduce 64-bit values to 63-bit
40100 * math/libm-test.inc (pow_test): Add more tests.
40102 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40104 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40105 <stdio-common/_itoa.h>.
40106 * debug/segfault.c: Likewise.
40107 * elf/dl-cache.c: Likewise.
40108 * elf/dl-minimal.c: Likewise.
40109 * elf/dl-misc.c: Likewise.
40110 * elf/dl-sysdep.c: Likewise.
40111 * elf/dl-version.c: Likewise.
40112 * elf/rtld.c: Likewise.
40113 * hurd/hurdsock.c: Likewise.
40114 * hurd/lookup-retry.c: Likewise.
40115 * malloc/malloc.c: Likewise.
40116 * malloc/mtrace.c: Likewise.
40117 * nscd/nscd_getgr_r.c: Likewise.
40118 * nscd/nscd_getpw_r.c: Likewise.
40119 * nscd/nscd_getserv_r.c: Likewise.
40120 * posix/getopt_init.c: Likewise.
40121 * posix/wordexp.c: Likewise.
40122 * stdio-common/_itoa.c: Likewise.
40123 * stdio-common/printf_fphex.c: Likewise.
40124 * stdio-common/vfprintf.c: Likewise.
40125 * string/_strerror.c: Likewise.
40126 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40127 * sysdeps/i386/i686/hp-timing.h: Likewise.
40128 * sysdeps/mach/_strerror.c: Likewise.
40129 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40130 * sysdeps/mach/hurd/sethostid.c: Likewise.
40131 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40132 * sysdeps/mach/xpg-strerror.c: Likewise.
40133 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40134 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40135 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40136 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40137 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40138 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40139 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40140 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40141 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40142 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40143 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40144 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40145 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40146 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40147 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40148 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40149 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40150 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40151 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40152 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40153 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40155 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40157 * stdio-common/_itoa.h: Moved to ...
40158 * sysdeps/generic/_itoa.h: Here.
40160 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40162 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40163 instead of "_itoa.h" and "_itowa.h".
40164 * stdio-common/vfprintf.: Likewise.
40166 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40168 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40170 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40171 (__signbit): Likwise.
40172 (llrintf): Likwise.
40175 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40177 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40180 2012-03-20 Joseph Myers <joseph@codesourcery.com>
40182 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40183 OVERFLOW_EXCEPTION_OK.
40184 * math/libm-test.inc ("Philosophy"): Update comment about
40186 (OVERFLOW_EXCEPTION): Define.
40187 (OVERFLOW_EXCEPTION_OK): Likewise.
40188 (INVALID_EXCEPTION_OK): Renumber.
40189 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40190 (IGNORE_ZERO_INF_SIGN): Likewise.
40191 (test_exceptions): Handle FE_OVERFLOW.
40192 (exp10_test): Expect overflow exceptions.
40193 (exp2_test): Likewise.
40194 (expm1_test): Likewise.
40195 (nextafter_test): Likewise.
40196 (pow_test): Likewise.
40197 (scalbn_test): Likewise.
40198 (scalbln_test): Likewise.
40200 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40202 * sysdeps/x86_64/bits/atomic.h
40203 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40205 (atomic_exchange_acq): Likewise.
40206 (__arch_exchange_and_add_body): Likewise.
40207 (__arch_add_body): Likewise.
40208 (atomic_add_negative): Likewise.
40209 (atomic_add_zero): Likewise.
40211 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40213 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40214 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40216 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40218 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40219 Check __x86_64__ instead of __WORDSIZE.
40221 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40223 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40225 2012-03-19 David S. Miller <davem@davemloft.net>
40227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40229 * sysdeps/sparc/fpu/fenv_private.h: New file.
40230 * sysdeps/sparc/fpu/math_private.h: Use it.
40231 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40233 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40234 (libc_feholdexcept_setroundl): Remove.
40235 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40237 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40238 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40240 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40242 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40243 int64_t instead of long int.
40244 (INSERT_WORDS64): Likwise.
40246 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40248 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40249 _Unwind_GetCFA return to _Unwind_Ptr first.
40251 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40254 * math/s_clog.c: Include <float.h>.
40255 (__clog): Scale large or subnormal inputs.
40256 * math/s_clogf.c: Likewise.
40257 * math/s_clogl.c: Likewise.
40258 * math/s_clog10.c: Include <float.h>.
40259 (M_LOG10_2): Define.
40260 (__clog10): Scale large or subnormal inputs.
40261 * math/s_clog10f.c: Likewise.
40262 * math/s_clog10l.c: Likewise.
40263 * math/libm-test.inc (clog_test): Add more tests.
40264 (clog10_test): Likewise.
40265 * sysdeps/i386/fpu/libm-test-ulps: Update.
40266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40269 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40271 * math/libm-test.inc (atan2_test): Add another test.
40273 * Makerules (common-objdir-compile): Remove.
40274 * sysdeps/unix/Makefile (config-generated): Do not add
40275 $(unix-generated) to variable.
40276 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40277 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40279 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40281 [generic bits/local_lim.h] (before-compile): Do not append to
40283 [generic bits/local_lim.h] (common-generated): Likewise.
40284 [generic sys/param.h] (before-compile): Do not append to variable.
40285 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40286 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40287 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40288 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40290 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40291 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40292 [generic sys/param.h] ($(addprefix
40293 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40294 [generic sys/param.h] (common-generated): Do not append to
40296 [generic sys/param.h] (sysdep_headers): Likewise.
40297 [generic bits/errno.h] (before-compile): Do not append to
40299 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40301 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40302 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40303 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40304 [generic bits/errno.h] (common-generated): Do not append to
40306 [generic bits/ioctls.h] (before-compile): Do not append to
40308 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40310 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40311 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40312 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40314 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40315 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40316 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40317 [generic bits/ioctls.h] (common-generated): Do not append to
40319 [generic sys/syscall.h] (syscall.h): Remove variable.
40320 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40322 [generic sys/syscall.h] (before-compile): Do not append to
40324 [generic sys/syscall.h] (common-generated): Likewise.
40325 * sysdeps/unix/errnos-tmpl.c: Remove file.
40326 * sysdeps/unix/errnos.awk: Likewise.
40327 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40328 * sysdeps/unix/ioctls.awk: Likewise.
40329 * sysdeps/unix/mk-local_lim.c: Likewise.
40330 * sysdeps/unix/snarf-ioctls: Likewise.
40332 2012-03-19 Richard Henderson <rth@twiddle.net>
40334 * sysdeps/i386/fpu/fenv_private.h: New file.
40335 * sysdeps/i386/fpu/math_private.h: Use it.
40336 (math_opt_barrier, math_force_eval): Remove.
40337 (libc_feholdexcept_setround_53bit): Remove.
40338 (libc_feupdateenv_53bit): Remove.
40339 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40340 (math_opt_barrier, math_force_eval): Remove.
40341 (libc_feholdexcept): Remove.
40342 (libc_feholdexcept_setround): Remove.
40343 (libc_fetestexcept, libc_fesetenv): Remove.
40344 (libc_feupdateenv_test): Remove.
40345 (libc_feupdateenv, libc_feholdsetround): Remove.
40346 (libc_feresetround): Remove.
40348 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40349 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40351 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40352 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40353 (libc_feupdateenv_testl): New.
40354 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40355 (libc_feupdateenv_testf): New.
40356 (libc_feupdateenv): Use libc_feupdateenv_test.
40357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40358 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40360 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40361 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40362 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40363 (libc_feresetround_noex): New.
40364 (libc_feresetround_noexf): New.
40365 (libc_feresetround_noexl): New.
40366 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40367 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40368 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40369 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40372 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40374 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40375 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40376 SET_RESTORE_ROUND_NOEX.
40377 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40378 SET_RESTORE_ROUND_NOEXF.
40379 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40380 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40381 (libc_feholdsetroundf): New.
40382 (libc_feresetround, libc_feresetroundf): New.
40384 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40385 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40386 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40388 * sysdeps/generic/math_private.h: Include <fenv.h>.
40389 (default_libc_feholdexcept): New.
40390 (default_libc_feholdexcept_setround): New.
40391 (default_libc_fesetenv, default_libc_feupdateenv): New.
40392 (libc_feholdexcept): Only define if undefined.
40393 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40394 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40395 (libc_feholdexcept_setroundl): Likewise.
40396 (libc_feholdexcept_setround_53bit): Likewise.
40397 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40398 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40399 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40400 (libc_feupdateenv_53bit): Likewise.
40401 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40402 (libc_feholdexcept): Convert from macro to inline function.
40403 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40404 (libc_fesetenv, libc_feupdateenv): Likewise.
40406 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40407 not previously defined.
40408 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40409 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40410 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40411 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40412 * sysdeps/ieee754/flt-32/math_private.h: New file.
40413 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40414 math_private.h below SET_FLOAT_WORD.
40415 (__isnan, __isinf_ns, __finite): Remove.
40416 (__isnanf, __isinf_nsf, __finitef): Remove.
40418 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40422 2012-03-17 David S. Miller <davem@davemloft.net>
40425 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40428 2012-03-16 David S. Miller <davem@davemloft.net>
40430 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40434 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40436 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40437 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40438 sysdep_routines when subdir is sysvipc.
40439 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40440 __getshmlba helper.
40442 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40444 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40446 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40449 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40451 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40452 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40453 (__lround): Renamed to ...
40454 (__llround): This. Replace long int with long long int.
40455 Define lround functions as aliases of llround functions.
40456 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40458 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40460 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40461 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40462 adresses to uintptr_t. Replace "long int" and "unsigned long
40463 int" with "greg_t" on va_arg.
40465 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40467 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40468 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40470 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40471 Move e_machine check before EI_CLASS check. Handle x32
40472 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40473 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40474 SKIP_EM_IA_64 and include
40475 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40477 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40478 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40479 (add_system_dir): New macro.
40481 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40482 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40484 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40495 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40497 * math/w_j0f.c (j0f): Likewise.
40499 * math/w_j0l.c (__j0l): Likewise.
40501 * math/w_j1.c (j1): Likewise.
40503 * math/w_j1f.c (j1f): Likewise.
40505 * math/w_j1l.c (__j1l): Likewise.
40507 * math/w_jn.c (jn): Likewise.
40509 * math/w_jnf.c (jnf): Likewise.
40511 * math/w_jnl.c (__jnl): Likewise.
40513 * math/libm-test.inc (j0_test): Add more tests.
40514 (j1_test): Likewise.
40515 (jn_test): Likewise. Add trailing semicolon to existing test.
40516 (y0_test): Likewise.
40517 (y1_test): Likewise.
40518 * sysdeps/i386/fpu/libm-test-ulps: Update.
40519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40523 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40524 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40525 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40526 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40527 (__tanl): Set errno for infinite argument.
40528 * sysdeps/i386/fpu/mptan.c: Remove.
40529 * sysdeps/i386/fpu/s_tan.S: Likewise.
40530 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40531 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40532 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40533 * math/libm-test.inc (tan_test): Add more tests and enable more
40534 tests for double and long double.
40535 * sysdeps/i386/fpu/libm-test-ulps: Update.
40536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40538 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40540 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40541 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40543 2012-03-16 Roland McGrath <roland@hack.frob.com>
40545 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40546 * configure.in: Use it for both main tree and add-ons.
40547 * configure: Regenerated.
40549 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40551 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40553 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40555 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40559 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40560 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40561 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40562 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40563 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40565 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40567 != 0 for prec == 2.
40568 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40569 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40570 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40571 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40572 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40573 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40574 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40575 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40576 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40577 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40578 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40579 * math/libm-test.inc (cos_test): Add more tests and enable more
40580 tests for long double.
40581 (sin_test): Likewise.
40582 (sincos_test): Likewise.
40583 * sysdeps/i386/fpu/libm-test-ulps: Update.
40584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40586 2012-03-16 David S. Miller <davem@davemloft.net>
40588 * sysdeps/sparc/fpu/math_private.h: New file.
40590 2012-03-15 David S. Miller <davem@davemloft.net>
40592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40606 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40607 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40609 * sysdeps/sparc/sparc-ifunc.h: New file.
40610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40637 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40655 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40657 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40661 2012-03-15 Andreas Jaeger <aj@suse.de>
40664 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40665 ieee754/flt-32 implementation for sin, cos and sincos.
40666 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40667 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40668 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40669 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40670 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40671 ieee754/flt-32 implementation for tan.
40673 * math/libm-test.inc (cos_test): Enable some large input tests for
40675 (sin_test): Likewise.
40676 (sincos_test): Likewise.
40677 (tan_test): Add tests for large input.
40679 * sysdeps/i386/fpu/libm-test-ulps: Update.
40681 2012-03-15 Andreas Jaeger <aj@suse.de>
40684 * math/libm-test.inc (cos_test): Add more test cases.
40685 (sin_test): Likewise.
40686 (sincos_test): Likewise.
40688 2012-03-15 Andreas Jaeger <aj@suse.de>
40691 * math/libm-test.inc (cos_test): Add a test case for large input
40693 (sin_test): Likewise.
40694 (sincos_test): Likewise.
40696 2012-03-15 Andreas Jaeger <aj@suse.de>
40697 Joseph Myers <joseph@codesourcery.com>
40700 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40701 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40702 * sysdeps/i386/fpu/branred.c: Likewise.
40703 * sysdeps/i386/fpu/dosincos.c: Likewise.
40704 * sysdeps/i386/fpu/mpa.c: Likewise.
40705 * sysdeps/i386/fpu/s_cos.S: Likewise.
40706 * sysdeps/i386/fpu/s_sin.S: Likewise.
40707 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40708 * sysdeps/i386/fpu/sincos32.c: Likewise.
40710 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40712 (libc_feupdateenv_53bit): Define.
40713 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40715 (libc_feupdateenv_53bit): Define.
40717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40718 53 bit (without extend i386 double precision).
40720 * math/libm-test.inc (sincos_test): Add tests for large input.
40724 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40726 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40730 2012-03-15 David S. Miller <davem@davemloft.net>
40732 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40733 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40734 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40735 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40760 fmin/fmax sysdep routines.
40761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40763 2012-03-14 David S. Miller <davem@davemloft.net>
40765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40769 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40787 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40788 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40789 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40792 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40837 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40842 * sysdeps/sparc/configure.in: New file.
40843 * sysdeps/sparc/configure: Generate.
40844 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40845 * configure: Regenerate.
40846 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40847 * config.make.in (have-as-vis3): New.
40848 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40849 available use -Av9d instead of -Av9a.
40850 * sysdeps/sparc/sparc64/Makefile: Likewise.
40851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40860 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40866 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40867 fzeros/fnegs to load 0x80000000 into a float register instead of
40869 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40871 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40875 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40876 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40877 ($(inst_includedir)/bits/syscall.h): Remove rule.
40878 ($(objpfx)bits/syscall.d): Include instead of
40879 $(objpfx)syscall-list.d.
40880 (generated): Change syscall-list.h and syscall-list.d to
40881 bits/syscall.h and bits/syscall.d.
40883 2012-03-14 Roland McGrath <roland@hack.frob.com>
40886 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40888 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40891 * math/s_csqrt.c: Include <float.h>.
40892 (__csqrt): Scale large or subnormal inputs.
40893 * math/s_csqrtf.c: Likewise.
40894 * math/s_csqrtl.c: Likewise.
40895 * math/libm-test.inc (csqrt_test): Add more tests.
40896 * sysdeps/i386/fpu/libm-test-ulps: Update.
40897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40900 * math/libm-test.inc (hypot_test): Add more tests.
40902 2012-03-13 David S. Miller <davem@davemloft.net>
40905 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40906 double-precision for the calculation instead of scaling.
40908 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40910 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40911 manipulate bits before adding and subtracting TWO52[sx].
40912 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40913 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40915 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40917 2012-03-13 David S. Miller <davem@davemloft.net>
40919 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40920 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40922 rtld-global-offsets.h
40923 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40925 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40928 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40930 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40931 'err' in the ifdef scope in which it is actually used.
40933 * nss/nss_db/db-init.c: Include string.h
40935 2012-03-12 David S. Miller <davem@davemloft.net>
40937 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40938 masking out of the most significant byte of random value used.
40939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40940 Fix coding style in previous change.
40942 * sysdeps/unix/sysv/linux/kernel-features.h
40943 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40944 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40946 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40949 2012-03-11 David S. Miller <davem@davemloft.net>
40951 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40952 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40953 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40954 for 'resultvar' otherwise things get truncated on 64-bit.
40956 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40957 Fix masking out of the most significant byte of random value used.
40959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40961 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40965 2012-03-09 David S. Miller <davem@davemloft.net>
40967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40968 variables with appropriate CPP guards.
40969 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40970 from the frame pointer, not the stack pointer. Correct layout
40971 comments. Fix test on resulting framesize and the management of
40972 the outregs buffer for pltexit. Preserve floating point return
40973 values across _dl_call_pltexit call.
40974 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40975 framesize and the management of the outregs buffer for pltexit.
40976 Preserve floating point return values across _dl_call_pltexit
40978 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40979 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40980 (la_sparc64_gnu_pltexit): New functions.
40981 (print_exit): Fix format string for return register value.
40983 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40985 * sunrpc/Makefile (others): Add rpcgen.
40986 ($(objpfx)rpcgen): Remove special build rule and dependency on
40988 * sunrpc/rpcgen.c: New file.
40990 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40993 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40994 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40995 * sysdeps/i386/crti.S: Likewise.
40996 * sysdeps/i386/crtn.S: Likewise.
40997 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40998 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40999 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41000 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41001 * sysdeps/sh/crti.S: Likewise.
41002 * sysdeps/sh/crtn.S: Likewise.
41003 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41006 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41008 * locale/programs/locfile-kw.gperf: Likewise.
41009 * locale/programs/charmap-kw.h: Regenerated.
41010 * locale/programs/locfile-kw.h: Likewise.
41013 * intl/plural.y: Replace FSF snail mail address with URL.
41014 * intl/plural.c: Regenerated.
41016 2012-03-09 Richard Henderson <rth@twiddle.net>
41018 * include/math_private.h: Remove file.
41019 * math/math_private.h: Move file ...
41020 * sysdeps/generic/math_private.h: ... here.
41022 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41023 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41024 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41026 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41027 and <math_private.h>.
41028 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41029 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41030 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41031 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41032 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41034 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41036 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41037 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41040 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41041 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41042 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41043 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41045 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41046 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41047 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41049 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41050 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41052 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41053 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41054 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41058 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41060 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41061 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41062 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41063 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41064 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41065 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41066 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41067 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41068 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41069 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41070 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41071 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41072 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41073 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41074 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41075 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41076 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41077 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41078 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41079 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41080 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41081 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41082 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41083 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41084 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41085 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41086 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41087 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41088 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41089 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41091 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41092 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41093 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41094 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41095 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41096 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41097 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41098 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41099 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41100 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41101 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41102 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41106 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41107 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41108 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41109 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41110 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41111 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41112 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41115 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41116 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41117 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41118 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41119 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41121 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41122 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41123 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41124 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41125 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41126 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41127 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41128 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41129 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41130 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41131 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41132 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41133 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41134 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41135 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41136 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41137 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41138 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41139 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41140 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41141 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41142 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41143 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41144 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41145 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41146 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41147 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41148 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41149 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41150 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41151 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41152 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41153 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41154 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41155 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41156 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41158 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41159 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41160 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41161 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41162 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41163 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41164 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41165 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41166 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41167 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41169 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41170 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41171 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41172 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41173 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41174 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41175 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41176 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41177 * sysdeps/ieee754/k_standard.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41222 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41226 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41229 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41230 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41232 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41234 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41239 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41240 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41241 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41244 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41245 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41246 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41247 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41248 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41250 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41251 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41252 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41255 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41257 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41258 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41259 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41260 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41261 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41262 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41263 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41264 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41265 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41268 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41269 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41270 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41271 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41272 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41273 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41274 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41275 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41276 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41277 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41278 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41279 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41280 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41281 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41282 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41283 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41284 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41285 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41286 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41287 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41288 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41289 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41290 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41291 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41292 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41294 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41295 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41296 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41297 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41298 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41299 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41300 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41301 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41302 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41303 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41304 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41305 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41306 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41307 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41308 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41309 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41310 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41311 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41312 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41313 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41314 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41315 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41316 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41317 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41318 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41319 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41320 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41321 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41322 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41323 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41324 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41325 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41326 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41327 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41328 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41329 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41332 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41333 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41334 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41335 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41336 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41337 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41338 * sysdeps/ieee754/s_lib_version.c: Likewise.
41339 * sysdeps/ieee754/s_matherr.c: Likewise.
41340 * sysdeps/ieee754/s_signgam.c: Likewise.
41341 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41342 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41343 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41344 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41345 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41346 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41347 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41348 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41349 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41350 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41351 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41352 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41353 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41354 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41355 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41356 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41357 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41358 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41359 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41363 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41365 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41366 * sunrpc/rpc_main.c: Likewise.
41367 * sunrpc/rpc_svcout.c: Likewise.
41369 2012-03-09 David S. Miller <davem@davemloft.net>
41371 * include/math_private.h: New file.
41373 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41375 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41376 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41377 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41378 from <bits/socket_type.h>.
41379 (enum __socket_type): Don't define here.
41380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41382 bits/socket_type.h.
41385 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41386 checking __USE_GNU.
41388 * Makerules ($(inst_includedir)/%.h): New rule.
41389 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41390 (install-others): Remove variable setting.
41391 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41393 2012-03-08 Richard Henderson <rth@twiddle.net>
41395 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41396 from macro to inline function; merge with the
41397 !__LIBC_INTERNAL_MATH_INLINES version.
41398 (__ieee754_sqrtf): Likewise.
41400 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41401 to inline function.
41402 (__rintf, __floor, __floorf): Likewise.
41404 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41405 macro to inline function.
41406 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41408 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41409 not <math/math_private.h>.
41411 2012-03-08 David S. Miller <davem@davemloft.net>
41413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41415 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41417 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41419 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41421 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41422 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41424 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41426 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41427 be defined individually, they must be defined as a block. Define
41428 S for printing a string instead of hidint the different by using a
41429 macro for adding the 'l'.
41430 * stdio-common/tst-fphex-wide.c: Adjust.
41432 2012-03-07 Marek Polacek <polacek@redhat.com>
41434 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41436 2012-03-08 Marek Polacek <polacek@redhat.com>
41439 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41440 * stdio-common/tst-fphex.c: Define a few macros to make the
41441 test reusable. Use them.
41442 * stdio-common/tst-fphex-wide.c: New file.
41444 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41447 * manual/macros.texi (gnusystems): New macro.
41448 (nongnusystems): Likewise.
41449 (gnulinuxhurdsystems): Likewise.
41450 (gnuhurdsystems): Likewise..
41451 (gnulinuxsystems): Likewise.
41452 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41453 variants of the GNU system, not "GNU system".
41454 * manual/conf.texi: Likewise.
41455 * manual/errno.texi: Likewise. Update example of errno macro
41457 * manual/filesys.texi: Likewise.
41458 (getumask): Document as specific to GNU/Hurd.
41459 * manual/install.texi: Likewise. Reword some references to
41461 * manual/intro.texi: Likewise.
41462 * manual/io.texi: Likewise.
41463 (File Name Portability): Detail which constraints are inapplicable
41464 to all GNU systems and which are only inapplicable to GNU/Hurd.
41465 * manual/job.texi: Likewise.
41466 * manual/llio.texi: Likewise.
41467 (O_NOCTTY): Document as present on GNU/Linux.
41468 * manual/maint.texi: Likewise.
41469 * manual/memory.texi: Likewise.
41470 * manual/pattern.texi: Likewise.
41471 * manual/pipe.texi: Likewise.
41472 * manual/process.texi: Likewise.
41473 * manual/resource.texi: Likewise.
41474 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41476 * manual/setjmp.texi: Likewise.
41477 * manual/signal.texi: Likewise.
41478 * manual/startup.texi: Likewise.
41479 * manual/stdio.texi: Likewise.
41480 * manual/terminal.texi: Likewise.
41481 (ONLCR): Document as POSIX.
41482 (OXTABS): Document availability on GNU/Linux as XTABS.
41483 (ONOEOT): Document availability separately from other bits.
41484 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41485 * manual/time.texi: Likewise.
41486 * manual/users.texi: Likewise.
41487 * INSTALL: Regenerated.
41488 * sysdeps/gnu/errlist.c: Regenerated.
41490 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41491 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41492 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41494 * configure: Regenerated.
41496 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41498 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41499 default includes instead of AC_HEADER_CHECK.
41500 * sysdeps/i386/configure: Regenerated.
41503 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41504 * math/s_cacoshf.c (__cacoshf): Likewise.
41505 * math/s_cacoshl.c (__cacoshl): Likewise.
41506 * math/s_casinh.c (__casinh): Set signs of result from argument.
41507 * math/s_casinhf.c (__casinhf): Likewise.
41508 * math/s_casinhl.c (__casinhl): Likewise.
41509 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41510 (casinh_test): Add more tests.
41511 * sysdeps/i386/fpu/libm-test-ulps: Update.
41512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41514 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41516 * po/zh_TW.po: Update from translation team.
41518 * login/Makefile (distribute): Remove variable.
41519 * catgets/Makefile: Likewise.
41520 * mach/Makefile: Likewise.
41521 * malloc/Makefile: Likewise.
41522 * misc/Makefile: Likewise.
41523 * iconv/Makefile: Likewise.
41524 * nscd/Makefile: Likewise.
41525 * hurd/Makefile: Likewise.
41526 * manual/Makefile: Likewise.
41527 * locale/Makefile: Likewise.
41528 * intl/Makefile: Likewise.
41529 * conform/Makefile: Likewise.
41530 * nss/Makefile: Likewise.
41531 * time/Makefile: Likewise.
41532 * soft-fp/Makefile: Likewise.
41533 * dirent/Makefile: Likewise.
41534 * gmon/Makefile: Likewise.
41535 * po/Makefile: Likewise.
41536 * rt/Makefile: Likewise.
41537 * socket/Makefile: Likewise.
41538 * math/Makefile: Likewise.
41539 * signal/Makefile: Likewise.
41540 * debug/Makefile: Likewise.
41541 * elf/Makefile: Likewise.
41542 * timezone/Makefile: Likewise.
41543 * stdlib/Makefile: Likewise.
41544 * iconvdata/Makefile: Likewise.
41545 * sunrpc/Makefile: Likewise.
41546 * io/Makefile: Likewise.
41547 * argp/Makefile: Likewise.
41548 * inet/Makefile: Likewise.
41549 * hesiod/Makefile: Likewise.
41550 * grp/Makefile: Likewise.
41551 * csu/Makefile: Likewise.
41552 * wctype/Makefile: Likewise.
41553 * crypt/Makefile: Likewise.
41554 * libio/Makefile: Likewise.
41555 * string/Makefile: Likewise.
41556 * nis/Makefile: Likewise.
41557 * resolv/Makefile: Likewise.
41558 * stdio-common/Makefile: Likewise.
41559 * wcsmbs/Makefile: Likewise.
41560 * dlfcn/Makefile: Likewise.
41561 * posix/Makefile: Likewise.
41564 * timezone/Makefile: Don't install timezone files, just the programs
41567 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41569 * nss/databases.def: Add missing gshadow entry.
41571 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41573 2012-03-06 Marek Polacek <polacek@redhat.com>
41576 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41577 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41578 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41579 * stdio-common/tst-long-dbl-fphex.c: New file.
41581 2012-03-06 David S. Miller <davem@davemloft.net>
41583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41584 (set_obp_int): New function.
41585 (get_obp_int): New function.
41586 (__get_clockfreq_via_dev_openprom): Likewise.
41587 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41588 Avoid unused variable warnings on 'val' and use builtin_expect.
41589 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41591 (INLINE_CLONE_SYSCALL): Likewise.
41593 2012-03-05 David S. Miller <davem@davemloft.net>
41595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41597 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41601 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41602 only for |x| >= 40.
41603 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41605 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41608 Replace gettimeofday with __vdso_gettimeofday.
41610 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41611 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41612 __vdso_clock_gettime and __vdso_getcpu.
41614 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41615 time with __vdso_time.
41617 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41619 * manual/lang.texi (size_t): Note types to which size_t may be
41620 equivalent with the GNU C Library, but do not describe when
41621 differences between them are significant.
41623 2012-03-05 Andreas Jaeger <aj@suse.de>
41625 * sysdeps/i386/fpu/libm-test-ulps: Update.
41627 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41630 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41631 (__ieee754_pow): Save and restore rounding mode and use
41632 round-to-nearest for main computations.
41633 * math/libm-test.inc (pow_test_tonearest): New function.
41634 (pow_test_towardzero): Likewise.
41635 (pow_test_downward): Likewise.
41636 (pow_test_upward): Likewise.
41637 (main): Call the new functions.
41638 * sysdeps/i386/fpu/libm-test-ulps: Update.
41639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41642 * math/libm-test.inc (cosh_test_tonearest): New function.
41643 (cosh_test_towardzero): Likewise.
41644 (cosh_test_downward): Likewise.
41645 (cosh_test_upward): Likewise.
41646 (sinh_test_tonearest): Likewise.
41647 (sinh_test_towardzero): Likewise.
41648 (sinh_test_downward): Likewise.
41649 (sinh_test_upward): Likewise.
41650 (main): Call the new functions.
41651 * sysdeps/i386/fpu/libm-test-ulps: Update.
41652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41654 2012-03-05 Tom de Vries <tom@codesourcery.com>
41656 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41657 default stack guard is set in last bytes.
41658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41660 2012-03-05 Kees Cook <keescook@chromium.org>
41662 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41665 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41666 possibly allocate from heap instead of stack.
41667 * stdio-common/bug-vfprintf-nargs.c: New file.
41668 * stdio-common/Makefile (tests): Add nargs overflow test.
41670 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41674 2012-03-03 Marek Polacek <polacek@redhat.com>
41676 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41677 * math/math_private.h: Likewise.
41678 * stdlib/tst-strtod.c: Likewise.
41679 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41680 * sysdeps/x86_64/bits/atomic.h: Likewise.
41682 2012-03-02 David S. Miller <davem@davemloft.net>
41684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41688 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41689 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41690 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41691 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41693 2012-03-02 Roland McGrath <roland@hack.frob.com>
41696 * manual/examples/README: New file, says the example source files
41697 can be used under GPL>=2.
41698 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41699 line containing just "*/".
41700 * manual/examples/add.c: Add copyright header (GPL>=2).
41701 * manual/examples/argp-ex1.c: Likewise.
41702 * manual/examples/argp-ex2.c: Likewise.
41703 * manual/examples/argp-ex3.c: Likewise.
41704 * manual/examples/argp-ex4.c: Likewise.
41705 * manual/examples/atexit.c: Likewise.
41706 * manual/examples/db.c: Likewise.
41707 * manual/examples/dir.c: Likewise.
41708 * manual/examples/dir2.c: Likewise.
41709 * manual/examples/execinfo.c: Likewise.
41710 * manual/examples/filecli.c: Likewise.
41711 * manual/examples/filesrv.c: Likewise.
41712 * manual/examples/fmtmsgexpl.c: Likewise.
41713 * manual/examples/genpass.c: Likewise.
41714 * manual/examples/inetcli.c: Likewise.
41715 * manual/examples/inetsrv.c: Likewise.
41716 * manual/examples/isockad.c: Likewise.
41717 * manual/examples/longopt.c: Likewise.
41718 * manual/examples/memopen.c: Likewise.
41719 * manual/examples/memstrm.c: Likewise.
41720 * manual/examples/mkfsock.c: Likewise.
41721 * manual/examples/mkisock.c: Likewise.
41722 * manual/examples/mygetpass.c: Likewise.
41723 * manual/examples/pipe.c: Likewise.
41724 * manual/examples/popen.c: Likewise.
41725 * manual/examples/rprintf.c: Likewise.
41726 * manual/examples/search.c: Likewise.
41727 * manual/examples/select.c: Likewise.
41728 * manual/examples/setjmp.c: Likewise.
41729 * manual/examples/sigh1.c: Likewise.
41730 * manual/examples/sigusr.c: Likewise.
41731 * manual/examples/stpcpy.c: Likewise.
41732 * manual/examples/strdupa.c: Likewise.
41733 * manual/examples/strftim.c: Likewise.
41734 * manual/examples/strncat.c: Likewise.
41735 * manual/examples/subopt.c: Likewise.
41736 * manual/examples/swapcontext.c: Likewise.
41737 * manual/examples/termios.c: Likewise.
41738 * manual/examples/testopt.c: Likewise.
41739 * manual/examples/testpass.c: Likewise.
41740 * manual/examples/timeval_subtract.c: Likewise.
41743 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41745 * manual/timeval_subtract.c.texi: ... here, new file.
41747 2012-03-02 David S. Miller <davem@davemloft.net>
41749 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41751 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41754 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41755 (__sin): Save and restore rounding mode and use round-to-nearest
41756 for all computations.
41757 (__cos): Save and restore rounding mode and use round-to-nearest
41758 for all computations.
41759 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41761 (tan): Save and restore rounding mode and use round-to-nearest for
41763 * math/libm-test.inc (cos_test_tonearest): New function.
41764 (cos_test_towardzero): Likewise.
41765 (cos_test_downward): Likewise.
41766 (cos_test_upward): Likewise.
41767 (sin_test_tonearest): Likewise.
41768 (sin_test_towardzero): Likewise.
41769 (sin_test_downward): Likewise.
41770 (sin_test_upward): Likewise.
41771 (tan_test_tonearest): Likewise.
41772 (tan_test_towardzero): Likewise.
41773 (tan_test_downward): Likewise.
41774 (tan_test_upward): Likewise.
41775 (main): Call the new functions.
41776 * sysdeps/i386/fpu/libm-test-ulps: Update.
41777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41780 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41781 small n, then large n, before computing and testing k+n.
41782 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41783 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41787 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41788 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41791 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41792 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41793 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41794 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41795 * math/libm-test.inc (scalbn_test): Add more tests.
41796 (scalbln_test): Likewise.
41798 * manual/filesys.texi (mode_t): Describe constraints on size and
41799 signedness, not exact equivalence to a particular type.
41801 (ino64_t): Likewise.
41803 (nlink_t): Likewise.
41804 (blkcnt_t): Likewise.
41805 (blkcnt64_t): Likewise.
41806 * manual/llio.texi (off_t): Likewise.
41809 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41810 (__ieee754_exp): Save and restore rounding mode and use
41811 round-to-nearest for all computations.
41812 * math/libm-test.inc (exp_test_tonearest): New function.
41813 (exp_test_towardzero): Likewise.
41814 (exp_test_downward): Likewise.
41815 (exp_test_upward): Likewise.
41816 (main): Call the new functions.
41817 * sysdeps/i386/fpu/libm-test-ulps: Update.
41818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41820 2012-03-01 Chris Demetriou <cgd@google.com>
41822 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41823 have predictable order.
41825 2012-03-01 David S. Miller <davem@davemloft.net>
41827 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41829 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41830 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41831 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41832 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41834 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41835 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41836 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41838 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41839 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41840 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41841 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41842 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41847 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41850 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41851 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41852 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41853 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41854 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41856 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41857 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41858 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41859 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41860 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41861 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41863 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41864 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41865 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41866 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41867 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41868 * sysdeps/sparc/elf/configure: Regenerated.
41870 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41872 * configure.in (AS, LD): Require binutils 2.20 or later.
41873 * configure: Regenerated.
41874 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41875 as required minimum version.
41876 * INSTALL: Regenerated.
41880 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41881 before squaring exponent.
41882 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41883 bottom long double and 27 bits of top long double before squaring
41885 * math/libm-test.inc (erfc_test): Add more tests.
41886 * sysdeps/i386/fpu/libm-test-ulps: Update.
41887 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41890 2012-03-01 Kai Tietz <ktietz@redhat.com>
41892 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41893 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41894 containing bit-fields.
41895 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41896 * soft-fp/single.h (_FP_UNION_S): Likewise.
41897 * soft-fp/double.h (_FP_UNION_D): Likewise.
41899 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41902 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41903 not include ../strcmp.S.
41904 [USE_AS_STRNCASECMP_L]: Likewise.
41905 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41906 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41907 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41908 (__strncasecmp_l_ia32): Define as alias to
41909 __strncasecmp_l_nonascii.
41912 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41913 * sysdeps/i386/fpu/libm-test-ulps: Update.
41914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41916 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41919 2012-02-29 Jeff Law <law@redhat.com>
41921 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41922 out of bounds read.
41924 2012-02-29 Marek Polacek <polacek@redhat.com>
41927 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41928 * elf/Makefile: Add rules to run tst-unused-dep.out.
41930 2012-02-28 David S. Miller <davem@davemloft.net>
41932 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41933 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41935 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41936 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41937 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41939 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41941 * math/libm-test.inc (llround_test): Move one test from
41942 lround_test. Use TEST_f_L in moved test.
41943 (lround_test): Move misplaced test to llround_test. Add testcase
41946 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41948 * sysdeps/x86_64/fpu/e_expf.S: New file.
41949 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41951 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41954 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41955 of remain_len that may cause incomplete multi-byte character and
41957 * posix/bug-regex33.c: New file.
41958 * posix/Makefile (tests): Add bug-regex33.
41960 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41962 * manual/macros.texi: New file.
41963 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41964 * manual/libc.texinfo: Include macros.texi.
41965 * manual/creatute.texi: Likewise.
41966 * manual/install.texi: Likewise.
41967 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41968 @glibcadj{} in references to the GNU C Library.
41969 * manual/charset.texi: Likewise.
41970 * manual/conf.texi: Likewise.
41971 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41972 when not using those macros.
41973 * manual/creature.texi: Likewise.
41974 * manual/crypt.texi: Likewise.
41975 * manual/errno.texi: Likewise.
41976 * manual/filesys.texi: Likewise.
41977 * manual/header.texi: Likewise.
41978 * manual/install.texi: Likewise.
41979 * manual/intro.texi: Likewise.
41980 * manual/io.texi: Likewise.
41981 * manual/job.texi: Likewise.
41982 * manual/lang.texi: Likewise.
41983 * manual/libc.texiinfo: Likewise.
41984 * manual/llio.texi: Likewise.
41985 * manual/locale.texi: Likewise.
41986 * manual/maint.texi: Likewise.
41987 * manual/math.texi: Likewise.
41988 * manual/memory.texi: Likewise.
41989 * manual/message.texi: Likewise.
41990 * manual/nss.texi: Likewise.
41991 * manual/pattern.texi: Likewise.
41992 * manual/process.texi: Likewise.
41993 * manual/resource.texi: Likewise.
41994 * manual/search.texi: Likewise.
41995 * manual/setjmp.texi: Likewise.
41996 * manual/signal.texi: Likewise.
41997 * manual/socket.texi: Likewise.
41998 * manual/startup.texi: Likewise.
41999 * manual/stdio.texi: Likewise.
42000 * manual/string.texi: Likewise.
42001 * manual/sysinfo.texi: Likewise.
42002 * manual/syslog.texi: Likewise.
42003 * manual/terminal.texi: Likewise.
42004 * manual/time.texi: Likewise.
42005 * manual/users.texi: Likewise.
42006 * INSTALL: Regenerated.
42007 * NOTES: Regenerated.
42008 * sysdeps/gnu/errlist.c: Regenerated.
42010 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42012 * include/dirent.h: Include <dirstream.h> before
42015 2012-02-28 David S. Miller <davem@davemloft.net>
42017 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42018 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42019 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42020 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42022 2012-02-27 David S. Miller <davem@davemloft.net>
42024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42026 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42027 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42030 frame pointer instead of stack pointer relative arg slot.
42031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42032 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42033 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42035 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42038 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42040 2012-02-27 David S. Miller <davem@davemloft.net>
42042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42046 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42047 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42048 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42049 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42051 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42053 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42054 later. Allow versions 5-9.
42055 * configure: Regenerated.
42056 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42057 required minimum version and 4.6 as recommended version. Do not
42058 mention bugs in GCC 2.7 and 2.8.
42059 * INSTALL: Regenerated.
42061 2012-02-27 David S. Miller <davem@davemloft.net>
42063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42067 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42068 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42069 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42070 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42072 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42073 manipulate bits before adding and subtracting TWO112[sx].
42074 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42076 2012-02-27 Roland McGrath <roland@hack.frob.com>
42079 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42080 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42081 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42082 being in POSIX, because they are in 1003.1-2008.
42084 * rt/tst-aio.c: Include <fcntl.h>.
42085 * rt/tst-aio7.c: Likewise.
42086 * rt/tst-aio64.c: Likewise.
42088 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42090 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42092 * manual/install.texi (--with-headers): Describe headers as
42093 interface headers, not private headers.
42094 (Specific advice for GNU/Linux systems): Describe use of headers
42095 from "make headers_install", not private headers from older
42097 * INSTALL: Regenerated.
42098 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42100 * sysdeps/unix/sysv/linux/configure: Regenerated.
42102 * manual/llio.texi (fclean): Remove documentation.
42104 * manual/Makefile (libc-texi-generated): New variable. Include
42106 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42107 $(libc-texi-generated), not duplicated list of files.
42108 (version.texi, stamp-version): New rules.
42109 (realclean): Remove $(libc-texi-generated), not individual files
42110 from that list. Do not remove dir-add.texinfo.
42111 * manual/libc.texinfo: Comment out uses of edition numbers and
42112 references to printed manual. Remove last-updated dates.
42113 (EDITION): Comment out.
42115 (VERSION, UPDATED): Remove.
42116 (version.texi): Include.
42118 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42120 * sysdeps/posix/spawni.c: Include <signal.h>.
42121 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42122 * sysdeps/pthread/aio_fsync.c: Likewise.
42124 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42126 * conform/Makefile (tests): Run only when not cross-compiling and
42127 when fast-check is not defined.
42129 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42130 * conform/data/limits.h-data: Fixes for POSIX2008.
42131 * conform/run-conformtest.sh: Run all tests.
42132 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42134 * include/bits/dlfcn.h: Likewise.
42135 * include/langinfo.h: Likewise.
42136 * include/monetary.h: Likewise.
42137 * include/sys/poll.h: Likewise.
42139 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42141 * posix/spawn.h: Define __need_sigset_t.
42142 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42143 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42144 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42145 to get sigevent_t only.
42146 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42147 only for __USE_GNU.
42148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42149 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42150 process_vm_writev only for __USE_GNU.
42151 * termios/termios.h: Declare tcgetsid also for POSIX2008.
42153 * conform/Makefile: For now ignore errors from run-conformtest.
42154 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42155 POSIX to avoid namespace pollution. Don't prepend headers.
42156 * conform/data/aio.h-data: Fixes for POSIX testing.
42157 * conform/data/fcntl.h-data: Likewise.
42158 * conform/data/glob.h-data: Likewise.
42159 * conform/data/grp.h-data: Likewise.
42160 * conform/data/pthread.h-data: Likewise.
42161 * conform/data/pwd.h-data: Likewise.
42162 * conform/data/signal.h-data: Likewise.
42163 * conform/data/spawn.h-data: Likewise.
42164 * conform/data/stdio.h-data: Likewise.
42165 * conform/data/stdlib.h-data: Likewise.
42166 * conform/data/stropts.h-data: Likewise.
42167 * conform/data/sys/mman.h-data: Likewise.
42168 * conform/data/sys/stat.h-data: Likewise.
42169 * conform/data/sys/types.h-data: Likewise.
42170 * conform/data/sys/wait.h-data: Likewise.
42171 * conform/data/time.h-data: Likewise.
42172 * conform/data/unistd.h-data: Likewise.
42173 * conform/data/utime.h-data: Likewise.
42175 * io/sys/stat.h: fchmod was always in POSIX.
42176 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42177 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42178 * rt/aio.h: Define __need_timespec before including <time.h>.
42179 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42180 struct. Add forward declaration of pthread_attr_t and use it in
42182 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42184 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42185 always remove CLK_TCK definition.
42187 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42189 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42191 2012-02-25 Ulrich Drepper <drepper@gmail.com>
42193 * conform/run-conformtest.sh: New file.
42194 * conform/Makefile: Run run-conformtest for tests.
42195 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42198 * conform/data/uchar.h-data: New file.
42199 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42200 * conform/data/arpa/inet.h-data: Likewise.
42201 * conform/data/assert.h-data: Likewise.
42202 * conform/data/complex.h-data: Likewise.
42203 * conform/data/cpio.h-data: Likewise.
42204 * conform/data/ctype.h-data: Likewise.
42205 * conform/data/dirent.h-data: Likewise.
42206 * conform/data/dlfcn.h-data: Likewise.
42207 * conform/data/errno.h-data: Likewise.
42208 * conform/data/fcntl.h-data: Likewise.
42209 * conform/data/float.h-data: Likewise.
42210 * conform/data/fmtmsg.h-data: Likewise.
42211 * conform/data/fnmatch.h-data: Likewise.
42212 * conform/data/ftw.h-data: Likewise.
42213 * conform/data/glob.h-data: Likewise.
42214 * conform/data/grp.h-data: Likewise.
42215 * conform/data/iconv.h-data: Likewise.
42216 * conform/data/inttypes.h-data: Likewise.
42217 * conform/data/langinfo.h-data: Likewise.
42218 * conform/data/libgen.h-data: Likewise.
42219 * conform/data/limits.h-data: Likewise.
42220 * conform/data/locale.h-data: Likewise.
42221 * conform/data/math.h-data: Likewise.
42222 * conform/data/monetary.h-data: Likewise.
42223 * conform/data/mqueue.h-data: Likewise.
42224 * conform/data/ndbm.h-data: Likewise.
42225 * conform/data/net/if.h-data: Likewise.
42226 * conform/data/netdb.h-data: Likewise.
42227 * conform/data/netinet/in.h-data: Likewise.
42228 * conform/data/nl_types.h-data: Likewise.
42229 * conform/data/poll.h-data: Likewise.
42230 * conform/data/pthread.h-data: Likewise.
42231 * conform/data/pwd.h-data: Likewise.
42232 * conform/data/regex.h-data: Likewise.
42233 * conform/data/sched.h-data: Likewise.
42234 * conform/data/search.h-data: Likewise.
42235 * conform/data/semaphore.h-data: Likewise.
42236 * conform/data/setjmp.h-data: Likewise.
42237 * conform/data/signal.h-data: Likewise.
42238 * conform/data/spawn.h-data: Likewise.
42239 * conform/data/stdarg.h-data: Likewise.
42240 * conform/data/stdio.h-data: Likewise.
42241 * conform/data/stdlib.h-data: Likewise.
42242 * conform/data/string.h-data: Likewise.
42243 * conform/data/strings.h-data: Likewise.
42244 * conform/data/stropts.h-data: Likewise.
42245 * conform/data/sys/ipc.h-data: Likewise.
42246 * conform/data/sys/mman.h-data: Likewise.
42247 * conform/data/sys/msg.h-data: Likewise.
42248 * conform/data/sys/resource.h-data: Likewise.
42249 * conform/data/sys/select.h-data: Likewise.
42250 * conform/data/sys/sem.h-data: Likewise.
42251 * conform/data/sys/shm.h-data: Likewise.
42252 * conform/data/sys/socket.h-data: Likewise.
42253 * conform/data/sys/stat.h-data: Likewise.
42254 * conform/data/sys/statvfs.h-data: Likewise.
42255 * conform/data/sys/time.h-data: Likewise.
42256 * conform/data/sys/timeb.h-data: Likewise.
42257 * conform/data/sys/times.h-data: Likewise.
42258 * conform/data/sys/types.h-data: Likewise.
42259 * conform/data/sys/uio.h-data: Likewise.
42260 * conform/data/sys/un.h-data: Likewise.
42261 * conform/data/sys/utsname.h-data: Likewise.
42262 * conform/data/sys/wait.h-data: Likewise.
42263 * conform/data/syslog.h-data: Likewise.
42264 * conform/data/tar.h-data: Likewise.
42265 * conform/data/termios.h-data: Likewise.
42266 * conform/data/utime.h-data: Likewise.
42267 * conform/data/utmpx.h-data: Likewise.
42268 * conform/data/varargs.h-data: Likewise.
42269 * conform/data/wchar.h-data: Likewise.
42270 * conform/data/wctype.h-data: Likewise.
42271 * conform/data/wordexp.h-data: Likewise.
42273 * include/stropts.h: New file.
42274 * include/uchar.h: New file.
42275 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42276 * include/assert.h: Likewise.
42277 * include/ctype.h: Likewise.
42278 * include/dirent.h: Likewise.
42279 * include/dlfcn.h: Likewise.
42280 * include/fcntl.h: Likewise.
42281 * include/fnmatch.h: Likewise.
42282 * include/glob.h: Likewise.
42283 * include/grp.h: Likewise.
42284 * include/libio.h: Likewise.
42285 * include/locale.h: Likewise.
42286 * include/math.h: Likewise.
42287 * include/net/if.h: Likewise.
42288 * include/netdb.h: Likewise.
42289 * include/netinet/in.h: Likewise.
42290 * include/pthread.h: Likewise.
42291 * include/pwd.h: Likewise.
42292 * include/regex.h: Likewise.
42293 * include/sched.h: Likewise.
42294 * include/search.h: Likewise.
42295 * include/setjmp.h: Likewise.
42296 * include/signal.h: Likewise.
42297 * include/stdio.h: Likewise.
42298 * include/stdlib.h: Likewise.
42299 * include/string.h: Likewise.
42300 * include/sys/cdefs.h: Likewise.
42301 * include/sys/mman.h: Likewise.
42302 * include/sys/msg.h: Likewise.
42303 * include/sys/resource.h: Likewise.
42304 * include/sys/select.h: Likewise.
42305 * include/sys/socket.h: Likewise.
42306 * include/sys/stat.h: Likewise.
42307 * include/sys/statvfs.h: Likewise.
42308 * include/sys/time.h: Likewise.
42309 * include/sys/times.h: Likewise.
42310 * include/sys/uio.h: Likewise.
42311 * include/sys/utsname.h: Likewise.
42312 * include/sys/wait.h: Likewise.
42313 * include/termios.h: Likewise.
42314 * include/time.h: Likewise.
42315 * include/ulimit.h: Likewise.
42316 * include/unistd.h: Likewise.
42317 * include/utime.h: Likewise.
42318 * include/wchar.h: Likewise.
42319 * include/wctype.h: Likewise.
42320 * include/wordexp.h: Likewise.
42322 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42324 * time/time.h: TIME_UTC must be a macro.
42325 Make timespec_get available for ISO C11 only as well.
42327 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42329 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42330 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42332 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42334 * configure.in: Use -o not -a in test for unsupported multi-arch.
42336 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42338 * manual/texinfo.tex: Update to version 2012-01-19.16.
42340 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42342 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42344 2012-02-24 Roland McGrath <roland@hack.frob.com>
42347 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42348 * manual/fdl-1.3.texi: New file.
42349 * manual/fdl-1.1.texi: File removed.
42352 * manual/libc.texinfo (FDL_VERSION): New @set.
42353 Use it for mention of FDL in cover text.
42354 (Documentation License): Use it in @include file name.
42356 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42357 Roland McGrath <roland@hack.frob.com>
42360 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42361 (not LONG_LONG_MAX and LONG_LONG_MIN.
42362 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42363 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42365 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42367 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42371 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42372 manipulate bits before adding and subtracting TWO23[sx].
42373 * math/libm-test.inc (nearbyint_test): Add more tests.
42375 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42378 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42379 bits before adding and subtracting TWO23[sx].
42380 * math/libm-test.inc (rint_test): Add more tests.
42381 (rint_test_tonearest): Likewise.
42382 (rint_test_towardzero): Likewise.
42383 (rint_test_downward): Likewise.
42384 (rint_test_upward: Likewise.
42386 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42389 * include/stdc-predef.h: New file. Extracted from features.h.
42390 * include/features.h: Include stdc-predef.h.
42391 * Makefile (headers): Add stdc-predef.h.
42392 * CONFORMANCE (Compiler limitations): Update.
42394 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42396 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42398 2012-02-21 David S. Miller <davem@davemloft.net>
42400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42403 2012-02-20 David S. Miller <davem@davemloft.net>
42405 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42406 using a normal save/restore sequence, rather than allocating a
42407 dummy stack frame just to store a frame pointer and restore.
42408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42410 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42412 * manual/install.texi: Fix stray word in line-wrapped comment.
42414 2012-02-20 David S. Miller <davem@davemloft.net>
42416 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42417 both binutils and gcc support GOTDATA.
42419 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42420 "rd %pc" in the PIC register setup sequences.
42422 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42423 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42424 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42425 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42426 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42428 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42429 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42431 (SYSCALL_ERROR_HANDLER): Likewise.
42432 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42433 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42434 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42435 (SYSCALL_ERROR_HANDLER): Likewise.
42437 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42438 (HAVE_GCC_GOTDATA): New.
42439 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42440 relocation support in both binutils and gcc.
42441 * sysdeps/sparc/elf/configure: Regenerate.
42443 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42444 * sysdeps/sparc/sparc32/elf/configure: Delete.
42445 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42446 * sysdeps/sparc/sparc64/elf/configure: Delete.
42447 * sysdeps/sparc/elf/configure.in: New file.
42448 * sysdeps/sparc/elf/configure: Generate.
42450 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42451 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42452 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42453 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42454 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42456 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42458 * manual/install.texi: Do not mention specific glibc version
42460 * manual/libc.texinfo (VERSION, UPDATED): Update.
42461 (@copying): Use @copyright{} and range of years.
42463 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42466 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42467 [crti.S not in sysdirs] (generated): Do not append.
42468 [crti.S not in sysdirs] (omit-deps): Likewise.
42469 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42470 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42471 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42472 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42473 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42475 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42476 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42477 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42478 * csu/defs.awk: Remove file.
42479 * sysdeps/generic/initfini.c: Likewise.
42480 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42482 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42485 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42487 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42488 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42489 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42490 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42491 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42492 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42494 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42495 (__EPOLL_PACKED): Define to empty if not defined by
42497 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42501 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42503 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42504 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42505 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42506 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42508 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42512 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42514 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42517 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42518 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42521 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42526 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42528 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42529 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42531 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42533 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42536 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42538 * math/w_acos.c: Use non-signaling floating-point comparisons.
42539 * math/w_acosf.c: Likewise.
42540 * math/w_acosh.c: Likewise.
42541 * math/w_acoshf.c: Likewise.
42542 * math/w_acoshl.c: Likewise.
42543 * math/w_acosl.c: Likewise.
42544 * math/w_asin.c: Likewise.
42545 * math/w_asinf.c: Likewise.
42546 * math/w_asinl.c: Likewise.
42547 * math/w_atanh.c: Likewise.
42548 * math/w_atanhf.c: Likewise.
42549 * math/w_atanhl.c: Likewise.
42550 * math/w_exp2.c: Likewise.
42551 * math/w_exp2f.c: Likewise.
42552 * math/w_exp2l.c: Likewise.
42553 * math/w_j0.c: Likewise.
42554 * math/w_j0f.c: Likewise.
42555 * math/w_j0l.c: Likewise.
42556 * math/w_j1.c: Likewise.
42557 * math/w_j1f.c: Likewise.
42558 * math/w_j1l.c: Likewise.
42559 * math/w_jn.c: Likewise.
42560 * math/w_jnf.c: Likewise.
42561 * math/w_log.c: Likewise.
42562 * math/w_log10.c: Likewise.
42563 * math/w_log10f.c: Likewise.
42564 * math/w_log10l.c: Likewise.
42565 * math/w_log2.c: Likewise.
42566 * math/w_log2f.c: Likewise.
42567 * math/w_log2l.c: Likewise.
42568 * math/w_logf.c: Likewise.
42569 * math/w_logl.c: Likewise.
42570 * math/w_sqrt.c: Likewise.
42571 * math/w_sqrtf.c: Likewise.
42572 * math/w_sqrtl.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42576 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42577 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42579 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42582 * manual/string.texi (strnlen): Use correct parameter name in
42583 equivalent expression.
42585 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42588 * manual/users.texi (seteuid): Consistently use neweuid for
42591 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42594 * manual/nss.texi (Services in the NSS configuration): Correct
42595 list of services in example configuration file.
42597 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42600 * manual/arith.texi: Remove statements about negative zero
42601 behaving identically to zero.
42603 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42606 * manual/install.texi: Do not document upgrading from libc5.
42608 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42611 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42613 2012-02-18 David S. Miller <davem@davemloft.net>
42615 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42616 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42617 %o7 across the call.
42618 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42620 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42621 SETUP_PIC_REG_LEAF.
42622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42623 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42624 * sysdeps/sparc/crtn.S: Likewise.
42626 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42628 * aout/Makefile: Remove.
42630 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42633 * manual/examples/argp-ex1.c (main): Format definition in GNU
42635 * manual/examples/argp-ex2.c (main): Likewise.
42636 * manual/examples/argp-ex3.c (main): Likewise.
42637 * manual/examples/argp-ex4.c (main): Likewise.
42638 * manual/examples/longopt.c (main): Use new-style prototype
42640 * manual/examples/strncat.c (main): Specify return type and use
42641 (void) for arguments.
42642 * manual/examples/subopt.c (main): Use char **argv argument.
42644 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42647 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42650 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42653 * manual/string.texi (strchr): Change when strchrnul is
42656 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42659 * manual/locale.texi (setlocale): Document LOCPATH.
42661 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42664 * manual/process.texi (execle): Move @dots{} before last argument.
42666 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42669 * manual/charset.texi (Generic Charset Conversion): Fix typo
42670 (LC_TYPE -> LC_CTYPE).
42672 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42675 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42676 (scalbnf): Likewise.
42677 (scalbnl): Likewise.
42678 (scalbln): Likewise.
42679 (scalblnf): Likewise.
42680 (scalblnl): Likewise.
42681 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42682 (vwarnx): Likewise.
42685 * manual/filesys.texi (telldir): Use braces around return type.
42686 * manual/llio.texi (mmap): Add space after comma.
42687 (mmap64): Likewise.
42688 * manual/math.texi (jn): Use @var{} on parameter names.
42694 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42696 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42698 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42699 (sched_get_priority_max): Likewise.
42700 * manual/signal.texi (sigvec): Add space after comma.
42701 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42703 (if_indextoname): Likewise.
42704 (if_freenameindex): Likewise.
42705 (sendto): Use ',' instead of '.' in prototype.
42706 * manual/startup.texi (syscall): Use @dots{} instead of literal
42708 * manual/stdio.texi (__fpending): Separate initial words of
42709 paragraph from @deftypefun line.
42710 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42712 (vsyslog): Use @var{} on parameter names.
42713 * manual/terminal.texi (stty): Use @var{} on parameter names.
42714 * manual/users.texi (getutmp): Use @var{} on parameter names.
42715 (getutmpx): Likewise.
42717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42720 * manual/stdio.texi (fopen): Fix typos in description of
42723 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42726 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42727 get clock_id definition.
42729 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42732 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42733 (madvise): Cast every argument to void on its own.
42735 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42738 * manual/startup.texi (Exit Status): Fix typo.
42740 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42743 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42744 * manual/examples/argp-ex2.c: Likewise.
42745 * manual/examples/argp-ex3.c: Likewise.
42747 2012-02-16 Richard Henderson <rth@redhat.com>
42749 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42750 * sysdeps/s390/s390-32/initfini.c: Remove.
42751 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42752 * sysdeps/s390/s390-64/initfini.c: Remove.
42754 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42756 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42757 compiler output for sysdeps/generic/initfini.c.
42758 * sysdeps/sh/elf/initfini.c: Remove file.
42760 2012-02-16 David S. Miller <davem@davemloft.net>
42763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42765 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42766 * sysdeps/sparc/crti.S: New file.
42767 * sysdeps/sparc/crtn.S: New file.
42768 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42769 * sysdeps/sparc/sparc64/Makefile: Likewise.
42771 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42774 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42776 2012-02-15 Roland McGrath <roland@hack.frob.com>
42779 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42781 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42782 (write, read, close): Likewise.
42783 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42785 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42787 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42788 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42789 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42790 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42792 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42796 2012-02-14 Marek Polacek <polacek@redhat.com>
42798 * sysdeps/x86_64/crti.S: New file.
42799 * sysdeps/x86_64/crtn.S: New file.
42800 * sysdeps/x86_64/elf/initfini.c: Remove file.
42802 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42804 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42805 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42806 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42807 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42809 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42813 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42815 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42816 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42817 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42818 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42820 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42824 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42826 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42827 __feraiseexcept instead of feraiseexcept.
42829 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42830 nanosleep invocations.
42831 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42832 strings, and add error checking for a nanosleep invocations.
42834 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42836 Replace FSF snail mail address with URLs, as per GNU coding standards.
42837 Most of the snail mail addresses were wrong anyway, and omitting
42838 them makes the source code easier to maintain. Almost all of the
42839 changes are to license notices and to locale LC_IDENTIFICATION
42840 addresses, except for this one:
42841 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42842 not its snail mail address.
42844 2012-02-09 Richard Henderson <rth@twiddle.net>
42846 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42847 of kernel-features.h.
42849 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42851 2012-02-08 Marek Polacek <polacek@redhat.com>
42853 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42854 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42855 * sysdeps/gnu/_G_config.h: Likewise.
42856 * sysdeps/generic/_G_config.h: Likewise.
42858 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42860 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42864 * sysdeps/powerpc/powerpc32/crti.S: New file.
42865 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42866 * sysdeps/powerpc/powerpc64/crti.S: New file.
42867 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42869 * Makeconfig (have-initfini): Don't set.
42870 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42871 * configure.in (nopic_initfini): Don't substitute.
42872 * config.h.in (HAVE_INITFINI): Don't #undef.
42873 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42874 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42876 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42878 Support crti.S and crtn.S provided directly by architectures.
42879 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42880 [crti.S in sysdirs] (omit-deps): Likewise.
42881 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42882 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42883 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42884 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42885 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42886 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42887 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42888 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42889 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42890 compiler output for sysdeps/generic/initfini.c.
42891 * sysdeps/i386/elf/Makefile: Remove file.
42892 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42894 2012-02-07 Marek Polacek <polacek@redhat.com>
42896 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42897 * sysdeps/gnu/_G_config.h: Likewise.
42898 * sysdeps/mach/hurd/_G_config.h: Likewise.
42900 2012-02-07 Marek Polacek <polacek@redhat.com>
42902 * math/Makefile (tests): Add tst-CMPLX2.
42903 * math/tst-CMPLX2.c: New file.
42905 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42907 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42909 * math/libm-test.inc (jn_test): Add missing L suffix.
42911 2012-02-06 Marek Polacek <polacek@redhat.com>
42913 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42914 * sysdeps/i386/fpu/e_powf.S: Likewise.
42915 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42916 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42917 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42918 * sysdeps/i386/fpu/e_pow.S: Likewise.
42919 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42920 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42921 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42922 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42923 * sysdeps/i386/fpu/e_log2.S: Likewise.
42924 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42925 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42926 * sysdeps/i386/fpu/e_powl.S: Likewise.
42927 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42928 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42929 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42930 * sysdeps/i386/fpu/e_logl.S: Likewise.
42931 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42932 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42933 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42934 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42935 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42936 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42937 * sysdeps/i386/fpu/e_log.S: Likewise.
42938 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42939 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42940 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42941 * sysdeps/i386/fpu/e_logf.S: Likewise.
42942 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42943 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42944 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42945 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42946 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42947 * sysdeps/i386/fpu/e_log10.S: Likewise.
42948 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42949 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42950 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42951 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42952 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42953 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42954 * sysdeps/i386/asm-syntax.h: Likewise.
42955 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42956 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42957 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42958 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42959 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42960 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42961 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42962 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42963 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42964 * sysdeps/powerpc/sysdep.h: Likewise.
42965 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42966 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42968 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42971 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42973 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42975 * sysdeps/i386/sysdep.h: Include <features.h>.
42976 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42979 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42981 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42983 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42986 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42988 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42989 (SETUP_PIC_REG): Use GET_PC_THUNK.
42990 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42993 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42995 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42996 for non-PIC compilation.
42997 (SETUP_PIC_REG): Add .p2align directive.
42998 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42999 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43000 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43001 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43002 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43003 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43004 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43005 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43006 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43007 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43008 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43009 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43010 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43011 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43012 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43013 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43014 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43015 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43016 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43017 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43018 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43020 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43021 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43022 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43024 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43026 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43027 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43028 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43030 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43031 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43032 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43033 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43034 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43035 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43036 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43037 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43038 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43040 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43042 * math/tst-CMPLX.c: Include <stdio.h>.
43044 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43046 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43049 * sysdeps/sparc/bits/mathdef.h: Likewise.
43051 2012-01-31 Marek Polacek <polacek@redhat.com>
43053 * libio/libio.h: Don't define _PARAMS.
43054 * locale/programs/config.h: Don't define PARAMS.
43055 * stdlib/strtol_l.c: Likewise.
43056 (__strtol_l): Remove PARAMS from the prototype.
43058 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43060 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43061 names. Just use the correct names. Remove unnecessary wrapper
43063 * malloc/arena.c: Likewise.
43064 * malloc/hooks.c: Likewise.
43066 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43067 ARENA_TEST says not to. Simplify test for creation of a new arena.
43068 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43070 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43072 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43074 (update_get_addr): New function.
43075 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43076 GET_ADDR_MODULE parameter.
43078 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43080 * crypt/cert.c: Remove __STDC__ conditionals.
43081 * crypt/crypt-entry.c: Likewise.
43082 * crypt/crypt_util.c: Likewise.
43083 * libio/filedoalloc.c: Likewise.
43084 * libio/fileops.c: Likewise.
43085 * libio/genops.c: Likewise.
43086 * libio/iofclose.c: Likewise.
43087 * libio/iofdopen.c: Likewise.
43088 * libio/iofopen.c: Likewise.
43089 * libio/iofopen64.c: Likewise.
43090 * libio/iogetdelim.c: Likewise.
43091 * libio/iopopen.c: Likewise.
43092 * libio/obprintf.c: Likewise.
43093 * libio/oldfileops.c: Likewise.
43094 * libio/oldiofclose.c: Likewise.
43095 * libio/oldiofdopen.c: Likewise.
43096 * libio/oldiofopen.c: Likewise.
43097 * libio/oldiopopen.c: Likewise.
43098 * libio/wfiledoalloc.c: Likewise.
43099 * libio/wgenops.c: Likewise.
43100 * locale/programs/xmalloc.c: Likewise.
43101 * misc/syslog.c: Likewise.
43102 * stdio-common/xbug.c: Likewise.
43103 * string/memchr.c: Likewise.
43104 * string/memcmp.c: Likewise.
43105 * string/memrchr.c: Likewise.
43106 * string/rawmemchr.c: Likewise.
43107 * sysdeps/posix/getcwd.c: Likewise.
43108 * time/strftime_l.c: Likewise.
43110 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43112 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43113 * config.make.in (config-cflags-sse2avx): Define.
43114 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43117 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43119 * scripts/config.guess: Update from upstream config git repository.
43120 * scripts/config.sub: Likewise.
43122 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43124 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43126 (R_TILEPRO_*, R_TILEGX_*): New macros.
43128 * scripts/firstversions.awk: Fix bug in version range handling.
43130 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43132 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43134 * include/sys/epoll.h: New file.
43135 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43138 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43140 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43141 Avoid unnecessary __WORDSIZE == 64 test.
43142 (fmaxf): Use VEX format if possible.
43147 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43148 * math/math_private.h: Remove libc_fegetround* and
43150 * sysdeps/i386/configure.in: Check for -msse2avx.
43151 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43152 also if SSE2AVX is defined.
43153 Remove libc_fegetround* and libc_fesetround*.
43154 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43155 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43159 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43160 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43161 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43164 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43166 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43168 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43170 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43172 2012-01-27 Ulrich Drepper <drepper@gmail.com>
43175 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43177 * Makeconfig (libm): Define.
43178 * elf/Makefile: Add rules to build and run tst-relsort1.
43179 * elf/tst-relsort1.c: New file.
43180 * elf/tst-relsort1mod1.c: New file.
43181 * elf/tst-relsort1mod2.c: New file.
43183 2012-01-27 Joseph Myers <joseph@codesourcery.com>
43185 * math/s_ldexp.c: Remove __STDC__ conditionals.
43186 * math/s_ldexpf.c: Likewise.
43187 * math/s_ldexpl.c: Likewise.
43188 * math/s_nextafter.c: Likewise.
43189 * math/s_nexttowardf.c: Likewise.
43190 * math/s_significand.c: Likewise.
43191 * math/s_significandf.c: Likewise.
43192 * math/s_significandl.c: Likewise.
43193 * math/w_jnl.c: Likewise.
43194 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43195 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43196 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43197 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43198 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43200 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43201 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43202 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43203 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43204 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43205 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43206 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43207 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43208 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43209 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43210 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43211 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43216 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43218 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43219 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43220 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43221 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43222 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43223 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43224 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43225 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43226 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43227 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43228 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43229 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43230 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43231 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43232 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43233 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43234 * sysdeps/ieee754/k_standard.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43241 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43244 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43248 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43249 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43251 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43253 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43278 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43292 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43296 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43302 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43305 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43306 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43307 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43308 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43309 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43310 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43312 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43314 * sysdeps/ieee754/s_matherr.c: Likewise.
43315 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43316 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43318 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43320 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43322 * crypt/md5.h: Remove __STDC__ conditionals.
43323 * libio/libioP.h: Likewise.
43324 * locale/programs/config.h: Likewise.
43325 * sysdeps/generic/sysdep.h: Likewise.
43326 * sysdeps/i386/asm-syntax.h: Likewise.
43327 * sysdeps/s390/asm-syntax.h: Likewise.
43328 * sysdeps/unix/sysdep.h: Likewise.
43329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43332 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43334 * libio/libio.h: Remove __STDC__ conditionals.
43335 * malloc/obstack.h: Likewise.
43336 * math/complex.h: Likewise.
43337 * math/math.h: Likewise.
43338 * sysdeps/generic/_G_config.h: Likewise.
43339 * sysdeps/gnu/_G_config.h: Likewise.
43340 * sysdeps/mach/hurd/_G_config.h: Likewise.
43341 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43342 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43343 * sysdeps/sparc/bits/mathdef.h: Likewise.
43345 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43348 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43349 Clean up HAS_* macros.
43350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43351 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43353 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43355 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43356 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43357 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43358 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43359 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43361 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43363 * elf/tst-unique3.cc (gets): Remove declaration.
43364 * elf/tst-unique3lib.cc (gets): Likewise.
43365 * elf/tst-unique3lib2.cc (gets): Likewise.
43366 * elf/tst-unique4.cc (gets): Likewise.
43368 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43370 * include/stdio.h: Add C++ protection. Add gets declarations and
43372 * debug/tst-chk1.c: Don't declare gets here.
43373 * stdio-common/tst-gets.c: Likewise.
43375 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43377 * posix/glob: Remove directory.
43379 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43381 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43383 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43385 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43386 of the non-standard EPFNOSUPPORT.
43388 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43390 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43391 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43392 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43394 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43396 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43398 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43400 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43402 * nscd/grpcache.c (cache_addgr): Likewise.
43403 * nscd/hstcache.c (cache_addhst): Likewise.
43404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43405 * nscd/pwdcache.c (cache_addpw): Likewise.
43406 * nscd/servicescache.c (cache_addserv): Likewise.
43408 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43410 * malloc/malloc.c: Various cleanups.
43411 * malloc/hooks.c: Likewise.
43413 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43414 * stdlib/bug-fmtmsg1.c: New file.
43416 * stdlib/fmtmsg.c (init): Add missing unlock.
43417 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43419 2012-01-12 Marek Polacek <polacek@redhat.com>
43421 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43424 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43426 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43427 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43428 macro to ensure uniqueness of label name.
43429 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43430 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43432 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43436 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43437 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43438 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43441 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43443 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43445 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43446 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43447 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43449 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43451 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43452 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43453 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43456 * math/bits/math-finite.h: Add ldexp support.
43458 2012-01-10 Marek Polacek <polacek@redhat.com>
43460 * locale/programs/localedef.h (show_archive_content): Add noreturn
43463 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43465 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43467 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43469 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43471 * io/Makefile (headers): Add bits/poll2.h.
43473 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43476 typo #include statement.
43478 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43480 * include/sys/cdefs.h: Define __attribute_alloc_size.
43481 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43482 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43483 * elf/pldd.c: Likewise.
43484 * iconv/iconv_charmap.c: Likewise.
43485 * iconv/iconvconfig.c: Likewise.
43486 * iconv/strtab.c: Likewise.
43487 * locale/programs/locale.c: Likewise.
43488 * locale/programs/localedef.h: Likewise.
43489 * locale/programs/simple-hash.c: Likewise.
43490 * nscd/nscd.h: Likewise.
43491 * nss/makedb.c: Likewise.
43492 * sysdeps/generic/ldconfig.h: Likewise.
43493 * locale/programs/localedef.c: Remove xmalloc prototype.
43494 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43496 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43498 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43501 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43503 * math/Makefile (tests): Add tst-CMPLX.
43504 * math/tst-CMPLX.c: New file.
43506 * math/complex.h (CMPLXL): Fix typo.
43508 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43509 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43511 * debug/tst-chk1.c: Add poll and ppoll tests.
43512 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43513 * include/sys/poll.h: Add hidden proto for ppoll.
43514 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43515 * sysdeps/mach/hurd/ppoll.c: Likewise.
43516 * io/ppoll.c: Likewise.
43517 * debug/poll_chk.c: New file.
43518 * debug/ppoll_chk.c: New file.
43519 * include/bits/poll2.h: New file.
43520 * io/bits/poll2.h: New file.
43523 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43525 * configure.in: static is always set to yes. Remove.
43526 * config.make.in: Don't set build-static.
43527 * Makeconfig: Remove use of build-static.
43528 * dlfcn/Makefile: Likewise.
43529 * elf/Makefile: Likewise.
43530 * math/Makefile: Likewise.
43531 * misc/Makefile: Likewise.
43532 * nptl/Makefile: Likewise.
43533 * sysdeps/mach/hurd/Makefile: Likewise.
43535 * configure.in: PWD_P is not used anymore.
43536 * config.make.in: Remove PWD_P entry.
43538 * configure.in: Remove last remnants of RANLIB.
43539 No need to check for signed size_t anymore.
43540 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43542 Remove __builtin_expect test because we require at least gcc 3.4.
43543 * aclocal.m4: Likewise.
43545 * wcsmbs/mbrtoc16.c: Implement using towc function.
43546 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43547 * wcsmbs/wcsmbsload.c: Likewise.
43548 * iconv/gconv_simple.c: Likewise.
43549 * iconv/gconv_int.h: Likewise.
43550 * iconv/gconv_builtin.h: Likewise.
43551 * iconv/iconv_prog.c: Remove CHAR16 handling.
43553 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43555 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43557 * configure.in: Remove --with-elf and --enable-bounded options.
43558 Dont set base_machine for ia64. More non-ELF conditions removed.
43559 Remove testing and setting of leading underscore information.
43560 * config.make.in (build-bounded): Set to no.
43561 * config.h.in: Remove NO_UNDERSCORES entry.
43562 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43564 * csu/start.c: Remove !NO_UNDERSCORE code.
43565 * locale/localeinfo.h: Likewise.
43566 * sysdeps/generic/machine-gmon.h: Likewise.
43567 * sysdeps/generic/sysdep.h: Likewise.
43568 * sysdeps/i386/sysdep.h: Likewise.
43569 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43570 * sysdeps/mach/sysdep.h: Likewise.
43571 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43572 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43573 * sysdeps/sh/sysdep.h: Likewise.
43574 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43575 * sysdeps/unix/i386/sysdep.S: Likewise.
43576 * sysdeps/unix/sparc/start.c: Likewise.
43577 * sysdeps/unix/sparc/sysdep.S: Likewise.
43578 * sysdeps/unix/sparc/sysdep.h: Likewise.
43579 * sysdeps/unix/start.c: Likewise.
43580 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43581 * sysdeps/x86_64/sysdep.h: Likewise.
43583 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43586 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43588 * argp/argp-fmtstream.h: Use const instead __const.
43589 * argp/argp.h: Likewise.
43590 * assert/assert.h: Likewise.
43591 * bits/fenv.h: Likewise.
43592 * bits/sched.h: Likewise.
43593 * bits/sigset.h: Likewise.
43594 * bits/sigthread.h: Likewise.
43595 * catgets/nl_types.h: Likewise.
43596 * conform/data/pthread.h-data: Likewise.
43597 * crypt/crypt-private.h: Likewise.
43598 * crypt/crypt.h: Likewise.
43599 * crypt/crypt_util.c: Likewise.
43600 * ctype/ctype.h: Likewise.
43601 * debug/execinfo.h: Likewise.
43602 * debug/mbsnrtowcs_chk.c: Likewise.
43603 * debug/mbsrtowcs_chk.c: Likewise.
43604 * debug/wcsnrtombs_chk.c: Likewise.
43605 * debug/wcsrtombs_chk.c: Likewise.
43606 * debug/wcstombs_chk.c: Likewise.
43607 * dirent/dirent.h: Likewise.
43608 * dlfcn/dlfcn.h: Likewise.
43609 * elf/neededtest4.c: Likewise.
43610 * grp/grp.h: Likewise.
43611 * gshadow/gshadow.h: Likewise.
43612 * iconv/gconv.h: Likewise.
43613 * iconv/gconv_int.h: Likewise.
43614 * iconv/gconv_simple.c: Likewise.
43615 * iconv/iconv.h: Likewise.
43616 * iconv/loop.c: Likewise.
43617 * iconv/skeleton.c: Likewise.
43618 * include/aio.h: Likewise.
43619 * include/aliases.h: Likewise.
43620 * include/argz.h: Likewise.
43621 * include/arpa/inet.h: Likewise.
43622 * include/assert.h: Likewise.
43623 * include/dirent.h: Likewise.
43624 * include/dlfcn.h: Likewise.
43625 * include/execinfo.h: Likewise.
43626 * include/fcntl.h: Likewise.
43627 * include/fenv.h: Likewise.
43628 * include/glob.h: Likewise.
43629 * include/grp.h: Likewise.
43630 * include/libintl.h: Likewise.
43631 * include/mntent.h: Likewise.
43632 * include/netdb.h: Likewise.
43633 * include/pwd.h: Likewise.
43634 * include/rpc/netdb.h: Likewise.
43635 * include/sched.h: Likewise.
43636 * include/search.h: Likewise.
43637 * include/shadow.h: Likewise.
43638 * include/signal.h: Likewise.
43639 * include/stdio.h: Likewise.
43640 * include/stdlib.h: Likewise.
43641 * include/string.h: Likewise.
43642 * include/sys/socket.h: Likewise.
43643 * include/sys/stat.h: Likewise.
43644 * include/sys/statfs.h: Likewise.
43645 * include/sys/statvfs.h: Likewise.
43646 * include/sys/syslog.h: Likewise.
43647 * include/sys/time.h: Likewise.
43648 * include/sys/uio.h: Likewise.
43649 * include/time.h: Likewise.
43650 * include/unistd.h: Likewise.
43651 * include/utmp.h: Likewise.
43652 * include/wchar.h: Likewise.
43653 * include/wctype.h: Likewise.
43654 * inet/aliases.h: Likewise.
43655 * inet/arpa/inet.h: Likewise.
43656 * inet/netinet/ether.h: Likewise.
43657 * inet/netinet/in.h: Likewise.
43658 * intl/libintl.h: Likewise.
43659 * io/bits/fcntl2.h: Likewise.
43660 * io/fcntl.h: Likewise.
43661 * io/ftw.h: Likewise.
43662 * io/sys/poll.h: Likewise.
43663 * io/sys/stat.h: Likewise.
43664 * io/sys/statfs.h: Likewise.
43665 * io/sys/statvfs.h: Likewise.
43666 * io/utime.h: Likewise.
43667 * libio/bits/stdio.h: Likewise.
43668 * libio/bits/stdio2.h: Likewise.
43669 * libio/libio.h: Likewise.
43670 * libio/libioP.h: Likewise.
43671 * libio/stdio.h: Likewise.
43672 * locale/lc-ctype.c: Likewise.
43673 * locale/locale.h: Likewise.
43674 * login/utmp.h: Likewise.
43675 * malloc/arena.c: Likewise.
43676 * malloc/malloc.c: Likewise.
43677 * malloc/malloc.h: Likewise.
43678 * malloc/mcheck.c: Likewise.
43679 * malloc/mtrace.c: Likewise.
43680 * math/bits/mathcalls.h: Likewise.
43681 * math/fenv.h: Likewise.
43682 * math/math_private.h: Likewise.
43683 * misc/bits/error.h: Likewise.
43684 * misc/bits/syslog.h: Likewise.
43685 * misc/err.h: Likewise.
43686 * misc/error.h: Likewise.
43687 * misc/fstab.h: Likewise.
43688 * misc/mntent.h: Likewise.
43689 * misc/regexp.h: Likewise.
43690 * misc/search.h: Likewise.
43691 * misc/sgtty.h: Likewise.
43692 * misc/sys/mman.h: Likewise.
43693 * misc/sys/syslog.h: Likewise.
43694 * misc/sys/uio.h: Likewise.
43695 * misc/sys/xattr.h: Likewise.
43696 * misc/ttyent.h: Likewise.
43697 * nis/rpcsvc/ypclnt.h: Likewise.
43698 * nss/nss.h: Likewise.
43699 * posix/bits/unistd.h: Likewise.
43700 * posix/fnmatch.h: Likewise.
43701 * posix/glob.h: Likewise.
43702 * posix/sched.h: Likewise.
43703 * posix/spawn.h: Likewise.
43704 * posix/sys/wait.h: Likewise.
43705 * posix/unistd.h: Likewise.
43706 * posix/wordexp.h: Likewise.
43707 * pwd/pwd.h: Likewise.
43708 * resolv/netdb.h: Likewise.
43709 * resource/sys/resource.h: Likewise.
43710 * rt/aio.h: Likewise.
43711 * rt/bits/mqueue2.h: Likewise.
43712 * rt/mqueue.h: Likewise.
43713 * shadow/shadow.h: Likewise.
43714 * signal/signal.h: Likewise.
43715 * socket/send.c: Likewise.
43716 * socket/sendto.c: Likewise.
43717 * socket/sys/socket.h: Likewise.
43718 * stdio-common/printf.h: Likewise.
43719 * stdlib/bits/stdlib.h: Likewise.
43720 * stdlib/fmtmsg.h: Likewise.
43721 * stdlib/monetary.h: Likewise.
43722 * stdlib/stdlib.h: Likewise.
43723 * stdlib/ucontext.h: Likewise.
43724 * streams/stropts.h: Likewise.
43725 * string/argz.h: Likewise.
43726 * string/bits/string2.h: Likewise.
43727 * string/string.h: Likewise.
43728 * string/strings.h: Likewise.
43729 * sunrpc/rpc/auth.h: Likewise.
43730 * sunrpc/rpc/auth_des.h: Likewise.
43731 * sunrpc/rpc/clnt.h: Likewise.
43732 * sunrpc/rpc/netdb.h: Likewise.
43733 * sunrpc/rpc/pmap_clnt.h: Likewise.
43734 * sunrpc/rpc/xdr.h: Likewise.
43735 * sysdeps/generic/inttypes.h: Likewise.
43736 * sysdeps/generic/net/if.h: Likewise.
43737 * sysdeps/generic/sys/swap.h: Likewise.
43738 * sysdeps/gnu/net/if.h: Likewise.
43739 * sysdeps/gnu/utmpx.h: Likewise.
43740 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43741 * sysdeps/i386/i486/bits/string.h: Likewise.
43742 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43743 * sysdeps/s390/bits/string.h: Likewise.
43744 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43745 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43746 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43747 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43748 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43749 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43750 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43751 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43752 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43753 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43754 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43755 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43756 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43757 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43758 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43759 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43760 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43763 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43764 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43765 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43766 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43767 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43768 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43769 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43770 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43771 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43772 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43773 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43774 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43775 * sysvipc/sys/ipc.h: Likewise.
43776 * sysvipc/sys/msg.h: Likewise.
43777 * sysvipc/sys/sem.h: Likewise.
43778 * sysvipc/sys/shm.h: Likewise.
43779 * termios/termios.h: Likewise.
43780 * time/sys/time.h: Likewise.
43781 * time/time.h: Likewise.
43782 * wcsmbs/bits/wchar2.h: Likewise.
43783 * wcsmbs/uchar.h: Likewise.
43784 * wcsmbs/wchar.h: Likewise.
43785 * wctype/wctype.h: Likewise.
43788 * Makeconfig: Remove all but ELF support including AIX support.
43789 * Makerules: Likewise.
43790 * config.h.in: Likewise.
43791 * config.make.in: Likewise.
43792 * configure: Likewise.
43793 * configure.in: Likewise.
43794 * csu/Makefile: Likewise.
43795 * csu/version.c: Likewise.
43796 * debug/Makefile: Likewise.
43797 * dlfcn/Makefile: Likewise.
43798 * elf/Makefile: Likewise.
43799 * extra-lib.mk: Likewise.
43800 * iconv/Makefile: Likewise.
43801 * include/libc-symbols.h: Likewise.
43802 * include/shlib-compat.h: Likewise.
43803 * resolv/Makefile: Likewise.
43804 * resolv/res_libc.c: Likewise.
43805 * rt/Makefile: Likewise.
43806 * sysdeps/i386/asm-syntax.h: Likewise.
43807 * sysdeps/i386/sysdep.h: Likewise.
43808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43809 * sysdeps/mach/sysdep.h: Likewise.
43810 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43811 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43812 * sysdeps/s390/asm-syntax.h: Likewise.
43813 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43814 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43815 * sysdeps/sh/sysdep.h: Likewise.
43816 * sysdeps/unix/sparc/sysdep.h: Likewise.
43817 * sysdeps/wordsize-32/divdi3.c: Likewise.
43818 * sysdeps/x86_64/sysdep.h: Likewise.
43820 * argp/Versions: Remove _argp_unlock_xxx.
43823 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43824 * abilist/libBrokenLocale.abilist: Likewise.
43825 * abilist/libanl.abilist: Likewise.
43826 * abilist/libc.abilist: Likewise.
43827 * abilist/libcrypt.abilist: Likewise.
43828 * abilist/libdl.abilist: Likewise.
43829 * abilist/libm.abilist: Likewise.
43830 * abilist/libnsl.abilist: Likewise.
43831 * abilist/libpthread.abilist: Likewise.
43832 * abilist/libresolv.abilist: Likewise.
43833 * abilist/librt.abilist: Likewise.
43834 * abilist/libthread_db.abilist: Likewise.
43835 * abilist/libutil.abilist: Likewise.
43836 * abilist/libnss_db.abilist: New file.
43838 * scripts/abilist.awk: Add support for indirect functions.
43840 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43842 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43844 * shlib-versions: Remove entries for ports architectures.
43846 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43848 * elf/stackguard-macros.h: Remove support for IA-64.
43849 * elf/tst-auditmod1.c: Likewise.
43850 * sysdeps/generic/ldsodefs.h: Likewise.
43852 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43853 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43857 * configure.in: Remove --enable-omitfp support.
43859 * config.make.in: Likewise.
43860 * Makeconfig: Likewise.
43861 * manual/install.texi: Likewise.
43863 In case anyone cares, the IA-64 architecture could move to ports.
43864 * sysdeps/ia64/*: Removed.
43865 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43866 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43869 * configure.in: Remove entries for unsupported architectures.
43872 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43873 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43875 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43876 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43877 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43878 fall back to using wcrtomb.
43879 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43880 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43882 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43883 * wcsmbs/tst-c16c32-1.c: New file.
43885 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43888 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43890 * elf/tst-unique3.cc: Add explicit declaration of gets.
43891 * elf/tst-unique3lib.cc: Likewise.
43892 * elf/tst-unique3lib2.cc: Likewise.
43893 * elf/tst-unique4.cc: Likewise.
43895 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43897 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43900 * assert/assert.h (static_assert): Don't define for C++.
43901 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43902 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43904 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43906 * iconv/loop.c (single loop): Fix assertion in storing of
43909 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43911 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43913 * posix/getconf.c: Update copyright year.
43914 * nss/getent.c: Likewise.
43915 * nss/makedb.c: Likewise.
43916 * iconv/iconvconfig.c: Likewise.
43917 * iconv/iconv_prog.c: Likewise.
43918 * elf/ldconfig.c: Likewise.
43919 * elf/pldd.c: Likewise.
43920 * elf/sotruss.ksh: Likewise.
43921 * catgets/gencat.c: Likewise.
43922 * csu/version.c: Likewise.
43923 * elf/ldd.bash.in: Likewise.
43924 * elf/sprof.c (print_version): Likewise.
43925 * locale/programs/locale.c: Likewise.
43926 * locale/programs/localedef.c: Likewise.
43927 * login/programs/pt_chown.c: Likewise.
43928 * nscd/nscd.c (print_version): Likewise.
43929 * debug/xtrace.sh: Likewise.
43930 * malloc/memusage.sh: Likewise.
43931 * malloc/mtrace.pl: Likewise.
43932 * debug/catchsegv.sh: Likewise.
43934 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43936 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43939 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43942 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43943 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43945 * iconv/gconv_int.h: Likewise.
43946 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43947 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43948 from libc for GLIBC_2.16.
43949 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43950 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43951 * wcsmbs/uchar.h: Really define mbstate_t.
43952 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43953 * wcsmbs/c16rtomb.c: New file.
43954 * wcsmbs/mbrtoc16.c: New file.
43955 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43956 for C/POSIX locale.
43957 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43958 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43960 * wcsmbs/wchar.h: Add missing __restrict.
43962 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43965 * time/Makefile (routines): Add timespec_get.
43966 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43967 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43968 timespec for ISO C11.
43969 * time/timespec_get.c: New file.
43970 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43971 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43974 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43975 * stdlib/stdlib.h: Declare aligned_alloc.
43976 * Versions.def: Add GLIBC_2.16 for libc.
43977 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43980 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43983 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43987 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43990 * assert/assert.h (static_assert): Define.
43992 * version.h: Update for 2.16 development version.
43995 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43998 * version.h (RELEASE): Bump for 2.15 release.
43999 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44001 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44002 Patch by Marek Polacek <mpolacek@redhat.com>.
44004 * bits/byteswap.h: Protect long long constants with __extension__.
44005 * sysdeps/i386/bits/byteswap.h: Likewise.
44006 * sysdeps/ia64/bits/byteswap.h: Likewise.
44007 * sysdeps/s390/bits/byteswap.h: Likewise.
44008 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44010 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44014 destination buffer.
44015 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44017 2011-12-23 Marek Polacek <polacek@redhat.com>
44019 * elf/dl-addr.c (determine_info): Add inline keyword.
44020 * elf/tst-auditmod4b.c (check_avx): Likewise.
44021 * elf/tst-auditmod6b.c (check_avx): Likewise.
44022 * elf/tst-auditmod6c.c (check_avx): Likewise.
44023 * elf/tst-auditmod7b.c (check_avx): Likewise.
44025 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44027 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44030 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44033 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44034 processing for last bytes.
44036 2011-08-06 Bruno Haible <bruno@clisp.org>
44039 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44040 U+0385, not to U+1FEE.
44043 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44044 entry for U+00A5 U+0301.
44046 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44049 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44050 buffer for the output is too small.
44052 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44056 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44057 SSE flags if possible.
44059 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44062 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44063 processing for last bytes.
44065 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44067 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44068 (syscall-list-default-options, syscall-list-default-condition)
44069 (syscall-list-includes): Define.
44070 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44071 list of ABIs and options and #if conditions for each ABI. Do not
44072 handle common syscalls between ABIs specially.
44073 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44075 (syscall-list-variants, syscall-list-32bit-options)
44076 (syscall-list-32bit-condition, syscall-list-64bit-options)
44077 (syscall-list-64bit-condition): Define.
44078 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44079 (syscall-list-variants, syscall-list-32bit-options)
44080 (syscall-list-32bit-condition, syscall-list-64bit-options)
44081 (syscall-list-64bit-condition): Define.
44082 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44084 (syscall-list-variants, syscall-list-32bit-options)
44085 (syscall-list-32bit-condition, syscall-list-64bit-options)
44086 (syscall-list-64bit-condition): Define.
44087 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44089 (syscall-list-variants, syscall-list-32bit-options)
44090 (syscall-list-32bit-condition, syscall-list-64bit-options)
44091 (syscall-list-64bit-condition): Define.
44093 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44095 * locale/iso-639.def: Add brx entry.
44098 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44099 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44101 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44102 __feraiseexcept_renamed.
44104 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44107 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44108 EPOLLET with unsigned values.
44109 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44112 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44113 to large cancellation.
44114 * math/s_cacoshf.c: Likewise.
44115 * math/s_cacoshl.c: Likewise.
44117 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44121 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44122 * math/s_cacoshf.c: Likewise.
44123 * math/s_cacoshl.c: Likewise.
44125 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44128 * iconv/gconv.h: Define __GCONV_SWAP.
44129 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44130 * iconvdata/utf-16.c: Likewise.
44131 * iconvdata/utf-32.c: Likewise.
44133 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44136 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44137 numerator after shifting it by one limb.
44139 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44141 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44142 under [__USE_EXTERN_INLINES].
44144 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44147 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44149 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44151 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44152 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44154 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44155 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44156 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44157 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44158 for strncasecmp/strncasecmp_l compilation.
44159 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44160 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44162 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44165 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44168 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44171 * time/tzfile.c (__tzfile_read): Check values from file header.
44173 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44175 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44176 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44177 * powerpc/powerpc32/dl-start.S: Likewise.
44178 * powerpc/powerpc32/elf/start.S: Likewise.
44179 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44180 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44181 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44182 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44183 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44184 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44185 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44186 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44187 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44188 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44189 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44190 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44191 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44192 * powerpc/powerpc32/memset.S: Likewise.
44193 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44194 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44195 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44196 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44197 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44198 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44199 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44200 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44201 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44202 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44203 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44204 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44205 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44207 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44209 * math/libm-test.inc: Added more nearbyint tests.
44210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44211 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44213 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44215 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44217 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44220 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44222 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44223 Add wcscpy-ssse3 wcscpy-c.
44224 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44225 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44226 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44227 * sysdeps/x86_64/wcschr.S: New file.
44228 * sysdeps/x86_64/wcsrchr.S: New file.
44229 * string/test-strcmp.c: Remove checking of wcscmp function for
44231 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44232 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44233 wcsrchr-sse2 wcsrchr-c.
44234 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44235 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44236 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44237 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44238 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44239 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44240 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44241 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44242 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44243 * wcsmbc/wcschr.c (WCSCHR): New macro.
44245 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44247 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44248 * wcsmbs/test-wcsrchr.c: New file.
44249 * string/test-strrchr.c: Add wcsrchr support.
44251 * wcsmbs/test-wcscpy.c: New file.
44252 * string/test-strcpy.c: Add wcscpy support.
44255 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44257 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44260 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44263 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44265 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44268 Minor optimizations.
44270 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44271 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44272 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44274 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44276 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44277 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44278 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44279 for gcc to avoid warnings.
44280 * inet/Makefile (tests): Add tst-checks.
44281 * inet/tst-checks.c: New file.
44283 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44286 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44289 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44290 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44292 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44294 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44296 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44299 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44301 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44303 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44304 conditional on GCC version.
44305 (__arch_compare_and_exchange_val_8_acq)
44306 (__arch_compare_and_exchange_val_16_acq)
44307 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44308 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44309 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44311 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44313 * sysdeps/sh/backtrace.c: New file.
44315 2011-12-02 Andreas Schwab <schwab@redhat.com>
44317 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44320 2011-12-01 Andreas Schwab <schwab@redhat.com>
44322 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44323 falling back to utime.
44325 2011-11-30 Andreas Schwab <schwab@redhat.com>
44327 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44328 expectations for float.
44330 2011-11-29 Andreas Schwab <schwab@redhat.com>
44332 * locale/weight.h (findidx): Add parameter len.
44333 * locale/weightwc.h (findidx): Likewise.
44334 * posix/fnmatch_loop.c (FCT): Adjust caller.
44335 * posix/regcomp.c (build_equiv_class): Likewise.
44336 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44337 * posix/regexec.c (check_node_accept_bytes): Likewise.
44338 * string/strcoll_l.c (STRCOLL): Likewise.
44339 * string/strxfrm_l.c (STRXFRM): Likewise.
44341 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44343 * Makefile.in: Remove CVSOPT handling.
44344 * configure.in: Remove use of AC_REVISION.
44345 * iconvdata/Makefile (distribute): No need to filter out CVS.
44346 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44349 2011-11-16 Andreas Schwab <schwab@redhat.com>
44351 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44352 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44353 [USE_AS_STRNCASECMP_L]: Likewise.
44354 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44355 NO_TLS_DIRECT_SEG_REFS.
44356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44357 Fix argument offsets for non-PIC.
44358 [USE_AS_STRNCASECMP_L]: Likewise.
44359 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44360 NO_TLS_DIRECT_SEG_REFS.
44362 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44364 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44366 * locale/loadlocale.c (_nl_load_locale): Likewise.
44368 2011-11-15 Andreas Schwab <schwab@redhat.com>
44370 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44371 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44373 (SYSCALL_GETTIME): Set errno on error.
44375 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44376 count references to noai6ai_cached.
44378 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44380 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44382 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44383 FD_CLOEXEC for /proc/self/maps.
44385 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44386 FD_CLOEXEC for /proc/meminfo.
44388 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44391 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44392 FD_CLOEXEC for given file.
44394 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44396 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44397 FD_CLOEXEC for /etc/hosts.
44398 (_gethtent): Likewise.
44400 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44402 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44403 cancellation and set FD_CLOEXEC for /etc/netgroup.
44405 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44406 reading /etc/publickey.
44408 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44409 allow cancellation when reading /etc/group.
44411 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44413 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44415 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44416 when using data file.
44418 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44420 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44421 (write_nis_obj): Use "c" and "e" in fopen.
44423 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44425 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44427 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44429 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44431 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44434 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44436 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44438 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44440 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44441 file parsing and set FD_CLOEXEC.
44443 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44445 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44447 2011-11-14 Andreas Schwab <schwab@redhat.com>
44449 * malloc/arena.c (arena_get2): Don't call reused_arena when
44450 _int_new_arena failed.
44452 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44454 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44455 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44456 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44457 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44460 to compile strcasecmp and strncasecmp.
44461 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44462 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44466 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44468 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44469 locale-defines.sym to gen-as-const-headers.
44470 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44471 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44473 to compile strcasecmp and strncasecmp.
44474 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44475 strcasecmp_l and strncasecmp_l.
44476 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44477 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44478 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44479 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44480 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44481 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44482 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44483 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44484 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44485 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44486 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44488 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44490 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44491 result of SYSDEP_GETTIME_CPU to retval.
44492 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44493 parameter list to macro. Remove trailing semicolon. Adjust users.
44495 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44498 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44500 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44502 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44503 from unused variable.
44505 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44507 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44510 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44513 * sunrpc/rpc_prot.c (rejected): Fix case value.
44515 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44516 unsigned long long int to avoid warnings in shift.
44518 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44520 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44523 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44524 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44525 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44527 * nis/nis_table.c (nis_list): Use variable of correct type for
44528 result of __follow_path call.
44530 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44532 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44533 of math functions ceil, trunc, floor, round, and sqrt, when
44534 avaliable on the platform.
44535 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44537 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44538 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44539 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44541 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44543 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44544 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44546 2011-11-11 Roland McGrath <roland@hack.frob.com>
44548 * include/unistd.h: Fix __readlink return type.
44549 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44551 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44553 * stdlib/ucontext.h: Undo last change for makecontext.
44555 2011-11-11 Andreas Schwab <schwab@redhat.com>
44557 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44559 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44560 * setjmp/setjmp.h: Mark functions as non-leaf.
44561 * setjmp/bits/setjmp2.h: Likewise.
44562 * stdlib/ucontext.h: Likewise.
44564 2011-11-10 Andreas Schwab <schwab@redhat.com>
44566 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44567 (reused_arena): Don't check arena limit.
44568 (arena_get2): Atomically check arena limit.
44570 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44572 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44573 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44578 2011-11-07 Andreas Schwab <schwab@redhat.com>
44580 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44581 handler when locking.
44583 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44584 Fix size of allocated buffer.
44586 2011-11-04 Andreas Schwab <schwab@redhat.com>
44589 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44590 declarations for long double functions.
44591 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44593 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44595 2011-11-03 Andreas Schwab <schwab@redhat.com>
44597 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44600 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44603 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44605 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44607 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44609 * include/alloca.h (stackinfo_alloca_round): Define.
44610 (extend_alloca): Use it.
44611 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44612 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44615 * scripts/check-local-headers.sh: Ignore libaudit.h.
44617 * nscd/Makefile (extra-objs): Make recursively expanded.
44619 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44621 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44624 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44625 * posix/tst-rfc3484-2.c: Likewise.
44626 * posix/tst-rfc3484-3.c: Likewise.
44628 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44630 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44632 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44633 process_vm_writev from libc using GLIBC_2.15 version.
44635 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44637 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44639 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44642 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44645 * nss/getent.c (initgroups_keys): Show error message in case no group
44648 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44649 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44650 __bump_nl_timestamp.
44651 * nscd/connections (nscd_init): When host database is served open
44652 netlink socket and request notification about configuration changes.
44653 (main_loop_poll): Track netlink file descriptor and bump timestamp
44654 in case data becomes available.
44655 (main_loop_epoll): Likewise.
44656 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44657 (database_pers_head): Add extra_data fileds.
44658 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44659 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44660 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44663 in6ai data, call __free_in6ai.
44664 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44665 Add -DHAVE_NETLINK.
44666 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44667 interface information. Reuse previous data if netlink timestamp
44669 (__bump_nl_timestamp): New function.
44670 (__free_in6ai): New function.
44672 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44674 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44675 close_not_cancel_no_status here.
44676 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44678 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44681 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44684 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44685 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44686 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44688 2011-07-03 Andreas Jaeger <aj@suse.de>
44691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44692 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44693 * math/libm-test.inc (sin_test): Add test case.
44695 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44698 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44699 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44701 * elf/chroot_canon.c (chroot_canon): Cleanups.
44703 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44706 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44707 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44709 * string/test-strchr.c: Make usable for strchrnul testing.
44710 * string/test-strchrnul.c: New file.
44711 * string/Makefile (strop-tests): Add strchrnul.
44713 * po/it.po: Update from translation team.
44714 * po/es.po: Likewise.
44716 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44718 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44719 the three constants needed as parameters. Drop the others.
44720 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44721 __m128i_strloadu_tolower.
44722 Create and initialize variable zero and use it in all the places
44723 where _mm_setzero_si128 was used.
44725 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44726 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44727 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44728 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44730 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44732 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44733 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44734 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44735 __mpranred, __mptan.
44736 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44737 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44738 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44739 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44740 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44741 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44743 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44744 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44746 2011-10-28 Andreas Schwab <schwab@redhat.com>
44748 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44749 redefine if SHARED.
44750 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44753 wide char related routines to wcsmbs subdir.
44755 2011-10-27 Andreas Schwab <schwab@redhat.com>
44758 * misc/sys/cdefs.h (__THROWNL): Define.
44759 * posix/unistd.h: Use __THREADNL instead of __THREAD
44760 for memory synchronization functions.
44762 2011-10-26 Roland McGrath <roland@hack.frob.com>
44765 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44767 * manual/stdio.texi (Obstack Streams): Node removed.
44769 2011-10-26 Andreas Schwab <schwab@redhat.com>
44771 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44773 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44775 * math/math_private.h (math_force_eval): Allow non-addressable
44777 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44779 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44781 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44782 file is not needed.
44784 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44786 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44787 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44790 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44791 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44793 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44794 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44795 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44796 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44797 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44798 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44799 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44800 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44801 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44802 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44803 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44804 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44805 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44806 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44807 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44808 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44809 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44810 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44811 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44813 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44814 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44817 place. Use VEX encoding when compiling for AVX.
44819 2011-10-25 Andreas Schwab <schwab@redhat.com>
44821 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44822 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44824 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44826 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44828 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44829 useless if() expression.
44830 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44831 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44832 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44834 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44835 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44836 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44837 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44838 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44839 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44840 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44841 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44842 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44843 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44844 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44848 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44850 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44852 2011-10-25 Andreas Schwab <schwab@redhat.com>
44854 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44856 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44858 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44860 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44861 .text section. Avoid duplicate constants.
44862 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44864 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44870 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44871 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44872 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44873 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44874 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44875 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44876 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44877 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44878 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44879 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44882 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44883 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44884 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44885 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44886 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44887 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44888 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44889 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44891 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44892 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44893 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44895 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44896 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44897 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44898 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44899 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44900 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44901 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44904 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44905 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44906 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44908 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44910 * sysdeps/x86_64/dla.h: Move to ...
44911 * sysdeps/x86_64/fpu/dla.h: ...here.
44912 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44913 situations. Use __builtin_fma only for gcc 4.6 and up.
44915 * config.make.in: Add have-mfma4 entry.
44916 * configure.in: Substitute libc_cv_cc_fma4.
44917 * math/Makefile (dbl-only-routines): Add sincostab.
44918 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44919 Use __sincostab not sincos.
44920 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44922 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44927 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44928 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44929 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44930 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44932 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44933 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44935 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44936 define aliases when function name is a macro.
44937 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44938 sysdeps/ieee754/dbl-64/sincos.tbl.
44939 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44940 fma4-enabled routines.
44941 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44942 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44943 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44944 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44945 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44946 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44948 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44950 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44951 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44952 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44953 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44954 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44956 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44957 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44958 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44959 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44960 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44961 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44962 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44964 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44965 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44966 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44967 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44968 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44969 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44970 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44972 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44983 2011-10-24 Andreas Schwab <schwab@redhat.com>
44985 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44987 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44989 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44991 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44995 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44996 Remove unused variable magic_bits.
44997 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44999 * string/strnlen.c: Define and use STRNLEN macro.
45000 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45001 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45003 * wcsmbs/wcslen.c: Define and use WCSLEN.
45004 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45005 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45006 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45007 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45008 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45009 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45010 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45012 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45015 strnlen-sse2-no-bsf.
45016 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45017 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45018 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45019 Add strnlen support.
45020 (USE_AS_STRNLEN): New macro.
45021 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45022 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45023 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45024 * sysdeps/x86_64/wcslen.S: New file.
45026 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45029 XMM-moves are used for copying on small sizes.
45031 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45033 * wcsmbs/Makefile (strop-tests): Add wcschr.
45034 * wcsmbs/test-wcschr.c: New file.
45035 * string/test-strchr.c: Update.
45036 Add wcschr support.
45039 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45041 * wcsmbs/Makefile (strop-tests): Add wcslen.
45042 * wcsmbs/test-wcslen.c: New file.
45043 * string/test-strlen.c: Update.
45044 Add wcslen support.
45047 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45049 * po/it.po: Update from translation team.
45051 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45053 * sysdeps/x86_64/wcscmp.S: Update.
45054 Fix wrong comparison semantics.
45055 wcscmp shall use signed comparison not unsigned.
45056 Don't use substraction to avoid overflow bug.
45057 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45058 * wcsmbc/wcscmp.c: Likewise.
45059 * string/test-strcmp.c: Likewise.
45060 Add new tests to check cases with negative values.
45062 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45064 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45065 * sysdeps/x86_64/dla.h: ...here. New file.
45066 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45071 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45076 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45079 __ynl_finite aliases.
45081 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45085 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45087 [DLA_FMA] (EMULV): Use DLA_FMA.
45088 [DLA_FMA] (MUL12): Use EMULV.
45089 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45090 that are not needed.
45091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45096 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45099 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45101 * math/s_nan.c: Undef __nan.
45102 * math/s_nanf.c: Undef __nanf.
45103 * math/s_nanl.c: Undef __nanl.
45104 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45107 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45109 * math/s_catan.c: Add branch predictions.
45110 * math/s_catanf.c: Likewise.
45111 * math/s_catanh.c: Likewise.
45112 * math/s_catanhf.c: Likewise.
45113 * math/s_catanhl.c: Likewise.
45114 * math/s_catanl.c: Likewise.
45115 * math/s_cexp.c: Likewise.
45116 * math/s_cexpf.c: Likewise.
45117 * math/s_cexpl.c: Likewise.
45118 * math/s_clog.c: Likewise.
45119 * math/s_clog10.c: Likewise.
45120 * math/s_clog10f.c: Likewise.
45121 * math/s_clog10l.c: Likewise.
45122 * math/s_clogf.c: Likewise.
45123 * math/s_clogl.c: Likewise.
45124 * math/s_csqrt.c: Likewise.
45125 * math/s_csqrtf.c: Likewise.
45126 * math/s_csqrtl.c: Likewise.
45127 * math/s_ctanf.c: Likewise.
45128 * math/s_ctanh.c: Likewise.
45129 * math/s_ctanhf.c: Likewise.
45130 * math/s_ctanhl.c: Likewise.
45131 * math/s_ctanl.c: Likewise.
45133 * math/math_private.h: Define __nan, __nanf, __nanl.
45134 * math/s_cacosh.c: Include <math_private.h>.
45135 * math/s_cacoshl.c: Likewise.
45136 * math/s_casinh.c: Likewise.
45137 * math/s_casinhf.c: Likewise.
45138 * math/s_casinhl.c: Likewise.
45139 * math/s_ccos.c: Rely entire on ccosh.
45140 * math/s_ccosf.c: Rely entire on ccoshf.
45141 * math/s_ccosl.c: Rely entirely on ccoshl.
45142 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45143 Remove tests for FE_INVALID.
45144 * math/s_ccoshf.c: Likewise.
45145 * math/s_ccoshl.c: Likewise.
45146 * math/s_csin.c: Likewise.
45147 * math/s_csinf.c: Likewise.
45148 * math/s_csinh.c Likewise.
45149 * math/s_csinhf.c: Likewise.
45150 * math/s_csinhl.c: Likewise.
45151 * math/s_csinl.c: Likewise.
45152 * math/s_ctan.c: Likewise.
45153 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45154 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45155 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45157 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45160 compilation problems.
45162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45165 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45167 * sysdeps/i386/configure.in: Test for -mfma4 option.
45168 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45169 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45170 COMMON_CPUID_INDEX_80000001.
45171 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45172 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45173 use it if FMA3 is not supported.
45174 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45176 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45177 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45179 2011-10-20 Andreas Schwab <schwab@redhat.com>
45182 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45183 it would create a cycle with a link time dependency.
45185 2011-10-19 Ulrich Drepper <drepper@gmail.com>
45187 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45189 * string/Makefile (strop-tests): Add rawmemchr.
45190 * string/test-rawmemchr.c: New file.
45192 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45194 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45195 when compiling str{,n}casecmp and when AVX is available. Hook up
45196 new optimized code in initializers.
45198 2011-10-19 Andreas Schwab <schwab@redhat.com>
45200 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45201 __feraiseexcept instead of feraiseexcept.
45203 2011-10-18 Ulrich Drepper <drepper@gmail.com>
45205 * math/math_private.h: Define defaults for libc_fetestexcept and
45207 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45208 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45209 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45210 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45211 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45212 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45213 libc_fetestexcept and libc_feupdateenv.
45215 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45216 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45217 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45218 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45219 libc_feholdexcept_setround.
45221 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45222 Add s_nearbyint-c and s_nearbyintf-c.
45223 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45224 nearbyintf inlines.
45225 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45226 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45227 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45228 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45230 * math/math_private.h: Define defaults for libc_fegetround,
45231 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45232 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45233 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45234 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45235 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45236 standard functions.
45237 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45238 Remove comments and hacks for old compiler versions.
45239 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45240 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45241 libc_feholdexceptl.
45243 2011-10-18 Andreas Schwab <schwab@redhat.com>
45245 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45246 (__feraiseexcept_renamed): Add __NTH.
45247 (feraiseexcept): Add __NTH. Rename local variables to fix
45248 namespace violations.
45250 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45252 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45254 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45256 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45257 recently added interfaces.
45258 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45260 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45261 about macro parameter expansion.
45263 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45264 __NO_MATH_INLINES is defined. Cleanups.
45266 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45267 and __floorf is target has SSE4.1.
45268 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45269 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45270 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45271 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45273 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45275 (floorf): Likewise.
45277 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45279 2011-10-17 Andreas Schwab <schwab@redhat.com>
45281 * misc/sys/cdefs.h: Fix last change.
45283 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45286 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45288 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45290 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45292 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45293 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45295 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45296 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45297 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45298 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45299 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45300 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45301 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45302 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45303 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45304 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45305 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45306 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45307 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45308 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45309 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45310 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45311 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45313 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45314 ceil, ceilf, floor, floorf.
45316 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45317 Perform IRELATIVE relocations last.
45319 * elf/do-rel.h: Add another parameter nrelative, replacing the
45320 local variable with the same name. Change name of the function
45321 to end in Rel or Rela (uppercase).
45322 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45323 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45324 elf_dynamic_do_##reloc function.
45326 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45328 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45329 is sufficient, at least on modern CPUs.
45331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45333 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45334 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45336 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45338 * math/bits/math-finite.h: Add entries for exp.
45339 * math/e_expl.c: Add __*_finite alias.
45340 * sysdeps/i386/fpu/e_exp.S: Likewise.
45341 * sysdeps/i386/fpu/e_expf.S: Likewise.
45342 * sysdeps/i386/fpu/e_expl.c: Likewise.
45343 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45344 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45345 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45346 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45347 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45348 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45349 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45351 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45352 is sufficient, at least on modern CPUs.
45354 * ctype/ctype-info.c (__ctype_init): Define.
45355 * include/ctype.h (__ctype_init): Declare.
45356 (__ctype_b_loc): The variable is always initialized.
45357 (__ctype_toupper_loc): Likewise.
45358 (__ctype_tolower_loc): Likewise.
45359 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45360 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45362 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45364 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45366 * configure.in: Also look in $cxxmachine/include for C++ system
45369 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45371 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45372 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45373 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45374 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45375 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45376 (USE_AS_WMEMCMP): New macro.
45378 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45379 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45380 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45381 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45383 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45384 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45385 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45386 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45387 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45388 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45389 (USE_AS_WMEMCMP): New macro.
45390 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45391 * sysdeps/string/test-memcmp.c: Update.
45392 Fix simple_wmemcmp.
45394 * wcsmbs/wmemcmp.c: Update.
45395 (WMEMCMP): New macro.
45398 2011-10-12 Andreas Jaeger <aj@suse.de>
45401 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45403 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45405 * libio/iofwide.c (do_length): Avoid warning.
45407 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45409 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45411 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45413 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45414 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45415 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45416 * sysdeps/i386/i686/fpu/e_log.S: New file.
45417 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45418 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45420 * ctype/ctype.h: Add support for inlined isXXX functions when
45421 compiling C++ code.
45423 2011-10-14 Andreas Schwab <schwab@redhat.com>
45425 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45427 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45429 2011-10-13 Roland McGrath <roland@hack.frob.com>
45432 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45434 2011-10-13 Andreas Schwab <schwab@redhat.com>
45436 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45437 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45440 * sysdeps/x86_64/memrchr.S: Check for zero size.
45442 * string/stratcliff.c: Add memrchr tests.
45444 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45447 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45448 rawmemchr-sse2 rawmemchr-sse2-bsf.
45449 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45450 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45451 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45452 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45453 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45454 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45455 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45456 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45457 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45458 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45459 * string/memrchr.c (MEMRCHR): New macro.
45461 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45463 Add integration with gcc's -ffinite-math-only and optimize wrapper
45465 * Versions.def: Define GLIBC_2.15 version for libm.
45466 * math/Makefile (headers): Add bits/math-finite.h.
45467 * math/bits/math-finite.h: New file.
45468 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45469 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45470 * math/e_acoshl.c: Add __*_finite alias.
45471 * math/e_acosl.c: Likewise.
45472 * math/e_asinl.c: Likewise.
45473 * math/e_atan2l.c: Likewise.
45474 * math/e_atanhl.c: Likewise.
45475 * math/e_coshl.c: Likewise.
45476 * math/e_exp10.c: Likewise.
45477 * math/e_exp10f.c: Likewise.
45478 * math/e_exp10l.c: Likewise.
45479 * math/e_exp2l.c: Likewise.
45480 * math/e_fmodl.c: Likewise.
45481 * math/e_gammal_r.c: Likewise.
45482 * math/e_hypotl.c: Likewise.
45483 * math/e_j0l.c: Likewise.
45484 * math/e_j1l.c: Likewise.
45485 * math/e_jnl.c: Likewise.
45486 * math/e_lgammal_r.c: Likewise.
45487 * math/e_log10l.c: Likewise.
45488 * math/e_log2l.c: Likewise.
45489 * math/e_logl.c: Likewise.
45490 * math/e_powl.c: Likewise.
45491 * math/e_sinhl.c: Likewise.
45492 * math/e_sqrtl.c: Likewise.
45493 * math/e_scalb.c: Completely rewritten and optimized.
45494 * math/e_scalbf.c: Likewise.
45495 * math/e_scalbl.c: Likewise.
45496 * math/w_acos.c: Likewise.
45497 * math/w_acosf.c: Likewise.
45498 * math/w_acosl.c: Likewise.
45499 * math/w_acosh.c: Likewise.
45500 * math/w_acoshf.c: Likewise.
45501 * math/w_acoshl.c: Likewise.
45502 * math/w_asin.c: Likewise.
45503 * math/w_asinf.c: Likewise.
45504 * math/w_asinl.c: Likewise.
45505 * math/w_atan2.c: Likewise.
45506 * math/w_atan2f.c: Likewise.
45507 * math/w_atan2l.c: Likewise.
45508 * math/w_atanh.c: Likewise.
45509 * math/w_atanhf.c: Likewise.
45510 * math/w_atanhl.c: Likewise.
45511 * math/w_exp10.c: Likewise.
45512 * math/w_exp10f.c: Likewise.
45513 * math/w_exp10l.c: Likewise.
45514 * math/w_fmod.c: Likewise.
45515 * math/w_fmodf.c: Likewise.
45516 * math/w_fmodl.c: Likewise.
45517 * math/w_j0.c: Likewise.
45518 * math/w_j0f.c: Likewise.
45519 * math/w_j0l.c: Likewise.
45520 * math/w_j1.c: Likewise.
45521 * math/w_j1f.c: Likewise.
45522 * math/w_j1l.c: Likewise.
45523 * math/w_jn.c: Likewise.
45524 * math/w_jnf.c: Likewise.
45525 * math/w_log.c: Likewise.
45526 * math/w_logf.c: Likewise.
45527 * math/w_logl.c: Likewise.
45528 * math/w_log10.c: Likewise.
45529 * math/w_log10f.c: Likewise.
45530 * math/w_log10l.c: Likewise.
45531 * math/w_log2.c: Likewise.
45532 * math/w_log2f.c: Likewise.
45533 * math/w_log2l.c: Likewise.
45534 * math/w_pow.c: Likewise.
45535 * math/w_powf.c: Likewise.
45536 * math/w_powl.c: Likewise.
45537 * math/w_remainder.c: Likewise.
45538 * math/w_remainderf.c: Likewise.
45539 * math/w_remainderl.c: Likewise.
45540 * math/w_scalb.c: Likewise.
45541 * math/w_scalbf.c: Likewise.
45542 * math/w_scalbl.c: Likewise.
45543 * math/w_sqrt.c: Likewise.
45544 * math/w_sqrtf.c: Likewise.
45545 * math/w_sqrtl.c: Likewise.
45546 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45547 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45549 * math/math_private.h: Declare __kernel_standard_f.
45550 * math/w_cosh.c: Remove cruft and optimize a bit.
45551 * math/w_coshf.c: Likewise.
45552 * math/w_coshl.c: Likewise.
45553 * math/w_exp2.c: Likewise.
45554 * math/w_exp2f.c: Likewise.
45555 * math/w_exp2l.c: Likewise.
45556 * math/w_hypot.c: Likewise.
45557 * math/w_hypotf.c: Likewise.
45558 * math/w_hypotl.c: Likewise.
45559 * math/w_lgamma.c: Likewise.
45560 * math/w_lgamma_r.c: Likewise.
45561 * math/w_lgammaf.c: Likewise.
45562 * math/w_lgammaf_r.c: Likewise.
45563 * math/w_lgammal.c: Likewise.
45564 * math/w_lgammal_r.c: Likewise.
45565 * math/w_sinh.c: Likewise.
45566 * math/w_sinhf.c: Likewise.
45567 * math/w_sinhl.c: Likewise.
45568 * math/w_tgamma.c: Likewise.
45569 * math/w_tgammaf.c: Likewise.
45570 * math/w_tgammal.c: Likewise.
45571 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45572 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45573 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45574 Minor optimizations. Pretty printing. Remove cruft.
45575 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45576 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45577 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45578 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45579 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45580 * sysdeps/i386/fpu/e_asin.S: Likewise.
45581 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45582 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45583 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45584 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45585 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45586 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45587 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45588 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45589 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45590 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45591 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45592 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45593 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45594 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45595 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45596 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45597 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45598 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45599 * sysdeps/i386/fpu/e_log.S: Likewise.
45600 * sysdeps/i386/fpu/e_log10.S: Likewise.
45601 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45602 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45603 * sysdeps/i386/fpu/e_log2.S: Likewise.
45604 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45605 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45606 * sysdeps/i386/fpu/e_logf.S: Likewise.
45607 * sysdeps/i386/fpu/e_logl.S: Likewise.
45608 * sysdeps/i386/fpu/e_pow.S: Likewise.
45609 * sysdeps/i386/fpu/e_powf.S: Likewise.
45610 * sysdeps/i386/fpu/e_powl.S: Likewise.
45611 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45612 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45613 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45614 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45615 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45616 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45617 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45618 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45619 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45620 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45621 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45623 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45624 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45625 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45626 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45627 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45628 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45629 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45630 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45631 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45633 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45634 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45636 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45637 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45640 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45641 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45644 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45645 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45646 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45647 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45648 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45649 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45650 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45654 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45655 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45656 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45657 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45658 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45659 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45660 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45661 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45669 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45670 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45671 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45672 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45673 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45675 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45676 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45677 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45678 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45683 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45685 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45686 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45687 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45688 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45689 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45690 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45691 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45694 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45695 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45696 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45697 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45698 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45699 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45700 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45701 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45702 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45705 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45707 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45708 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45709 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45710 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45711 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45712 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45713 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45714 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45715 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45716 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45717 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45718 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45719 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45720 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45721 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45722 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45723 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45724 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45725 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45726 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45727 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45728 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45730 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45731 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45732 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45733 (__isnanf): Likewise.
45734 (__isinf_ns): Likewise.
45735 (__isinf_nsf): Likewise.
45736 (__finite): Likewise.
45737 (__finitef): Likewise.
45738 (__ieee754_sqrt): Define as macro.
45739 (__ieee754_sqrtf): Define as macro.
45740 (__ieee754_sqrtl): Define as macro.
45741 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45743 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45744 __FINITE_MATH_ONLY__ consistent.
45745 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45747 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45749 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45752 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45754 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45756 * po/ja.po: Update from translation team.
45758 2011-10-08 Roland McGrath <roland@hack.frob.com>
45760 * locale/programs/locarchive.c (prepare_address_space): New function.
45761 (create_archive, enlarge_archive, open_archive): Use it.
45763 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45764 inside [SHARED], where it is used.
45766 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45768 * nss/getent.c (netgroup_keys): Remove unused variable.
45769 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45771 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45773 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45774 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45776 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45777 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45778 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45779 * math/Makefile (libm-calls): Add s_isinf_ns.
45780 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45781 * math/multc3.c: Likewise.
45782 * math/s_casin.c: Likewise.
45783 * math/s_casinf.c: Likewise.
45784 * math/s_casinl.c: Likewise.
45785 * math/s_ccos.c: Likewise.
45786 * math/s_ccosf.c: Likewise.
45787 * math/s_ccosl.c: Likewise.
45788 * math/s_ctan.c: Likewise.
45789 * math/s_ctanf.c: Likewise.
45790 * math/s_ctanh.c: Likewise.
45791 * math/s_ctanhf.c: Likewise.
45792 * math/s_ctanhl.c: Likewise.
45793 * math/s_ctanl.c: Likewise.
45794 * math/w_fmod.c: Likewise.
45795 * math/w_fmodf.c: Likewise.
45796 * math/w_fmodl.c: Likewise.
45797 * math/w_remainder.c: Likewise.
45798 * math/w_remainderf.c: Likewise.
45799 * math/w_remainderl.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45801 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45802 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45803 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45804 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45805 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45806 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45807 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45809 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45811 * stdio-common/printf_fphex.c: Likewise.
45812 * stdio-common/printf_size.c: Likewise.
45814 * math/e_exp10.c: Include math_private.h using <...> not "...".
45815 * math/e_exp10f.c: Likewise.
45816 * math/e_exp10l.c: Likewise.
45817 * math/e_exp2l.c: Likewise.
45818 * math/e_j0l.c: Likewise.
45819 * math/e_j1l.c: Likewise.
45820 * math/e_jnl.c: Likewise.
45821 * math/e_lgammal_r.c: Likewise.
45822 * math/e_rem_pio2l.c: Likewise.
45823 * math/e_scalb.c: Likewise.
45824 * math/e_scalbf.c: Likewise.
45825 * math/e_scalbl.c: Likewise.
45826 * math/k_cosl.c: Likewise.
45827 * math/k_sinl.c: Likewise.
45828 * math/k_tanl.c: Likewise.
45829 * math/s_cacoshf.c: Likewise.
45830 * math/s_catan.c: Likewise.
45831 * math/s_catanf.c: Likewise.
45832 * math/s_catanh.c: Likewise.
45833 * math/s_catanhf.c: Likewise.
45834 * math/s_catanhl.c: Likewise.
45835 * math/s_catanl.c: Likewise.
45836 * math/s_ccosh.c: Likewise.
45837 * math/s_ccoshf.c: Likewise.
45838 * math/s_ccoshl.c: Likewise.
45839 * math/s_cexp.c: Likewise.
45840 * math/s_cexpf.c: Likewise.
45841 * math/s_cexpl.c: Likewise.
45842 * math/s_clog.c: Likewise.
45843 * math/s_clog10.c: Likewise.
45844 * math/s_clog10f.c: Likewise.
45845 * math/s_clog10l.c: Likewise.
45846 * math/s_clogf.c: Likewise.
45847 * math/s_clogl.c: Likewise.
45848 * math/s_csin.c: Likewise.
45849 * math/s_csinf.c: Likewise.
45850 * math/s_csinh.c: Likewise.
45851 * math/s_csinhf.c: Likewise.
45852 * math/s_csinhl.c: Likewise.
45853 * math/s_csinl.c: Likewise.
45854 * math/s_csqrt.c: Likewise.
45855 * math/s_csqrtf.c: Likewise.
45856 * math/s_csqrtl.c: Likewise.
45857 * math/s_ctan.c: Likewise.
45858 * math/s_ctanf.c: Likewise.
45859 * math/s_ctanh.c: Likewise.
45860 * math/s_ctanhf.c: Likewise.
45861 * math/s_ctanhl.c: Likewise.
45862 * math/s_ctanl.c: Likewise.
45863 * math/s_ldexp.c: Likewise.
45864 * math/s_ldexpf.c: Likewise.
45865 * math/s_ldexpl.c: Likewise.
45866 * math/s_significand.c: Likewise.
45867 * math/s_significandf.c: Likewise.
45868 * math/s_significandl.c: Likewise.
45869 * math/w_acos.c: Likewise.
45870 * math/w_acosf.c: Likewise.
45871 * math/w_acosh.c: Likewise.
45872 * math/w_acoshf.c: Likewise.
45873 * math/w_acoshl.c: Likewise.
45874 * math/w_acosl.c: Likewise.
45875 * math/w_asin.c: Likewise.
45876 * math/w_asinf.c: Likewise.
45877 * math/w_asinl.c: Likewise.
45878 * math/w_atan2.c: Likewise.
45879 * math/w_atan2f.c: Likewise.
45880 * math/w_atan2l.c: Likewise.
45881 * math/w_atanh.c: Likewise.
45882 * math/w_atanhf.c: Likewise.
45883 * math/w_atanhl.c: Likewise.
45884 * math/w_cosh.c: Likewise.
45885 * math/w_coshf.c: Likewise.
45886 * math/w_coshl.c: Likewise.
45887 * math/w_dremf.c: Likewise.
45888 * math/w_exp10.c: Likewise.
45889 * math/w_exp10f.c: Likewise.
45890 * math/w_exp10l.c: Likewise.
45891 * math/w_exp2.c: Likewise.
45892 * math/w_exp2f.c: Likewise.
45893 * math/w_fmod.c: Likewise.
45894 * math/w_fmodf.c: Likewise.
45895 * math/w_fmodl.c: Likewise.
45896 * math/w_hypot.c: Likewise.
45897 * math/w_hypotf.c: Likewise.
45898 * math/w_hypotl.c: Likewise.
45899 * math/w_j0.c: Likewise.
45900 * math/w_j0f.c: Likewise.
45901 * math/w_j0l.c: Likewise.
45902 * math/w_j1.c: Likewise.
45903 * math/w_j1f.c: Likewise.
45904 * math/w_j1l.c: Likewise.
45905 * math/w_jn.c: Likewise.
45906 * math/w_jnf.c: Likewise.
45907 * math/w_jnl.c: Likewise.
45908 * math/w_lgamma.c: Likewise.
45909 * math/w_lgamma_r.c: Likewise.
45910 * math/w_lgammaf.c: Likewise.
45911 * math/w_lgammaf_r.c: Likewise.
45912 * math/w_lgammal.c: Likewise.
45913 * math/w_lgammal_r.c: Likewise.
45914 * math/w_log.c: Likewise.
45915 * math/w_log10.c: Likewise.
45916 * math/w_log10f.c: Likewise.
45917 * math/w_log10l.c: Likewise.
45918 * math/w_log2.c: Likewise.
45919 * math/w_log2f.c: Likewise.
45920 * math/w_log2l.c: Likewise.
45921 * math/w_logf.c: Likewise.
45922 * math/w_logl.c: Likewise.
45923 * math/w_pow.c: Likewise.
45924 * math/w_powf.c: Likewise.
45925 * math/w_powl.c: Likewise.
45926 * math/w_remainder.c: Likewise.
45927 * math/w_remainderf.c: Likewise.
45928 * math/w_remainderl.c: Likewise.
45929 * math/w_scalb.c: Likewise.
45930 * math/w_scalbf.c: Likewise.
45931 * math/w_scalbl.c: Likewise.
45932 * math/w_sinh.c: Likewise.
45933 * math/w_sinhf.c: Likewise.
45934 * math/w_sinhl.c: Likewise.
45935 * math/w_sqrt.c: Likewise.
45936 * math/w_sqrtf.c: Likewise.
45937 * math/w_sqrtl.c: Likewise.
45938 * math/w_tgamma.c: Likewise.
45939 * math/w_tgammaf.c: Likewise.
45940 * math/w_tgammal.c: Likewise.
45942 * po/ja.po: Update from translation team.
45944 2011-09-29 Andreas Jaeger <aj@suse.de>
45947 * sunrpc/netname.c (netname2host): Fix logic.
45951 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45953 * math/w_remainder.c (__remainder): Likewise.
45954 * math/w_remainderf.c (__remainderf): Likewise.
45955 * math/libm-test.inc (remainder_test): Add test cases.
45957 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45959 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45962 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45964 * string/test-memcmp.c: Avoid unncessary #defines.
45965 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45967 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45969 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45970 Use new sse2 version for core i3 - i7 as it's faster
45971 than sse42 version.
45972 (bit_Prefer_PMINUB_for_stringop): New.
45973 * sysdeps/x86_64/rawmemchr.S: Update.
45974 Replace with faster SSE2 version.
45975 * sysdeps/x86_64/memrchr.S: New file.
45976 * sysdeps/x86_64/memchr.S: Update.
45977 Replace with faster SSE2 version.
45979 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45981 * elf/dl-load.c (lose): Add cast to avoid warning.
45983 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45985 * po/ca.po: Update from translation team.
45987 * inet/getnetgrent_r.c: Hook up nscd.
45988 * nscd/Makefile (routines): Add nscd_netgroup.
45989 (nscd-modules): Add netgroupcache.
45990 (CFLAGS-netgroupcache.c): Define.
45991 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45992 (cache_search): Add const to second parameter.
45993 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45995 (dbs): Add netgrdb entry.
45996 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45997 (verify_persistent_db): Handle netgrdb.
45998 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45999 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46001 (netgroup_response_header): Define.
46002 (innetgroup_response_header): Define.
46003 (datahead): Add netgroup_response_header and innetgroup_response_header
46005 * nscd/nscd.conf: Add entries for netgroup cache.
46006 * nscd/nscd.h (dbtype): Add netgrdb.
46007 (_PATH_NSCD_NETGROUP_DB): Define.
46008 (netgroup_iov_disabled): Declare.
46009 (xmalloc, xcalloc, xrealloc): Move declarations here.
46010 (cache_search): Adjust prototype.
46011 Add netgroup-related prototypes.
46012 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46013 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46014 (__nscd_innetgr): Declare.
46015 * nscd/selinux.c (perms): Use access_vector_t as element type and
46016 add netgroup-related initializers.
46017 * nscd/netgroupcache.c: New file.
46018 * nscd/nscd_netgroup.c: New file.
46019 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46020 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46021 For four parameters use innetgr.
46022 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46023 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46024 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46025 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46027 * nscd/connections.c (register_traced_file): Don't register file
46028 for disabled databases.
46030 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46032 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46034 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46035 from tree and freeing node.
46037 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46039 * nss/nsswitch.c (__nss_database_lookup): Handle
46040 nss_parse_service_list out of memory case.
46042 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46044 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46045 out of memory case.
46047 2011-10-04 Andreas Schwab <schwab@redhat.com>
46049 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46050 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46052 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46053 elf_machine_rela, elf_machine_lazy_rel.
46054 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46055 (ELF_DYNAMIC_DO_REL): Likewise.
46056 (ELF_DYNAMIC_DO_RELA): Likewise.
46057 (ELF_DYNAMIC_RELOCATE): Likewise.
46058 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46059 to ELF_DYNAMIC_DO_REL.
46060 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46061 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46062 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46065 skip_ifunc, don't call ifunc function if non-zero.
46066 (elf_machine_rela): Likewise.
46067 (elf_machine_lazy_rel): Likewise.
46068 (elf_machine_lazy_rela): Likewise.
46069 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46070 (elf_machine_lazy_rel): Likewise.
46071 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46073 (elf_machine_lazy_rel): Likewise.
46074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46076 (elf_machine_lazy_rel): Likewise.
46077 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46078 (elf_machine_lazy_rel): Likewise.
46079 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46080 (elf_machine_lazy_rel): Likewise.
46081 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46082 (elf_machine_lazy_rel): Likewise.
46083 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46084 (elf_machine_lazy_rel): Likewise.
46085 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46086 (elf_machine_lazy_rel): Likewise.
46087 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46088 (elf_machine_lazy_rel): Likewise.
46090 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46092 * nss/nss_files/files-init.c (_nss_files_init): Use static
46093 initialization for all the *_traced_file variables.
46095 2011-09-28 Andreas Schwab <schwab@redhat.com>
46097 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46099 2011-09-27 Roland McGrath <roland@hack.frob.com>
46102 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46104 2011-09-27 Andreas Schwab <schwab@redhat.com>
46106 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46107 Reread the line before reparsing it.
46109 2011-09-26 Andreas Schwab <schwab@redhat.com>
46111 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46113 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46114 Maxim Kuvyrkov <maxim@codesourcery.com>
46115 Joseph Myers <joseph@codesourcery.com>
46117 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46118 if needed for __stack_chk_guard.
46120 2011-09-19 Roland McGrath <roland@hack.frob.com>
46122 * sysdeps/posix/spawni.c (script_execute): Always define it.
46123 It will be optimized away if unused.
46124 (maybe_script_execute): New function.
46125 (__spawni): Call it.
46127 * Makerules: Don't include tls.make.
46128 (config-tls): Always set to thread.
46129 * tls.make.c: File removed.
46131 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46133 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46134 * config.make.in (CPPFLAGS-config): New substituted variable.
46136 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46138 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46141 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46142 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46144 2011-09-15 Roland McGrath <roland@hack.frob.com>
46146 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46147 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46149 (CALL_FAIL): Likewise.
46150 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46151 (CALL_FAIL): Macro removed.
46152 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46154 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46156 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46157 for __FINITE_MATH_ONLY__ == 1.
46159 2011-09-15 Andreas Schwab <schwab@redhat.com>
46161 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46162 __ieee754_sqrt instead of sqrt.
46163 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46164 __ieee754_sqrtf instead of sqrtf.
46165 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46166 __floorf instead of floorf.
46167 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46168 __floorf, __truncf instead of floorf, truncf.
46170 2011-09-14 Ulrich Drepper <drepper@gmail.com>
46172 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46174 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46175 __extern_always_inline.
46176 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46179 2011-09-14 Andreas Schwab <schwab@redhat.com>
46181 * elf/rtld.c (dl_main): Also relocate in dependency order when
46182 doing symbol dependency testing.
46184 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46187 Always define `refsym'.
46189 2011-09-13 Andreas Schwab <schwab@redhat.com>
46191 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46192 (__FD_ELT): Renamed from __FDELT.
46193 * misc/bits/select2.h (__FD_ELT): Likewise.
46194 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46195 __FD_MASK instead of __FDELT, __FDMASK.
46196 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46198 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46201 * elf/Makefile (gen-ldd): Fix pattern.
46203 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46204 (init_tls): Likewise.
46206 2011-09-12 Ulrich Drepper <drepper@gmail.com>
46208 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46210 2011-09-12 Andreas Schwab <schwab@redhat.com>
46212 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46213 `struct cmsghdr *' instead of `void *'.
46214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46217 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46219 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46221 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46222 ldd_rewrite_script.
46224 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46226 * configure.in: Remove --with-tls option.
46227 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46228 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46229 out in case it is missing.
46230 * sysdeps/ia64/elf/configure.in: Likewise.
46231 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46232 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46233 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46234 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46235 * sysdeps/sh/elf/configure.in: Likewise.
46236 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46237 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46238 * sysdeps/x86_64/elf/configure.in: Likewise.
46239 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46240 * sysdeps/mach/hurd/tls.h: Likewise.
46243 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46246 * configure.in: Fix use of AC_INIT.
46248 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46250 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46252 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46254 * malloc/hooks.c: Likewise.
46257 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46258 variables statically.
46259 (narenas): Initialize.
46260 (list_lock): Initialize.
46261 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46262 initializtion of main_arena and list_lock. Small cleanups.
46263 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46264 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46265 Add initializers to main_arena and mp_.
46266 (malloc_state): Remove pagesize member. Change all users to use
46269 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46270 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46271 is always initialized.
46273 * malloc/malloc.c: Removed unused configurations and dead code.
46274 * malloc/arena.c: Likewise.
46275 * malloc/hooks.c: Likewise.
46276 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46278 * include/tls.h: Removed. USE___THREAD must always be defined.
46279 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46280 * elf/dl-libc.c: Likewise.
46281 * elf/dl-tsd.c: Likewise.
46282 * include/errno.h: Likewise.
46283 * include/netdb.h: Likewise.
46284 * include/resolv.h: Likewise.
46285 * inet/herrno-loc.c: Likewise.
46286 * inet/herrno.c: Likewise.
46287 * malloc/arena.c: Likewise.
46288 * malloc/hooks.c: Likewise.
46289 * malloc/malloc.c: Likewise.
46290 * resolv/res-state.c: Likewise.
46291 * resolv/res_libc.c: Likewise.
46292 * sysdeps/i386/dl-machine.h: Likewise.
46293 * sysdeps/ia64/dl-machine.h: Likewise.
46294 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46295 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46296 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46297 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46298 * sysdeps/sh/dl-machine.h: Likewise.
46299 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46300 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46301 * sysdeps/unix/i386/sysdep.S: Likewise.
46302 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46303 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46305 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46308 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46312 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46313 * sysdeps/x86_64/dl-machine.h: Likewise.
46314 * tls.make.c: Likewise.
46316 * configure.in: Remove --with-__thread option. Make tests for
46317 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46318 tls_model attribute fail if no support is available. Remove
46320 * Makeconfig: Adjust for dropped configure option. All features are
46322 * Makerules: Likewise.
46323 * Versions.def: Likewise.
46324 * argp/argp-fmtstream.c: Likewise.
46325 * argp/argp-fmtstream.h: Likewise.
46326 * argp/argp-help.c: Likewise.
46327 * assert/assert.c: Likewise.
46328 * config.h.in: Likewise.
46329 * config.make.in: Likewise.
46330 * configure: Likewise.
46331 * configure.in: Likewise.
46332 * csu/Versions: Likewise.
46333 * csu/init.c: Likewise.
46334 * elf/tst-audit2.c: Likewise.
46335 * elf/tst-tls10.c: Likewise.
46336 * elf/tst-tls10.h: Likewise.
46337 * elf/tst-tls11.c: Likewise.
46338 * elf/tst-tls12.c: Likewise.
46339 * elf/tst-tls14.c: Likewise.
46340 * elf/tst-tlsmod11.c: Likewise.
46341 * elf/tst-tlsmod12.c: Likewise.
46342 * elf/tst-tlsmod13.c: Likewise.
46343 * elf/tst-tlsmod13a.c: Likewise.
46344 * elf/tst-tlsmod14a.c: Likewise.
46345 * elf/tst-tlsmod15b.c: Likewise.
46346 * elf/tst-tlsmod16a.c: Likewise.
46347 * elf/tst-tlsmod16b.c: Likewise.
46348 * elf/tst-tlsmod7.c: Likewise.
46349 * elf/tst-tlsmod8.c: Likewise.
46350 * elf/tst-tlsmod9.c: Likewise.
46351 * gmon/gmon.c: Likewise.
46352 * grp/fgetgrent_r.c: Likewise.
46353 * grp/putgrent.c: Likewise.
46354 * hurd/fopenport.c: Likewise.
46355 * include/libc-symbols.h: Likewise.
46356 * include/tls.h: Likewise.
46357 * intl/gettextP.h: Likewise.
46358 * intl/loadinfo.h: Likewise.
46359 * locale/global-locale.c: Likewise.
46360 * locale/localeinfo.h: Likewise.
46361 * mach/devstream.c: Likewise.
46362 * malloc/arena.c: Likewise.
46363 * malloc/set-freeres.c: Likewise.
46364 * misc/err.c: Likewise.
46365 * misc/getttyent.c: Likewise.
46366 * misc/mntent_r.c: Likewise.
46367 * posix/getopt.c: Likewise.
46368 * posix/wordexp.c: Likewise.
46369 * pwd/fgetpwent_r.c: Likewise.
46370 * resolv/Versions: Likewise.
46371 * resolv/res_hconf.c: Likewise.
46372 * shadow/fgetspent_r.c: Likewise.
46373 * shadow/putspent.c: Likewise.
46374 * stdio-common/printf_fphex.c: Likewise.
46375 * stdio-common/tmpfile.c: Likewise.
46376 * stdlib/abort.c: Likewise.
46377 * stdlib/fmtmsg.c: Likewise.
46378 * sunrpc/auth_unix.c: Likewise.
46379 * sunrpc/clnt_perr.c: Likewise.
46380 * sunrpc/clnt_tcp.c: Likewise.
46381 * sunrpc/clnt_udp.c: Likewise.
46382 * sunrpc/clnt_unix.c: Likewise.
46383 * sunrpc/openchild.c: Likewise.
46384 * sunrpc/svc_simple.c: Likewise.
46385 * sunrpc/svc_tcp.c: Likewise.
46386 * sunrpc/svc_udp.c: Likewise.
46387 * sunrpc/svc_unix.c: Likewise.
46388 * sunrpc/xdr.c: Likewise.
46389 * sunrpc/xdr_array.c: Likewise.
46390 * sunrpc/xdr_rec.c: Likewise.
46391 * sunrpc/xdr_ref.c: Likewise.
46392 * sunrpc/xdr_stdio.c: Likewise.
46394 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46396 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46398 2011-07-03 Andreas Jaeger <aj@suse.de>
46400 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46401 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46402 regenerate with gen-libm-tests.pl.
46404 2010-05-12 Petr Baudis <pasky@suse.cz>
46407 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46408 around j0() zero points by switching to j1().
46409 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46410 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46411 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46414 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46416 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46418 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46420 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46421 Patch in part by Pavel Roskin <proski@gnu.org>.
46424 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46426 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46427 Free memory block if necessary.
46430 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46431 be NULL. Don't lock in this case.
46433 2011-09-09 Roland McGrath <roland@hack.frob.com>
46435 * elf/elf.h (ELFOSABI_GNU): New macro.
46436 (ELFOSABI_LINUX): Define to that.
46438 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46440 * string/strncat.c (strncat): Undef the symbol in case it has been
46441 defined in bits/string.h.
46443 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46445 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46447 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46450 2011-08-17 Andreas Jaeger <aj@suse.de>
46452 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46454 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46455 Ian Lance Taylor <iant@google.com>
46457 * math/libm-test.inc (lround_test): New testcase.
46458 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46460 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46462 * Makefile: Remove support for automatic cvs check-ins.
46463 * Makerules: Likewise.
46464 * config.make.in: Likewise.
46465 * configure.in: Likewise.
46466 * intl/Makefile: Likewise.
46467 * locale/Makefile: Likewise.
46468 * po/Makefile: Likewise.
46469 * posix/Makefile: Likewise.
46470 * sysdeps/gnu/Makefile: Likewise.
46471 * sysdeps/mach/hurd/Makefile: Likewise.
46472 * sysdeps/sparc/sparc32/Makefile: Likewise.
46475 * posix/Makefile (bug-regex32-ENV): Define.
46476 Patch by John Stanley <jpsinthemix@verizon.net>.
46478 * misc/Makefile (headers): Add bits/select2.h.
46479 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46480 * misc/bits/select2.h: New file.
46481 * include/bits/select2.h: New file.
46482 * debug/Makefile (routines): Add fdelt_chk.
46483 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46484 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46486 * debug/fdelt_chk.c: New file.
46488 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46489 * wcsmbs/test-wmemcmp.c: Likewise.
46490 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46491 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46493 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46495 * string/Makefile (strop-tests): Add memcmp.
46496 * string/test-wmemcmp.c: New file.
46497 * string/test-memcmp.c: Add wmemcmp support.
46499 2011-09-08 Roland McGrath <roland@hack.frob.com>
46502 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46505 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46506 garbage value in a __mach_port_mod_refs call in the cases of the
46507 task-self and thread-self ports.
46509 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46511 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46513 2011-09-08 Andreas Schwab <schwab@redhat.com>
46515 * elf/dl-load.c (lose): Check for non-null L.
46517 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46519 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46521 * elf/dl-libc.c (dlerror_run): Pass back error code from
46525 * elf/dl-load.c (lose): Free l_origin if it is valid.
46527 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46529 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46531 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46532 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46533 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46534 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46536 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46538 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46539 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46540 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46541 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46542 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46543 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46544 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46545 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46546 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46547 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46549 2011-08-15 Alan Modra <amodra@gmail.com>
46552 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46553 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46554 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46555 ppc_mcount to static-only-routines.
46556 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46558 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46559 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46561 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46563 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46564 for finite and infinity parameters.
46566 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46568 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46569 and add nop instructions for throughput optimization.
46570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46572 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46574 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46575 aligned copy for power7 with vector-scalar instructions.
46576 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46578 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46583 2011-09-07 Andreas Schwab <schwab@redhat.com>
46586 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46589 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46591 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46592 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46593 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46594 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46597 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46600 Forgot to demangle the pointer.
46602 * sysdeps/i386/sysdep.h: Define atom_text_section.
46603 * sysdeps/x86_64/sysdep.h: Likewise.
46604 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46605 section with atom_text_section.
46606 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46607 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46608 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46610 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46612 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46613 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46614 already be defined. Change to take two parameters and don't assign
46615 result to variable. Adjust all users.
46616 Define INTERNAL_GETTIME if not already defined.
46617 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46620 HAVE_CLOCK_GETTIME_VSYSCALL.
46621 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46624 gettimeofday vsyscall, just use time.
46626 2011-09-06 Andreas Schwab <schwab@redhat.com>
46628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46631 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46633 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46635 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46637 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46638 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46639 syscall if possible.
46641 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46643 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46644 e_ident. Don't pass to find_mapsXX.
46645 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46647 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46650 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46651 * sysdeps/x86_64/multiarch/strchr.S: Update.
46652 Check bit_slow_BSF bit.
46653 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46654 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46655 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46657 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46660 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46662 (tryshell): Define.
46663 (__spawni): Change last parameter to be flag. Test
46664 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46665 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46666 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46667 * posix/spawni.c: Likewise.
46668 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46669 * posix/spawnp.c: Likewise. Change normal version to use
46670 SPAWN_XFLAGS_USE_PATH.
46671 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46672 SPAWN_XFLAGS_TRY_SHELL.
46675 * posix/glob.h: Remove gcc 1.x support.
46678 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46680 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46683 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46685 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46686 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46687 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46688 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46689 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46692 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46694 * sysdeps/x86_64/wcscmp.S: New file.
46696 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46697 wcscmp-c wcscmp-sse2
46698 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46699 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46700 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46701 * wcsmbs/wcscmp.c: Allow renaming.
46703 2011-09-05 David S. Miller <davem@davemloft.net>
46705 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46706 stack slot, rather than the struct return pointer slot.
46707 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46708 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46710 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46712 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46714 * po/ja.po: Update from translation team.
46717 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46718 kernel in 64-bit binaries.
46720 2011-09-01 David S. Miller <davem@davemloft.net>
46722 * elf/elf.h (HWCAP_SPARC_*): Move to..
46723 * sysdeps/sparc/sysdep.h: this new file and add new values.
46724 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46725 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46726 _DL_HWCAP_COUNT to 24.
46727 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46729 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46730 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46731 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46732 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46733 instead of magic constants.
46734 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46736 2011-08-31 David S. Miller <davem@davemloft.net>
46738 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46740 Reimplement to do errno handling inline.
46741 (SYSCALL_ERROR_HANDLER): New macro.
46742 (__SYSCALL_STRING): Do not do errno handling in asm.
46743 (__CLONE_SYSCALL_STRING): Delete.
46744 (__INTERNAL_SYSCALL_STRING): Delete.
46745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46746 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46747 (PSEUDO): Reimplement to do errno handling inline.
46748 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46749 (SYSCALL_ERROR_HANDLER): New macro.
46750 (__SYSCALL_STRING): Do not do errno handling in asm.
46751 (__CLONE_SYSCALL_STRING): Delete.
46752 (__INTERNAL_SYSCALL_STRING): Delete.
46753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46754 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46756 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46757 (inline_syscall*): Add 'err' argument.
46758 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46759 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46760 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46761 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46763 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46764 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46766 2011-08-30 Andreas Schwab <schwab@redhat.com>
46768 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46770 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46772 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46775 2011-08-24 David S. Miller <davem@davemloft.net>
46777 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46779 2011-08-24 Andreas Schwab <schwab@redhat.com>
46781 * elf/Makefile: Add rules to build and run unload8 test.
46782 * elf/unload8.c: New file.
46783 * elf/unload8mod1.c: New file.
46784 * elf/unload8mod1x.c: New file.
46785 * elf/unload8mod2.c: New file.
46786 * elf/unload8mod3.c: New file.
46788 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46791 2011-08-23 David S. Miller <davem@davemloft.net>
46793 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46794 subtract stack bias.
46795 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46796 %sp not %fp in calculations.
46797 (_JMPBUF_UNWINDS_ADJ): Likewise.
46799 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46800 (aio_suspend): Call it to force an exception region around the
46801 AIO_MISC_WAIT() invocation.
46803 2011-08-23 Andreas Schwab <schwab@redhat.com>
46805 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46808 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46810 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46812 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46813 and <dl-machine.h>.
46814 (Elf64_FuncDesc): Remove.
46816 2011-08-22 David S. Miller <davem@davemloft.net>
46818 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46819 sigaltstack check, add missing cfi directives.
46820 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46821 missing cfi directives, and sigaltstack handling.
46823 2011-08-16 Andreas Schwab <schwab@redhat.com>
46826 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46827 object is seen twice.
46828 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46830 * elf/Makefile (distribute): Add tst-initorder2.c.
46831 (tests): Add tst-initorder2.
46832 (modules-names): Add tst-initorder2a tst-initorder2b
46833 tst-initorder2c tst-initorder2d. Add rules to build them.
46834 ($(objpfx)tst-initorder2.out): New rule.
46835 * elf/tst-initorder2.c: New file.
46836 * elf/tst-initorder2.exp: New file.
46838 2011-08-22 Andreas Schwab <schwab@redhat.com>
46840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46842 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46843 dependencies back to end of function.
46845 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46846 $(elfobjdir)/ld.so.
46848 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46851 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46853 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46854 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46855 of __vdso_gettimeofday.
46856 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46857 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46859 (_libc_vdso_platform_setup): Remove initialization of
46860 __vdso_gettimeofday and __vdso_time.
46862 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46864 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46865 and fgetc_unlocked.
46866 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46869 * elf/dl-open.c (add_to_global): Report additions to the global scope
46870 for LD_DEBUG=scopes.
46871 (dl_open_worker): Also print scope of newly loaded dependencies.
46872 (_dl_show_scope): Indicate if there is no scope.
46875 * stdio-common/Makefile (tests): Add bug24.
46876 * stdio-common/bug24.c: New file.
46878 2011-08-19 Andreas Jaeger <aj@suse.de>
46881 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46882 non-existant file when using close-on-exec mode.
46884 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46887 the very first instruction.
46889 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46890 the CFI state in the end.
46891 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46892 inclusion of dl-trampoline.h.
46893 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46895 2011-08-19 Andreas Schwab <schwab@redhat.com>
46897 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46898 expectations for long double.
46900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46901 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46903 2011-08-14 David S. Miller <davem@davemloft.net>
46905 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46906 artificual limit depends upon the system page size.
46908 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46910 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46911 * resolv/Makefile: Define CFLAGS-libresolv.
46913 2011-08-17 Andreas Schwab <schwab@redhat.com>
46915 * nss/makedb.c (compute_tables): Make variables used in nested
46918 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46920 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46921 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46922 if buffer was too small.
46924 * elf/pldd.c (main): Attach to all threads in the process.
46925 Rewrite /proc handling to use *at functions.
46927 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46929 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46930 specifies first scope to show.
46931 (dl_open_worker): Update callers. Move printing scope of new
46932 object to before the relocation.
46933 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46934 * sysdeps/generic/ldsodefs.h: Update declaration.
46936 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46937 string for the scope number.
46939 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46941 * nscd/servicescache.c (cache_addserv): Make sure written is always
46944 2011-08-14 Roland McGrath <roland@hack.frob.com>
46946 * sysdeps/i386/i486/bits/atomic.h
46947 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46948 statement expression, so as to suppress "set but not used" warning.
46949 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46951 * string/strncat.c (STRNCAT): Use prototype definition.
46953 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46954 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46956 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46957 (localedef-modules): Add localedef.
46958 (locale-modules): Add locale.
46960 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46961 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46962 to avoid a warning.
46964 2011-08-14 David S. Miller <davem@davemloft.net>
46966 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46967 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46969 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46971 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46972 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46973 * elf/rtld.c (dl_main): Set l_name of vDSO.
46974 Call _dl_show_scope when DL_DEBUG_SCOPES.
46975 (process_dl_debug): Recognize scopes flag and also set it for all.
46976 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46977 Declare _dl_show_scope.
46979 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46980 (do_dlopen): Pass caller_dlopen to dl_open.
46981 (__libc_dlopen_mode): Initialize caller_dlopen.
46983 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46984 of libc. Make tolower call locale-independent. Optimize a bit by
46985 using isdigit instead of isalnum.
46986 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46988 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46990 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46991 was a dependency or dynamically loaded.
46993 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46995 * intl/l10nflist.c: Allow architecture-specific pop function.
46996 * sysdeps/x86_64/l10nflist.c: New file.
46998 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47001 2011-08-10 Andreas Schwab <schwab@redhat.com>
47003 * include/dirent.h: Add libc_hidden_proto for scandirat and
47004 scandirat64. Don't declare __scandirat64.
47005 * dirent/scandirat.c: Add libc_hidden_def.
47006 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47007 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47009 2011-08-10 David S. Miller <davem@davemloft.net>
47011 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47015 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47017 2011-08-09 Ulrich Drepper <drepper@gmail.com>
47019 * Versions.def [libc]: Add GLIBC_2.15.
47020 * dirent/Makefile (routines): Add scandirat and scandirat64.
47021 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47023 * dirent/dirent.h: Declare scandirat and scandirat64.
47024 * dirent/scandirat.c: New file.
47025 * dirent/scandirat64.c: New file.
47026 * sysdeps/wordsize-64/scandirat.c: New file.
47027 * sysdeps/wordsize-64/scandirat64.c: New file.
47028 * dirent/opendir.c: Define opendirat.
47029 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47031 * dirent/scandir64.c: Adjust for scandir.c change.
47032 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47033 __scandirat64, and __scandir_cancel_handler.
47034 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47035 additional parameter and use openat instead of open (outside of ld.so).
47036 Add new __opendir as wrapper around __opendirat.
47037 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47038 here without requiring old scandirat implementation.
47040 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47042 * dirent/scandir.c (cancel_handler): Renamed to
47043 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47044 defined. Adjust users.
47045 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47046 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47048 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47050 * string/test-string.h (IMPL): Use __STRING to expand name and then
47053 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47056 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47058 * string/Makefile: Update.
47059 (strop-tests): Append strncat.
47060 * string/test-wcscmp.c: New file.
47061 New comprehensive test for wcscmp.
47062 * string/test-strcmp.c: Update.
47063 (WIDE): New define.
47065 2011-07-22 Andreas Schwab <schwab@redhat.com>
47067 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47070 2011-07-26 Andreas Schwab <schwab@redhat.com>
47072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47073 encoding to ACE if AI_IDN.
47075 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47078 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47080 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47083 Fix overflow bug in strncat.
47084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47086 * string/test-strncat.c: Update.
47087 Add new tests for checking overflow bugs.
47089 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47092 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47093 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47094 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47096 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47097 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47098 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47099 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47102 (USE_AS_STRCAT): Define.
47103 Add strcat and strncat support.
47104 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47106 2011-07-25 Andreas Schwab <schwab@redhat.com>
47108 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47109 __n bigger than INT_MAX+1.
47110 (__strncmp_g): Likewise.
47112 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47114 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47115 * libio/stido.h: Likewise.
47117 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47122 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47123 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47124 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47125 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47129 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47134 (_dl_x86_64_save_sse): Likewise.
47136 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47138 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47140 (_dl_x86_64_save_sse): Likewise.
47142 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47144 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47146 2011-07-21 Andreas Schwab <schwab@redhat.com>
47148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47150 (_dl_x86_64_save_sse): Use correct AVX check.
47152 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47154 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47155 bug in strncpy/strncat.
47156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47158 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47160 * string/tester.c (test_strcat): Add tests for different alignments
47161 of source and destination.
47162 (test_strncat): Likewise.
47164 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47167 * posix/glob.c (glob): Check passed in values before using them in
47168 expressions to avoid some overflows.
47169 (glob_in_dir): Likewise.
47172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47173 check for AVX enablement so that we don't crash with old kernels and
47175 * elf/tst-audit4.c: Add same checks here.
47176 * elf/tst-audit6.c: Likewise.
47178 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47180 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47182 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47184 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47186 * po/cs.po: Update from translation team.
47187 * po/bg.po: Likewise.
47189 2011-07-12 Marek Polacek <mpolacek@redhat.com>
47191 * misc/sys/cdefs.h: Add support for const attribute.
47192 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47193 to gnu_dev_{major,minor,makedev} functions.
47195 2011-07-20 Marek Polacek <mpolacek@redhat.com>
47197 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47199 2011-07-20 Andreas Schwab <schwab@redhat.com>
47201 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47204 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47207 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47208 register in order to avoid conflicts with the soft frame pointer
47209 being held in r11 when necessary.
47210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47211 (INTERNAL_VSYSCALL_NCS): Likewise.
47213 2011-07-14 Marek Polacek <mpolacek@redhat.com>
47215 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47216 * elf/dl-fini.c (_dl_fini): Adjust caller.
47217 * elf/dl-close.c (_dl_close_worker): Likewise.
47218 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47220 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47222 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47223 "aux_cache->nlibs < 0".
47225 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47226 in the reload-count case.
47228 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47231 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47232 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47233 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47234 * sysdeps/x86_64/multiarch/strcat.S: New file.
47235 * sysdeps/x86_64/multiarch/strncat.S: New file.
47236 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47238 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47239 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47241 (USE_AS_STRCAT): Define.
47242 Add strcat and strncat support.
47243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47244 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47245 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47246 * string/strncat.c: Update.
47247 (USE_AS_STRNCAT): Define.
47248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47249 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47251 * sysdeps/x86_64/multiarch/init-arch.h
47252 (bit_Prefer_PMINUB_for_stringop): New.
47253 (index_Prefer_PMINUB_for_stringop): Likewise.
47254 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47255 bit_Prefer_PMINUB_for_stringop.
47257 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47259 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47261 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47262 of casting of buffer.
47263 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47264 buffer32 and buffer64.
47265 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47266 writes instead of casting of buffer.
47267 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47269 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47272 2011-07-19 Andreas Schwab <schwab@redhat.com>
47274 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47276 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47278 * nscd/nscd.c (termination_handler): Don't do anything for a database
47279 if it has not yet been initialized.
47281 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47283 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47285 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47287 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47289 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47291 * po/nl.po: Update from translation team.
47292 * po/sv.po: Likewise.
47294 2011-07-16 Roland McGrath <roland@hack.frob.com>
47296 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47297 now disallowed by GCC.
47299 * configure.in (use-default-link): Default to yes if a test -shared
47300 link meets our qualifications.
47301 * configure: Regenerated.
47303 * config.make.in (output-format): New variable.
47304 * configure.in: Check for ld --print-output-format support.
47305 * configure: Regenerated.
47306 * Makerules ($(common-objpfx)format.lds)
47307 [$(output-format) != unknown]: Just use $(output-format),
47308 instead of the linker-script munging.
47310 2011-07-14 Roland McGrath <roland@hack.frob.com>
47312 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47313 of $(common-objpfx)shlib.lds.
47314 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47316 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47317 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47319 * configure.in (-z relro check): Adjust test code to add a large
47320 writable data section after it.
47321 * configure: Regenerated.
47323 2011-07-11 Roland McGrath <roland@hack.frob.com>
47325 * configure.in (-z relro check): Fix test code to make the variable
47327 * configure: Regenerated.
47329 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47331 * nscd/nscd.h (struct traced_file): Define.
47332 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47333 elements. Add traced_files.
47334 (inotify_fd): Declare.
47335 (register_traced_file): Declare.
47336 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47337 (inotify_fd): Export.
47338 (resolv_conf_descr): Remove.
47339 (nscd_init): Move inotify descriptor creation to main.
47340 Don't register files for notification here.
47341 (register_traced_file): New function.
47342 (invalidate_cache): Don't use reset_res to determine whether to call
47343 res_init, go through the list of registered files.
47344 (main_loop_poll): The inotify descriptors are now stored in the
47345 structures for the traced files.
47346 (main_loop_epoll): Likewise
47347 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47348 to __nss_disable_nscd.
47349 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47350 for a database anymore. Check the records for all the registered
47352 * nss/Makefile (libnss_files-routines): Add files-init.
47353 (libnss_db-routines): Add db-init.
47354 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47355 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47356 * nss/nss_db/db-init.c: New file.
47357 * nss/nss_files/files-init.c: New file.
47358 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47359 __nss_lookup_function.
47360 (__nss_lookup_function): Call nss_load_library.
47361 (nss_load_all_libraries): New function.
47362 (__nss_disable_nscd): Take parameter with callback function for files
47363 to register. Set is_nscd. Load all the DSOs for the NSS modules
47364 used for the cached services.
47365 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47366 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47367 options for features to all the files in nscd.
47369 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47371 2011-07-10 Roland McGrath <roland@hack.frob.com>
47373 * csu/elf-init.c (__libc_csu_init): Comment typo.
47375 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47377 * po/pl.po: Update from translation team.
47378 * po/ja.po: Likewise.
47379 * po/ru.po: Likewise.
47380 * po/ko.po: Likewise.
47381 * po/fr.po: Likewise.
47383 2011-07-09 Roland McGrath <roland@hack.frob.com>
47385 * configure.in (.ctors/.dtors header and trailer check):
47386 Use an empirical test on a built program.
47387 * configure: Regenerated.
47389 * configure.in (-z relro check): Use an empirical test on a built DSO.
47390 Detect, but do not require, on ia64.
47391 * configure: Regenerated.
47393 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47394 Update tests that use readelf to use $READELF instead.
47395 * configure: Regenerated.
47397 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47399 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47400 if the result is not used.
47402 2011-07-05 Andreas Jaeger <aj@suse.de>
47405 * stdlib/tst-strtod.c: Add testcase.
47407 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47409 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47410 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47411 The latter has a higher limit. Take additional parameter to pass to
47413 (__pathconf): Pass file to __statfs_link_max.
47414 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47416 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47420 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47421 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47423 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47424 (__statfs_filesize_max): Likewise.
47425 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47427 2011-07-05 Andreas Jaeger <aj@suse.de>
47429 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47431 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47433 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47435 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47438 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47440 * Makefile (strop-tests): Add strncat.
47441 * string/test-strncat.c: New file.
47443 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47445 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47447 2011-06-21 Andreas Jaeger <aj@suse.de>
47449 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47450 Copy rule from iconvdata/Makefile.
47452 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47455 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47456 but no long options are defined, just return 'W'.
47458 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47461 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47463 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47465 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47467 (innetgr): Likewise.
47469 2011-07-05 Roland McGrath <roland@hack.frob.com>
47471 * config.make.in (install_root): Default to $(DESTDIR).
47473 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47475 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47477 2011-07-02 Roland McGrath <roland@hack.frob.com>
47479 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47481 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47482 containing directory rather than embedding absolute directory names.
47484 * scripts/check-local-headers.sh: Rewritten using awk.
47485 Match by word, not by line. Print error messages for matches.
47486 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47488 * Makerules [shlib-lds-flags empty]:
47489 ($(common-objpfx)libc_pic.opts): New target.
47490 ($(common-objpfx)libc_pic.os.clean): New target.
47491 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47493 * config.make.in (OBJCOPY): New variable.
47494 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47495 * configure: Regenerated.
47497 * config.make.in (use-default-link): New variable.
47498 * configure.in (use_default_link): Grok --with-default-link to set it.
47499 * configure: Regenerated.
47500 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47501 (shlib-lds, shlib-lds-flags): Define to empty.
47503 * Makerules (shlib-lds): New variable.
47504 (shlib-lds-flags): New variable.
47505 (build-shlib, build-moduile, build-module-asneeded): Use it.
47506 ($(common-objpfx)libc.so): Use $(shlib-lds).
47507 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47508 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47510 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47511 DT_FLAGS/DT_FLAGS_1 with zero flags.
47513 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47514 linker script munging.
47516 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47518 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47520 * crypt/sha512.c (sha512_process_block): Perform total addition using
47521 128-bit if possible.
47522 (__sha512_finish_ctx): Likewise.
47523 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47525 * crypt/sha256.c (SWAP64): Define.
47526 (sha256_process_block): Perform total addition using 64-bit if
47528 (__sha256_finish_ctx): Likewise.
47530 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47532 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47534 * nscd/hstcache.c (cache_addhst): Likewise.
47535 * nscd/grpcache.c (cache_addgr): Likewise.
47536 * nscd/aicache.c (addhstaiX): Likewise
47537 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47539 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47541 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47543 * nscd/hstcache.c (cache_addhst): Likewise.
47544 * nscd/grpcache.c (cache_addgr): Likewise.
47545 * nscd/aicache.c (addhstaiX): Likewise
47547 2011-07-01 Andreas Schwab <schwab@redhat.com>
47549 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47550 domain only when needed.
47552 2011-06-30 Andreas Schwab <schwab@redhat.com>
47554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47555 is always restored.
47557 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47559 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47560 are re-adding the entry.
47561 * nscd/servicescache.c (cache_addserv): Likewise.
47563 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47565 * sysdeps/generic/dl-irel.h: fix protection against multiple
47567 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47569 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47572 * malloc/memusage.sh: Fix quoting in message.
47573 * debug/xtrace.sh: Likewise.
47575 * configure.in: Remove support for --experimental-malloc option, make
47577 * config.make.in: Likewise.
47578 * malloc/Makefile: Likewise.
47580 2011-06-27 Andreas Schwab <schwab@redhat.com>
47582 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47583 two-byte characters.
47585 2011-06-27 Roland McGrath <roland@hack.frob.com>
47587 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47588 AC_CACHE_CHECK invocation.
47589 * configure: Regenerated.
47591 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47593 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47596 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47597 bit from old_res_options.
47599 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47601 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47602 value type for setfct.
47604 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47607 __gettimeofday instead of gettimeofday.
47609 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47611 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47613 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47620 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47623 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47624 strcpy-sse2-unaligned strncpy-sse2-unaligned
47625 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47626 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47627 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47628 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47629 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47630 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47631 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47632 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47633 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47634 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47635 (STRCPY): Support SSE2 and SSSE3 versions.
47637 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47640 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47641 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47642 kernels which artificially limit size of requests.
47644 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47647 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47648 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47649 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47650 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47651 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47652 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47653 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47654 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47656 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47657 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47658 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47659 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47660 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47662 Enable unaligned load optimization for Intel Core i3, i5 and i7
47664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47666 (index_Fast_Unaligned_Load): Define.
47667 (HAS_FAST_UNALIGNED_LOAD): Define.
47669 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47671 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47673 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47676 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47677 until it is clear that the information is realy needed.
47678 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47680 2011-06-22 Andreas Schwab <schwab@redhat.com>
47682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47684 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47687 /sys/devices/system/cpu/online if it is usable.
47689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47690 reading the information from the /proc filesystem to once a second.
47692 2011-06-21 Andreas Jaeger <aj@suse.de>
47694 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47695 NULL after inclusion of kernel headers.
47697 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47699 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47700 calls to internal_setent.
47703 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47704 addresses using gethostbyname4_r ignore IPv4 addresses.
47706 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47707 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47709 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47711 2011-06-20 David S. Miller <davem@davemloft.net>
47713 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47715 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47717 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47718 (elf_irel): Use it.
47719 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47720 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47721 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47722 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47723 * sysdeps/x86_64/dl-irel.h: Likewise.
47725 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47726 * elf/dl-sym.c: Likewise.
47728 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47730 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47731 need to dereference resplen2.
47733 2011-06-14 Andreas Schwab <schwab@redhat.com>
47735 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47737 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47739 * Makeconfig: Define vardbdir and inst_vardbdir.
47740 * nss/Makefile: Add rules to install db-Makefile.
47742 * nss/nss_db/db-XXX.c: Cleanup.
47744 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47745 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47747 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47748 * nss/makedb.c: Implement -g option to specify that value strings
47749 are generated and should not be added to table iterated over for
47751 * nss/nss_db/db-initgroups.c: New file.
47753 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47756 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47757 (internal_getgrouplist): Adjust to name change.
47758 Update use_initgroups_entry if this is not the first call.
47759 * nss/databases.def: Add initgroups entry.
47761 * nss/makedb.c (compute_tables): Check result of multiple hash table
47762 sizes to minimize maximum chain length.
47764 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47766 * Versions.def: Add entry for libnss_db.
47767 * shlib-versions: Likewise.
47768 * nss/Makefile: Add rules to build libnss_db.
47769 * nss/Versions: Add libnss_db information. Organize libnss_files
47771 * nss/db-Makefile: Add gshadow support. Change rules for the new
47772 makedb progra. Some minor improvements to generate smaller files.
47773 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47775 * nss/makedb.c: ...here.
47776 Improve database format to be smaller and require less memory at
47778 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47780 * nss/nss_db/db-netgrp.c: Likewise.
47781 * nss/nss_db/db-open.c: Likewise.
47782 * nss/nss_files/flies-XXX.x: Adjust comments.
47783 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47784 * nss/nss_files/files-grp.c: Likewise.
47785 * nss/nss_files/files-hosts.c: Likewise.
47786 * nss/nss_files/files-network.c: Likewise.
47787 * nss/nss_files/files-proto.c: Likewise.
47788 * nss/nss_files/files-pwd.c: Likewise.
47789 * nss/nss_files/files-rpc.c: Likewise.
47790 * nss/nss_files/files-service.c: Likewise.
47791 * nss/nss_files/files-sgrp.c: Likewise.
47792 * nss/nss_files/files-spwd.c: Likewise.
47793 * nss/nss_db/db-alias.c: Removed.
47794 * nss/nss_db/dummy-db.h: Removed.
47796 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47798 * nss/makedb.c: Rewritten to not use database library.
47799 * nss/Makefile: Update to build new makedb program.
47801 2011-06-14 Andreas Jaeger <aj@suse.de>
47803 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47804 memset declaration.
47806 2011-06-10 Andreas Schwab <schwab@redhat.com>
47808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47811 2011-06-10 Roland McGrath <roland@hack.frob.com>
47813 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47814 * elf/Makefile ($(objpfx)ld.so): Likewise.
47816 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47817 Don't list ld.so twice in dependencies.
47819 * posix/bug-regex31.c: Include <stdlib.h>.
47821 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47823 * nis/nss_compat/compat-spwd.c
47824 (getspent_next_nss_netgr): Remove unused variable.
47825 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47827 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47828 nonmembers" output to use the right array.
47830 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47832 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47834 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47835 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47836 * catgets/gencat.c (read_input_file): Likewise.
47837 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47839 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47840 variable definition inside #if's controlling its use.
47842 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47844 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47846 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47848 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47851 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47853 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47854 * configure: Regenerated.
47856 * Makerules: Revert last change.
47857 * elf/Makefile: Likewise.
47859 2011-06-09 Roland McGrath <roland@hack.frob.com>
47861 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47862 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47863 (reloc-link): Likewise.
47865 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47867 * elf/Makefile: Add rules to build pldd.
47868 * elf/pldd.c: New file.
47869 * elf/pldd-xx.c: New file.
47871 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47873 * version.h: Update for 2.15 development version.
47875 2011-06-07 David S. Miller <davem@davemloft.net>
47877 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47880 elf_machine_lazy_rel): Likewise.
47881 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47883 elf_machine_lazy_rel): Likewise.
47884 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47885 dl_hwcap via passed in argument.
47886 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47889 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47891 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47893 2011-06-06 Roland McGrath <roland@hack.frob.com>
47896 * manual/fdl-1.1.texi: New file, verbatim from:
47897 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47898 * manual/lgpl-2.1.texi: New file, verbatim from:
47899 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47900 * manual/Makefile (licenses): New variable, list those new file names.
47902 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47904 * manual/fdl.texi: File removed.
47905 * manual/lesser.texi: File removed.
47906 * manual/libc.texinfo (Copying, Documentation License):
47907 Use new @include file names, put @appendix directive before @include.
47909 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47912 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47913 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47914 (mq_open): Add __NTH.
47916 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47919 Assume Intel Core i3/i5/i7 processor if AVX is available.
47921 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47926 2011-05-31 Andreas Schwab <schwab@redhat.com>
47928 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47929 memory. Use alloca_account. Fix memory leak when retrying.
47931 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47933 * version.h (RELEASE): Bump for 2.14 release.
47934 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47936 * config.make.in (RANLIB): Remove entry.
47938 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47940 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47941 (libc.pot): Work around missing support for .ksh extension in xgettext.
47944 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47945 if both request failed.
47946 (send_dg): In case of server errors clear resplen or *resplen2.
47949 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47950 when there are multiple maps.
47951 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47952 (_dl_fini): Remove test here.
47954 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47956 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47959 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47960 bit from old_res_options.
47961 (gaih_inet): Likewise.
47964 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47967 * resolv/res_init.c (res_setoptions): Make the code more compact.
47970 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47974 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47976 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47979 * malloc/malloc.h: Declare malloc hook variables as volatile.
47981 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47985 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47986 raise in the comment.
47987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47988 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47989 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47991 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47994 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47995 grow the buffers more if it already has to be sufficient.
47996 (build_wcs_upper_buffer): Likewise.
47997 * posix/regexec.c (check_matching): Likewise.
47998 (clean_state_log_if_needed): Likewise.
47999 (extend_buffers): Don't enlarge buffers beyond size of the input
48001 Patches mostly by Emil Wojak <emil@wojak.eu>.
48002 * posix/bug-regex32.c: New file.
48003 * posix/Makefile (tests): Add bug-regex32.
48005 * locale/findlocale.c (_nl_find_locale): Return right away if
48006 _nl_explode_name failed.
48007 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48009 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48011 * debug/xtrace.sh: Unify messages.
48012 * malloc/memusage.sh: Likewise.
48015 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48016 time symbol from vDSO. Substitute with vsyscall if not available.
48017 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48020 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48021 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48022 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48023 Add sendmmsg and internal_sendmmsg.
48024 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48025 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48026 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48028 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48029 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48030 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48032 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48035 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48036 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48042 * iconvdata/Makefile (tests): Add bug-iconv9.
48043 * iconvdata/bug-iconv9.c: New file.
48045 2011-05-27 Andreas Schwab <schwab@redhat.com>
48048 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48050 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48052 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48053 (struct user_regs_struct): Change intcs field back to cs.
48055 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48057 * po/ja.po: Update from translation team.
48059 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48062 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48063 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48065 2011-05-20 Andreas Schwab <schwab@redhat.com>
48067 * stdlib/longlong.h: Update from GCC.
48069 2011-05-23 Andreas Schwab <schwab@redhat.com>
48071 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48073 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48074 Add parameter name.
48075 (__sysconf): Pass it down.
48077 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48080 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48082 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48083 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48084 add in in __libc_use_alloca calls. Adjust callers.
48085 (glob): Use malloc in some situations.
48087 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48088 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48091 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48093 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48094 and CLOCK_BOOTTIME_ALARM.
48097 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48100 * string/_strerror.c (__strerror_r): Print negative errors as signed
48104 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48105 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48106 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48108 * configure.in: Fix typo in redirection and correct removal of test
48109 files in two cases.
48112 * locale/setlocale.c (new_composite_name): Fix test to check for
48113 identical name of all categories.
48116 * libio/filedoalloc.c (local_isatty): New function.
48117 (_IO_file_doallocate): Use local_isatty.
48118 * stdio-common/perror.c (perror): In case a new stream is used
48119 forward the stream error.
48120 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48123 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48128 * include/alloca.h (extend_alloca_account): Define.
48131 * posix/regex.h: Fix comments with documentation of user-accessible
48132 fields after compilation and describe correct free'ing of pattern
48133 after re_compile_pattern.
48134 Patch by Reuben Thomas <rrt@sc3d.org>.
48136 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48138 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48139 and -mno-altivec to prevent the compiler from using Altivec and/or
48140 VSX instructions when the corresponding registers are not available.
48142 2011-05-19 Andreas Schwab <schwab@redhat.com>
48144 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48146 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48148 * libio/freopen.c (freopen): Use __dup2, not dup2.
48149 * libio/freopen64.c (freopen64): Likewise.
48151 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48154 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48155 * math/Makefile (tests): Add test-powl.
48156 (CFLAGS-test-powl.c): Define.
48157 * math/test-powl.c: New file.
48159 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48161 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48163 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48166 * iconvdata/gb18030.c: Update to GB18020-2005.
48168 2011-05-16 Ulrich Drepper <drepper@gmail.com>
48170 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48171 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48172 Patch by Aharon Robbins <arnold@skeeve.com>.
48175 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48179 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48180 through underflows.
48183 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48184 point to strings before performing equality test for error_one_per_line
48188 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48191 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48192 (struct user_fpregs_struct): Avoid __uint*_t types.
48195 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48196 symbol info. Use it instead of calling _dl_addr locally.
48197 (lock_and_info): New function.
48198 (tr_freehook): Call lock_and_info and pass symbol info as additional
48199 parameter to tr_where.
48200 (tr_mallochook): Likewise.
48201 (tr_reallochook): Likewise.
48202 (tr_memalignhook): Likewise.
48204 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48205 used and couldn't be at all thread-safe.
48207 2011-05-15 Ulrich Drepper <drepper@gmail.com>
48209 * libio/freopen.c (freopen): Don't close old file descriptor
48210 before the new one is opened. Instead dup the new file descriptor
48211 to the old one after the new stream is created.
48212 * libio/freopen64.c (freopen64): Likewise.
48213 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48214 * libio/fileops.c (_IO_new_file_close_it): Handle new
48215 _IO_FLAGS2_NOCLOSE flag.
48216 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48217 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48218 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48219 _IO_FLAGS2_NOCLOSE flag.
48220 * include/unistd.h: Add hidden_proto for dup3.
48221 Define __have_dup3.
48222 * io/dup3.c: Define hidden symbol.
48223 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48226 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48227 when an incomplete long option is used.
48228 * posix/tst-getopt_long1.c: New file.
48229 * posix/Makefile (tests): Add tst-getopt_long1.
48232 * scripts/config.guess: Update from autoconf-2.68.
48233 * scripts/config.sub: Likewise.
48236 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48238 (has_cpuclock): ...this. New function.
48239 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48240 macro here based on has_cpuclock code.
48243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48244 First byte (not low byte) is now always NUL.
48245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48248 Use non-cancelable interfaces.
48251 * locale/iso-639.def: Add entry for Sorani.
48254 * include/stdlib.h: Move include protection to the right place.
48255 Define abort_msg_s. Declare __abort_msg with it.
48256 * stdlib/abort.c (__abort_msg): Adjust type.
48257 * assert/assert.c (__assert_fail_base): New function. Majority
48258 of code from __assert_fail. Allocate memory for __abort_msg with
48260 (__assert_fail): Now call __assert_fail_base.
48261 * assert/assert-perr.c: Remove bulk of implementation. Use
48262 __assert_fail_base.
48263 * include/assert.hL Declare __assert_fail_base.
48264 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48266 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48268 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48272 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48273 until all modules are registered in the DTV.
48274 * elf/Makefile: Add rules to build and run tst-tls19.
48275 * elf/tst-tls19.c: New file.
48276 * elf/tst-tls19mod1.c: New file.
48277 * elf/tst-tls19mod2.c: New file.
48278 * elf/tst-tls19mod3.c: New file.
48279 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48282 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48286 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48287 two-byte sequence errors.
48288 * iconvdata/Makefile (tests): Add bug-iconv8.
48289 * iconvdata/bug-iconv8.c: New file.
48292 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48295 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48298 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48299 (dummy_getcfa): New function.
48300 (init): Get _Unwind_GetCFA address, use dummy if not found.
48301 (backtrace_helper): In recursion check, also check whether CFA changes.
48302 (__backtrace): Completely initialize arg.
48304 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48305 storing incomplete byte sequence in state object. Avoid testing for
48306 guaranteed too small input if we know there is enough data available.
48308 2011-05-11 Andreas Schwab <schwab@redhat.com>
48310 * Makeconfig (+link-pie): Indent.
48311 * Rules (binaries-pie): Define if $(have-fpie) and
48313 (binaries-shared): Also filter out $(binaries-pie).
48314 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48315 * nscd/Makefile (others-pie): Add nscd.
48316 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48317 ($(objpfx)nscd): Remove command override.
48318 * login/Makefile (others-pie): Add pt_chown.
48319 ($(objpfx)pt_chown): Remove command override.
48320 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48321 remove command overrides.
48323 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48325 * libio/tst_putwc.c: Fix error messages.
48328 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48329 currently writing and seek to current position when not.
48330 * libio/Makefile (tests): Add bug-fclose1.
48331 * libio/bug-fclose1.c: New file.
48333 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48336 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48337 don't set DF_1_NODELETE here.
48338 (do_lookup_x): When entering new entry test for copy relocation
48339 and if necessary set DF_1_NODELETE flag.
48340 * elf/tst-unique4.cc: New file.
48341 * elf/tst-unique4.h: New file.
48342 * elf/tst-unique4lib.cc: New file.
48343 * elf/Makefile: Add rules to build and run tst-unique4.
48344 Patch by Piotr Bury <pbury@goahead.com>.
48346 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48349 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48352 * misc/mntent_r.c (addmntent): Flush the stream after the output
48355 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48356 (is_trusted_path_normalize): Skip initial colon. Append slash
48357 to empty buffer. Duplicate is_trusted_path code but allow
48358 constructed patch to be prefix.
48359 (is_dst): Allow $ORIGIN followed by /.
48360 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48361 Correct testing of result of is_trusted_path_normalize
48362 (decompose_rpath): Fix warning.
48364 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48367 * grp/initgroups.c (internal_getgrouplist): When we found the service
48368 list through the initgroups entry in nsswitch.conf do not always
48369 continue on a successful lookup. Don't always use the
48370 __nss_group_database value if it is set.
48371 * nss/nsswitch.conf (initgroups): Change action for successful db
48372 lookup to continue for compatibility.
48374 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48377 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48379 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48381 * iconvdata/tst-tables.sh: Likewise.
48382 * iconvdata/cp770.c: New file.
48383 * iconvdata/cp771.c: New file.
48384 * iconvdata/cp772.c: New file.
48385 * iconvdata/cp773.c: New file.
48386 * iconvdata/cp774.c: New file.
48387 * iconvdata/testdata/CP770: New file.
48388 * iconvdata/testdata/CP770..UTF8: New file.
48389 * iconvdata/testdata/CP771: New file.
48390 * iconvdata/testdata/CP771..UTF8: New file.
48391 * iconvdata/testdata/CP772: New file.
48392 * iconvdata/testdata/CP772..UTF8: New file.
48393 * iconvdata/testdata/CP773: New file.
48394 * iconvdata/testdata/CP773..UTF8: New file.
48395 * iconvdata/testdata/CP774: New file.
48396 * iconvdata/testdata/CP774..UTF8: New file.
48398 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48400 * iconvdata/gen-8bit-gap.sh: Likewise.
48401 * iconvdata/gen-8bit.sh: Likewise.
48403 * locale/iso-639.def: Add ary entry.
48406 * locale/C-translit.h.in: Add U20A1 transliteration.
48409 * locale/iso-639.def: Add wae entry.
48410 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48413 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48417 * locale/C-translit.h.in: Add entry for U20B9.
48418 Patch by pravin.d.s@gmail.com.
48420 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48423 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48424 ENAMETOOLONG use generic getcwd.
48425 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48426 in rtld. Use *stat64.
48427 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48428 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48429 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48430 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48431 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48432 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48433 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48434 __fstatat64 macros.
48435 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48436 * dirent/rewinddir.c: Add libc_hidden_def.
48437 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48438 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48440 * include/dirent.h (__alloc_dir): Add flags parameter.
48441 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48442 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48444 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48445 from fdopendir if O_CLOEXEC is already set.
48447 2011-03-15 Alan Modra <amodra@gmail.com>
48449 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48450 l_tls_firstbyte_offset non-zero. Save padding offset in
48451 l_tls_firstbyte_offset for later use.
48452 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48453 freeing static tls block.
48455 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48457 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48458 where #ifdef was intended. The intent is to prevent ARG_MAX from
48459 being defined by the kernel headers.
48461 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48464 * resolv/resolv.h: Define RES_NOTLDQUERY.
48465 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48466 no-tld-query and set RES_NOTLDQUERY.
48467 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48468 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48469 modern BIND to search name as TLD unless forbidden.
48471 2011-05-07 Petr Baudis <pasky@suse.cz>
48472 Ulrich Drepper <drepper@gmail.com>
48475 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48476 (is_trusted_path): ...to here.
48477 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48478 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48479 using is_trusted_path_normalize() in setuid scripts.
48481 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48483 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48484 __BEGIN/__END_DECLS.
48486 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48489 NSS_STATUS_NOTFOUND if no record was found.
48491 2011-05-05 Andreas Schwab <schwab@redhat.com>
48493 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48494 (headers-not-in-tirpc): Remove rpc/netdb.h
48495 * resolv/netdb.h: Revert last change.
48497 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48499 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48500 circular dependency between libgcc.a and libc.a.
48502 2011-05-05 Andreas Schwab <schwab@redhat.com>
48504 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48505 * nis/Makefile: Don't install rpcsvc/*.
48506 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48507 instead of <rpc/types.h>.
48508 (MAXHOSTNAMELEN): Define.
48510 2011-05-03 Andreas Schwab <schwab@redhat.com>
48512 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48514 2011-04-28 Maciej Babinski <mbabinski@google.com>
48517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48518 gethostbyname4_r when IPv6 results are possible.
48520 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48523 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48524 _PC_PIPE_BUF handling.
48526 2011-04-30 Bruno Haible <bruno@clisp.org>
48529 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48530 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48532 * inet/getnameinfo.c (getnameinfo): Likewise.
48534 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48536 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48537 to groups setting in database lookup.
48538 * nss/nsswitch.conf: Add initgroups entry.
48540 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48543 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48545 Patch by Eric Blake <eblake@redhat.com>.
48547 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48549 * sunrpc/Makefile (need-export-routines): Add svc_run.
48550 (routines): Remove svc_run.
48551 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48552 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48553 * sunrpc/svc_run.c (svc_run): Likewise.
48554 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48556 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48558 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48559 problem in reallocation in last patch.
48561 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48563 * sunrpc/Makefile: Move inclusion of Rules.
48565 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48567 * nss/nss_files/files-initgroups.c: New file.
48568 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48569 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48570 _nss_files_initgroups_dyn.
48572 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48574 * elf/elf.h (R_ARM_IRELATIVE): Define.
48576 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48578 * po/ru.po: Update from translation team.
48580 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48582 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48585 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48588 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48589 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48591 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48594 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48596 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48598 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48600 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48602 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48605 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48607 * stdlib/bug-getcontext.c: New file.
48608 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48610 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48612 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48613 instructions into .machine "z9-109".
48614 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48615 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48617 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48619 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48620 between environment variables and auxiliary vector.
48622 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48624 * Makefile: Add rules to build linkobj/libc.so.
48625 * include/libc-symbols.h: Define libc_hidden_nolink.
48626 * include/rpc/auth.h: Mark functions which are to be hidden.
48627 * include/rpc/auth_des.h: Likewise.
48628 * include/rpc/auth_unix.h: Likewise.
48629 * include/rpc/clnt.h: Likewise.
48630 * include/rpc/des_crypt.h: Likewise.
48631 * include/rpc/key_prot.h: Likewise.
48632 * include/rpc/pmap_clnt.h: Likewise.
48633 * include/rpc/pmap_prot.h: Likewise.
48634 * include/rpc/pmap_rmt.h: Likewise.
48635 * include/rpc/rpc_msg.h: Likewise.
48636 * include/rpc/svc.h: Likewise.
48637 * include/rpc/svc_auth.h: Likewise.
48638 * include/rpc/xdr.h: Likewise.
48639 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48640 * nss/Makefile: Likewise.
48641 * sunrpc/Makefile: Don't install headers. Build library with normal
48642 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48643 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48644 for the compat linking library. Remove use of INTDEF/INTUSE.
48645 * sunrpc/auth_none.c: Likewise.
48646 * sunrpc/auth_unix.c: Likewise.
48647 * sunrpc/authdes_prot.c: Likewise.
48648 * sunrpc/authuxprot.c: Likewise.
48649 * sunrpc/clnt_gen.c: Likewise.
48650 * sunrpc/clnt_perr.c: Likewise.
48651 * sunrpc/clnt_raw.c: Likewise.
48652 * sunrpc/clnt_simp.c: Likewise.
48653 * sunrpc/clnt_tcp.c: Likewise.
48654 * sunrpc/clnt_udp.c: Likewise.
48655 * sunrpc/clnt_unix.c: Likewise.
48656 * sunrpc/des_crypt.c: Likewise.
48657 * sunrpc/des_soft.c: Likewise.
48658 * sunrpc/get_myaddr.c: Likewise.
48659 * sunrpc/key_call.c: Likewise.
48660 * sunrpc/key_prot.c: Likewise.
48661 * sunrpc/netname.c: Likewise.
48662 * sunrpc/pm_getmaps.c: Likewise.
48663 * sunrpc/pm_getport.c: Likewise.
48664 * sunrpc/pmap_clnt.c: Likewise.
48665 * sunrpc/pmap_prot.c: Likewise.
48666 * sunrpc/pmap_prot2.c: Likewise.
48667 * sunrpc/pmap_rmt.c: Likewise.
48668 * sunrpc/publickey.c: Likewise.
48669 * sunrpc/rpc_cmsg.c: Likewise.
48670 * sunrpc/rpc_common.c: Likewise.
48671 * sunrpc/rpc_dtable.c: Likewise.
48672 * sunrpc/rpc_prot.c: Likewise.
48673 * sunrpc/rpc_thread.c: Likewise.
48674 * sunrpc/rtime.c: Likewise.
48675 * sunrpc/svc.c: Likewise.
48676 * sunrpc/svc_auth.c: Likewise.
48677 * sunrpc/svc_authux.c: Likewise.
48678 * sunrpc/svc_raw.c: Likewise.
48679 * sunrpc/svc_run.c: Likewise.
48680 * sunrpc/svc_simple.c: Likewise.
48681 * sunrpc/svc_tcp.c: Likewise.
48682 * sunrpc/svc_udp.c: Likewise.
48683 * sunrpc/svc_unix.c: Likewise.
48684 * sunrpc/svcauth_des.c: Likewise.
48685 * sunrpc/xcrypt.c: Likewise.
48686 * sunrpc/xdr.c: Likewise.
48687 * sunrpc/xdr_array.c: Likewise.
48688 * sunrpc/xdr_float.c: Likewise.
48689 * sunrpc/xdr_intXX_t.c: Likewise.
48690 * sunrpc/xdr_mem.c: Likewise.
48691 * sunrpc/xdr_rec.c: Likewise.
48692 * sunrpc/xdr_ref.c: Likewise.
48693 * sunrpc/xdr_sizeof.c: Likewise.
48694 * sunrpc/xdr_stdio.c: Likewise.
48696 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48699 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48700 * sysdeps/ia64/dl-tls.h: Likewise.
48701 * sysdeps/powerpc/dl-tls.h: Likewise.
48702 * sysdeps/s390/dl-tls.h: Likewise.
48703 * sysdeps/sh/dl-tls.h: Likewise.
48704 * sysdeps/sparc/dl-tls.h: Likewise.
48705 * sysdeps/x86_64/dl-tls.h: Likewise.
48706 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48708 2011-03-14 Andreas Schwab <schwab@redhat.com>
48710 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48711 rpath element also skip the following colon.
48712 (expand_dynamic_string_token): Add is_path parameter and pass
48713 down to DL_DST_REQUIRED and _dl_dst_substitute.
48714 (decompose_rpath): Call expand_dynamic_string_token with
48715 non-zero is_path. Ignore empty rpaths.
48716 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48719 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48724 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48727 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48728 Patch by Filipe David Manana <fdmanana@apache.org>.
48730 2011-04-07 Andreas Schwab <schwab@redhat.com>
48732 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48733 Maintain aligned stack.
48734 (CHECK_RSP): Remove unused macro.
48736 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48738 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48739 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48741 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48743 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48745 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48747 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48750 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48751 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48752 * sysdeps/x86_64/memmove.c: New file.
48753 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48754 (memcpy): Renamed to ...
48755 (__new_memcpy): This.
48756 (memcpy): Provide GLIBC_2_14 memcpy.
48757 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48758 (memcpy): Provide GLIBC_2_2_5 memcpy.
48760 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48763 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48765 2011-03-30 Andreas Schwab <schwab@redhat.com>
48767 * misc/syncfs.c: New file.
48768 * misc/Makefile (routines): Add syncfs.
48769 * posix/unistd.h: Declare syncfs.
48770 * sysdeps/unix/syscalls.list: Add syncfs.
48772 2011-04-01 Andreas Schwab <schwab@redhat.com>
48774 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48777 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48781 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48782 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48784 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48787 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48788 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48794 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48795 sync_file_range.c with -fexceptions.
48796 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48797 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48798 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48799 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48800 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48801 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48803 sync_file_range as cancellation point
48804 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48805 now a wrapper around __call_sync_file_range with cancellation handling.
48806 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48807 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48808 function name to __call_sync_file_range.
48809 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48810 Add call_sync_file_range.
48812 2011-04-01 Andreas Schwab <schwab@redhat.com>
48814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48817 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48819 * iconv/iconv.h: Fix typo in comment.
48820 * io/fcntl.h: Likewise.
48821 * libio/stdio.h: Likewise.
48822 * posix/spawn.h: Likewise.
48823 * posix/unistd.h: Likewise.
48824 * stdlib/stdlib.h: Likewise.
48825 * time/time.h: Likewise.
48826 * wcsmbs/wchar.h: Likewise.
48828 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48829 open_by_handle): Add.
48830 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48831 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48832 Augment a few comments.
48833 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48835 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48838 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48841 * io/fcntl.h (AT_EMPTY_PATH): Define.
48843 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48845 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48846 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48847 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48849 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48850 * Versions.def: Add GLIBC_2.14.
48851 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48854 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48856 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48858 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48860 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48863 * string/test-strncmp.c (do_page_test): New function.
48864 (check2): Likewise.
48865 (test_main): Call check2.
48866 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48868 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48871 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48872 Handle cache information in CPU leaf 4.
48873 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48875 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48878 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48879 character representation.
48880 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48882 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48884 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48885 END(__isnan) to END(__isnanf) to match function entry point/label
48886 EALIGN(__isnanf,...).
48888 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48890 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48892 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48895 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48896 copy from the symbol referenced in the relocation to initialize the
48898 Patch by Piotr Bury <pbury@goahead.com>.
48899 * elf/Makefile: Add rules to build and tst-unique3.
48900 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48901 * elf/tst-unique3.cc: New file.
48902 * elf/tst-unique3.h: New file.
48903 * elf/tst-unique3lib.cc: New file.
48904 * elf/tst-unique3lib2.cc: New file.
48906 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48908 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48910 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48911 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48914 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48916 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48917 to-be-loaded object along a path to loader is ld.so.
48919 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48920 Ulrich Drepper <drepper@gmail.com>
48922 * sysdeps/x86_64/memset.S: After aligning destination, code
48923 branches to different locations depending on the value of
48924 misalignment, when multiarch is enabled. Fix this.
48926 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48928 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48929 Set _x86_64_preferred_memory_instruction for AMD processsors.
48930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48931 Set bit_Prefer_SSE_for_memop for AMD processors.
48933 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48935 * libio/fmemopen.c (fmemopen): Optimize a bit.
48937 2011-03-03 Andreas Schwab <schwab@redhat.com>
48939 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48941 2011-03-03 Roland McGrath <roland@redhat.com>
48943 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48945 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48947 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48948 __bzero_ultra1 instead of __memset_ultra1.
48950 2011-02-23 Andreas Schwab <schwab@redhat.com>
48951 Ulrich Drepper <drepper@gmail.com>
48954 * include/link.h (struct link_map): Add l_orig_initfini.
48955 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48956 returning unsuccessfully.
48957 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48958 close of a file loaded at startup, restore the original l_initfini
48960 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48961 list, store the pointer.
48962 * elf/Makefile ($(objpfx)noload-mem): New rule.
48963 (noload-ENV): Define.
48964 (tests): Add $(objpfx)noload-mem.
48965 * elf/noload.c: Include <memcheck.h>.
48966 (main): Call mtrace. Close all opened handles.
48968 2011-02-17 Andreas Schwab <schwab@redhat.com>
48971 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48972 dependencies are missing.
48974 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48976 Fix __if_freereq crash: Unlike the generic version which uses free,
48978 * sysdeps/mach/hurd/ifreq.h: New file.
48980 2011-01-27 Petr Baudis <pasky@suse.cz>
48981 Ulrich Drepper <drepper@gmail.com>
48984 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48985 to extend_alloca().
48986 * stdio-common/bug23.c: New file.
48987 * stdio-common/Makefile (tests): Add bug23.
48989 2010-09-28 Andreas Schwab <schwab@redhat.com>
48990 Ulrich Drepper <drepper@gmail.com>
48993 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48994 before performing relro protection. At old place add assertion
48995 to make sure nothing changed.
48997 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48998 Glauber de Oliveira Costa <glommer@gmail.com>
49000 * elf/elf.h: Add new ARM TLS relocs.
49002 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49005 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49007 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49009 * sysdeps/wordsize-64/tst-writev.c: New file.
49011 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49013 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49014 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49015 insns in _dl_start to prevent a TOC reference before relocs are
49018 2011-02-15 Ulrich Drepper <drepper@gmail.com>
49021 * Makeconfig: Remove RANLIB definition.
49022 * Makerules: Don't use RANLIB.
49023 * aclocal.m4: Remove ranlib test.
49024 * configure.in: No need to check for ranlib.
49025 * elf/rtld-Rules: Don't use RANLIB.
49027 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49029 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49031 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49032 inclusion protection macro.
49034 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49035 SIGRTMIN and SIGRTMAX and print information in that case only when
49036 SIGRTMIN is defined.
49038 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49040 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49041 arginfo fn returning -1.
49043 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49044 and thousands string is zero terminated.
49046 2011-02-03 Andreas Schwab <schwab@redhat.com>
49048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49049 sysdeps/unix/sysv/linux/bits/socket.h.
49051 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49053 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49054 (__CPU_COUNT): Remove old macros.
49055 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49056 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49057 (__CPU_ALLOC, __CPU_FREE): Add macros.
49058 (__sched_cpualloc, __sched_cpufree): Add declarations.
49060 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49062 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49063 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49064 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49065 (readdhstai): Return value of addhstaiX call.
49066 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49067 (addgrbyX): Return value returned by cache_addgr.
49068 (readdgrbyname): Return value returned by addgrbyX.
49069 (readdgrbygid): Likewise.
49070 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49071 (addpwbyX): Return value returned by cache_addpw.
49072 (readdpwbyname): Return value returned by addhstbyX.
49073 (readdpwbyuid): Likewise.
49074 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49075 (addservbyX): Return value returned by cache_addserv.
49076 (readdservbyname): Return value returned by addservbyX:
49077 (readdservbyport): Likewise.
49078 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49079 (addhstbyX): Return value returned by cache_addhst.
49080 (readdhstbyname): Return value returned by addhstbyX.
49081 (readdhstbyaddr): Likewise.
49082 (readdhstbynamev6): Likewise.
49083 (readdhstbyaddrv6): Likewise.
49084 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49085 (readdinitgroups): Return value returned by addinitgroupsX.
49086 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49087 (prune_cache): Keep track of timeout value of re-added entries.
49088 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49089 * nscd/nscd.h: Adjust prototypes of readd* functions.
49091 2011-02-04 Roland McGrath <roland@redhat.com>
49093 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49094 (nis_stats): Likewise.
49095 * nis/nis_modify.c (nis_modify): Likewise.
49096 * nis/nis_remove.c (nis_remove): Likewise.
49097 * nis/nis_add.c (nis_add): Likewise.
49099 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49101 * posix/fnmatch_loop.c: Add some consts.
49103 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49105 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49108 * config.make.in (config-cflags-novzeroupper): Define.
49109 * configure.in: Substitute libc_cv_cc_novzeroupper.
49110 * elf/Makefile (AVX-CFLAGS): Define.
49111 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49112 (CFLAGS-tst-auditmod4a.c): Likewise.
49113 (CFLAGS-tst-auditmod4b.c): Likewise.
49114 (CFLAGS-tst-auditmod6b.c): Likewise.
49115 (CFLAGS-tst-auditmod6c.c): Likewise.
49116 (CFLAGS-tst-auditmod7b.c): Likewise.
49117 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49119 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49121 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49122 function to the callback.
49123 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49125 2011-02-02 Andreas Schwab <schwab@redhat.com>
49127 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49130 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49133 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49135 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49137 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49140 * elf/Makefile: Add rules to build and run new test.
49141 * elf/tst-initorder.c: New file.
49142 * elf/tst-initorder.exp: New file.
49143 * elf/tst-initordera1.c: New file.
49144 * elf/tst-initordera2.c: New file.
49145 * elf/tst-initordera3.c: New file.
49146 * elf/tst-initordera4.c: New file.
49147 * elf/tst-initorderb1.c: New file.
49148 * elf/tst-initorderb2.c: New file.
49149 * elf/tst-order-a1.c: New file.
49150 * elf/tst-order-a2.c: New file.
49151 * elf/tst-order-a3.c: New file.
49152 * elf/tst-order-a4.c: New file.
49153 * elf/tst-order-b1.c: New file.
49154 * elf/tst-order-b2.c: New file.
49155 * elf/tst-order-main.c: New file.
49156 New test case by George Gensure <werkt0@gmail.com>.
49158 2010-10-01 Andreas Schwab <schwab@redhat.com>
49160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49161 decoding ACE if AI_CANONIDN.
49163 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49165 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49167 2011-01-17 Ulrich Drepper <drepper@gmail.com>
49169 * version.h (RELEASE): Bump for 2.13 release.
49170 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49172 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49174 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49176 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49177 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49178 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49179 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49180 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49181 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49183 * posix/getconf.c: Update copyright year.
49184 * catgets/gencat.c: Likewise.
49185 * csu/version.c: Likewise.
49186 * debug/catchsegv.sh: Likewise.
49187 * debug/xtrace.sh: Likewise.
49188 * elf/ldconfig.c: Likewise.
49189 * elf/ldd.bash.in: Likewise.
49190 * elf/sprof.c (print_version): Likewise.
49191 * iconv/iconv_prog.c: Likewise.
49192 * iconv/iconvconfig.c: Likewise.
49193 * locale/programs/locale.c: Likewise.
49194 * locale/programs/localedef.c: Likewise.
49195 * malloc/memusage.sh: Likewise.
49196 * malloc/mtrace.pl: Likewise.
49197 * nscd/nscd.c (print_version): Likewise.
49198 * nss/getent.c: Likewise.
49200 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49201 PF_CAIF, and PF_ALG.
49202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49204 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49206 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49207 (modules-names): Use them.
49208 (ifunc-test-modules, ifunc-pie-tests): Define.
49209 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49210 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49211 (test-extras): Likewise.
49212 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49213 $(compile-command.c).
49214 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49215 (all-built-dso): Define.
49216 (check-textrel.out, check-execstack.out): Depend on it.
49218 * configure.in: Don't override --enable-multi-arch.
49220 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49223 * nscd/hstcache.c (tryagain): Define.
49224 (cache_addhst): Return tryagain not notfound for temporary errors.
49225 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49228 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49231 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49232 to make the syscall.
49233 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49236 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49237 and fall back to matching as normal character if the string ends before
49238 the matching ']' is found. This is what POSIX requires.
49239 * posix/testfnm.c: Adjust test result.
49240 * posix/globtest.sh: Adjust test result. Add new test.
49241 * posix/tst-fnmatch.input: Likewise.
49242 * posix/tst-fnmatch2.c: Add new test.
49244 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49246 * elf/Makefile (check-execstack): Revert last change. Depend on
49248 (check-execstack.h): New target.
49249 (generated): Add check-execstack.h.
49250 * elf/check-execstack.c: Include "check-execstack.h".
49251 (main): Revert last change.
49252 (handle_file): Return zero if GNU_STACK is absent and
49253 DEFAULT_STACK_PERMS doesn't include PF_X.
49255 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49257 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49258 in child fails because the descriptor is already closed.
49259 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49260 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49261 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49264 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49268 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49269 temporary buffer used to handle multi lookups locally.
49270 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49272 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49274 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49277 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49279 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49280 alignment for SSE2.
49282 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49285 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49286 characters. When rounding increased number of integer digits recompute
49288 * stdio-common/tst-grouping.c: New file.
49289 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49291 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49293 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49294 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49296 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49298 * bits/select.h: Likewise.
49300 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49302 * po/ja.po: Update from translation team.
49304 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49307 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49308 implementation just like for lxstat, fxstatat, et al.
49310 2010-12-27 Jim Meyering <meyering@redhat.com>
49313 * posix/regexec.c (build_trtable): Return failure indication upon
49314 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49316 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49319 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49320 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49321 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49322 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49325 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49328 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49329 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49331 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49333 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49334 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49335 script has SORT_BY_INIT_PRIORITY.
49336 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49337 NO_CTORS_DTORS_SECTIONS is defined.
49338 * elf/soinit.c: Likewise.
49339 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49340 NO_CTORS_DTORS_SECTIONS is defined.
49341 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49342 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49343 * sysdeps/sh/init-first.c: Likewise.
49344 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49346 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49348 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49349 always use the slow path.
49351 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49353 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49354 similar rule which adds the sysdep directories to the header search in
49355 order to pick up the correct platform stackinfo.h.
49356 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49357 perform test if it is, otherwise return successfully without testing.
49358 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49359 DEFAULT_STACK_PERMS define in stackinfo.h.
49360 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49361 defined in stackinfo.h.
49362 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49363 DEFAULT_STACK_PERMS defined in stackinfo.h.
49364 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49365 * sysdeps/ia64/stackinfo.h: Likewise.
49366 * sysdeps/s390/stackinfo.h: Likewise.
49367 * sysdeps/sh/stackinfo.h: Likewise.
49368 * sysdeps/sparc/stackinfo.h: Likewise.
49369 * sysdeps/x86_64/stackinfo.h: Likewise.
49370 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49371 PF_X for powerpc64. Retain PF_X for powerpc32.
49373 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49375 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49377 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49378 GETDENTS_64BIT_ALIGNED.
49380 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49382 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49384 2010-12-10 Andreas Schwab <schwab@redhat.com>
49386 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49389 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49390 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49392 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49393 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49395 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49398 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49401 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49403 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49405 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49407 * po/it.po: Update from translation team.
49409 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49414 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49416 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49418 2010-11-24 Andreas Schwab <schwab@redhat.com>
49420 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49422 (gaih_getanswer_slice): Likewise.
49424 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49428 2010-05-31 Petr Baudis <pasky@suse.cz>
49431 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49432 silently even in the chroot mode.
49434 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49436 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49437 last patch a bit. Pretty printing
49439 2010-05-31 Petr Baudis <pasky@suse.cz>
49442 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49443 initialization of skip_initgroups_dyn.
49445 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49447 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49450 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49452 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49454 2010-11-11 Andreas Schwab <schwab@redhat.com>
49456 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49457 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49458 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49459 ($(objpfx)tst-fnmatch-mem): New rule.
49460 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49461 * posix/tst-fnmatch.c (main): Call mtrace.
49463 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49466 Support Intel processor model 6 and model 0x2c.
49468 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49470 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49473 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49476 * string/test-strncasecmp.c (check_result): New function.
49477 (do_one_test): Use it.
49478 (check1): New function.
49479 (test_main): Use it.
49480 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49481 Support strcasecmp and strncasecmp.
49483 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49486 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49487 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49489 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49491 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49495 * sysdeps/x86_64/multiarch/bzero.S: New file.
49496 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49497 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49498 * sysdeps/x86_64/multiarch/memset.S: New file.
49499 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49501 Set bit_Prefer_SSE_for_memop for Intel processors.
49502 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49504 (index_Prefer_SSE_for_memop): Define.
49505 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49507 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49509 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49510 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49512 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49515 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49516 (__x86_64_raw_data_cache_size_half): Likewise.
49517 (__x86_64_raw_shared_cache_size): Likewise.
49518 (__x86_64_raw_shared_cache_size_half): Likewise.
49520 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49521 (__x86_64_raw_data_cache_size_half): Likewise.
49522 (__x86_64_raw_shared_cache_size): Likewise.
49523 (__x86_64_raw_shared_cache_size_half): Likewise.
49524 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49525 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49526 and __x86_64_raw_shared_cache_size_half. Round
49527 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49528 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49529 to multiple of 256 bytes.
49531 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49535 of inacessible symlinks. Verify result of symlink before returning it.
49536 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49537 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49539 2010-10-28 Erich Ritz <erichritz@gmail.com>
49541 * math/math.h (isinf): Fix typo in comment.
49543 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49545 * po/da.po: Update from translation team.
49547 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49549 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49550 is added to the list.
49552 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49553 Ulrich Drepper <drepper@gmail.com>
49555 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49556 the global list here. Move code to...
49557 (_dl_add_to_namespace_list): ...here. New function.
49558 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49559 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49560 * elf/dl-load.c (lose): Don't remove the element from the list.
49561 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49562 (_dl_map_object): Likewise.
49564 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49567 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49568 into all bytes of SSE register.
49569 Patch by Richard Li <richardpku@gmail.com>.
49571 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49574 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49577 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49579 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49580 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49581 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49582 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49587 2010-10-22 Andreas Schwab <schwab@redhat.com>
49589 * include/dlfcn.h (__RTLD_SECURE): Define.
49590 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49591 mode & __RTLD_SECURE instead.
49592 (open_path): Rename preloaded parameter to secure.
49593 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49594 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49595 * elf/dl-deps.c (openaux): Likewise.
49596 * elf/rtld.c (struct map_args): Remove is_preloaded.
49597 (map_doit): Don't use it.
49598 (dl_main): Likewise.
49599 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49600 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49602 2010-09-09 Andreas Schwab <schwab@redhat.com>
49604 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49605 (sysd-rules-targets): Remove duplicates.
49606 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49607 rtld-%.$o dependency.
49609 2010-10-18 Andreas Schwab <schwab@redhat.com>
49611 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49612 _dl_map_object do it.
49614 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49616 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49617 fast fma builtins, define the macros in the C99 standard.
49618 (FP_FAST_FMAF): Likewise.
49619 (FP_FAST_FMAL): Likewise.
49620 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49622 * bits/mathdef.h: Update copyright year.
49623 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49625 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49627 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49628 builtins, define the macros in the C99 standard.
49629 (FP_FAST_FMAF): Likewise.
49630 (FP_FAST_FMAL): Likewise.
49631 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49633 (FP_FAST_FMAF): Likewise.
49635 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49638 * math/libm-test.inc (fma_test): Some new testcases.
49639 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49640 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49641 y and infinite z. Do multiplication by C already in long double.
49642 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49644 y and infinite z. Do bitwise or of inexact bit into u.d.
49645 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49646 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49647 * sysdeps/i386/fpu/s_fma.S: Removed.
49648 * sysdeps/i386/fpu/s_fmal.S: Removed.
49650 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49653 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49655 computation is not scheduled after fetestexcept. Fix value
49656 of minimum denormal long double.
49658 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49661 * math/libm-test.inc (fma_test): Add some more tests.
49662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49665 2010-10-15 Andreas Schwab <schwab@redhat.com>
49667 * scripts/data/localplt-s390-linux-gnu.data: New file.
49668 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49670 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49673 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49674 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49676 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49678 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49680 if one of x and y is very large and the other is subnormal.
49681 * sysdeps/s390/fpu/s_fmaf.c: New file.
49682 * sysdeps/s390/fpu/s_fma.c: New file.
49683 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49684 * sysdeps/powerpc/fpu/s_fma.S: New file.
49685 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49686 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49687 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49689 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49692 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49694 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49695 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49696 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49697 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49698 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49699 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49700 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49702 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49705 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49706 * posix/bug-regex31.input: Add test case.
49708 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49710 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49711 * posix/bug-regex31.input: New file.
49714 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49715 (parse_sub_exp): Fix last change, use postorder.
49717 * posix/bug-regex31.c: New file.
49718 * posix/Makefile: Add rules to build and run bug-regex31.
49720 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49723 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49726 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49727 to have entries in sys_siglist.
49730 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49733 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49736 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49737 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49738 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49739 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49740 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49741 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49742 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49743 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49744 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49745 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49746 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49747 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49748 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49749 * math/ftestexcept.c (fetestexcept): Likewise.
49750 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49751 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49752 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49753 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49754 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49755 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49756 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49758 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49761 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49764 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49766 * string/bug-strstr1.c: New file.
49767 * string/Makefile: Add rules to build and run bug-strstr1.
49769 2010-10-05 Eric Blake <eblake@redhat.com>
49772 * string/str-two-way.h (two_way_long_needle): Always clear memory
49773 when skipping input due to the shift table.
49775 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49778 * malloc/mcheck.c: Handle large requests.
49781 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49782 for strncmp and strncasecmp.
49783 * string/stratcliff.c: Add tests for strcmp and strncmp.
49784 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49786 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49788 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49791 2010-09-30 Andreas Jaeger <aj@suse.de>
49793 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49794 (CGROUP_SUPER_MAGIC): Define.
49795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49796 Handle btrfs and cgroup file systems.
49797 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49800 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49802 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49803 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49805 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49808 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49809 trying to locate the ELF header.
49811 2010-09-27 Andreas Schwab <schwab@redhat.com>
49814 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49815 Mask out sign-bit copies when constructing f_fsid.
49817 2010-09-24 Petr Baudis <pasky@suse.cz>
49819 * debug/stack_chk_fail_local.c: Add missing licence exception.
49820 * debug/warning-nop.c: Likewise.
49822 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49824 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49825 implementing getdents64 using getdents syscall, set d_type if
49826 __ASSUME_GETDENTS32_D_TYPE.
49828 2010-09-16 Andreas Schwab <schwab@redhat.com>
49830 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49831 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49833 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49836 * posix/unistd.h: Undo change of feature selection for ftruncate from
49839 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49841 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49844 2010-09-20 Andreas Schwab <schwab@redhat.com>
49846 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49848 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49850 2010-09-14 Andreas Schwab <schwab@redhat.com>
49852 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49853 variables after CHECK_SP call.
49854 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49856 2010-09-13 Andreas Schwab <schwab@redhat.com>
49857 Ulrich Drepper <drepper@redhat.com>
49859 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49860 re-relocationg ld.so.
49861 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49862 _dl_init_paths call.
49863 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49866 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49868 * resolv/res_init.c (__res_vinit): Count the default server we added.
49870 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49871 Ulrich Drepper <drepper@redhat.com>
49874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49875 (____longjmp_chk): Use %ebx for saving value across system call.
49878 2010-09-06 Andreas Schwab <schwab@redhat.com>
49880 * manual/Makefile: Don't mix pattern rules with normal rules.
49882 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49884 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49886 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49887 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49888 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49889 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49893 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49896 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49897 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49899 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49901 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49902 * sysdeps/x86_64/addmul_1.S: Likewise.
49903 * sysdeps/x86_64/lshift.S: Likewise.
49904 * sysdeps/x86_64/mul_1.S: Likewise.
49905 * sysdeps/x86_64/rshift.S: Likewise.
49906 * sysdeps/x86_64/sub_n.S: Likewise.
49907 * sysdeps/x86_64/submul_1.S: Likewise.
49909 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49911 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49912 Define __sched_param instead of SCHED_* and sched_param when
49913 <bits/sched.h> is included with __need_schedparam defined.
49914 * bits/sched.h [__need_schedparam]
49915 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49916 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49917 (__defined_schedparam): Define to 1.
49918 (__sched_param): New structure, identical to sched_param.
49919 (__need_schedparam): Undefine.
49921 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49923 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49924 (epoll_create1): Declare.
49926 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49928 2010-08-31 Andreas Schwab <schwab@redhat.com>
49931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49932 shifting retval into place.
49934 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49936 * nis/rpcsvc/nis.h: Update copyright notice.
49937 * nis/rpcsvc/nis.x: Likewise.
49938 * nis/rpcsvc/nis_callback.h: Likewise.
49939 * nis/rpcsvc/nis_callback.x: Likewise.
49940 * nis/rpcsvc/nis_object.x: Likewise.
49941 * nis/rpcsvc/nis_tags.h: Likewise.
49942 * nis/rpcsvc/yp.h: Likewise.
49943 * nis/rpcsvc/yp.x: Likewise.
49944 * nis/rpcsvc/ypupd.h: Likewise.
49945 * nis/yp_xdr.c: Likewise.
49946 * nis/ypupdate_xdr.c: Likewise.
49948 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49949 mainly the body of pmap_getport. Add parameters to specify timeouts.
49950 (pmap_getport): Use __libc_rpc_getport.
49951 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49952 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49953 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49955 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49960 2010-08-27 Roland McGrath <roland@redhat.com>
49962 * sysdeps/i386/i686/multiarch/Makefile
49963 (CFLAGS-varshift.c): New variable.
49965 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49967 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49968 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49972 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49974 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49976 * sysdeps/x86_64/strlen.S: Unroll the loop.
49977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49978 strlen-sse2 strlen-sse2-bsf.
49979 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49980 __strlen_no_bsf if bit_Slow_BSF is set.
49981 (__strlen_sse42): Removed.
49982 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49983 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49985 2010-08-25 Roland McGrath <roland@redhat.com>
49987 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49988 * sysdeps/x86_64/multiarch/varshift.c: New file.
49989 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49990 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49991 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49992 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49994 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49997 strlen-sse2 strlen-sse2-bsf.
49998 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49999 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50000 (__strlen_sse2): Removed.
50001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50004 bit_Slow_BSF for Atom.
50005 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50006 (index_Slow_BSF): Define.
50007 (HAS_SLOW_BSF): Define.
50009 2010-08-25 Ulrich Drepper <drepper@redhat.com>
50012 * resolv/res_init.c (__res_vinit): When no server address at all
50013 is given default to loopback.
50015 2010-08-24 Roland McGrath <roland@redhat.com>
50017 * configure.in: Remove config-name.h generation.
50018 * configure: Regenerated.
50019 * config-name.in: File removed.
50020 * scripts/config-uname.sh: New file.
50021 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50022 ($(objdir)config-name.h): New target.
50024 * sunrpc/rpc_parse.h: Avoid nested comment.
50026 2010-08-24 Richard Henderson <rth@redhat.com>
50027 Ulrich Drepper <drepper@redhat.com>
50028 H.J. Lu <hongjiu.lu@intel.com>
50030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50032 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50033 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50034 _mm_alignr_epi8 with _mm_loadu_si128.
50035 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50036 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50037 (__m128i_shift_right): Removed.
50038 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50039 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50040 * sysdeps/x86_64/multiarch/varshift.h: New file.
50041 * sysdeps/x86_64/multiarch/varshift.S: New file.
50043 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50045 * configure.in: Move assembler checks to before sysdep dir checking.
50047 2010-08-20 Petr Baudis <pasky@suse.cz>
50049 * LICENSES: Sync the sunrpc license.
50051 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50053 * sunrpc/auth_des.c: Update copyright notice once again.
50054 * sunrpc/auth_none.c: Likewise.
50055 * sunrpc/auth_unix.c: Likewise.
50056 * sunrpc/authdes_prot.c: Likewise.
50057 * sunrpc/authuxprot.c: Likewise.
50058 * sunrpc/bindrsvprt.c: Likewise.
50059 * sunrpc/clnt_gen.c: Likewise.
50060 * sunrpc/clnt_perr.c: Likewise.
50061 * sunrpc/clnt_raw.c: Likewise.
50062 * sunrpc/clnt_simp.c: Likewise.
50063 * sunrpc/clnt_tcp.c: Likewise.
50064 * sunrpc/clnt_udp.c: Likewise.
50065 * sunrpc/clnt_unix.c: Likewise.
50066 * sunrpc/des_crypt.c: Likewise.
50067 * sunrpc/des_soft.c: Likewise.
50068 * sunrpc/get_myaddr.c: Likewise.
50069 * sunrpc/getrpcport.c: Likewise.
50070 * sunrpc/key_call.c: Likewise.
50071 * sunrpc/key_prot.c: Likewise.
50072 * sunrpc/openchild.c: Likewise.
50073 * sunrpc/pm_getmaps.c: Likewise.
50074 * sunrpc/pm_getport.c: Likewise.
50075 * sunrpc/pmap_clnt.c: Likewise.
50076 * sunrpc/pmap_prot.c: Likewise.
50077 * sunrpc/pmap_prot2.c: Likewise.
50078 * sunrpc/pmap_rmt.c: Likewise.
50079 * sunrpc/rpc/auth.h: Likewise.
50080 * sunrpc/rpc/auth_unix.h: Likewise.
50081 * sunrpc/rpc/clnt.h: Likewise.
50082 * sunrpc/rpc/des_crypt.h: Likewise.
50083 * sunrpc/rpc/key_prot.h: Likewise.
50084 * sunrpc/rpc/netdb.h: Likewise.
50085 * sunrpc/rpc/pmap_clnt.h: Likewise.
50086 * sunrpc/rpc/pmap_prot.h: Likewise.
50087 * sunrpc/rpc/pmap_rmt.h: Likewise.
50088 * sunrpc/rpc/rpc.h: Likewise.
50089 * sunrpc/rpc/rpc_des.h: Likewise.
50090 * sunrpc/rpc/rpc_msg.h: Likewise.
50091 * sunrpc/rpc/svc.h: Likewise.
50092 * sunrpc/rpc/svc_auth.h: Likewise.
50093 * sunrpc/rpc/types.h: Likewise.
50094 * sunrpc/rpc/xdr.h: Likewise.
50095 * sunrpc/rpc_clntout.c: Likewise.
50096 * sunrpc/rpc_cmsg.c: Likewise.
50097 * sunrpc/rpc_common.c: Likewise.
50098 * sunrpc/rpc_cout.c: Likewise.
50099 * sunrpc/rpc_dtable.c: Likewise.
50100 * sunrpc/rpc_hout.c: Likewise.
50101 * sunrpc/rpc_main.c: Likewise.
50102 * sunrpc/rpc_parse.c: Likewise.
50103 * sunrpc/rpc_parse.h: Likewise.
50104 * sunrpc/rpc_prot.c: Likewise.
50105 * sunrpc/rpc_sample.c: Likewise.
50106 * sunrpc/rpc_scan.c: Likewise.
50107 * sunrpc/rpc_scan.h: Likewise.
50108 * sunrpc/rpc_svcout.c: Likewise.
50109 * sunrpc/rpc_tblout.c: Likewise.
50110 * sunrpc/rpc_util.c: Likewise.
50111 * sunrpc/rpc_util.h: Likewise.
50112 * sunrpc/rpcinfo.c: Likewise.
50113 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50114 * sunrpc/rpcsvc/key_prot.x: Likewise.
50115 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50116 * sunrpc/rpcsvc/mount.x: Likewise.
50117 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50118 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50119 * sunrpc/rpcsvc/rex.x: Likewise.
50120 * sunrpc/rpcsvc/rstat.x: Likewise.
50121 * sunrpc/rpcsvc/rusers.x: Likewise.
50122 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50123 * sunrpc/rpcsvc/spray.x: Likewise.
50124 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50125 * sunrpc/rtime.c: Likewise.
50126 * sunrpc/svc.c: Likewise.
50127 * sunrpc/svc_auth.c: Likewise.
50128 * sunrpc/svc_authux.c: Likewise.
50129 * sunrpc/svc_raw.c: Likewise.
50130 * sunrpc/svc_run.c: Likewise.
50131 * sunrpc/svc_simple.c: Likewise.
50132 * sunrpc/svc_tcp.c: Likewise.
50133 * sunrpc/svc_udp.c: Likewise.
50134 * sunrpc/svc_unix.c: Likewise.
50135 * sunrpc/svcauth_des.c: Likewise.
50136 * sunrpc/xcrypt.c: Likewise.
50137 * sunrpc/xdr.c: Likewise.
50138 * sunrpc/xdr_array.c: Likewise.
50139 * sunrpc/xdr_float.c: Likewise.
50140 * sunrpc/xdr_mem.c: Likewise.
50141 * sunrpc/xdr_rec.c: Likewise.
50142 * sunrpc/xdr_ref.c: Likewise.
50143 * sunrpc/xdr_sizeof.c: Likewise.
50144 * sunrpc/xdr_stdio.c: Likewise.
50146 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50149 2010-08-19 Andreas Schwab <schwab@redhat.com>
50151 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50153 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50155 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50157 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50158 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50159 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50160 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50161 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50162 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50163 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50164 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50165 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50166 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50167 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50168 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50170 2010-07-26 Anton Blanchard <anton@samba.org>
50172 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50173 * malloc/arena.c (heap_trim): Likewise.
50175 2010-08-16 Ulrich Drepper <drepper@redhat.com>
50177 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50179 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50180 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50182 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50184 * sysdeps/i386/elf/Makefile: New file.
50186 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50188 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50189 from fanotify_init.
50190 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50193 2010-08-15 Ulrich Drepper <drepper@redhat.com>
50195 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50197 * sysdeps/multiarch/strcmp.S: Likewise.
50199 2010-08-14 Ulrich Drepper <drepper@redhat.com>
50201 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50202 strncase_l-nonascii.
50203 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50204 Add strncase_l-ssse3.
50205 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50206 * sysdeps/x86_64/strcmp.S: Likewise.
50207 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50208 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50209 * sysdeps/x86_64/strncase.S: New file.
50210 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50211 * sysdeps/x86_64/strncase_l.S: New file.
50212 * string/Makefile (strop-tests): Add strncasecmp.
50213 * string/test-strncasecmp.c: New file.
50215 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50218 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50219 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50221 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50223 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50225 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50227 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50229 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50231 2010-05-01 Alan Modra <amodra@gmail.com>
50233 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50234 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50235 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50236 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50237 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50238 tidying. Don't tail-call __sigjmp_save for static lib.
50239 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50241 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50242 (CALL_MCOUNT): Add eh info, and nop after bl.
50243 (TAIL_CALL_SYSCALL_ERROR): New macro.
50244 (PSEUDO_RET): Use it.
50245 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50246 Correct save location of integer regs and cr.
50247 (_dl_profile_resolve): Correct cr save location. Delete nops
50248 after bl when SHARED. Reduce cfi size a little by better
50249 placement of cfi directives.
50250 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50251 make a stack frame. Instead use parm save area as a temp.
50252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50253 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50255 Don't make a stack frame for parent, use parm save area.
50256 Increase child stack frame to 112 bytes. Don't save unused reg,
50257 and adjust reg usage. Set up cfi on error recovery and
50258 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50260 (__makecontext): Add dummy nop after jump to exit.
50261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50262 Use correct parm save area and cr save, reduce stack frame.
50263 Correct cfi for possible PSEUDO_RET frame setup.
50264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50265 Branch to local label emitted by PSEUDO_RET rather than
50268 2010-08-12 Andreas Schwab <schwab@redhat.com>
50271 * locale/programs/locale.c (print_assignment): New function.
50272 (show_locale_vars): Use it.
50274 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50276 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50278 (struct statfs64): Likewise.
50279 (_STATFS_F_FLAGS): Define.
50280 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50281 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50282 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50283 (ST_VALID): Define locally.
50284 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50285 __statvfs_getflags, use the provided value.
50286 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50287 __ASSUME_STATFS_F_FLAGS.
50289 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50291 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50292 Add sys/fanotify.h.
50293 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50294 fanotify_mask for GLIBC_2.13.
50295 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50296 fanotify_init and fanotify_mark.
50297 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50298 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50300 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50302 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50303 prlimit64 for GLIBC_2.13.
50304 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50309 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50310 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50314 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50317 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50318 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50320 * nss/Makefile: Add rules to build and run tst-nss-test1.
50321 * shlib-versions: Add entry for libnss_test1.
50322 * nss/nss_test1.c: New file.
50323 * nss/tst-nss-test1.c: New file.
50325 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50326 (__nss_configure_lookup): Set appropriate entry in
50327 __nss_configure_lookup to true.
50328 * nss/nsswitch.h: Define enum with indeces of databases in
50329 databases and __nss_database_custom arrays. Declare
50330 __nss_database_custom.
50331 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50332 to avoid using nscd when custom rules are installed.
50333 * nss/getXXbyYY_r.c: Likewise.
50334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50336 * nss/nss_files/files-parse.c: Whitespace fixes.
50338 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50341 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50342 * posix/fnmatch_loop.c: Likewise.
50344 2010-07-17 Andi Kleen <ak@linux.intel.com>
50346 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50347 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50348 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50349 * Versions.def [GLIBC_2.13]: Add.
50351 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50353 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50354 Also fail if tpwd after pwuid call is NULL.
50356 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50358 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50359 when converting to ms.
50361 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50363 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50364 EOPNOTSUPP errors with ENOTTY.
50365 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50366 EOPNOTSUPP errors with ENOTTY.
50368 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50370 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50371 Add strcasecmp_l-ssse3.
50372 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50374 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50375 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50376 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50378 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50380 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50382 * string/Makefile (strop-tests): Add strcasecmp.
50383 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50384 strcasecmp_l-nonascii.
50385 (gen-as-const-headers): Add locale-defines.sym.
50386 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50387 * sysdeps/x86_64/strcasecmp.S: New file.
50388 * sysdeps/x86_64/strcasecmp_l.S: New file.
50389 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50390 * sysdeps/x86_64/locale-defines.sym: New file.
50391 * string/test-strcasecmp.c: New file.
50393 * string/test-strcasestr.c: Test both ends of the range of characters.
50394 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50396 2010-07-29 Roland McGrath <roland@redhat.com>
50399 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50401 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50403 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50406 2010-07-27 Andreas Schwab <schwab@redhat.com>
50408 * manual/memory.texi (Malloc Tunable Parameters): Document
50411 2010-07-26 Roland McGrath <roland@redhat.com>
50414 * configure.in (-fgnu89-inline check): Set and substitute
50415 gnu89_inline, not libc_cv_gnu89_inline.
50416 * configure: Regenerated.
50417 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50419 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50421 * string/test-strnlen.c: New file.
50422 * string/Makefile (strop-tests): Add strnlen.
50423 * string/tester.c (test_strnlen): Add a few more test cases.
50424 * string/tst-strlen.c: Better error reporting.
50426 * sysdeps/x86_64/strnlen.S: New file.
50428 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50430 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50431 lower-latency instructions.
50433 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50435 * string/test-strcasestr.c: New file.
50436 * string/test-strstr.c: New file.
50437 * string/Makefile (strop-tests): Add strstr and strcasestr.
50438 * string/str-two-way.h: Don't undefine MAX.
50439 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50441 2010-07-21 Andreas Schwab <schwab@redhat.com>
50443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50444 strcasestr-nonascii.
50445 (CFLAGS-strcasestr-nonascii.c): Define.
50446 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50448 Remove unused attribute.
50450 2010-07-20 Roland McGrath <roland@redhat.com>
50452 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50453 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50454 ld.so.cache was broken. With it, there is no way to disable dsocaps
50455 like LD_HWCAP_MASK can disable hwcaps.
50457 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50459 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50461 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50463 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50464 call in strcasestr.
50465 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50466 __strcasestr_sse42_nonascii.
50467 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50468 strcasestr-nonascii.c.
50469 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50471 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50473 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50474 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50476 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50478 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50483 2010-07-06 Andreas Schwab <schwab@redhat.com>
50486 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50489 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50491 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50492 _PC_PIPE_BUF using F_GETPIPE_SZ.
50494 2010-07-05 Roland McGrath <roland@redhat.com>
50496 * manual/arith.texi (Rounding Functions): Fix rint description
50497 implicit in round description.
50499 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50501 * elf/Makefile: Fix linking for a few tests to make recent linker
50504 2010-06-30 Andreas Schwab <schwab@redhat.com>
50506 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50507 $(common-objpfx)libc_nonshared.a.
50509 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50511 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50512 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50513 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50514 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50515 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50516 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50517 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50518 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50533 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50534 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50535 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50536 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50537 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50538 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50539 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50540 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50541 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50542 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50543 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50544 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50560 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50562 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50563 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50564 * string/memmove.c (memmove): Renamed to ...
50565 (MEMMOVE): ...this. Default to memmove.
50566 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50567 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50570 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50571 mempcpy-ssse3-back memmove-ssse3-back.
50572 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50573 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50574 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50575 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50576 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50577 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50578 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50579 * sysdeps/x86_64/multiarch/memmove.c: New file.
50580 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50581 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50582 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50583 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50584 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50587 (index_Fast_Copy_Backward): Define.
50588 (HAS_ARCH_FEATURE): Define.
50589 (HAS_FAST_REP_STRING): Define.
50590 (HAS_FAST_COPY_BACKWARD): Define.
50592 2010-06-21 Andreas Schwab <schwab@redhat.com>
50594 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50595 Restore proper fallback handling.
50597 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50600 * posix/group_member.c (__group_member): Correct checking loop.
50602 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50603 OOM in getpwuid_r correctly. Return error number when the caller
50604 should return, otherwise -1.
50605 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50606 call returning > 0 value.
50607 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50609 2010-06-07 Andreas Schwab <schwab@redhat.com>
50611 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50612 libc_nonshared.a from targets in modules-names.
50614 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50616 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50619 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50622 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50623 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50626 2010-06-02 Andreas Schwab <schwab@redhat.com>
50628 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50630 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50635 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50639 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50641 2010-06-14 Roland McGrath <roland@redhat.com>
50643 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50645 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50647 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50648 __REDIRECT followed by __THROW.
50649 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50650 * posix/getopt.h (getopt): Likewise.
50652 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50654 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50655 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50656 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50658 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50659 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50661 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50663 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50665 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50669 Properly check family and model.
50671 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50673 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50675 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50677 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50679 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50681 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50684 2010-05-19 Andreas Schwab <schwab@redhat.com>
50686 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50689 2010-05-21 Andreas Schwab <schwab@redhat.com>
50691 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50692 and internal_recvmmsg.
50693 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50694 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50695 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50696 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50698 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50699 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50700 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50702 2010-05-20 Andreas Schwab <schwab@redhat.com>
50704 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50706 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50708 POWER7 optimizations.
50709 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50710 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50712 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50714 * version.h: Update for 2.13 development version.
50716 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50718 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50719 exceptions. Return 0.
50721 2010-05-07 Roland McGrath <roland@redhat.com>
50723 * elf/ldconfig.c (main): Add a const.
50725 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50727 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50728 (args_options): Add no-idn option.
50729 (ahosts_keys_int): Add idn_flags to ai_flags.
50730 (parse_option): Handle 'i' option to clear idn_flags.
50732 * malloc/malloc.c (_int_free): Possible race in the most recently
50733 added check. Only act on the data if no current modification
50736 See ChangeLog.17 for earlier changes.