1 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6 (_FP_CHECK_FLUSH_ZERO): New macro.
7 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9 (_FP_CMP_EQ): Likewise.
10 (_FP_TO_INT): Do not set inexact for subnormal arguments if
12 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
15 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
16 treated as invalid conversion, not as normal exponent.
18 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
20 (_FP_CMP_EQ): Likewise.
21 (_FP_CMP_UNORD): Likewise.
22 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23 (FP_CMP_EQ_D): Likewise.
24 (FP_CMP_UNORD_D): Likewise.
25 * soft-fp/extended.h (FP_CMP_E): Likewise.
26 (FP_CMP_EQ_E): Likewise.
27 (FP_CMP_UNORD_E): Likewise.
28 * soft-fp/quad.h (FP_CMP_Q): Likewise.
29 (FP_CMP_EQ_Q): Likewise.
30 (FP_CMP_UNORD_Q): Likewise.
31 * soft-fp/single.h (FP_CMP_S): Likewise.
32 (FP_CMP_EQ_S): Likewise.
33 (FP_CMP_UNORD_S): Likewise.
34 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
36 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
41 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
43 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
46 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
48 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
50 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
51 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
53 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
55 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
56 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
57 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
58 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
60 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
62 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
63 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
65 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
67 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
68 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
69 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
70 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
73 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
74 a subnormal result, set the underflow exception if trapping on
76 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
77 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
78 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
80 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
81 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
82 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
83 * soft-fp/extendxftf2.c (__extendxftf2): Use
84 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
86 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
87 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
88 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
90 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
91 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
93 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
94 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
96 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
97 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
100 2014-10-08 Joseph Myers <joseph@codesourcery.com>
103 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
104 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
106 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
107 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
109 (__adjtimex): Define using libc_hidden_ver.
110 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
112 (ntp_gettime): Call __adjtimex directly.
113 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
115 (ntp_gettimex): Call __adjtimex directly.
116 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
117 __adjtimex_internal alias.
119 2014-10-08 Roland McGrath <roland@hack.frob.com>
122 * nscd/nscd.c (more_help): Rewrite list of tables collection
123 using xstrdup and asprintf.
125 * nscd/nscd_conf.c: Remove local xstrdup declaration.
127 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
128 Roland McGrath <roland@hack.frob.com>
130 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
131 (do_lookup_unique): ... local function 'enter' here; update callers.
133 2014-10-06 Joseph Myers <joseph@codesourcery.com>
135 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
136 compat_symbol calls on [SHARED].
137 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
138 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
140 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
141 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
142 (oldsetrlimit): Remove.
143 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
145 (lchown): New syscall entry.
146 (oldsetrlimit): Remove.
147 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
148 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
149 (oldsetrlimit): Remove.
150 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
153 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
154 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
155 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
156 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
157 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
158 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
160 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
165 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
167 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
168 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
169 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
170 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
171 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
173 (__old_sem_post): Likewise.
175 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
177 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
178 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
179 HAVE_CLOCK_GETTIME_VSYSCALL macros.
180 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
181 Use INLINE_VSYSCALL macro.
182 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
183 __vdso_clock_gettime.
184 * sysdeps/unix/sysv/linux/tile/init-first.c
185 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
186 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
187 __vdso_clock_gettime.
189 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
190 to set up frame more cleanly.
192 * sysdeps/tile/memcmp.c: New file.
194 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
196 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
197 * sysdeps/tile/tilegx/strcasestr.c: New file.
198 * sysdeps/tile/tilegx/strnlen.c: New file.
199 * sysdeps/tile/tilegx/strstr.c: New file.
201 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
203 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
205 * nptl/tst-setuid3.c: Write errors to stdout.
207 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
210 (preload): New functions broken out of _dl_map_object_deps.
211 (_dl_map_object_deps): Remove a nested function. Update call sites.
213 2014-10-01 Joseph Myers <joseph@codesourcery.com>
216 * sysdeps/unix/sysv/linux/execve.c: Remove file.
217 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
219 2014-10-01 Steve Ellcey <sellcey@mips.com>
221 * sysdeps/mips/strcmp.S: New.
223 2014-09-30 Joseph Myers <joseph@codesourcery.com>
226 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
229 (readlinkat): Likewise.
230 (renameat): Likewise.
231 (symlinkat): Likewise.
232 (unlinkat): Likewise.
233 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
234 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
235 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
236 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
237 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
238 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
239 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
241 2014-09-30 Will Newton <will.newton@linaro.org>
243 * math/math.h: Define long double math functions if
244 _LIBC_TEST is defined.
245 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
247 * localedata/Makefile: Move assignment to tests-special
248 into an ifdef testing run-built-tests.
249 * timezone/Makefile: Likewise.
251 2014-09-29 Joseph Myers <joseph@codesourcery.com>
253 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
254 with $(BASH) not $(SHELL).
256 2014-09-29 Carlos O'Donell <carlos@redhat.com>
257 Matthew LeGendre <legendre1@llnl.gov>
260 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
263 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
265 * stdio-common/printf_fp.c
266 (hack_digit): New function, broken out of ...
267 (__printf_fp): ... local function here. Update call sites.
268 hack_digit now takes an additional parameter that is a pointer
269 to a struct of the referenced locals. Those locals moved inside
270 the struct and references updated.
272 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
274 * aclocal.m4: Require autoconf 2.69.
275 * configure: Regenerated.
276 * sysdeps/aarch64/configure: Likewise.
277 * sysdeps/alpha/configure: Likewise.
278 * sysdeps/arm/armv7/configure: Likewise.
279 * sysdeps/arm/configure: Likewise.
280 * sysdeps/ia64/configure: Likewise.
281 * sysdeps/mach/configure: Likewise.
282 * sysdeps/mips/configure: Likewise.
283 * sysdeps/s390/configure: Likewise.
284 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
287 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
289 * sysdeps/ia64/configure.ac: Likewise.
291 2014-09-26 Joseph Myers <joseph@codesourcery.com>
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
294 specify symbol version for ld.so. Do not include entry for
296 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
297 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
301 * Makeconfig [$(build-shared) = yes]
302 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
304 [$(build-shared) = yes && $(soversions.mk-done) = t]
305 ($(common-objpfx)gnu/lib-names.h): Remove rule.
306 [$(build-shared) = yes && $(soversions.mk-done) = t]
307 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
309 [$(build-shared) = yes && $(soversions.mk-done) = t]
310 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
312 [$(build-shared) = yes && $(soversions.mk-done) = t]
313 (common-generated): Don't append gnu/lib-names.h and
314 gnu/lib-names.stmp here.
315 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
316 (lib-names-h-abi): New variable.
317 [$(build-shared) = yes && $(soversions.mk-done) = t]
318 (lib-names-stmp-abi): Likewise.
319 [$(build-shared) = yes && $(soversions.mk-done) = t &&
320 abi-variants] (before-compile): Append
321 $(common-objpfx)$(lib-names-h-abi).
322 [$(build-shared) = yes && $(soversions.mk-done) = t &&
323 abi-variants] (common-generated): Append gnu/lib-names.h.
324 [$(build-shared) = yes && $(soversions.mk-done) = t &&
325 abi-variants] (install-others-nosubdir): Depend on
326 $(inst_includedir)/$(lib-names-h-abi).
327 [$(build-shared) = yes && $(soversions.mk-done) = t &&
328 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
329 [$(build-shared) = yes && $(soversions.mk-done) = t]
330 ($(common-objpfx)$(lib-names-h-abi)): New rule.
331 [$(build-shared) = yes && $(soversions.mk-done) = t]
332 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
333 [$(build-shared) = yes && $(soversions.mk-done) = t]
334 (common-generated): Append $(lib-names-h-abi) and
335 $(lib-names-stmp-abi).
336 * scripts/lib-names.awk: Do not handle multi being set.
337 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
339 (abi-lp64_be-ld-soname): Likewise.
340 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
342 (abi-hard-ld-soname): Likewise.
343 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
344 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
346 (abi-o32_hard-ld-soname): Likewise.
347 (abi-o32_soft_2008-ld-soname): Likewise.
348 (abi-o32_hard_2008-ld-soname): Likewise.
349 (abi-n32_soft-ld-soname): Likewise.
350 (abi-n32_hard-ld-soname): Likewise.
351 (abi-n32_soft_2008-ld-soname): Likewise.
352 (abi-n32_hard_2008-ld-soname): Likewise.
353 (abi-n64_soft-ld-soname): Likewise.
354 (abi-n64_hard-ld-soname): Likewise.
355 (abi-n64_soft_2008-ld-soname): Likewise.
356 (abi-n64_hard_2008-ld-soname): Likewise.
357 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
359 (abi-64-v2-ld-soname): Likewise.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
362 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
364 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
366 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
368 (abi-64-ld-soname): Likewise.
369 (abi-x32-ld-soname): Likewise.
370 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
372 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
374 2014-09-23 Joseph Myers <joseph@codesourcery.com>
377 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
378 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
379 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
381 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
382 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
383 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
384 syscall entry for GLIBC_2.2 symbol version.
385 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
388 (setrlimit): Likewise.
389 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
392 2014-09-23 Will Newton <will.newton@linaro.org>
394 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
395 _LINUX_ARM_SYSDEP_H include guard too.
396 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
399 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
401 * sysdeps/unix/sysv/linux/eventfd.c:
402 Make first argument unsigned.
403 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
404 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
406 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
408 * socket/recvmmsg.c (recvmmsg): Drop const argument.
409 * socket/sys/socket.h: Likewise
410 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
412 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
414 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
416 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
418 * time/tst-ftime.c: New test.
419 * time/Makefile (tests): Add tst-ftime.
421 2014-09-17 Joseph Myers <joseph@codesourcery.com>
423 * soft-fp/extended.h: Fix comment formatting.
424 * soft-fp/op-1.h: Likewise.
425 * soft-fp/op-2.h: Likewise.
426 * soft-fp/op-4.h: Likewise.
427 * soft-fp/op-8.h: Likewise.
428 * soft-fp/op-common.h: Likewise.
429 * soft-fp/soft-fp.h: Likewise.
431 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
433 2014-09-16 Joseph Myers <joseph@codesourcery.com>
436 * Makeconfig (soversions-default-setname): Remove variable.
437 ($(common-objpfx)soversions.i): Don't pass default_setname to
439 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
440 oldest_abi to abi-versions.awk.
441 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
442 * config.make.in (oldest-abi): Remove variable.
443 * configure.ac (--enable-oldest-abi): Remove configure option.
444 * configure: Regenerated.
445 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
447 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
448 * scripts/soversions.awk: Do not handle default_setname variable.
449 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
451 * sysdeps/mach/hurd/configure: Regenerated.
452 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
454 * sysdeps/unix/sysv/linux/configure: Regenerated.
456 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
458 * elf/Makefile (CFLAGS-interp.c): Remove.
459 ($(elf-objpfx)runtime-linker.h): Generate header with linker
461 * elf/interp.c: Include generated runtime-linker.h
463 * Makerules (lib%.so): Don't include $(+interp) in
465 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
466 * dlfcn/eval.c: Remove file.
468 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
472 * misc/sys/cdefs.h: Define __extern_always_inline for clang
476 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
478 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
479 Jakub Jelinek <jakub@redhat.com>
482 * libio/stdio.h: Check definition of __fortify_function
483 instead of __extern_always_inline to include bits/stdio2.h.
484 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
485 check if __extern_always_inline is defined.
486 [__USE_MISC || __USE_XOPEN]: Likewise.
487 [__USE_ISOC99] Likewise.
488 * misc/sys/cdefs.h (__fortify_function): Define only if
489 __extern_always_inline is defined.
490 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
491 __extern_always_inline and __extern_inline only for g++-4.3
492 and newer or a compatible gcc.
494 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
497 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
498 last change to handle zero prefix length.
500 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
502 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
505 * posix/getconf.c (vars): Add _POSIX_IPV6 and
508 2014-09-13 Allan McRae <allan@archlinux.org>
510 * po/ru.po: Update Russian translation from translation project.
512 2014-09-12 Roland McGrath <roland@hack.frob.com>
514 * locale/programs/locale.c (show_locale_vars): Inline local function
515 into its sole call site. Clean up some style nits.
516 (print_item): New function, broken out of ...
517 (show_info): ... local function here. Clean up style nits.
519 * locale/programs/ld-ctype.c (set_one_default): New function, broken
521 (set_class_defaults): ... local function set_default here.
522 Define set_default as a macro locally to pass constant parameters.
523 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
524 rather than a shared local.
526 * stdlib/rpmatch.c (try): New function, broken out of ...
527 (rpmatch): ... local function here. Also, prototypify definition.
529 2014-09-12 Joseph Myers <joseph@codesourcery.com>
531 * scripts/soversions.awk: Do not handle configuration names.
532 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
533 vendor and os variables to soversions.awk.
534 * configure.ac: Do not modify gnu-* host_os.
535 * configure: Regenerated
536 * shlib-versions: Remove first column with configuration names.
537 * nptl/shlib-versions: Likewise.
538 * nptl_db/shlib-versions: Likewise.
539 * sysdeps/hppa/shlib-versions: Likewise.
540 * sysdeps/m68k/shlib-versions: Likewise.
541 * sysdeps/mach/hurd/shlib-versions: Likewise.
542 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
543 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
544 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
545 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
546 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
547 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
548 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
549 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
552 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
553 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
554 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
555 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
556 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
557 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
558 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
559 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
562 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
565 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
567 Condition symbol version definitions on [HAVE_ELFV2_ABI].
569 * shlib-versions: Remove OS-specific entries. Moved to files in
571 * sysdeps/mach/hurd/shlib-versions: New file.
572 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
574 * nptl/shlib-versions: Remove architecture-specific entries.
575 Moved to files in sysdeps.
576 * shlib-versions: Likewise.
577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
579 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
580 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
581 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
582 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
584 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
585 (UDP_NO_CHECK6_RX): Likewise.
587 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
589 * sysdeps/posix/sysconf.c (__sysconf): Spell
590 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
592 2014-08-12 Florian Weimer <fweimer@redhat.com>
594 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
596 * iconv/Versions (__gconv_transliterate): Export for use from
598 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
599 (struct __gconv_trans_data, __gconv_trans_fct,
600 __gconv_trans_context_fct, __gconv_trans_query_fct,
601 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
603 (struct __gconv_step_data): Remove __trans member.
604 (__gconv_transliterate): Declaration moved from gconv_int.h. No
605 longer hidden. Remove unused trans_data argument.
606 * iconv/gconv_int.h (struct trans_struct): Remove definition.
607 (__gconv_translit_find): Remove declaration.
608 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
610 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
611 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
612 trans_data argument. Add hidden definition.
613 (__gconv_translit_find): Remove.
614 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
615 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
616 * iconv/skeleton.c: Remove transliteration initialization.
617 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
618 __gconv_step_data initialization.
619 * libio/iofwide.c (__libio_translit_): Remove.
620 (_IO_fwide): Adjust struct __gconv_step_data initialization.
621 * wcsmbs/btowc.c (__btowc): Likewise.
622 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
623 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
624 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
625 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
626 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
627 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
628 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
629 * wcsmbs/wctob.c (wctob): Likewise.
631 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
634 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
635 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
637 * sysdeps/x86/Makefile: Adjust.
639 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
640 Roland McGrath <roland@hack.frob.com>
642 * locale/weight.h: Add include guard.
643 (findidx): Make static rather than auto; take new parameters
644 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
645 * locale/weightwc.h: Likewise.
646 * posix/fnmatch_loop.c
647 (FCT): Change type of EXTRA from int32_t to wint_t.
648 Don't include either header inside the function.
649 Call FINDIDX rather than findidx, and pass new arguments.
650 #undef FINDIDX at the end of the file.
651 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
652 FINDIDX before including fnmatch_loop.c for the non-wide version.
653 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
654 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
655 for the wide version.
656 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
657 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
658 Pass new arguments to findidx.
659 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
660 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
661 Don't #include it inside the function. Pass new arguments to findidx.
662 * posix/regex_internal.h
663 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
664 (re_string_elem_size_at): Don't #include it inside the function.
665 Pass new arguments to findidx.
666 * string/strcoll_l.c: #include WEIGHT_H at top level.
667 (get_next_seq): Don't #include it inside the function.
668 Pass new arguments to findidx.
669 (get_next_seq_nocache): Likewise.
670 * string/strxfrm_l.c: #include WEIGHT_H at top level.
671 (STRXFRM): Don't #include it inside the function.
672 Pass new arguments to findidx.
674 2014-09-11 Florian Weimer <fweimer@redhat.com>
677 * malloc/malloc.c (unlink): Turn asserts into a call to
680 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
683 * libio/wfileops (do_ftell_wide): Free OUT.
685 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
687 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
689 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
692 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
693 group if the current group is empty.
695 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
697 * benchtests/bench-memset.c (test_main): Add more test from size
698 from 32 to 512 bytes.
699 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
700 Add POWER8 memset object.
701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
702 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
703 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
705 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
707 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
708 multiarch POWER8 memset optimization.
709 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
710 POWER8 memset optimization.
712 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
713 Remove bzero multiarch objects.
714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
715 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
716 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
717 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
719 [__bzero]: Redefine to specific name.
720 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
721 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
722 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
724 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
725 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
727 2014-09-10 Florian Weimer <fweimer@redhat.com>
729 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
730 warnings into errors.
732 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
733 __cxa_thread_atexit_impl prototype.
735 2014-09-09 Steve Ellcey <sellcey@mips.com>
737 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
738 Fix capitalization of error message.
740 2014-09-09 Steve Ellcey <sellcey@mips.com>
742 * sysdeps/mips/preconfigure: Modify ABI tests.
744 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
746 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
748 2014-09-07 Roland McGrath <roland@hack.frob.com>
749 Carlos O'Donell <carlos@systemhalted.org>
751 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
752 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
753 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
754 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
755 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
756 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
757 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
758 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
759 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
762 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
766 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
767 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
768 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
769 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
770 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
771 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
772 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
773 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
774 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
775 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
776 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
777 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
778 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
779 Deconditionalize the code that was previously under [RESET_PID].
780 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
781 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
782 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
783 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
786 2014-09-08 Allan McRae <allan@archlinux.org>
788 * version.h (RELEASE): Set to "development".
789 (VERSION): Set to "2.20.90"
791 2014-09-07 Allan McRae <allan@archlinux.org
793 * version.h (RELEASE): Set to "stable".
794 (VERSION): Set to "2.20"
795 * include/features.h (__GLIBC_MINOR__): Set to 20.
797 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
800 * po/ko.po: Update Korean translation from translation project.
802 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
805 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
806 macro for handling signed relocations.
808 2014-09-03 Florian Weimer <fweimer@redhat.com>
811 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
812 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
814 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
815 * iconvdata/ibm935.c (BODY): Likewise.
816 * iconvdata/ibm937.c (BODY): Likewise.
817 * iconvdata/ibm939.c (BODY): Likewise.
818 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
820 * iconvdata/Makefile (iconv-test.out): Pass module list to test
822 * iconvdata/run-iconv-test.sh: New test loop for checking for
825 2014-09-02 Khem Raj <raj.khem@gmail.com>
827 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
830 2014-09-01 Allan McRae <allan@archlinux.org>
832 * po/eo.po: Update Esperanto translation from translation project.
834 * po/ca.po: Update Catalan translation from translation project.
836 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
838 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
841 2014-08-27 Mark Wielaard <mjw@redhat.com>
844 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
845 to call set_thread_area instead of hand written asm.
846 (__NR_set_thread_area): Removed define.
847 (TLS_FLAG_WRITABLE): Likewise.
848 (__ASSUME_SET_THREAD_AREA): Remove check.
849 (TLS_EBX_ARG): Remove define.
850 (TLS_LOAD_EBX): Likewise.
852 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
854 Simplify atomicity of socket creation in bind.
856 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
857 looking up the name after linking the file.
859 2014-08-27 Allan McRae <allan@archlinux.org>
861 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
863 2014-08-26 Florian Weimer <fweimer@redhat.com>
866 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
867 trans_compare, open_translit, __gconv_translit_find):
868 Remove module loading code.
870 2014-08-26 Allan McRae <allan@archlinux.org>
872 * po/vi.po: Update Vietnamese translation from translation project.
874 * po/uk.po: Update Ukrainian translation from translation project.
876 * po/fr.po: Update French translation from translation project.
878 * po/ru.po: Update Russian translation from translation project.
880 * po/pl.po: Update Polish translation from translation project.
882 * po/cs.po: Update Czech translation from translation project.
884 * po/de.po: Update German translation from translation project.
886 * po/bg.po: Update Bulgarian translation from translation project.
888 * po/sv.po: Update Sweedish translation from translation project.
890 * po/nl.po: Update Dutch translation from translation project.
892 * po/es.po: Update Spanish translation from translation project.
894 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
896 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
898 * catgets/Makefile (CPPFLAGS-gencat): Remove.
899 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
900 (CPPFLAGS-iconvconfig): Likewise.
901 * timezone/Makefile (CPPFLAGS-zic): Likewise.
903 * include/libc-symbols.h: Remove unnecessary check for
905 * nptl/pthreadP.h: Likewise.
906 * sysdeps/aarch64/setjmp.S: Likewise.
907 * sysdeps/alpha/setjmp.S: Likewise.
908 * sysdeps/arm/sysdep.h: Likewise.
909 * sysdeps/i386/setjmp.S: Likewise.
910 * sysdeps/m68k/setjmp.c: Likewise.
911 * sysdeps/posix/getcwd.c: Likewise.
912 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
913 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
914 * sysdeps/s390/s390-32/setjmp.S: Likewise.
915 * sysdeps/s390/s390-64/setjmp.S: Likewise.
916 * sysdeps/sh/sh3/setjmp.S: Likewise.
917 * sysdeps/sh/sh4/setjmp.S: Likewise.
918 * sysdeps/unix/alpha/sysdep.h: Likewise.
919 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
920 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
921 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
922 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
925 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
926 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
927 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
930 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
932 * sysdeps/x86_64/setjmp.S: Likewise.
934 2014-08-13 Joseph Myers <joseph@codesourcery.com>
937 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
939 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
940 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
942 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
944 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
947 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
948 and __x86_64__ when disabling x87 inline functions.
950 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
953 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
954 asm statement with __cpuid_count.
956 2014-08-12 Mike Frysinger <vapier@gentoo.org>
958 * configure.ac: Change __ehdr_start code to dereference the struct.
959 Run readelf on the output to look for relocations.
960 * configure: Regenerated.
962 2014-08-12 Joseph Myers <joseph@codesourcery.com>
965 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
967 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
969 2014-08-12 Roland McGrath <roland@hack.frob.com>
971 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
973 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
976 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
977 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
979 2014-08-12 Sean Anderson <seanga2@gmail.com>
981 * malloc/malloc.c: Fix typo in comment.
983 2014-08-09 Allan McRae <allan@archlinux.org>
985 * Regenerate libc.po.
987 2014-08-08 Mike Frysinger <vapier@gentoo.org>
989 * intl/tst-gettext2.sh: Check every lang file for creation.
991 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
993 * sysdeps/aarch64/fpu/math_private.h
994 (libc_feholdsetround_noex_aarch64_ctx): New function.
996 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
998 * sysdeps/arm/armv6/strcpy.S (strcpy):
999 Fix performance issue in misaligned cases.
1001 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1004 Move definition from termios.h.
1005 (struct termio): Likewise.
1006 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1007 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1008 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1009 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1011 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1012 Move definition to ioctl-types.h
1013 (struct termio): Likewise.
1014 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1015 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1016 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1017 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1020 2014-08-05 Richard Henderson <rth@redhat.com>
1022 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1024 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1026 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1027 Use __feraiseexcept.
1028 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1029 Protect libm symbols with IS_IN_libm.
1031 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1033 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1035 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1037 2014-08-04 Will Newton <will.newton@linaro.org>
1039 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1042 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1044 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1045 variants for each function.
1047 2014-08-04 Roland McGrath <roland@hack.frob.com>
1049 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1051 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1052 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1054 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1055 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1056 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1057 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1058 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1059 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1060 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1061 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1062 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1063 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1064 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1066 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1068 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1069 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1070 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1072 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1074 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1075 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1076 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1078 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1080 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1081 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1082 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1083 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1084 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1086 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1088 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1090 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1091 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1092 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1093 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1094 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1096 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1098 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1099 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1100 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1101 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1102 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1103 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1104 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1105 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1106 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1108 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1109 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1111 2014-08-04 Roland McGrath <roland@hack.frob.com>
1113 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1114 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1115 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1116 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1117 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1118 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1120 2014-08-04 Roland McGrath <roland@hack.frob.com>
1122 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1123 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1124 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1125 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1127 2014-08-04 Roland McGrath <roland@hack.frob.com>
1129 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1130 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1131 (__libc_vfork): Define function under this name.
1132 (__vfork): Define as an alias.
1133 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1134 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1136 2014-08-04 Roland McGrath <roland@hack.frob.com>
1138 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1139 that was previously under [RESET_PID].
1140 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1142 2014-08-04 Andreas Schwab <schwab@suse.de>
1144 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1146 2014-08-03 Mike Frysinger <vapier@gentoo.org>
1148 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1151 2014-08-01 Roland McGrath <roland@hack.frob.com>
1153 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1155 2014-08-01 Richard Henderon <rth@redhat.com>
1157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1158 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1159 typo in exact zero test.
1160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1164 2014-08-01 Roland McGrath <roland@hack.frob.com>
1166 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1167 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1168 * sysdeps/arm/sysdep.h: ... here.
1169 [!__ASSEMBLER__]: Include <stdint.h>.
1171 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1173 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1174 (HAVE_WCTYPE_H): Likewise.
1175 (HAVE_ISWCTYPE): Likewise.
1176 (ENABLE_NLS): Likewise.
1177 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1178 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1180 * posix/regex_internal.c: Check if DEBUG is defined and is
1183 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1184 (HAVE_MBSRTOWCS): Likewise.
1185 * posix/fnmatch.c: Include string.h unconditionally.
1187 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1189 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1192 2014-07-31 Roland McGrath <roland@hack.frob.com>
1194 * sysdeps/generic/safe-fatal.h: New file.
1195 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1196 * nptl/forward.c: Include it.
1197 (__pthread_unwind): Use __safe_fatal as default action, rather
1198 than a bogus use of INTERNAL_SYSCALL that could never work.
1200 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1201 * configure.ac (libc_cv_builtin_trap): New test.
1202 * configure: Regenerated.
1203 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1204 (ABORT_INSTRUCTION): Define using __builtin_trap.
1206 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1207 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1208 * sysdeps/nptl/nptl-signals.h: New file.
1209 * nptl/pthreadP.h: Include <nptl-signals.h>.
1211 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1213 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1214 (ONE_DIRECTION): Define.
1215 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1216 (ONE_DIRECTION): Define.
1217 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1218 (ONE_DIRECTION): Define.
1220 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1222 * sysdeps/s390/Makefile: Delete file.
1223 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1224 * sysdeps/s390/__longjmp.c: Delete file.
1225 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1226 Remove fields __flags and __reserved.
1227 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1229 * sysdeps/s390/rtld-__longjmp.c: Delete file.
1230 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1231 * sysdeps/s390/rtld-setjmp.S: Likewise.
1232 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1233 * sysdeps/s390/s390-32/__longjmp.c: ... here.
1234 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1235 * sysdeps/s390/s390-32/setjmp.S: ... here.
1237 (__sigsetjmp): Remove setting __flags field.
1238 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1239 * sysdeps/s390/s390-64/__longjmp.c: ... here.
1240 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1241 * sysdeps/s390/s390-64/setjmp.S: ... here.
1243 (__sigsetjmp): Remove setting __flags field.
1244 * sysdeps/s390/setjmp.S: Delete file.
1245 * sysdeps/s390/sigjmp.c: Likewise.
1246 * sysdeps/s390/v1-longjmp.c: Likewise.
1247 * sysdeps/s390/v1-setjmp.h: Likewise.
1248 * sysdeps/s390/v1-sigjmp.c: Likewise.
1249 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1250 Remove v1-longjmp_chk.
1251 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1252 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1253 Include debug/longjmp_chk.c and add versioning.
1254 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1255 Include nptl/pt-longjmp.c and add versioning.
1256 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1257 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1258 Include __longjmp.c.
1259 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1261 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1262 (__getcontext): Remove setting __flags field.
1264 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1265 Don't restore upper high grps.
1266 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1268 (__swapcontext): Remove setting uc_flags field.
1269 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1271 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1272 Include __longjmp.c.
1273 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1275 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1276 (__getcontext): Remove setting __flags field.
1278 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1279 (__swapcontext): Remove setting uc_flags field.
1280 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1281 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1282 Remove fields uc_high_gprs and __reserved.
1283 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1284 New file with reverted content.
1285 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1286 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1288 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1291 2014-07-31 Andreas Schwab <schwab@suse.de>
1293 * config.h.in (HAVE_IFUNC): Define to 0.
1294 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1297 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
1299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1300 memmove-avx-unaligned, memcpy-avx-unaligned and
1301 mempcpy-avx-unaligned.
1302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1303 Add tests for AVX memcpy functions.
1304 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1305 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1307 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1308 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1310 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1311 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1313 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1314 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1315 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1317 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1320 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1323 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
1326 * manual/llio.texi: Add section about open file description locks.
1327 * manual/examples/ofdlocks.c: Example of open file description
1329 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1330 F_OFD_SETLK, and F_OFD_SETLKW.
1332 2014-07-23 Allan McRae <allan@archlinux.org>
1334 * po/es.po: Update Spanish translation from translation project.
1336 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
1338 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1340 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
1343 * sysdeps/arm/dl-machine.h (elf_machine_rela)
1344 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1345 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1347 2014-07-17 Joseph Myers <joseph@codesourcery.com>
1350 * math/fesetenv.c (__fesetenv)
1351 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1352 * math/feupdateenv.c (__feupdateenv)
1353 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1355 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1356 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1357 (__ASSUME_SOCKETCALL): Do not define.
1359 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1360 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1361 (__ASSUME_SOCKETCALL): Do not define.
1362 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1363 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1364 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1365 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1366 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1367 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1368 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1369 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1372 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1373 (__ASSUME_SOCKETCALL): Do not define.
1374 (__ASSUME_IPC64): Define unconditionally.
1375 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1376 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1377 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1378 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1379 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1380 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1381 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1384 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1385 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1386 (__ASSUME_SOCKETCALL): Do not define.
1387 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1388 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1389 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1390 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1391 (__ASSUME_REQUEUE_PI): Define unconditionally.
1392 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1393 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1394 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1395 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1396 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1397 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1399 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1400 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1401 (__ASSUME_SOCKETCALL): Do not define.
1402 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1403 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1404 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1405 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1406 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1407 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1409 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1410 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1411 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1412 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1413 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1414 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1415 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1416 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1417 (__ASSUME_GETCPU_SYSCALL): Likewise.
1419 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1420 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
1421 cases for individual architectures.
1422 * sysdeps/gnu/configure: Regenerated.
1423 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1424 LIBC_SLIBDIR_RTLDDIR.
1425 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1426 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1427 LIBC_SLIBDIR_RTLDDIR.
1428 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1430 LIBC_SLIBDIR_RTLDDIR.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1433 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1434 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1436 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1437 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1439 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1440 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1441 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1442 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1444 * sysdeps/aarch64/shlib-versions: Move to ...
1445 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1446 * sysdeps/alpha/shlib-versions: Move to ...
1447 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1448 * sysdeps/arm/shlib-versions: Move to ...
1449 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1450 * sysdeps/hppa/shlib-versions: Move all contents except for
1451 libgcc_s entry to ...
1452 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1454 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1455 * sysdeps/ia64/shlib-versions: Move to ...
1456 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1458 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1459 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1460 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1461 * sysdeps/microblaze/shlib-versions: Move to ...
1462 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1463 * sysdeps/mips/shlib-versions: Move to ...
1464 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1466 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1467 * sysdeps/tile/shlib-versions: Move to ...
1468 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1469 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1471 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1472 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1474 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1476 2014-07-17 Will Newton <will.newton@linaro.org>
1478 * sysdeps/arm/bits/atomic.h
1479 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1480 (__arch_compare_and_exchange_bool_16_int): Likewise.
1481 (__arch_compare_and_exchange_bool_64_int): Likewise.
1483 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1484 into an #else block.
1486 2014-07-16 Roland McGrath <roland@hack.frob.com>
1488 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1489 just Linux configurations. Test empirically that the compiler sets
1490 __ARM_EABI__, rather than using the tuple to decide.
1491 * sysdeps/arm/preconfigure: Regenerated.
1492 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1493 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1494 contents appended ...
1495 * sysdeps/arm/configure.ac: ... here.
1496 * sysdeps/arm/configure: Regenerated.
1498 2014-07-15 Roland McGrath <roland@hack.frob.com>
1500 * nptl/pthread_kill.c: New file.
1501 * nptl/pthread_sigmask.c: New file.
1502 * nptl/pthread_sigqueue.c: New file.
1504 * sysdeps/nptl/lowlevellock.h: New file.
1505 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1506 * sysdeps/nptl/lowlevellock-futex.h: New file.
1508 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1509 Remove dead declarations.
1511 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1513 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1514 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1516 * sysdeps/x86_64/configure.ac: Likewise.
1517 * sysdeps/i386/configure: Regenerated.
1518 * sysdeps/x86_64/configure: Likewise.
1519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1520 memset-avx2 only if config-cflags-avx2 is yes.
1521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1522 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1524 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1525 only if HAVE_AVX2_SUPPORT is defined.
1526 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1528 2014-07-14 Alan Modra <amodra@gmail.com>
1531 * elf/elf.h (DT_PPC64_NUM): Correct value.
1532 * NEWS: Add to fixed bug list.
1534 2014-07-13 Jim Meyering <meyering@fb.com>
1537 regex: don't deref NULL upon heap allocation failure
1538 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1539 failure in one more place.
1540 To trigger the segfault, configure grep -with-included-regex,
1541 build it, and run these commands:
1542 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1544 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1546 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1548 2014-07-11 Richard Henderson <rth@redhat.com>
1550 * sysdeps/aarch64/libm-test-ulps: Update.
1552 2014-07-10 Florian Weimer <fweimer@redhat.com>
1555 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1556 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1557 (__nptl_setxid): Initialize error member. Call
1558 __nptl_setxid_error.
1559 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1560 * nptl/descr.h (struct xid_command): Add error member.
1561 * nptl/tst-setuid3.c: New file.
1562 * nptl/Makefile (tests): Add it.
1564 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1568 (__lll_trylock): Use __lll_base_trylock.
1569 (__lll_cond_trylock): Likewise.
1571 2014-07-10 Roland McGrath <roland@hack.frob.com>
1573 * nptl/pthread_create.c (start_thread): Use atomic_or and
1574 lll_futex_wake directly rather than lll_robust_dead.
1575 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1576 (lll_robust_dead): Macro removed.
1577 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1578 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1579 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1580 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1581 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1582 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1583 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1584 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1585 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1586 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1587 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1588 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1589 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1590 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1591 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1593 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1594 Use atomic_compare_and_exchange_val_acq directly rather than
1596 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1597 (__lll_robust_trylock, lll_robust_trylock): Removed.
1598 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1599 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1600 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1601 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1602 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1603 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1604 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1605 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1606 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1607 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1608 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1609 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1610 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1611 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1613 2014-07-02 Florian Weimer <fweimer@redhat.com>
1615 * manual/locale.texi (Locale Names): New section documenting
1616 locale name syntax. Adjust menu and node chaining accordingly.
1617 (Choosing Locale): Reference Locale Names, Locale Categories.
1618 Mention setting LC_ALL=C. Reflect that name syntax is now
1620 (Locale Categories): New section title. Reference Locale Names.
1621 LC_ALL is an environment variable, but not a category.
1622 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1623 description, now in Locale Name. Reference that section. Locale
1624 name syntax is now documented.
1626 2014-07-02 Florian Weimer <fweimer@redhat.com>
1629 * locale/findlocale.c (name_present, valid_locale_name): New
1631 (_nl_find_locale): Use the loc_name variable to store name
1632 candidates. Call name_present and valid_locale_name to check and
1633 validate locale names. Return an error if the locale is invalid.
1635 2014-07-02 Florian Weimer <fweimer@redhat.com>
1637 * locale/setlocale.c (setlocale): Use strdup for allocating
1638 composite name copy.
1640 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1642 Sync up with gnulib.
1643 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1644 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1645 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1646 and _GL_ARG_NONNULL.
1647 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1648 [!_LIBC]: Include code for Windows and Cygwin.
1649 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1650 Include prototype for int strerror_r.
1651 [!_LIBC] (is_open): New function.
1652 (flush_stdout): New function.
1653 (print_errno_message): Use it.
1655 (error_at_line): Likewise.
1656 (error_tail) Add function attribute macros. Use
1659 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1661 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1663 * io/ftw.c: Include sys/param.h unconditionally.
1665 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1668 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1670 (freecache): New function to free CACHE on exit.
1672 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1675 2014-07-09 David S. Miller <davem@davemloft.net>
1677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1679 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1680 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1681 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1682 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1683 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1684 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1685 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1686 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1687 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1688 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1689 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1690 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1691 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1693 2014-07-09 Andreas Schwab <schwab@suse.de>
1695 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1697 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1698 (do_test): Likewise.
1700 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1702 2014-07-09 Will Newton <will.newton@linaro.org>
1704 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1705 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1706 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1707 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1708 * sysdeps/hppa/start.S (_start): Likewise.
1710 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1712 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1714 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1717 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1719 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1720 after checking that it is non-NULL.
1722 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1724 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1726 * sysdeps/powerpc/memmove.c: Remove file.
1727 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1728 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1730 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1731 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1732 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1733 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1734 string memmove instead of removed powerpc one.
1736 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1737 [weak_alias]: Fix compiler warning due trailing data.
1738 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1739 [weak_alias]: Likewise.
1740 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1741 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1744 (__libc_ifunc_impl_list): Add memmove functions.
1746 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1748 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1750 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1752 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1754 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1756 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1758 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1760 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1762 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1764 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1766 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1768 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1770 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1772 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1774 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1776 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1778 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1780 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1783 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1786 to avoid alignment traps in non-cacheable memory.
1787 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1791 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1792 file: multiarch power7 memmove.
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1794 multiarch default memmove.
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1796 multiarch memove for powerpc32/power4.
1798 * string/bcopy.c: Use full path to include memmove.c.
1799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1801 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1802 bcopy for powerpc64.
1803 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1804 bcopy for powerpc64.
1805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1806 and memmove implementations.
1807 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1808 optimized multiarch memmove for POWER7/powerpc64.
1809 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1810 default multiarch memmove for powerpc64.
1811 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1812 multiarch for powerpc64.
1813 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1814 for POWER7/powerpc64.
1815 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1816 memmove for POWER7/powerpc64.
1818 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1821 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1822 __ELF_NATIVE_CLASS equal to 64.
1824 2014-07-07 Roland McGrath <roland@hack.frob.com>
1826 * sysdeps/nptl/lowlevellock.h: File removed.
1828 * NEWS: NPTL is no longer an add-on!
1829 * nptl/internaltypes.h: Moved ...
1830 * sysdeps/nptl/internaltypes.h: ... here.
1831 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1832 * sysdeps/nptl/fork.c: Likewise.
1833 * sysdeps/nptl/gai_misc.h: Likewise.
1834 * sysdeps/nptl/librt-cancellation.c: Likewise.
1835 * sysdeps/nptl/jmp-unwind.c: Likewise.
1836 * sysdeps/nptl/setxid.h: Likewise.
1837 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1838 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1839 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1840 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1841 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1842 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1843 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1844 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1845 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1846 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1847 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1848 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1849 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1850 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1851 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1852 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1853 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1854 * nptl/Makeconfig: Moved ...
1855 * sysdeps/nptl/Makeconfig: ... here.
1856 * nptl/configure: File removed.
1857 * nptl/ANNOUNCE: File removed.
1858 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1859 * sysdeps/unix/sysv/linux/configure: Regenerated.
1861 * nptl/Makefile (routines): Add libc_pthread_init,
1862 libc_multiple_threads, register-atfork and unregister-atfork.
1863 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1864 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1865 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1866 pthread-pi-defines.sym, structsem.sym.
1867 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1868 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1869 [$(subdir) = nptl] (tests): Add tst-setgetname.
1870 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1871 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1872 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1873 [!LIBC_SIGACTION]: Remove aliases.
1874 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1875 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1876 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1877 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1878 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1879 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1880 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1882 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1883 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1884 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1885 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1886 __libc_allocate_rtsig_private.
1887 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1888 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1889 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1890 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1891 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1892 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1893 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1894 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1895 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1896 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1897 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1898 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1899 * nptl/internaltypes.h: ... here.
1900 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1901 * sysdeps/nptl/jmp-unwind.c: ... here.
1902 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1903 * nptl/libc-lowlevellock.c: ... here.
1904 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1905 * nptl/libc_multiple_threads.c: ... here.
1906 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1907 * nptl/libc_pthread_init.c: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1909 * nptl/lowlevelbarrier.sym: ... here.
1910 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1911 * nptl/lowlevelcond.sym: ... here.
1912 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1913 * nptl/lowlevellock.c: ... here.
1914 * nptl/lowlevellock.h: Moved ...
1915 * sysdeps/nptl/lowlevellock.h: ... here.
1916 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1917 * nptl/lowlevelrobustlock.c: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1919 * nptl/lowlevelrobustlock.sym: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1921 * nptl/lowlevelrwlock.sym: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1923 * nptl/pt-fork.c: ... here.
1924 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1925 * nptl/pthread-pi-defines.sym: ... here.
1926 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1927 * nptl/pthread_attr_getaffinity.c: ... here.
1928 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1929 * nptl/pthread_attr_setaffinity.c: ... here.
1930 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1931 * nptl/pthread_mutex_cond_lock.c: ... here.
1932 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1934 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1935 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1936 * nptl/pthread_once.c: ... here, replacing old file.
1937 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1938 * nptl/pthread_yield.c: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1940 * nptl/register-atfork.c: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1942 * nptl/sem_post.c: ... here.
1943 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1944 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1945 * nptl/sem_timedwait.c: ... here.
1946 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1947 * nptl/sem_trywait.c: ... here.
1948 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1949 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1950 * nptl/sem_wait.c: ... here.
1951 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1952 * nptl/structsem.sym: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1954 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1955 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1956 * nptl/unregister-atfork.c: ... here.
1957 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1958 * nptl/unwindbuf.sym: ... here.
1959 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1960 * sysdeps/nptl/fork.c: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1962 * sysdeps/nptl/fork.h: ... here.
1963 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1964 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1965 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1966 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1967 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1968 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1969 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1970 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1971 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1972 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1973 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1974 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1975 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1977 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1979 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1981 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1983 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1985 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1987 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1989 * sysdeps/unix/sysv/linux/raise.c: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1991 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1993 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1995 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1997 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1999 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2001 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2003 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2004 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2006 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2008 * sysdeps/generic/memcopy.h: Add comment for
2009 MEMCPY_OK_FOR_FWD_MEMMOVE.
2011 2014-07-04 Will Newton <will.newton@linaro.org>
2013 * string/memchr.c: Merge from gnulib.
2014 [_LIBC]: Remove conditionals.
2015 (__ptr_t): Remove define.
2016 (LONG_MAX_32_BITS): Likewise.
2017 (LONG_MAX): Likewise.
2018 (MEMCHR): Use ANSI prototype and optimize algorithm.
2020 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2022 2014-07-03 Roland McGrath <roland@hack.frob.com>
2024 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2025 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2027 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2028 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2029 in a bare environment with no <stdlib.h> installed.
2030 * sysdeps/nptl/configure: Regenerated.
2032 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2034 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2035 AC_EGREP_CPP for kernel header checks, so they only succeed if
2036 including <linux/version.h> actually works right.
2037 * sysdeps/unix/sysv/linux/configure: Regenerated.
2039 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2040 value so it's not diagnosed as unused.
2042 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2043 thing) with "ifeq ($(subdir),rt)".
2045 2014-07-03 Richard Henderson <rth@redhat.com>
2047 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2048 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2049 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2051 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2052 (math_force_eval): New.
2054 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2055 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2057 * sysdeps/alpha/fpu/s_round.c: Remove file.
2058 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2060 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2061 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2062 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2063 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2064 (_dl_start, print_statistics): Likewise.
2065 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2066 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2068 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2069 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2070 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2071 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2072 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2073 (HP_SMALL_TIMING_AVAIL): Define.
2074 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2075 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2076 (HP_SMALL_TIMING_AVAIL): Define.
2077 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2078 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2080 * sysdeps/aarch64/hp-timing.h: New file.
2082 * sysdeps/generic/hp-timing.h: Remove dead comment.
2083 * sysdeps/generic/hp-timing-common.h: New file.
2084 * sysdeps/alpha/hp-timing.h: Include it.
2085 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2086 * sysdeps/i386/i686/hp-timing.h: Likewise.
2087 * sysdeps/ia64/hp-timing.h: Likewise.
2088 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2089 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2090 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2091 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2092 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2093 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2096 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2097 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2098 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2099 * elf/rtld.c (_dl_start_final): Likewise.
2100 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2101 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2102 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2103 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2104 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2106 (HP_TIMING_DIFF_INIT): Remove.
2107 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2108 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2109 (HP_TIMING_DIFF_INIT): Remove.
2110 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2111 * sysdeps/i386/i686/hp-timing.c: Remove file.
2112 * sysdeps/x86_64/hp-timing.c: Remove file.
2113 * sysdeps/ia64/hp-timing.c: Remove file.
2114 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2115 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2116 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2117 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2119 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2120 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2121 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2122 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2124 (HP_TIMING_ACCUM): Remove.
2125 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2126 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2127 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2129 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2130 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2131 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2132 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2134 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2135 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2136 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2138 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2140 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2142 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2144 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2146 Sync up with gettext.
2147 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2148 [_MSC_VER]: Include malloc.h
2149 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2150 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2151 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2152 TEMP_FAILURE_RETRY. Cast return of alloca.
2153 [!_LIBC] Call gl_rwlock_init.
2154 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2156 2014-07-02 Roland McGrath <roland@hack.frob.com>
2158 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2159 before checking its value.
2161 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2163 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2165 * debug/memcpy_chk.c: Don't include pagecopy.h.
2166 * debug/mempcpy_chk.c: Likewise.
2167 * string/memcpy.c: Likewise.
2168 * string/memmove.c: Likewise.
2169 * sysdeps/powerpc/memmove.c: Likewise.
2170 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2171 definition of PAGE_COPY_FWD_MAYBE here...
2172 * sysdeps/generic/pagecopy.h: ... from here.
2173 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2175 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2176 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2182 (__libc_ifunc_impl_list): Likewise.
2183 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2184 multiarch strcat for PPC64.
2185 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2186 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2188 2014-07-02 Roland McGrath <roland@hack.frob.com>
2190 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2192 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2194 * intl/loadmsgcat.c: Remove declaration of
2195 get_sysdep_segment_value.
2196 (get_sysdep_segment_value): Use ISO C style.
2197 (_nl_load_domain): Use ISO C style. Get rid of redundant
2198 semicolon. Fix typo and formatting in comment.
2199 (_nl_unload_domain): Use ISO C style.
2201 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2203 2014-07-02 Will Newton <will.newton@linaro.org>
2205 * malloc/obstack.c: Merge from gnulib master.
2206 [HAVE_CONFIG_H]: Remove conditional code.
2207 [!_LIBC]: Include config.h.
2208 [!ELIDE_CODE]: Don't include inttypes.h, include
2209 stdint.h unconditionally.
2210 (print_and_abort): Mark as _Noreturn.
2211 (_obstack_allocated_p): Mark as __attribute_pure__.
2212 (obstack_free): Rename to __obstack_free.
2213 [!__attribute__]: Remove conditional code.
2214 * malloc/obstack.h: Merge from gnulib master.
2215 [__cplusplus]: Move conditional down.
2216 [!__attribute_pure__]: Define __attribute_pure__ here
2217 if it is not already defined.
2218 (_obstack_memory_used): Mark as __attribute_pure__.
2219 [!__obstack_free]: Define as obstack_free.
2220 [__GNUC__]: Remove check for ancient NeXT gcc.
2222 2014-07-02 Will Newton <will.newton@linaro.org>
2223 Paul Eggert <eggert@cs.ucla.edu>
2225 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2227 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2229 * resolv/gethnamaddr.c: Add comment warning that the file is
2232 2014-07-01 Carlos O'Donell <carlos@redhat.com>
2234 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2237 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2238 entry for aio_cancel and aio_cancel64.
2239 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2240 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2241 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2242 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2243 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2244 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2245 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2246 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2247 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2248 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2249 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2250 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2251 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2253 2014-07-01 Roland McGrath <roland@hack.frob.com>
2255 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2256 * nptl/pthread_mutex_lock.c: Likewise.
2257 * nptl/pthread_mutex_timedlock.c: Likewise.
2258 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2260 2014-07-01 Richard henderson <rth@redhat.com>
2262 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2263 (__isnan, __isnanl): Remove.
2264 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2266 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2268 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2270 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2272 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2274 * resolv/nss_dns/dns-host.c (getanswer_r)
2275 [MULTI_PTRS_ARE_ALIASES]: Remove code.
2277 2014-07-01 Joseph Myers <joseph@codesourcery.com>
2279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2280 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2282 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2283 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2285 2014-07-01 Roland McGrath <roland@hack.frob.com>
2287 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2288 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2290 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2291 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2293 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2294 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2296 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2297 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2299 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2300 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2301 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2302 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2304 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2305 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2306 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2307 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2310 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2312 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2333 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2336 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2337 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2338 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2339 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2340 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2342 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
2344 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2345 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2346 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2349 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2353 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2355 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2356 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2358 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2360 * sysdeps/arm/libm-test-ulps: Regenerated.
2362 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2363 Roland McGrath <roland@hack.frob.com>
2365 * test-skeleton.c (signal_handler): Kill the whole process group
2366 before killing the child individually.
2367 (main): Report any failure on `setpgid'.
2369 2014-06-30 Roland McGrath <roland@hack.frob.com>
2371 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2372 from _TLS_H to _ARM_NPTL_TLS_H.
2373 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2374 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2376 2014-06-30 Joseph Myers <joseph@codesourcery.com>
2379 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2380 (__expm1l): Return argument unchanged when small but not
2383 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2385 (_FP_UNPACK_RAW_1_P): Likewise.
2386 (_FP_PACK_RAW_1): Likewise.
2387 (_FP_PACK_RAW_1_P): Likewise.
2388 (_FP_MUL_MEAT_1_wide): Likewise.
2389 (_FP_MUL_MEAT_DW_1_hard): Likewise.
2390 (_FP_MUL_MEAT_1_hard): Likewise.
2391 (_FP_DIV_MEAT_1_imm): Likewise.
2392 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2393 (_FP_DIV_MEAT_1_udiv): Likewise.
2394 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2395 (_FP_UNPACK_RAW_2): Likewise.
2396 (_FP_UNPACK_RAW_2_P): Likewise.
2397 (_FP_PACK_RAW_2): Likewise.
2398 (_FP_PACK_RAW_2_P): Likewise.
2399 (_FP_MUL_MEAT_DW_2_wide): Likewise.
2400 (_FP_MUL_MEAT_2_wide): Likewise.
2401 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2402 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2403 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2404 (_FP_MUL_MEAT_2_gmp): Likewise.
2405 (_FP_DIV_MEAT_2_udiv): Likewise.
2406 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2407 (_FP_FRAC_SRL_4): Likewise.
2408 (_FP_FRAC_SRST_4): Likewise.
2409 (_FP_FRAC_SRS_4): Likewise.
2410 (_FP_UNPACK_RAW_4): Likewise.
2411 (_FP_UNPACK_RAW_4_P): Likewise.
2412 (_FP_PACK_RAW_4): Likewise.
2413 (_FP_PACK_RAW_4_P): Likewise.
2414 (_FP_MUL_MEAT_DW_4_wide): Likewise.
2415 (_FP_MUL_MEAT_4_wide): Likewise.
2416 (_FP_MUL_MEAT_4_gmp): Likewise.
2417 (umul_ppppmnnn): Likewise.
2418 (_FP_DIV_MEAT_4_udiv): Likewise.
2419 (__FP_FRAC_ADD_4): Likewise.
2420 (__FP_FRAC_SUB_3): Likewise.
2421 (__FP_FRAC_SUB_4): Likewise.
2422 (__FP_FRAC_DEC_3): Likewise.
2423 (__FP_FRAC_DEC_4): Likewise.
2424 (__FP_FRAC_ADDI_4): Likewise.
2425 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2426 (_FP_FRAC_SRL_8): Likewise.
2427 (_FP_FRAC_SRS_8): Likewise.
2429 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2431 (FP_UNPACK_RAW_EP): Likewise.
2432 (FP_PACK_RAW_E): Likewise.
2433 (FP_PACK_RAW_EP): Likewise.
2434 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2435 (_FP_ISSIGNAN): Likewise.
2436 (_FP_ADD_INTERNAL): Likewise.
2437 (_FP_FMA): Likewise.
2438 (_FP_CMP): Likewise.
2439 (_FP_SQRT): Likewise.
2440 (_FP_TO_INT): Likewise.
2441 (_FP_FROM_INT): Likewise.
2442 (FP_EXTEND): Likewise.
2443 (_FP_DIV_MEAT_N_loop): Likewise.
2445 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2447 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2450 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2453 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2454 result with correct sign in case of exponents that produce
2455 overflow except for X very close to 1.
2457 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2459 mktime: merge #if/#ifdef usage from glibc
2460 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2461 as that works with both Glibc's and Gnulib's style.
2462 See thread starting at Siddhesh Poyarekar's bug report at:
2463 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2465 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2467 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2468 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2469 * sysdeps/tile/tilegx/memmove.c: Remove file.
2471 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2473 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2474 abi-name definition.
2475 * scripts/soversions.awk: Do not handle or generate ABI lines.
2476 * shlib-versions: Remove ABI entries.
2477 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2478 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2480 2014-06-27 Roland McGrath <roland@hack.frob.com>
2482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2483 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2484 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2485 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2487 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2490 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2493 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2495 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2497 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2499 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2501 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2503 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2506 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2513 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2521 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2523 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2525 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2527 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2530 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2531 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2532 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2533 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2535 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2538 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2539 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2540 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2543 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2546 Identical file removed.
2547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2549 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2551 Identical file removed.
2552 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2553 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2556 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2558 Identical file removed.
2559 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2560 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2562 Identical file removed.
2563 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2564 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2565 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2566 Identical file removed.
2567 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2568 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2569 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2570 Identical file removed.
2571 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2573 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2575 Identical file removed.
2576 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2578 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2579 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2580 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2582 Identical file removed.
2583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2585 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2587 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2588 Identical file removed.
2589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2591 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2593 Identical file removed.
2594 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2596 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2597 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2598 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2600 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2601 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2603 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2605 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2607 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2608 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2609 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2610 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2611 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2613 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2616 * nscd/nscd.c (monitor_child): Return exit status of child
2617 instead of return value from wait syscall.
2619 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2621 * configure.ac (libc_commonpagesize): Remove variable.
2622 (libc_relro_required): Likewise.
2623 (libc_cv_z_relro): Remove configure test.
2624 * configure: Regenerated.
2625 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2627 (libc_relro_required): Likewise.
2628 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2629 (libc_relro_required): Likewise.
2630 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2631 (libc_relro_required): Likewise.
2632 * sysdeps/arm/preconfigure: Regenerated.
2633 * sysdeps/ia64/preconfigure: Remove file.
2634 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2636 (libc_relro_required): Likewise.
2640 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2641 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2642 recompute overflowing results in original rounding mode.
2643 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2644 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2645 recompute overflowing results in original rounding mode.
2646 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2647 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2648 recompute overflowing results in original rounding mode.
2649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2650 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2651 recompute overflowing results in original rounding mode.
2652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2653 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2654 recompute overflowing results in original rounding mode.
2655 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2656 (libc_feholdsetround_ctx): New macro.
2657 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update.
2659 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2661 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2663 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2664 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2665 corresponding .cpsetup call.
2667 2014-06-26 Roland McGrath <roland@hack.frob.com>
2669 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2670 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2671 * sysdeps/arm/Makefile [$(subdir) = csu]
2672 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2673 (static-only-routines): Add aeabi_read_tp here.
2674 (shared-only-routines): Add libc-aeabi_read_tp here.
2675 (CFLAGS-libc-start.c): Add -fexceptions here.
2676 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2677 (sysdep_routines, static-only-routines, shared-only-routines):
2678 Don't add to these here.
2679 (CFLAGS-libc-start.c): Likewise.
2681 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2682 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2683 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2684 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2685 * sysdeps/arm/Makefile [$(subdir) = rt]
2686 (librt-sysdep_routines, librt-shared-only-routines):
2687 Append rt-aeabi_unwind_cpp_pr1 here.
2688 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2689 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2690 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2691 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2692 Append nptl-aeabi_unwind_cpp_pr1 here.
2693 (tests): Filter out tst-cleanupx4 here.
2694 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2695 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2696 Don't do those here.
2698 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2700 * scripts/list-sources.sh: Do not handle ports specially.
2702 2014-06-26 Roland McGrath <roland@hack.frob.com>
2704 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2705 * sysdeps/arm/feupdateenv.c: Likewise.
2707 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2709 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2711 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2712 trailing whitespace removed.
2713 * scripts/config.guess: Update to version 2014-03-23.
2714 * scripts/config.sub: Update to version 2014-05-01
2715 * scripts/install-sh: Update to version 2013-12-25.23.
2716 * scripts/move-if-change: Update from gnulib.
2718 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2720 * debug/memmove_chk.c: Remove pagecopy.h include.
2722 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2724 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2725 identical to gnulib mktime.
2727 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2729 * configure.ac: Do not test for machine being rs6000. Do not test
2731 * configure: Regenerated.
2733 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2735 * configure: Regenerated.
2736 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2737 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2738 Remove configure test.
2739 * sysdeps/arm/configure: Regenerated.
2740 * sysdeps/nptl/configure.ac: Do not check
2741 libc_cv_asm_cfi_directives.
2742 * sysdeps/nptl/configure: Regenerated.
2743 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2744 * sysdeps/x86_64/nptl/configure: Remove generated file.
2745 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2747 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2749 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2751 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2752 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2753 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2756 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2757 instead of whether it is defined.
2758 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2759 * sysdeps/hppa/dl-machine.h: Likewise.
2760 * sysdeps/ia64/dl-machine.h: Likewise.
2761 * sysdeps/m68k/dl-machine.h: Likewise.
2762 * sysdeps/microblaze/dl-machine.h: Likewise.
2763 * sysdeps/mips/dl-machine.: Likewise.
2764 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2765 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2766 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2767 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2768 * sysdeps/sh/dl-machine.h: Likewise.
2769 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2770 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2771 * sysdeps/tile/dl-machine.h: Likewise.
2772 * sysdeps/x86_64/dl-machine.h: Likewise.
2774 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2776 (verify_persistent_db): Likewise.
2778 2014-06-26 Roland McGrath <roland@hack.frob.com>
2780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2781 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2786 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2791 Identical file removed.
2792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2804 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2806 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2808 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2811 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2813 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2815 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2817 Identical file removed.
2818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2819 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2824 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2827 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2829 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2831 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2835 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2838 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2841 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2843 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2846 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2850 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2852 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2853 * sysdeps/unix/sysv/linux/s390/Versions
2854 (libpthread: GLIBC_2.19): New version set.
2855 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2856 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2857 (librt: GLIBC_2.3.3): New version set.
2858 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2859 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2860 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2862 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2863 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2864 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2865 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2866 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2867 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2868 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2870 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2871 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2872 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2873 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2874 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2875 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2876 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2877 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2878 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2882 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2884 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2886 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2887 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2888 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2897 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2898 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2899 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2900 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2901 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2902 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2904 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2905 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2906 (__libc_vfork): Define the function under this name.
2907 [!NOT_IN_libc] (__vfork): Make this an alias.
2908 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2910 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2911 (__libc_vfork): Define the function under this name.
2912 [!NOT_IN_libc] (__vfork): Make this an alias.
2913 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2914 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2915 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2916 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2917 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2918 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2920 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2921 code that was previously under [RESET_PID].
2922 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2923 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2926 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2927 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2928 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2929 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2930 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2931 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2932 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2933 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2934 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2938 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2954 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2955 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2956 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2957 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2958 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2959 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2962 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2963 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2964 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2965 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2966 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2968 2014-06-25 Roland McGrath <roland@hack.frob.com>
2970 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2971 that was previously under [RESET_PID].
2972 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2974 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2976 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2977 not undefine and redefine.
2978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2979 [O_CLOEXEC]: Make code unconditional.
2980 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2981 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2982 <kernel-features.h>.
2983 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2984 conditional variable definition.
2985 (shm_open) [O_CLOEXEC]: Make code unconditional.
2986 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2989 * configure.ac (USE_REGPARMS): Don't define here.
2990 * configure: Regenerated.
2991 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2992 * sysdeps/i386/configure: Regenerated.
2994 * nptl/createthread.c: Don't include kernel-features.h.
2995 * nptl/pthread_cancel.c: Likewise.
2996 * nptl/pthread_condattr_setclock.c: Likewise.
2997 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2998 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2999 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3000 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3001 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3002 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3003 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3004 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3005 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3006 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3007 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3008 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3009 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3010 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3011 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3012 * nscd/gai.c: Likewise.
3013 * nss/nss_db/db-open.c: Likewise.
3014 * sysdeps/generic/ldsodefs.h: Likewise.
3015 * sysdeps/sh/nptl/tls.h: Likewise.
3016 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3017 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3018 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3019 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3020 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3021 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3022 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3023 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3025 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3026 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3027 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3028 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3029 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3030 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3031 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3032 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3033 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3034 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3035 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3038 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3039 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3040 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3042 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3043 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3044 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3045 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3046 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3047 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3048 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3049 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3050 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3051 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3052 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3053 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3054 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3055 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3056 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3057 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3058 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3059 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3060 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3061 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3062 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3063 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3064 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3065 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3066 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3067 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3068 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3069 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3070 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3071 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3072 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3073 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3096 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3097 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3098 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3099 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3100 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3101 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3102 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3103 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3104 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3105 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3106 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3107 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3108 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3109 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3110 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3111 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3112 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3113 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3114 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3115 * sysdeps/unix/sysv/linux/system.c: Likewise.
3116 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3117 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3118 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3119 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3120 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3121 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3122 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3124 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3125 * configure: Regenerated.
3126 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3128 * configure.ac (base_machine): Do not set specially for particular
3130 * configure: Regenerated.
3131 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3132 settings from configure.ac.
3133 * sysdeps/i386/preconfigure: New file.
3134 * sysdeps/s390/preconfigure: Likewise.
3135 * sysdeps/sh/preconfigure: Likewise.
3136 * sysdeps/sparc/preconfigure: Likewise.
3138 2014-06-25 Roland McGrath <roland@hack.frob.com>
3140 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3141 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3142 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3143 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3144 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3145 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3146 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3147 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3148 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3149 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3150 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3151 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3152 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3153 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3155 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3156 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3157 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3158 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3160 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3161 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3162 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3163 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3164 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3165 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3166 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3167 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3168 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3169 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3170 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3171 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3172 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3173 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3174 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3175 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3176 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3177 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3178 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3179 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3181 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3184 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3185 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3186 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3187 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3188 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3189 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3191 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3192 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3193 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3194 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3195 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3196 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3197 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3200 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3202 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3205 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3208 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3213 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3215 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3217 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3219 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3222 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3225 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3227 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3230 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3232 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3234 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3236 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3238 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3244 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3246 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3249 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3251 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3253 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3255 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3258 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3261 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3263 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3266 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3268 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3270 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3272 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3274 * timezone/checktab.awk: Update from tzcode 2014e.
3275 * timezone/private.h: Likewise.
3276 * timezone/tzfile.h: Likewise.
3277 * timezone/zdump.c: Likewise.
3278 * timezone/zic.c: Likewise.
3280 * sysdeps/unix/sysv/linux/kernel-features.h
3281 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3283 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3284 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3285 Remove conditional code.
3287 2014-06-25 Will Newton <will.newton@linaro.org>
3289 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3290 (_dl_arm_cap_flags): Add HWCAP2 values.
3291 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3292 (_DL_HWCAP_COUNT): Increase to 37.
3293 (_DL_HWCAP_LAST): New define.
3294 (_DL_HWCAP2_LAST): New define.
3295 (_dl_procinfo): Add support for printing
3297 (_dl_string_hwcap): Use _dl_hwcap_string.
3299 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3303 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3305 * README: Do not mention ports directory.
3307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3309 * sysdeps/unix/sysv/linux/futimes.c: Do not include
3310 <kernel-features.h>.
3311 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3312 conditional variable definition.
3313 (__futimes): Update comment.
3314 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3315 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3318 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3319 arguments close to 0.
3320 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3322 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3324 * math/auto-libm-test-in: Add more tests of exp10.
3325 * math/auto-libm-test-out: Regenerated.
3326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3328 * sysdeps/unix/sysv/linux/kernel-features.h
3329 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3330 * sysdeps/unix/sysv/linux/readv.c: Do not include
3331 <kernel-features.h>.
3332 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3333 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3334 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3336 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3338 * sysdeps/unix/sysv/linux/writev.c: Do not include
3339 <kernel-features.h>.
3340 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3341 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3342 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3344 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3347 2014-06-25 Will Newton <will.newton@linaro.org>
3349 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3350 comment changes throughout the file. Remove checks
3351 for HAVE_*_H definitions that are not required.
3352 (__gen_tempname): Call abort if an unknown kind value is
3355 2014-06-25 Andreas Schwab <schwab@suse.de>
3358 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3359 scalbln, scalblnf, scalblnl in libc.
3361 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3364 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3365 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3366 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3368 2014-06-24 Roland McGrath <roland@hack.frob.com>
3370 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3371 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3372 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3373 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3375 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3376 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3378 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3379 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3380 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3381 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3382 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3383 * sysdeps/x86/bits/pthreadtypes.h: ... here.
3384 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3385 * sysdeps/x86/bits/semaphore.h: ... here.
3386 * sysdeps/x86/nptl/elide.h: Moved ...
3387 * sysdeps/x86/elide.h: ... here.
3388 * sysdeps/x86_64/nptl/Implies: File removed.
3389 * sysdeps/i386/nptl/Implies: File removed.
3391 2014-06-24 Joseph Myers <joseph@codesourcery.com>
3394 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3395 return the argument for normal arguments with exponent below -64.
3396 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3398 * math/auto-libm-test-in: Add another test of expm1.
3399 * math/auto-libm-test-out: Regenerated.
3402 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3403 calling __erfcl for arguments at least 16.
3404 * math/auto-libm-test-in: Add more tests of erf.
3405 * math/auto-libm-test-out: Regenerated.
3407 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3408 individual architectures.
3409 * sysdeps/unix/sysv/linux/configure: Regenerated.
3410 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3411 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3412 * sysdeps/unix/sysv/linux/powerpc/configure.ac
3413 (ldd_rewrite_script): Define variable.
3414 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3419 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3420 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3421 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3422 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3423 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3424 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3425 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3426 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3428 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3431 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3432 Rename member __data.d to __data.__elision_data.
3434 2014-06-24 Wilco <wdijkstr@arm.com>
3436 * NEWS: Add 16918 to fixed bug list.
3438 2014-06-24 Wilco <wdijkstr@arm.com>
3440 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3442 2014-06-24 Wilco <wdijkstr@arm.com>
3444 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3445 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3446 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3447 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3448 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3449 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3450 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3453 2014-06-24 Wilco <wdijkstr@arm.com>
3455 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3457 2014-06-24 Wilco <wdijkstr@arm.com>
3459 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3460 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3461 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3462 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3464 2014-06-24 Wilco <wdijkstr@arm.com>
3467 * sysdeps/arm/feupdateenv.c (feupdateenv):
3468 Rewrite to reduce FPSCR accesses and fix return value.
3470 2014-06-24 Wilco <wdijkstr@arm.com>
3472 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3473 Optimize to avoid unnecessary FPSCR writes.
3474 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3475 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3476 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3477 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3479 2014-06-24 Wilco <wdijkstr@arm.com>
3481 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3482 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3483 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3484 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3485 Call libc_fetestexcept_vfp.
3486 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3487 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3488 __SOFTFP__ ifdef so that they can be built for softfp.
3490 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3492 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3493 argument type signed char.
3495 * Makerules (check-abi): Dump diff of symlist if the test
3498 2014-06-23 Roland McGrath <roland@hack.frob.com>
3500 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3503 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3504 Remove unused variable ST.
3506 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3510 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3511 small arguments before calling __expm1.
3512 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3513 small arguments before calling __expm1f.
3514 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3515 small arguments before calling __expm1l.
3516 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3518 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3519 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3520 spurious underflow for some cosh tests.
3521 * math/auto-libm-test-out: Regenerated.
3522 * sysdeps/i386/fpu/libm-test-ulps: Update.
3525 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3526 (__ieee754_y1): Set errno if return value overflows.
3527 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3528 (__ieee754_y1f): Set errno if return value overflows.
3529 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3530 (__ieee754_y1l): Set errno if return value overflows.
3531 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3532 (__ieee754_y1l): Set errno if return value overflows.
3533 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3534 * math/auto-libm-test-out: Regenerated.
3536 * math/gen-auto-libm-tests.c: Document use of
3537 ignore-zero-inf-sign.
3538 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3539 (input_flags): Add ignore-zero-inf-sign.
3540 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3541 * math/gen-libm-test.pl (generate_testfile): Handle
3542 ignore-zero-inf-sign.
3543 * math/auto-libm-test-in: Mark some cpow tests with
3544 ignore-zero-inf-sign and some with xfail-rounding.
3545 * math/auto-libm-test-out: Regenerated.
3546 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3547 * sysdeps/i386/fpu/libm-test-ulps: Update.
3548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3551 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3552 overflowing or underflowing operations take place with sign of
3554 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3555 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3556 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3557 (__ieee754_pow): Recompute overflowing and underflowing results in
3558 original rounding mode.
3559 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3560 (__powl_helper): Allow negative argument X and scale negated value
3561 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3562 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3563 overflowing or underflowing operations take place with sign of
3565 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3567 * math/auto-libm-test-in: Add more tests of pow.
3568 * math/auto-libm-test-out: Regenerated.
3569 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3570 (pow_tonearest_test_data): Remove.
3571 (pow_test_tonearest): Likewise.
3572 (pow_towardzero_test_data): Likewise.
3573 (pow_test_towardzero): Likewise.
3574 (pow_downward_test_data): Likewise.
3575 (pow_test_downward): Likewise.
3576 (pow_upward_test_data): Likewise.
3577 (pow_test_upward): Likewise.
3578 (main): Don't call removed functions.
3579 * sysdeps/i386/fpu/libm-test-ulps: Update.
3580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3582 2014-06-23 Roland McGrath <roland@hack.frob.com>
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3758 2014-06-23 Will Newton <will.newton@linaro.org>
3759 Wilco <wdijkstr@arm.com>
3761 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3762 implementation. Include get-rounding-mode.h.
3763 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3764 [!libc_feholdsetround_noex_ctx]: Define
3765 libc_feholdsetround_noex_ctx.
3766 [!libc_feholdsetround_noexf_ctx]: Define
3767 libc_feholdsetround_noexf_ctx.
3768 [!libc_feholdsetround_noexl_ctx]: Define
3769 libc_feholdsetround_noexl_ctx.
3770 (libc_feholdsetround_ctx): New function.
3771 (libc_feresetround_ctx): New function.
3772 (libc_feholdsetround_noex_ctx): New function.
3773 (libc_feresetround_noex_ctx): New function.
3775 2014-06-23 Roland McGrath <roland@hack.frob.com>
3777 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3778 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3779 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3780 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3781 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3782 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3784 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3785 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3786 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3787 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3788 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3789 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3791 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3793 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3794 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3796 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3799 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3801 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3804 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3806 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3807 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3808 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3809 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3810 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3811 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3813 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3816 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3818 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3821 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3823 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3824 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3825 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3826 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3827 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3829 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3830 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3832 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3835 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3839 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3841 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3843 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3845 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3846 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3848 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3849 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3850 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3852 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3853 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3855 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3857 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3858 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3859 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3861 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3862 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3863 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3864 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3865 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3866 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3867 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3868 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3869 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3870 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3872 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3873 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3874 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3875 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3876 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3877 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3878 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3880 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3881 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3882 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3883 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3884 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3885 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3886 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3887 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3888 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3890 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3893 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3894 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3895 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3896 (IPV6_PMTUDISC_INTERFACE): Likewise.
3897 (IPV6_PMTUDISC_OMIT): Likewise.
3899 2014-06-23 Andreas Schwab <schwab@suse.de>
3901 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3902 Remove unused errout label.
3904 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3906 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3907 macro: hardware supports Vector Crypto instructions.
3909 2014-06-23 Will Newton <will.newton@linaro.org>
3911 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3912 rather than __builtin_expect.
3914 * elf/dl-lookup.c (undefined_msg): Remove variable.
3915 (_dl_lookup_symbol_x): Replace undefined_msg with string
3918 * elf/dl-lookup.c (do_lookup_unique): New function.
3919 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3920 to a separate function.
3922 2014-06-23 Andreas Schwab <schwab@suse.de>
3925 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3926 before reading the next line.
3928 2014-06-23 Will Newton <will.newton@linaro.org>
3930 * test-skeleton.c (signal_handler): Use printf and %m
3931 rather than perror. Use printf rather than fprintf to
3932 stderr. Use puts rather than fputs to stderr.
3935 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3937 * nscd/nscd.c (thread_info_t): Remove typedef.
3938 (thread_info): Remove variable.
3940 2014-06-21 Allan McRae <allan@archlinux.org>
3942 * NEWS: Mention CVE-2014-4043.
3944 2014-06-20 Roland McGrath <roland@hack.frob.com>
3946 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3947 * nptl/smp.h: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3951 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3952 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3953 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3954 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3956 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3957 * nptl/stack-aliasing.h: New file.
3958 * sysdeps/i386/i686/stack-aliasing.h: New file.
3959 * sysdeps/i386/i686/nptl/Makefile: File removed.
3960 * sysdeps/x86_64/stack-aliasing.h: New file.
3961 * sysdeps/x86_64/nptl/Makefile
3962 (CFLAGS-pthread_create.c): Variable removed.
3964 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3965 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3967 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3968 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3971 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3974 (__ASSUME_SIGFRAME_V2): Remove macro.
3975 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3976 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3977 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3978 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3979 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3980 Declare as function. Remove conditional macro definitions.
3981 (__default_rt_sa_restorer): Likewise.
3982 (__default_sa_restorer_v1): Remove declaration.
3983 (__default_sa_restorer_v2): Likewise.
3984 (__default_rt_sa_restorer_v1): Likewise.
3985 (__default_rt_sa_restorer_v2): Likewise.
3986 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3987 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3988 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3990 2014-06-20 Roland McGrath <roland@hack.frob.com>
3992 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3993 (libpthread-routines): Add sysdep.
3994 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3995 * sysdeps/unix/sysv/linux/sparc/Versions
3996 (libpthread: GLIBC_2.3.3): New version set.
3997 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3998 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3999 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4001 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4002 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4004 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4006 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4007 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4008 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4010 * sysdeps/sparc/nptl/sem_init.c: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4012 * sysdeps/sparc/nptl/sem_post.c: ... here.
4013 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4014 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4015 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4016 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4017 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4018 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4019 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4020 (libpthread-routines): Add cpu_relax.
4021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4023 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4024 (librt: GLIBC_2.3.3): New version set.
4025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4026 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4027 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4028 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4031 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4034 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4036 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4038 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4040 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4042 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4045 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4057 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4061 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4065 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4068 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4070 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4074 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4076 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4079 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4081 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4083 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4085 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4087 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4088 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4089 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4090 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4091 * nscd/nscd.c: Likewise.
4092 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4093 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4094 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4095 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4097 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4098 <kernel-features.h>.
4099 (init_mq_netlink): Remove conditional have_sock_cloexec
4100 definitions. Remove code conditional on have_sock_cloexec < 0.
4101 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4102 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4103 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4104 <kernel-features.h>.
4105 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4106 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4108 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4111 Add tests for memset_chk and memset.
4113 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4116 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4119 * elf/tst-dl-iter-static.c: New file.
4120 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4122 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4125 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4127 * sysdeps/unix/sysv/linux/kernel-features.h
4128 (__ASSUME_F_GETOWN_EX): Remove macro.
4129 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4130 <kernel-features.h>.
4131 (miss_F_GETOWN_EX): Remove variable or macro.
4132 (do_fcntl): Do not check miss_F_GETOWN_EX.
4133 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4135 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4138 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4139 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4141 * sysdeps/unix/sysv/linux/kernel-features.h
4142 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4143 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4144 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4145 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4147 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4150 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4151 Fix calculation of the symbol's value.
4152 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4153 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4154 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4155 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4156 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4157 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4158 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4159 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4160 (modules-names): Add `tst-armtlsdescmod',
4161 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4162 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4163 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4164 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4165 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4166 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4167 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4168 ($(objpfx)tst-armtlsdescloc): New dependency.
4169 ($(objpfx)tst-armtlsdescextnow): Likewise.
4170 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4171 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4173 * sysdeps/arm/configure: Regenerate.
4175 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4177 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4178 (__atfct_seterrno_2): Likewise.
4179 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4180 <kernel-features.h>.
4181 (__ASSUME_ATFCTS): Do not undefine and redefine.
4182 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4183 (__have_atfcts): Remove conditional definition.
4184 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4185 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4186 unreachable if [__ASSUME_ATFCTS].
4187 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4188 not undefine and redefine.
4189 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4190 <kernel-features.h>.
4191 (faccessat) [__NR_faccessat]: Make code unconditional.
4192 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4193 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4194 <kernel-features.h>.
4195 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4196 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4197 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4198 <kernel-features.h>.
4199 (fchownat) [__NR_fchownat]: Make code unconditional.
4200 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4201 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4202 <kernel-features.h>.
4203 (futimesat) [__NR_futimesat]: Make code unconditional.
4204 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4205 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4206 <kernel-features.h>.
4207 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4208 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4209 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4210 <kernel-features.h>.
4211 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4212 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4213 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4214 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4215 <kernel-features.h>.
4216 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4217 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4218 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4219 <kernel-features.h>.
4220 (linkat) [__NR_linkat]: Make code unconditional.
4221 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4222 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4223 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4224 <kernel-features.h>.
4225 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4226 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4227 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4228 <kernel-features.h>.
4229 (mkdirat) [__NR_mkdirat]: Make code unconditional.
4230 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4231 * sysdeps/unix/sysv/linux/openat.c: Do not include
4232 <kernel-features.h>.
4233 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4234 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4235 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4236 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4237 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4238 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4239 <kernel-features.h>.
4240 (readlinkat) [__NR_readlinkat]: Make code unconditional.
4241 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
4242 result of INLINE_SYSCALL directly, not via int variable.
4243 * sysdeps/unix/sysv/linux/renameat.c: Do not include
4244 <kernel-features.h>.
4245 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4246 (renameat) [__NR_renameat]: Make code unconditional.
4247 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4248 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4249 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4250 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4251 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4252 (__ASSUME_ATFCTS): Do not undefine and redefine.
4253 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4254 <kernel-features.h>.
4255 (symlinkat) [__NR_symlinkat]: Make code unconditional.
4256 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4257 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4258 <kernel-features.h>.
4259 (unlinkat) [__NR_unlinkat]: Make code unconditional.
4260 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4261 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4262 (__ASSUME_ATFCTS): Do not undefine and redefine.
4263 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4264 <kernel-features.h>.
4265 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4266 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4267 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4268 <kernel-features.h>.
4269 (__xmknodat) [__NR_mknodat]: Make code unconditional.
4270 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4272 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4274 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4276 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
4279 * posix/regcomp.c (parse_reg_exp): Deallocate partially
4280 constructed tree before returning error.
4281 * posix/bug-regexp36.c: Expand test case.
4283 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4286 * math/libm-test.inc (scalbln_test_date):
4287 Add errno expectations.
4288 * math/w_scalblnf.c: New File.
4289 Add wrapper which checks for setting errno to ERANGE.
4290 Add weak_alias for corresponding scalbln function.
4291 * math/w_scalbln.c: Likewise.
4292 * math/w_scalblnl.c: Likewise.
4293 * math/Makefile (libm-calls): Add w_scalbln.
4294 * sysdeps/ieee754/flt-32/s_scalblnf.c:
4295 Remove weak_alias for corresponding scalbln function.
4296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4300 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4301 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4302 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4303 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4304 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4305 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4306 Remove long_double_symbol for scalblnl function in libm, libc.
4307 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4308 Add wrapper which checks for setting errno to ERANGE.
4309 Add long_double_symbol for scalblnl function in libm, libc.
4310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4311 Remove long_double_symbol for scalblnl in libm.
4312 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4313 Add wrapper which checks for setting errno to ERANGE.
4314 Add long_double_symbol for scalblnl function in libm.
4315 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4316 Do not use wrapper because of own implementation.
4318 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
4320 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4321 3 bytes for __pad1 for x32.
4322 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4324 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
4325 H.J. Lu <hongjiu.lu@intel.com>
4327 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4328 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4329 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4330 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4331 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4333 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
4336 * posix/regcomp.c (parse_expression): Deallocate partially
4337 constructed tree before returning error.
4338 * posix/Makefile.c (tests): Add bug-regex36.
4339 (generated): Add bug-regex36.mtrace.
4340 (tests-special): Add $(objpfx)bug-regex36-mem.out
4341 (bug-regex36-ENV): New variable.
4342 ($(objpfx)bug-regex36-mem.out): New rule.
4343 * posix/bug-regex36.c: New file.
4345 2014-06-19 Will Newton <will.newton@linaro.org>
4347 * malloc/malloc.c (systrim): If extra is zero then return
4350 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4352 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4354 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
4356 * sysdeps/aarch64/strchr.S: New file.
4358 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4361 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4362 from arguments -2 or below.
4363 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4364 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4366 2014-06-18 Andreas Schwab <schwab@suse.de>
4369 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4370 of a bracket expr not to run off the end of the string.
4371 * posix/Makefile (tests): Add tst-fnmatch3.
4372 * posix/tst-fnmatch3.c: New file.
4374 2014-06-18 Joseph Myers <joseph@codesourcery.com>
4376 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4377 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4378 [$(cross-compiling) = no]: Likewise.
4379 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4380 [$(cross-compiling) = no]: Likewise.
4382 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4385 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4386 double, adjusted for any remainder from the high double.
4387 * math/libm-test.inc (nearbyint): Add tests.
4390 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4392 * nptl/sysdeps/powerpc/Makefile: Moved ...
4393 * sysdeps/powerpc/nptl/Makefile: ... here.
4394 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4395 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4396 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4397 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4398 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4399 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4400 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4401 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4402 * nptl/sysdeps/powerpc/tls.h: Moved ...
4403 * sysdeps/powerpc/nptl/tls.h: ... here.
4405 2014-06-16 Joseph Myers <joseph@codesourcery.com>
4408 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4409 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4410 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4411 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4412 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4413 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4414 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4415 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4416 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4418 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
4420 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4422 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
4424 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4427 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4430 2014-06-16 Florian Weimer <fweimer@redhat.com>
4433 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4434 non-executed part of the test.
4436 2014-06-16 Andreas Schwab <schwab@suse.de>
4438 * string/bits/string2.h (strdup, strndup): Update feature guard.
4440 2014-06-14 David S. Miller <davem@davemloft.net>
4442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4444 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4446 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4447 that was previously under [RESET_PID].
4448 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4450 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4451 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4452 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4453 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4454 (__libc_vfork): New strong alias.
4455 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4457 2014-06-14 Andi Kleen <ak@linux.intel.com>
4459 * sysdeps/generic/elide.h: New file.
4461 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4463 * Makefile (installed-headers): Adjust path of pthread.h header.
4465 2014-06-13 Roland McGrath <roland@hack.frob.com>
4467 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4468 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4469 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4470 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4472 * nptl/sysdeps/s390/Makefile: Moved ...
4473 * sysdeps/s390/nptl/Makefile: ... here.
4474 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4475 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4476 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4477 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4478 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4479 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4480 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4481 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4482 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4483 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4484 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4485 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4486 * nptl/sysdeps/s390/tls.h: Moved ...
4487 * sysdeps/s390/nptl/tls.h: ... here.
4489 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4490 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4492 2014-06-13 David S. Miller <davem@davemloft.net>
4494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4497 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4501 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4502 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4503 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4504 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4505 Remove RESET_PID cpp guards.
4506 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4507 Remove RESET_PID cpp guards.
4508 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4510 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4512 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4515 2014-06-13 Andi Kleen <ak@linux.intel.com>
4517 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4518 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4519 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4520 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4521 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4523 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4524 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4525 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4526 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4527 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4528 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4529 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4530 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4531 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4532 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4533 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4534 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4535 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4536 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4538 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4539 (pthread_rwlock_rdlock): Add elision.
4540 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4541 (pthread_rwlock_wrlock): Add elision.
4542 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4543 (pthread_rwlock_trywrlock): Add elision.
4544 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4545 (pthread_rwlock_tryrdlock): Add elision.
4546 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4547 (pthread_rwlock_tryrdlock): Add elision unlock.
4548 * nptl/sysdeps/pthread/pthread.h:
4549 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4550 (PTHREAD_RWLOCK_INITIALIZER,
4551 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4552 Handle new elision field.
4553 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4554 * sysdeps/arm/nptl/bits/pthreadtypes.h
4555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4556 * sysdeps/sh/nptl/bits/pthreadtypes.h
4557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4558 * sysdeps/tile/nptl/bits/pthreadtypes.h
4559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4560 * sysdeps/a/nptl/bits/pthreadtypes.h
4561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4562 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4564 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4566 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4568 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4570 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4572 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4574 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4576 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4578 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4579 (elision_init): Set try_xbegin to zero when no RTM.
4580 * sysdeps/x86/nptl/bits/pthreadtypes.h
4581 (pthread_rwlock_t): Change __pad1 to __rwelision.
4582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4584 2014-06-13 Andi Kleen <ak@linux.intel.com>
4586 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4587 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4588 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4589 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4591 2014-06-13 Meador Inge <meadori@codesourcery.com>
4594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4595 that the cached result has been set before returning it.
4597 2014-06-12 Roland McGrath <roland@hack.frob.com>
4599 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4600 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4601 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4602 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4603 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4604 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4606 * nptl/sysdeps/sparc/Makefile: Moved ...
4607 * sysdeps/sparc/nptl/Makefile: ... here.
4608 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4609 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4610 * nptl/sysdeps/sparc/tls.h: Moved ...
4611 * sysdeps/sparc/nptl/tls.h: ... here.
4612 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4613 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4614 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4615 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4616 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4617 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4618 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4619 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4620 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4621 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4622 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4623 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4624 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4625 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4626 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4627 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4628 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4631 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4632 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4634 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4635 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4637 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4638 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4641 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4643 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4644 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4646 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4647 (struct list_links): Type removed.
4648 (struct thread_node, struct timer_node): Replace struct list_links
4649 with struct list_head.
4650 (list_unlink_ip): Likewise.
4651 * sysdeps/pthread/timer_routines.c
4652 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4653 (list_append, list_insbefore): Likewise.
4654 (list_init): Function removed.
4655 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4656 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4657 * sysdeps/pthread/Makefile: ... here, new file.
4659 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4660 * sysdeps/nptl/Implies: ... here.
4661 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4662 * nptl/sysdeps/pthread/list.h: Moved ...
4663 * include/list.h: ... here.
4664 * nptl/sysdeps/pthread/createthread.c: Moved ...
4665 * nptl/createthread.c: ... here.
4666 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4667 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4668 * nptl/pt-longjmp.c: ... here.
4669 * nptl/sysdeps/pthread/Makefile: Moved ...
4670 * sysdeps/nptl/Makefile: ... here.
4671 * nptl/sysdeps/pthread/Subdirs: Moved ...
4672 * sysdeps/nptl/Subdirs: ... here.
4673 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4674 * sysdeps/nptl/aio_misc.h: ... here.
4675 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4676 * sysdeps/nptl/bits/libc-lock.h: ... here.
4677 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4678 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4679 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4680 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4681 * nptl/sysdeps/pthread/configure: Moved ...
4682 * sysdeps/nptl/configure: ... here.
4683 * nptl/sysdeps/pthread/configure.ac: Moved ...
4684 * sysdeps/nptl/configure.ac: ... here.
4685 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4686 * sysdeps/nptl/gai_misc.h: ... here.
4687 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4688 * sysdeps/nptl/librt-cancellation.c: ... here.
4689 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4690 * sysdeps/nptl/malloc-machine.h: ... here.
4691 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4692 * sysdeps/nptl/pthread-functions.h: ... here.
4693 * nptl/sysdeps/pthread/pthread.h: Moved ...
4694 * sysdeps/nptl/pthread.h: ... here.
4695 * nptl/sysdeps/pthread/setxid.h: Moved ...
4696 * sysdeps/nptl/setxid.h: ... here.
4697 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4698 * sysdeps/nptl/sigfillset.c: ... here.
4699 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4700 * sysdeps/nptl/tcb-offsets.h: ... here.
4701 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4702 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4703 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4704 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4705 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4706 * sysdeps/pthread/allocalim.h: ... here.
4707 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4708 * sysdeps/pthread/bits/sigthread.h: ... here.
4709 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4710 * sysdeps/pthread/flockfile.c: ... here.
4711 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4712 * sysdeps/pthread/ftrylockfile.c: ... here.
4713 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4714 * sysdeps/pthread/funlockfile.c: ... here.
4715 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4716 * sysdeps/pthread/posix-timer.h: ... here.
4717 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4718 * sysdeps/pthread/timer_create.c: ... here.
4719 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4720 * sysdeps/pthread/timer_delete.c: ... here.
4721 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4722 * sysdeps/pthread/timer_getoverr.c: ... here.
4723 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4724 * sysdeps/pthread/timer_gettime.c: ... here.
4725 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4726 * sysdeps/pthread/timer_routines.c: ... here.
4727 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4728 * sysdeps/pthread/timer_settime.c: ... here.
4729 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4730 * sysdeps/pthread/tst-timer.c: ... here.
4731 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4732 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4734 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4735 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4737 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4738 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4739 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4740 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4741 Update #include target.
4742 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4743 * sysdeps/i386/i686/nptl/Makefile: ... here.
4744 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4745 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4746 Update #include target.
4747 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4748 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4749 * nptl/sysdeps/i386/Makefile: Moved ...
4750 * sysdeps/i386/nptl/Makefile: ... here.
4751 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4752 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4753 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4754 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4755 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4756 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4757 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4758 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4759 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4760 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4761 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4762 * nptl/sysdeps/i386/tls.h: Moved ...
4763 * sysdeps/i386/nptl/tls.h: ... here.
4765 * sysdeps/sh/Makefile [$(subdir) = csu]
4766 (gen-as-const-headers): Add tcb-offsets.sym.
4767 * nptl/sysdeps/sh/Makefile: File removed.
4768 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4769 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4770 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4771 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4772 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4773 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4774 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4775 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4776 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4777 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4778 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4779 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4780 * nptl/sysdeps/sh/tls.h: Moved ...
4781 * sysdeps/sh/nptl/tls.h: ... here.
4782 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4783 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4785 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4786 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4787 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4788 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4789 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4790 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4791 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4793 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4795 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4797 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4799 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4801 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4802 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4803 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4808 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4811 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4813 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4815 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4816 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4817 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4819 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4821 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4823 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4825 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4827 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4828 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4829 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4831 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4833 * posix/spawn_faction_addopen.c: Include string.h.
4835 2014-06-11 Roland McGrath <roland@hack.frob.com>
4837 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4838 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4839 * nptl/sysdeps/x86_64/Makefile: Moved ...
4840 * sysdeps/x86_64/nptl/Makefile: ... here.
4841 * nptl/sysdeps/x86_64/configure: Moved ...
4842 * sysdeps/x86_64/nptl/configure: ... here.
4843 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4844 * sysdeps/x86_64/nptl/configure.ac: ... here.
4845 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4846 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4847 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4848 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4849 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4850 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4851 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4852 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4853 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4854 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4855 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4856 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4857 * nptl/sysdeps/x86_64/tls.h: Moved ...
4858 * sysdeps/x86_64/nptl/tls.h: ... here.
4859 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4860 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4861 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4862 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4864 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4866 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4870 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4872 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4874 [POSIX] (off_t): Likewise.
4875 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4876 [POSIX] (S_ISBLK): Require macro.
4877 [POSIX] (S_ISCHR): Likewise.
4878 [POSIX] (S_ISDIR): Likewise.
4879 [POSIX] (S_ISFIFO): Likewise.
4880 [POSIX] (S_ISREG): Likewise.
4881 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4883 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4885 [POSIX] (time_t): Likewise.
4886 [POSIX] (timer_t): Likewise.
4888 2014-06-11 Florian Weimer <fweimer@redhat.com>
4891 * posix/spawn_int.h (struct __spawn_action): Make the path string
4892 non-const to support deallocation.
4893 * posix/spawn_faction_addopen.c
4894 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4895 * posix/spawn_faction_destroy.c
4896 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4897 path in all spawn_do_open actions.
4898 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4899 posix_spawn_file_actions_addopen.
4901 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4903 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4904 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4905 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4906 conditional code always true.
4907 (__libc_vfork): New alias.
4909 2014-06-11 Roland McGrath <roland@hack.frob.com>
4911 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4912 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4914 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4916 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4917 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4919 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4920 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4922 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4923 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4925 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4927 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4928 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4929 multiarch strcmp for PPC64.
4930 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4931 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4933 multiarch optimizations.
4934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4935 (__libc_ifunc_impl_list): Likewise.
4937 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4939 * benchtests/scripts/validate_benchout.py: New script.
4940 * benchtests/Makefile (bench-func): Call it.
4941 * benchtests/scripts/benchout.schema.json: New file.
4943 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4945 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4946 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4947 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4948 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4949 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4950 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4951 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4952 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4953 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4954 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4955 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4956 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4957 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4958 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4959 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4960 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5065 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5067 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5070 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5077 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5079 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5080 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5081 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5083 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5086 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5089 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5091 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5094 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5098 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5099 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5100 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5102 2014-06-10 Wilco <wdijkstr@arm.com>
5104 * math/test-fenv-return.c: New file.
5105 * math/Makefile: Add new test test-fenv-return.
5107 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5110 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5112 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5113 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5114 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5115 0.0L for an argument of 1.0L.
5116 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5118 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5119 value when x - 1 is zero.
5120 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5121 * sysdeps/i386/fpu/libm-test-ulps: Update.
5122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5127 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5129 2014-06-09 Roland McGrath <roland@hack.frob.com>
5131 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5132 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5134 2014-06-09 Roland McGrath <roland@hack.frob.com>
5136 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5137 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5139 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5140 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5142 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5143 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5145 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5146 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5148 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5149 if not already defined.
5150 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5151 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5152 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5153 (TLS_INIT_TP): Use it.
5154 (TLS_DEFINE_INIT_TP): New macro.
5155 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5157 2014-06-09 Joseph Myers <joseph@codesourcery.com>
5159 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5161 [POSIX] (IXANY): Likewise.
5162 [POSIX] (OLCUC): Likewise.
5163 [POSIX || POSIX2008] (CBAUD): Do not allow.
5164 [POSIX || POSIX2008] (DEFECHO): Likewise.
5165 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5166 [POSIX || POSIX2008] (ECHOKE): Likewise.
5167 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5168 [POSIX || POSIX2008] (EXTA): Likewise.
5169 [POSIX || POSIX2008] (EXTB): Likewise.
5170 [POSIX || POSIX2008] (FLUSHO): Likewise.
5171 [POSIX || POSIX2008] (LOBLK): Likewise.
5172 [POSIX || POSIX2008] (PENDIN): Likewise.
5173 [POSIX || POSIX2008] (SWTCH): Likewise.
5174 [POSIX || POSIX2008] (VDISCARD): Likewise.
5175 [POSIX || POSIX2008] (VDSUSP): Likewise.
5176 [POSIX || POSIX2008] (VLNEXT): Likewise.
5177 [POSIX || POSIX2008] (VREPRINT): Likewise.
5178 [POSIX || POSIX2008] (VSTATUS): Likewise.
5179 [POSIX || POSIX2008] (VWERASE): Likewise.
5180 (B*): Change to B[0123456789]*.
5181 * conform/data/time.h-data [POSIX || UNIX98]
5182 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5183 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5184 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5185 [POSIX] (tm_*): Do not allow.
5187 2014-06-07 Joseph Myers <joseph@codesourcery.com>
5189 * Makefile (install): Don't set LANGUAGE.
5190 * Makefile.in (install): Likewise.
5191 * assert/Makefile (test-assert-ENV): Remove variable.
5192 (test-assert-perr-ENV): Likewise.
5193 * elf/Makefile (neededtest4-ENV): Likewise.
5194 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5195 [$(cross-compiling) = no]: Don't set LANGUAGE.
5196 * io/ftwtest-sh (LANG): Remove variable.
5197 * libio/Makefile (tst-widetext-ENV): Likewise.
5198 * manual/install.texi (Running make install): Don't refer to
5199 environment settings for make install.
5200 * INSTALL: Regenerated.
5201 * nptl/tst-tls6.sh: Don't set LANG.
5202 * posix/globtest.sh (LANG): Remove variable.
5203 * string/Makefile (tester-ENV): Likewise.
5204 (inl-tester-ENV): Likewise.
5205 (noinl-tester-ENV): Likewise.
5206 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5207 [$(cross-compiling) = no]: Don't set LANGUAGE.
5208 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5209 without explicit environment settings.
5211 2014-06-06 Roland McGrath <roland@hack.frob.com>
5213 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5214 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5215 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5216 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5218 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5220 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5221 other files in the crypt directory.
5222 * crypt/crypt.c: Remove duplicate includes.
5223 * crypt/crypt-entry.c: Likewise.
5224 * crypt/crypt_util.c: Likewise.
5226 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5228 * Makeconfig (run-program-env): New variable.
5229 (run-program-prefix-before-env): Likewise.
5230 (run-program-prefix-after-env): Likewise.
5231 (run-program-prefix): Define in terms of new variables.
5232 (built-program-cmd-before-env): New variable.
5233 (built-program-cmd-after-env): Likewise.
5234 (built-program-cmd): Define in terms of new variables.
5235 (test-program-prefix-before-env): New variable.
5236 (test-program-prefix-after-env): Likewise.
5237 (test-program-prefix): Define in terms of new variables.
5238 (test-program-cmd-before-env): New variable.
5239 (test-program-cmd-after-env): Likewise.
5240 (test-program-cmd): Define in terms of new variables.
5241 * Rules (make-test-out): Use $(run-program-env).
5242 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5243 (help): Do not mention environment variables. Mention
5244 --timeoutfactor option.
5245 (timeoutfactor): New variable.
5246 (blacklist_exports): Remove function.
5247 (exports): Remove variable.
5248 (command): Do not include ${exports}.
5249 * manual/install.texi (Configuring and compiling): Do not mention
5250 test wrappers preserving environment variables. Mention that last
5251 assignment to a variable must take precedence.
5252 * INSTALL: Regenerated.
5253 * benchtests/Makefile (run-bench): Use $(run-program-env).
5254 * catgets/Makefile ($(objpfx)test1.cat): Use
5255 $(built-program-cmd-before-env), $(run-program-env) and
5256 $(built-program-cmd-after-env).
5257 ($(objpfx)test2.cat): Do not specify environment variables
5259 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5260 $(run-program-env) and $(built-program-cmd-after-env).
5261 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5262 $(run-program-env) and $(test-program-cmd-after-env).
5263 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5265 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5266 run_program_env and test_program_cmd_after_env arguments.
5267 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5268 * elf/tst-pathopt.sh: Use run_program_env argument.
5269 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5270 $(test-wrapper-env) and $(run-program-env).
5271 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5272 run_program_env arguments.
5273 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5274 * intl/Makefile ($(objpfx)tst-gettext.out): Use
5275 $(test-program-prefix-before-env), $(run-program-env) and
5276 $(test-program-prefix-after-env).
5277 ($(objpfx)tst-gettext2.out): Likewise.
5278 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5279 run_program_env and test_program_prefix_after_env arguments.
5280 * intl/tst-gettext2.sh: Likewise.
5281 * intl/tst-gettext4.sh: Do not set environment variables
5283 * intl/tst-gettext6.sh: Likewise.
5284 * intl/tst-translit.sh: Likewise.
5285 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5286 $(test-program-prefix-before-env), $(run-program-env) and
5287 $(test-program-prefix-after-env).
5288 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5289 run_program_env and test_program_prefix_after_env arguments.
5290 * math/Makefile (run-regen-ulps): Use $(run-program-env).
5291 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5292 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
5293 explicitly with each use of ${test_wrapper_env}.
5294 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5295 $(test-program-prefix-before-env), $(run-program-env) and
5296 $(test-program-prefix-after-env).
5297 * posix/tst-getconf.sh: Do not set environment variables
5299 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5300 run_program_env and test_program_prefix_after_env arguments.
5301 * stdio-common/tst-printf.sh: Do not set environment variables
5303 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5304 $(test-program-prefix-before-env), $(run-program-env) and
5305 $(test-program-prefix-after-env).
5306 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5307 run_program_env and test_program_prefix_after_env arguments.
5308 Split $test calls into $test_pre and $test.
5309 * timezone/Makefile (build-testdata): Use
5310 $(built-program-cmd-before-env), $(run-program-env) and
5311 $(built-program-cmd-after-env).
5313 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5316 strlen for non SHARED builds.
5318 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5320 * nptl/allocatestack.c (check_list): Inlined function...
5321 (__reclaim_stacks): ... here.
5323 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5326 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5329 2014-06-05 Joseph Myers <joseph@codesourcery.com>
5331 * Rules (make-test-out): Include
5332 LOCPATH=$(common-objpfx)localedata in default environment.
5333 * debug/Makefile (tst-chk1-ENV): Remove variable.
5334 (tst-chk2-ENV): Likewise.
5335 (tst-chk3-ENV): Likewise.
5336 (tst-chk4-ENV): Likewise.
5337 (tst-chk5-ENV): Likewise.
5338 (tst-chk6-ENV): Likewise.
5339 (tst-lfschk1-ENV): Likewise.
5340 (tst-lfschk2-ENV): Likewise.
5341 (tst-lfschk3-ENV): Likewise.
5342 (tst-lfschk4-ENV): Likewise.
5343 (tst-lfschk5-ENV): Likewise.
5344 (tst-lfschk6-ENV): Likewise.
5345 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5346 (tst-iconv7-ENV): Likewise.
5347 * intl/Makefile (LOCPATH-ENV): Likewise.
5348 (tst-codeset-ENV): Likewise.
5349 (tst-gettext3-ENV): Likewise.
5350 (tst-gettext5-ENV): Likewise.
5351 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5352 (tst-fopenloc-ENV): Likewise.
5353 (tst-fgetws-ENV): Remove variable.
5354 (tst-ungetwc1-ENV): Likewise.
5355 (tst-ungetwc2-ENV): Likewise.
5356 (bug-ungetwc2-ENV): Likewise.
5357 (tst-swscanf-ENV): Likewise.
5358 (bug-ftell-ENV): Likewise.
5359 (tst-fgetwc-ENV): Likewise.
5360 (tst-fseek-ENV): Likewise.
5361 (tst-ftell-partial-wide-ENV): Likewise.
5362 (tst-ftell-active-handler-ENV): Likewise.
5363 (tst-ftell-append-ENV): Likewise.
5364 * posix/Makefile (tst-fnmatch-ENV): Likewise.
5365 (tst-regexloc-ENV): Likewise.
5366 (bug-regex1-ENV): Likewise.
5367 (tst-regex-ENV): Likewise.
5368 (tst-regex2-ENV): Likewise.
5369 (bug-regex5-ENV): Likewise.
5370 (bug-regex6-ENV): Likewise.
5371 (bug-regex17-ENV): Likewise.
5372 (bug-regex18-ENV): Likewise.
5373 (bug-regex19-ENV): Likewise.
5374 (bug-regex20-ENV): Likewise.
5375 (bug-regex22-ENV): Likewise.
5376 (bug-regex23-ENV): Likewise.
5377 (bug-regex25-ENV): Likewise.
5378 (bug-regex26-ENV): Likewise.
5379 (bug-regex30-ENV): Likewise.
5380 (bug-regex32-ENV): Likewise.
5381 (bug-regex33-ENV): Likewise.
5382 (bug-regex34-ENV): Likewise.
5383 (bug-regex35-ENV): Likewise.
5384 (tst-rxspencer-ENV): Likewise.
5385 (tst-rxspencer-no-utf8-ENV): Likewise.
5386 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5387 (tst-sscanf-ENV): Likewise.
5388 (tst-swprintf-ENV): Likewise.
5389 (tst-swscanf-ENV): Likewise.
5390 (test-vfprintf-ENV): Likewise.
5391 (scanf13-ENV): Likewise.
5392 (bug14-ENV): Likewise.
5393 (tst-grouping-ENV): Likewise.
5394 * stdlib/Makefile (tst-strtod-ENV): Likewise.
5395 (tst-strtod3-ENV): Likewise.
5396 (tst-strtod4-ENV): Likewise.
5397 (tst-strtod5-ENV): Likewise.
5398 (testmb2-ENV): Likewise./
5399 * string/Makefile (tst-strxfrm-ENV): Likewise.
5400 (tst-strxfrm2-ENV): Likewise.
5401 (bug-strcoll1-ENV): Likewise.
5402 (test-strcasecmp-ENV): Likewise.
5403 (test-strncasecmp-ENV): Likewise.
5404 * time/Makefile (tst-strptime-ENV): Likewise.
5405 (tst-ftime_l-ENV): Likewise.
5406 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5407 (tst-mbrtowc-ENV): Likewise.
5408 (tst-wcrtomb-ENV): Likewise.
5409 (tst-mbrtowc2-ENV): Likewise.
5410 (tst-c16c32-1-ENV): Likewise.
5411 (tst-mbsnrtowcs-ENV): Likewise.
5413 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
5415 * manual/resource.texi (How to get information about the memory
5416 subsystem?): Fix typo.
5417 Reported by Peon de la Parra Ivan <peon@keba.com>
5419 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
5422 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5423 (pthread_spin_lock): Branch out of spin loop to proper location.
5424 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5425 (pthread_spin_lock): Likewise.
5427 * nptl/tst-spin4.c: New test.
5428 * nptl/Makefile (tests): Add tst-spin4.
5430 2014-06-03 Andreas Schwab <schwab@suse.de>
5433 * resolv/res_send.c (send_dg): Reload file descriptor after
5436 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5438 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5440 2014-06-03 Richard Henderson <rth@redhat.com>
5442 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5443 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5444 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5445 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5446 in the SAVE_PID block.
5447 (__libc_vfork): New alias.
5448 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5450 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5451 child in registers, not on the stack. Remove RESET_PID conditionals.
5452 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5454 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5456 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5458 2014-06-03 Wilco <wdijkstr@arm.com>
5460 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5461 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5462 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5463 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5464 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5467 2014-06-03 Wilco <wdijkstr@arm.com>
5469 * sysdeps/aarch64/fpu/math_private.h
5470 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5471 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5472 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5473 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5476 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5478 * crypt/crypt-private.h: Include ufc-crypt.h.
5479 (__b64_from_24bit): Declare extern.
5480 * crypt/crypt_util.c(__b64_from_24bit): New function.
5481 (b64t): New static const variable.
5482 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5483 (b64t): Remove variable.
5484 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5485 * crypt/sha256-crypt.c: Include crypt-private.h.
5486 (b64t): Remove variable.
5487 (__sha256_crypt_r): Remove b64_from_24bit and replace
5488 with __b64_from_24bit.
5489 * crypt/sha512-crypt.c: Likewise.
5491 2014-06-02 Roland McGrath <roland@hack.frob.com>
5493 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5494 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5495 Label the code __libc_vfork rather than __vfork.
5496 [!NOT_IN_libc] (vfork): Define as weak alias.
5497 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5498 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5499 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5501 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5503 * malloc/malloc.c (malloc_info): Fix format specifier for
5506 2014-06-02 Wilco <wdijkstr@arm.com>
5508 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5511 2014-06-02 Wilco <wdijkstr@arm.com>
5514 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5515 Rewrite to reduce FPCR/FPSR accesses.
5517 2014-06-01 David S. Miller <davem@davemloft.net>
5519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5521 2014-05-31 David S. Miller <davem@davemloft.net>
5523 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5524 to occur in round to nearest mode when |x| >= 2.0
5526 2014-05-30 Richard Henderson <rth@twiddle.net>
5528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5529 (PSEUDO_RET_NOERRNO): Remove.
5530 (ret): Don't redefine.
5531 (ret_NOERRNO): Define in terms of ret.
5532 (ret_ERRVAL): Likewise.
5534 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5535 use of PSEUDO_RET; perform the error check directly.
5537 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5539 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5542 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5544 * malloc/malloc (malloc_info): Fix formatting.
5546 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5547 Roland McGrath <roland@hack.frob.com>
5549 * malloc/malloc (malloc_info): Also print mmapped statistics.
5551 2014-05-30 Roland McGrath <roland@hack.frob.com>
5553 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5554 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5556 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5558 * malloc/malloc.c (malloc_info): Inline mi_arena.
5560 2014-05-29 Richard Henderson <rth@twiddle.net>
5562 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5563 Remove comma before expanding ASM_ARGS_##nr.
5564 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5565 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5567 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5568 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5569 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5570 (ASM_ARGS_1): Add leading comma.
5572 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5573 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5574 to __errno_location.
5575 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5576 Remove the expected plt for __errno_location.
5578 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5579 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5582 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5583 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5584 it and break it down.
5585 (DOCARGS_0, DOCARGS_1): Do nothing.
5586 (DOCARGS_2): Update to store into the new stack frame.
5587 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5588 (UNDOCARGS_1): Update to restore from the new stack frame.
5589 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5590 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5593 (SINGLE_THREAD_P): New parameter for result regno.
5594 (PSEUDO): Update to match; use cbz instead of beq.
5596 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5597 Use ENTRY to define the _nocancel entry point. Share the syscall
5598 and syscall error check paths with the cancel path.
5601 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5602 whitespace; tabs before and after asm mnemonics.
5604 2014-05-29 Eric Wong <normalperson@yhbt.net>
5607 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5608 Call fstat64 or stat64 internally, depending on arguments passed.
5609 Replace stat buffer argument with file descriptor argument.
5610 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5611 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5612 Pass fd to __internal_statvfs instead of calling fstat64.
5613 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5614 Pass fd to __internal_statvfs64 instead of calling fstat64.
5615 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5616 Pass -1 to __internal_statvfs instead of calling stat64.
5617 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5618 Pass -1 to __internal_statvfs64 instead of calling stat64.
5620 2014-05-28 Roland McGrath <roland@hack.frob.com>
5622 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5623 that was previously under [RESET_PID].
5624 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5626 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5627 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5629 2014-05-27 Roland McGrath <roland@hack.frob.com>
5631 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5633 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5634 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5636 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5638 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5640 2014-05-27 Andreas Schwab <schwab@suse.de>
5642 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5644 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5645 * elf/rtld.c (init_tls, dl_main): Likewise.
5646 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5647 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5648 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5649 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5650 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5651 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5652 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5653 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5654 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5655 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5656 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5657 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5658 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5659 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5660 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5661 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5662 * sysdeps/generic/tls.h: Update description.
5664 2014-05-27 Will Newton <will.newton@linaro.org>
5667 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5668 and restore r2 rather than just restoring.
5670 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5673 * libio/tst-ftell-append.c: New test case.
5674 * libio/Makefile (tests): Add test case.
5675 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5677 * libio/wfileops.c (do_ftell_wide): Likewise.
5679 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5683 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5687 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5688 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5689 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5690 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5691 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5692 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5696 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5699 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5700 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5701 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5702 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5703 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5705 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5706 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5708 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5710 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5712 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5713 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5714 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5716 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5717 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5718 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5719 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5737 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5742 conditional [RESET_PID].
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5746 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5751 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5752 (__libc_vfork): New strong alias.
5753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5755 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5760 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5761 (__libc_vfork): New strong alias.
5762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5767 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5769 * malloc/malloc.c (mi_arena): New function.
5770 (malloc_info): Remove nested function mi_arena. Call non-nosted
5773 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5775 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5777 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5778 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5779 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5780 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5781 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5782 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5783 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5785 2014-05-26 Andreas Schwab <schwab@suse.de>
5788 * locale/programs/repertoire.c (repertoire_read): Add slash
5789 between I18NPATH element and file name.
5790 * locale/programs/locfile.c (locfile_read): Likewise.
5792 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5794 * nptl/pthread_mutexattr_settype.c
5795 (__pthread_mutexattr_settype):
5796 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5798 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5800 * nptl/tst-mutex5 (do_test):
5801 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5803 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5805 * benchtests/README: Document 'init' directive.
5806 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5808 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5809 (parse_file): Recognize 'init' directive.
5811 2014-05-26 Kyle McMartin <kyle@redhat.com>
5814 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5815 alignment of struct pthread.
5817 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5820 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5821 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5822 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5823 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5825 2014-05-25 Richard Henderson <rth@twiddle.net>
5827 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5828 (SINGLE_THREAD_P_PIC): Remove.
5829 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5830 (SINGLE_THREAD_P_PIC): Remove.
5832 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5833 branch to syscall error ...
5835 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5836 from __local_syscall_error to .Lsyscall_error.
5837 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5838 (SYSCALL_ERROR): Update label name.
5840 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5841 Do not use DOARGS/UNDOARGS.
5842 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5843 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5844 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5845 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5846 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5848 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5851 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5852 define if !NOT_IN_libc.
5853 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5854 define with non-default symbol versions.
5856 2014-05-23 Richard Henderson <rth@twiddle.net>
5858 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5859 (vfork, __vfork): Define via compat_symbol.
5861 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5862 [!HAVE_IFUNC] (vfork_compat): Remove.
5863 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5865 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5868 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5869 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5872 2014-05-23 Richard Henderson <rth@twiddle.net>
5874 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5875 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5876 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5877 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5879 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5880 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5881 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5882 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5883 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5884 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5885 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5886 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5887 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5888 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5889 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5890 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5891 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5892 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5912 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5913 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5914 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5916 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5918 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5919 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5920 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5921 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5922 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5923 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5924 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5926 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5928 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5929 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5930 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5931 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5932 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5933 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5934 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5936 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5937 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5938 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5939 before exiting on error.
5940 (__libc_vfork): New strong alias.
5941 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5942 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5944 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5945 that was previously under [RESET_PID].
5946 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5948 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5950 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5953 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5954 value when x - 1 is zero.
5955 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5956 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5957 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5958 0.0L for an argument of 1.0L.
5959 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5961 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5962 value when x - 1 is zero.
5963 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5964 * sysdeps/i386/fpu/libm-test-ulps: Update.
5965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5967 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5969 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5970 alphasort and versionsort.
5972 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5976 [copysignf]: Likewise.
5978 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5980 * crypt/md5-crypt.c: Fix formatting.
5982 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5984 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5985 (b64_from_24bit): New function.
5987 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5989 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5990 libc_hidden_builtin_def to ifunc.
5991 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5992 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5994 2014-05-21 Roland McGrath <roland@hack.frob.com>
5996 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5997 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5999 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6001 * nscd/Depend (linuxthreads): Remove.
6003 * resolv/Depend (linuxthreads): Remove.
6004 * rt/Depend (linuxthreads): Remove.
6006 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6007 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6008 $(common-objpfx)elf/.
6009 (link-libc-before-gnulib): Likewise.
6010 (elfobjdir): Remove variable.
6011 * Makefile (install): Use $(elf-objpfx) instead of
6012 $(common-objpfx)elf/.
6013 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6015 (link-libc-deps): Likewise.
6016 ($(common-objpfx)libc.so): Likewise.
6017 ($(common-objpfx)linkobj/libc.so): Likewise.
6018 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6019 instead of $(common-objpfx)elf/.
6020 (symbolic-link-list): Likewise.
6021 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6022 [$(cross-compiling) = no]: Likewise.
6023 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6025 (static-gnulib-arch): Likewise.
6026 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6027 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6028 $(common-objpfx)elf/.
6030 2014-05-21 Richard Henderson <rth@redhat.com>
6032 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6033 (SINGLE_THREAD_P): Use the correct width load. Fold
6034 into the ldr offset.
6036 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6037 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6039 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6041 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6042 (libgcc_s_resume): Use __attribute_used__.
6043 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6046 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6049 optimization when used with float constants.
6051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6053 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6056 * locale/nl_langinfo_l.c: Make direct reference to every
6057 _nl_current_CATEGORY symbol.
6058 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6059 (tests-static): Add tst-langinfo-static.
6060 (tests-special): Add tst-langinfo-static.out.
6061 ($(objpfx)tst-langinfo.out): Redirect output.
6062 ($(objpfx)tst-langinfo-static.out): New.
6063 * localedata/tst-langinfo.sh: Send output to stdout.
6064 * localedata/tst-langinfo-static.c: New file.
6067 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6068 when the shift amount is modulo the limb size.
6070 2014-05-20 Richard Henderson <rth@redhat.com>
6073 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6074 Change type of sa_flags from unsigned int to int.
6077 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6079 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6081 2014-05-20 Will Newton <will.newton@linaro.org>
6083 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6084 Test the return value of the system call in the nocancel case.
6086 2014-05-20 Will Newton <will.newton@linaro.org>
6087 Yvan Roux <yvan.roux@linaro.org>
6089 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6090 #include of asm/ptrace.h.
6091 (PTRACE_GET_THREAD_AREA): Remove #undef.
6092 (PTRACE_GETHBPREGS): Likewise.
6093 (PTRACE_SETHBPREGS): Likewise.
6094 (struct user_regs_struct): New structure.
6095 (struct user_fpsimd_struct): New structure.
6096 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6097 #include of asm/ptrace.h and second #include of sys/user.h.
6098 (PTRACE_GET_THREAD_AREA): Remove #undef.
6099 (PTRACE_GETHBPREGS): Likewise.
6100 (PTRACE_SETHBPREGS): Likewise.
6101 (ELF_NGREG): Use new struct user_regs_struct.
6102 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6104 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6109 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6112 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6113 membar to avoid block loads/stores to overlap previous stores.
6115 2014-05-17 Richard Henderson <rth@redhat.com>
6117 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6118 Create the __##syscall_name##_nocancel entry point.
6119 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6120 Remove; let the sysdep-cancel.h code create it.
6122 2014-05-17 David S. Miller <davem@davemloft.net>
6124 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6125 Protect with __USE_GNU.
6126 (TIOCSET_TEMPT): Likewise.
6127 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6128 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6129 these are already provided in bits/ioctl-types.h
6131 2014-05-16 Roland McGrath <roland@hack.frob.com>
6133 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6134 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6136 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6137 Use wait4 regardless of [__NR_waitpid].
6139 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6142 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6143 (_FP_NANSIGN_Q): Set the quiet bit.
6145 2014-05-16 Joseph Myers <joseph@codesourcery.com>
6147 * benchtests/Makefile
6148 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6149 not $(common-objpfx)math/libm.so.
6150 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6151 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6152 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6153 $(common-objpfx)dlfcn/libdl.so.
6154 ($(objpfx)tst-audit8): Depend on $(libm), not
6155 $(common-objpfx)math/libm.so.
6156 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6157 not $(common-objpfx)dlfcn/libdl.so.
6159 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6160 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6161 [$(build-shared) = yes].
6162 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6163 $(common-objpfx)nptl/libpthread.so.
6164 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6165 $(common-objpfx)math/libm.so$(libm.so-version) or
6166 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6167 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6168 $(common-objpfx)dlfcn/libdl.so.
6169 * setjmp/Makefile (link-libm): Remove variable.
6170 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6171 * stdio-common/Makefile (link-libm): Remove variable.
6172 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6173 * stdlib/Makefile (link-libm): Remove variable.
6174 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6175 ($(objpfx)tst-strtod-round): Likewise.
6176 ($(objpfx)tst-tininess): Likewise.
6177 ($(objpfx)tst-strtod-underflow): Likewise.
6178 ($(objpfx)tst-strtod6): Likewise.
6179 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6180 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6181 $(common-objpfx)dlfcn/libdl.so.
6183 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6186 BSD terminal modes definitions.
6188 2014-05-16 Roland McGrath <roland@hack.frob.com>
6190 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6191 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6193 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6194 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6195 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6196 Don't do #include_next.
6197 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6198 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6199 Don't do #include_next.
6200 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6201 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6202 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6203 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6205 2014-05-16 Allan McRae <allan@archlinux.org>
6207 * po/sv.po: Update Swedish translation from translation project.
6209 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6212 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6215 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6216 errno if the TIOCGPTN ioctl fails with an error different than
6218 * login/tst-ptsname.c: New file.
6219 * login/Makefile (tests): Add tst-ptsname.
6222 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6225 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6229 herrno to return EAI_AGAIN.
6231 2014-05-14 Roland McGrath <roland@hack.frob.com>
6233 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6234 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6235 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6236 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6237 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6238 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6239 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6240 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6241 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6242 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6243 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6244 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6245 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6246 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6247 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6248 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6249 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6250 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6251 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6252 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6253 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6254 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6255 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6256 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6257 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6258 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6259 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6260 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6261 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6262 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6264 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6266 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6269 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6271 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6273 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6275 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6277 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6279 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6281 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6283 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6285 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6287 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6289 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6291 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6293 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6295 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6298 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6300 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6302 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6304 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6306 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6308 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6310 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6312 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6314 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6316 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6319 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6321 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6323 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6324 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6325 (libpthread-sysdep_routines): Add elision-related stuff here instead.
6326 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6327 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6328 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6329 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6330 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6331 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6332 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6333 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6334 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6335 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6336 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6337 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6338 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6339 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6340 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6341 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6342 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6343 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6344 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6345 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6348 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6349 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6350 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6351 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6352 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6353 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6355 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6356 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6358 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6359 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6360 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6361 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6362 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6365 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6366 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6368 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6369 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6371 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6375 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6376 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6379 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6380 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6381 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6383 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6384 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6385 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6386 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6388 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6389 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6391 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6393 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6394 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6395 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6396 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6397 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6399 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6401 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6403 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6404 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6405 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6406 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6407 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6410 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6411 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6413 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6414 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6416 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6420 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6421 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6424 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6425 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6426 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6428 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6429 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6430 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6431 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6433 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6434 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6438 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6439 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6440 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6441 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6442 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6444 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6446 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6448 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6449 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6450 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6451 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6452 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6453 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6454 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6455 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6456 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6459 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6460 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6462 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6463 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6465 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6466 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6468 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6469 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6470 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6471 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6472 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6475 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6476 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6477 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6478 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6479 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6480 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6481 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6482 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6484 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6485 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6487 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6489 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6490 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6491 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6492 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6493 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6495 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6497 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6500 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6501 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6502 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6503 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6504 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6505 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6506 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6507 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6508 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6509 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6511 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6512 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6514 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6515 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6517 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6518 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6519 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6520 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6521 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6522 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6523 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6524 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6525 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6526 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6527 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6528 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6529 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6530 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6531 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6533 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6534 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6536 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6538 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6541 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6543 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6545 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6550 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6553 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6559 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6561 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6562 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6563 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6564 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6565 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6566 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6567 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6568 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6569 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6571 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6572 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6573 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6574 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6575 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6577 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6578 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6579 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6580 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6581 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6582 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6583 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6584 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6585 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6586 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6589 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6591 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6592 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6593 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6594 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6596 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6598 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6599 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6600 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6601 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6602 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6603 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6604 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6611 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6627 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6628 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6629 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6630 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6631 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6632 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6633 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6634 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6636 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6637 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6638 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6639 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6641 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6642 that was previously under [RESET_PID].
6643 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6644 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6645 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6647 * sysdeps/i386/nptl/Implies: New file.
6648 * sysdeps/x86_64/nptl/Implies: New file.
6649 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6650 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6651 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6652 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6654 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6655 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6656 (__libc_vfork): New strong alias.
6657 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6658 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6660 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6661 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6662 (__libc_vfork): New strong alias.
6663 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6664 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6666 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6667 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6668 (__libc_vfork): New strong alias.
6669 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6670 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6671 * nptl/pt-vfork.c: New file.
6672 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6673 (libpthread: GLIBC_2.20): New version set (empty).
6675 2014-05-14 Will Newton <will.newton@linaro.org>
6677 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6680 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6683 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6684 arguments with exponent 65 or above.
6685 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6686 arguments 0x1p113L or above.
6687 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6688 to arguments 0x1p107L or above.
6689 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6690 positive arguments with exponent 65 or above.
6691 * math/auto-libm-test-in: Add more tests of log1p.
6692 * math/auto-libm-test-out: Regenerated.
6695 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6696 non-finite arguments is +0.
6697 * math/s_cacosf.c (__cacosf): Likewise.
6698 * math/s_cacosl.c (__cacosl): Likewise.
6699 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6700 * sysdeps/i386/fpu/libm-test-ulps: Update.
6701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6704 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6706 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6707 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6708 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6709 for explicit high bit of mantissa when testing for argument equal
6711 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6712 * sysdeps/i386/fpu/libm-test-ulps: Update.
6713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6716 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6717 (__erf): Scale by 16 instead of 8 in potentially underflowing
6718 case. Ensure exception if result actually underflows.
6719 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6720 (__erff): Scale by 16 instead of 8 in potentially underflowing
6721 case. Ensure exception if result actually underflows.
6722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6723 (efx8): Remove variable.
6724 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6725 case. Ensure exception if result actually underflows.
6726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6727 (efx8): Remove variable.
6728 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6729 case. Ensure exception if result actually underflows.
6730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6731 (efx8): Remove variable.
6732 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6733 case. Ensure exception if result actually underflows.
6734 * math/auto-libm-test-in: Add more tests of erf.
6735 * math/auto-libm-test-out: Regenerated.
6737 2014-05-14 Andreas Schwab <schwab@suse.de>
6739 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6740 Remove code conditionalized on USE___THREAD.
6742 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6743 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6746 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6749 Define unconditionally.
6750 (__ASSUME_O_CLOEXEC): Likewise.
6751 (__ASSUME_SOCK_CLOEXEC): Likewise.
6752 (__ASSUME_IN_NONBLOCK): Likewise.
6753 (__ASSUME_PIPE2): Likewise.
6754 (__ASSUME_EVENTFD2): Likewise.
6755 (__ASSUME_SIGNALFD4): Likewise.
6756 (__ASSUME_DUP3): Likewise.
6757 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6758 (__ASSUME_DUP3): Do not define.
6759 (__ASSUME_EVENTFD2): Likewise.
6760 (__ASSUME_IN_NONBLOCK): Likewise.
6761 (__ASSUME_O_CLOEXEC): Likewise.
6762 (__ASSUME_PIPE2): Likewise.
6763 (__ASSUME_SIGNALFD4): Likewise.
6764 (__ASSUME_SOCK_CLOEXEC): Likewise.
6765 (__ASSUME_UTIMES): Undefine.
6766 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6767 (__ASSUME_UTIMES): Do not define.
6768 (__ASSUME_O_CLOEXEC): Likewise.
6769 (__ASSUME_SOCK_CLOEXEC): Likewise.
6770 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6771 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6773 (__ASSUME_PIPE2): Likewise.
6774 (__ASSUME_EVENTFD2): Likewise.
6775 (__ASSUME_SIGNALFD4): Likewise.
6776 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6777 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6779 (__ASSUME_EVENTFD2): Likewise.
6780 (__ASSUME_SIGNALFD4): Likewise.
6781 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6782 (__ASSUME_32BITUIDS): Likewise.
6783 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6784 (__ASSUME_IPC64): Likewise.
6785 (__ASSUME_ST_INO_64_BIT): Likewise.
6786 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6787 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6788 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6789 (__ASSUME_UTIMES): Do not define.
6790 (__ASSUME_PSELECT): Likewise.
6791 (__ASSUME_PPOLL): Likewise.
6792 (__ASSUME_O_CLOEXEC): Likewise.
6793 (__ASSUME_SOCK_CLOEXEC): Likewise.
6794 (__ASSUME_IN_NONBLOCK): Likewise.
6795 (__ASSUME_PIPE2): Likewise.
6796 (__ASSUME_EVENTFD2): Likewise.
6797 (__ASSUME_SIGNALFD4): Likewise.
6798 (__ASSUME_DUP3): Likewise.
6799 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6800 (__ASSUME_UTIMES): Likewise.
6801 (__ASSUME_O_CLOEXEC): Likewise.
6802 (__ASSUME_SOCK_CLOEXEC): Likewise.
6803 (__ASSUME_IN_NONBLOCK): Likewise.
6804 (__ASSUME_PIPE2): Likewise.
6805 (__ASSUME_EVENTFD2): Likewise.
6806 (__ASSUME_SIGNALFD4): Likewise.
6807 (__ASSUME_DUP3): Likewise.
6808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6809 (__ASSUME_UTIMES): Likewise.
6810 (__ASSUME_O_CLOEXEC): Likewise.
6811 (__ASSUME_SOCK_CLOEXEC): Likewise.
6812 (__ASSUME_IN_NONBLOCK): Likewise.
6813 (__ASSUME_PIPE2): Likewise.
6814 (__ASSUME_EVENTFD2): Likewise.
6815 (__ASSUME_SIGNALFD4): Likewise.
6816 (__ASSUME_DUP3): Likewise.
6817 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6819 (__ASSUME_UTIMES): Likewise.
6820 (__ASSUME_EVENTFD2): Likewise.
6821 (__ASSUME_SIGNALFD4): Likewise.
6822 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6823 (__ASSUME_O_CLOEXEC): Likewise.
6824 (__ASSUME_SOCK_CLOEXEC): Likewise.
6825 (__ASSUME_IN_NONBLOCK): Likewise.
6826 (__ASSUME_PIPE2): Likewise.
6827 (__ASSUME_EVENTFD2): Likewise.
6828 (__ASSUME_SIGNALFD4): Likewise.
6829 (__ASSUME_DUP3): Likewise.
6830 (__ASSUME_UTIMES): Undefine.
6832 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6833 feclearexcept. Remove symbol versioning code.
6834 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6835 symbol versioning code.
6836 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6837 symbol versioning code.
6838 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6839 feupdateenv. Remove symbol versioning code.
6840 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6841 fegetexceptflag. Remove symbol versioning code.
6842 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6843 fesetexceptflag. Remove symbol versioning code.
6844 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6845 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6846 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6847 (__posix_fadvise64_l32): Remove prototype.
6848 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6851 2014-05-13 Roland McGrath <roland@hack.frob.com>
6853 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6854 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6855 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6856 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6858 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6860 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6861 current working directory
6863 2014-05-13 Roland McGrath <roland@hack.frob.com>
6865 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6866 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6867 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6868 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6869 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6870 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6871 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6872 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6874 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6875 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6876 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6877 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6878 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6879 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6880 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6881 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6882 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6883 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6884 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6885 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6886 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6887 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6888 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6889 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6890 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6891 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6892 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6893 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6894 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6895 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6896 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6897 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6898 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6899 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6900 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6901 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6902 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6903 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6904 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6905 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6906 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6908 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6909 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6911 * sysdeps/unix/sysv/linux/arm/Makefile
6912 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6913 Add rt-aeabi_unwind_cpp_pr1.
6914 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6915 Add nptl-aeabi_unwind_cpp_pr1.
6916 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6917 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6918 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6919 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6920 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6921 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6923 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6924 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6925 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6926 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6928 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6929 Deconditionalize the code that was previously under [RESET_PID].
6930 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6932 * sysdeps/generic/exit-thread.h: New file.
6933 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6934 * include/unistd.h (__exit_thread): Remove declaration.
6935 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6936 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6937 * csu/libc-start.c: Include <exit-thread.h>.
6938 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6939 * nptl/pthread_create.c: Include <exit-thread.h>.
6940 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6941 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6942 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6943 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6944 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6945 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6946 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6947 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6948 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6949 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6950 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6951 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6952 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6953 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6954 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6955 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6956 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6958 2014-05-13 Andreas Schwab <schwab@suse.de>
6960 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6962 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6964 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6965 (__ASSUME_UTIMES): Do not condition on kernel version.
6966 (__ASSUME_PSELECT): Define unconditionally.
6967 (__ASSUME_PPOLL): Likewise.
6968 (__ASSUME_ATFCTS): Likewise.
6969 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6970 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6971 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6972 (__ASSUME_UTIMENSAT): Define unconditionally.
6973 (__ASSUME_PRIVATE_FUTEX): Likewise.
6974 (__ASSUME_FALLOCATE): Likewise.
6975 (__ASSUME_O_CLOEXEC): Likewise.
6976 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6977 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6978 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6979 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6980 (__ASSUME_IN_NONBLOCK): Likewise.
6981 (__ASSUME_PIPE2): Likewise.
6982 (__ASSUME_EVENTFD2): Likewise.
6983 (__ASSUME_SIGNALFD4): Likewise.
6984 (__ASSUME_DUP3): Likewise.
6985 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6986 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6987 (__ASSUME_AT_RANDOM): Likewise.
6988 (__ASSUME_PREADV): Likewise.
6989 (__ASSUME_PWRITEV): Likewise.
6990 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6991 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6992 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6993 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6994 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6996 (__ASSUME_O_CLOEXEC): Define unconditionally.
6997 (__ASSUME_PSELECT): Do not undefine conditionally.
6998 (__ASSUME_PPOLL): Likewise.
6999 (__ASSUME_ATFCTS): Likewise.
7000 (__ASSUME_SET_ROBUST_LIST): Likewise.
7001 (__ASSUME_UTIMENSAT): Likewise.
7002 (__ASSUME_FDATASYNC): Define unconditionally.
7003 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7004 (__ASSUME_SIGFRAME_V2): Likewise.
7005 )__ASSUME_EVENTFD2): Likewise.
7006 (__ASSUME_SIGNALFD4): Likewise.
7007 (__ASSUME_PSELECT): Do not undefine conditionally.
7008 (__ASSUME_PPOLL): Likewise.
7009 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7010 (__ASSUME_PSELECT): Define unconditionally.
7011 (__ASSUME_PPOLL): Likewise.
7012 (__ASSUME_O_CLOEXEC): Likewise.
7013 (__ASSUME_SOCK_CLOEXEC): Likewise.
7014 (__ASSUME_IN_NONBLOCK): Likewise.
7015 (__ASSUME_PIPE2): Likewise.
7016 (__ASSUME_EVENTFD2): Likewise.
7017 (__ASSUME_SIGNALFD4): Likewise.
7018 (__ASSUME_DUP3): Likewise.
7019 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7020 (__ASSUME_O_CLOEXEC): Likewise.
7021 (__ASSUME_SOCK_CLOEXEC): Likewise.
7022 (__ASSUME_IN_NONBLOCK): Likewise.
7023 (__ASSUME_PIPE2): Likewise.
7024 (__ASSUME_EVENTFD2): Likewise.
7025 (__ASSUME_SIGNALFD4): Likewise.
7026 (__ASSUME_DUP3): Likewise.
7027 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7028 (__ASSUME_EVENTFD2): Likewise.
7029 (__ASSUME_SIGNALFD4): Likewise.
7030 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7032 2014-05-12 Andreas Schwab <schwab@suse.de>
7035 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7036 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7037 than maximum RPC packet size.
7038 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7039 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7040 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7041 (_nss_nis_getservbyport_r): Likewise.
7043 2014-05-12 Will Newton <will.newton@linaro.org>
7045 * malloc/Makefile (tests): Add tst-mallopt.
7046 * malloc/tst-mallopt.c: New file.
7048 2014-05-09 Roland McGrath <roland@hack.frob.com>
7050 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7051 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7053 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7055 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7056 (tst-tlsmod6.so): Likewise.
7058 2014-05-09 Roland McGrath <roland@hack.frob.com>
7060 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7062 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7065 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7066 and <dl-procinfo.h>.
7067 (__fegetenv): Save SSE state in envp->__eip if supported.
7068 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7069 envp->__eip if supported.
7070 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7071 and <dl-procinfo.h>.
7072 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7073 __data_offset and __data_selector in environment to 0. Set SSE
7075 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7077 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7079 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7081 2014-05-09 Will Newton <will.newton@linaro.org>
7083 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7084 and libc_relro_required for ARM.
7085 * sysdeps/arm/preconfigure: Regenerate.
7087 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7088 Stefan Liebler <stli@linux.vnet.ibm.com>
7090 * config.make.in (enable-lock-elision): New Makefile variable.
7091 * configure.ac: Likewise.
7092 * configure: Regenerate.
7093 * sysdeps/s390/configure.ac:
7094 Add check for gcc transactions support.
7095 * sysdeps/s390/configure: Regenerate.
7096 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7097 Build elision files if enabled.
7098 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7099 Add lock elision support for s390.
7100 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7101 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7102 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7103 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7104 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7105 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7108 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7110 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7112 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7114 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7115 (__lll_timedlock_elision, __lll_lock_elision)
7116 (__lll_unlock_elision, __lll_trylock_elision)
7117 (lll_timedlock_elision, lll_lock_elision)
7118 (lll_unlock_elision, lll_trylock_elision): Add.
7119 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7120 (pthread_mutex_t): Add lock elision support for s390.
7122 2014-05-14 Wilco <wdijkstr@arm.com>
7124 * sysdeps/arm/fclrexcpt.c: Cleanup.
7125 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7126 * sysdeps/arm/feenablxcpt.c: Cleanup.
7127 * sysdeps/arm/fegetenv.c: Cleanup.
7128 * sysdeps/arm/fegetexcept.c: Cleanup.
7129 * sysdeps/arm/fegetround.c: Cleanup.
7130 * sysdeps/arm/feholdexcpt.c: Cleanup.
7131 * sysdeps/arm/fesetenv.c: Cleanup.
7132 * sysdeps/arm/fesetround.c: Cleanup.
7133 * sysdeps/arm/feupdateenv.c: Cleanup.
7134 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7135 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7136 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7137 * sysdeps/arm/ftestexcept.c: Cleanup.
7138 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7139 * sysdeps/arm/setfpucw.c: Cleanup.
7141 2014-05-09 Will Newton <will.newton@linaro.org>
7143 * sysdeps/arm/armv7/strcmp.S: New file.
7144 * NEWS: Mention addition of ARMv7 optimized strcmp.
7146 2014-05-08 Roland McGrath <roland@hack.frob.com>
7148 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7149 look for %.ac rather than %.in.
7151 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7152 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7153 * sysdeps/mach/hurd/configure: Regenerated.
7154 * sysdeps/unix/sysv/linux/configure: Regenerated.
7156 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7158 2014-05-07 Steve Ellcey <sellcey@mips.com>
7161 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7165 2014-05-07 Andreas Schwab <schwab@suse.de>
7167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7168 when skipping over non-matching result from nscd.
7170 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
7173 * nptl/sockperf.c (client): Check socket return value.
7176 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7177 nscd security class.
7179 2014-05-06 Roland McGrath <roland@hack.frob.com>
7181 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7182 * sysdeps/arm/unwind.h: ... here.
7184 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7187 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7190 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7192 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7193 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7194 multiarch strncpy for PPC64.
7195 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7196 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7198 multiarch optimizations.
7199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7200 (__libc_ifunc_impl_list): Likewise.
7201 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7202 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7203 multiarch stpncpy for PPC64.
7204 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7205 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7207 2014-05-06 Andreas Schwab <schwab@suse.de>
7210 * gmon/mcount.c (_MCOUNT_DECL): Use
7211 atomic_compare_and_exchange_bool_acq instead of
7212 catomic_compare_and_exchange_bool_acq.
7214 2014-05-05 Roland McGrath <roland@hack.frob.com>
7216 * elf/Makefile (others, install-bin): Remove pldd.
7217 (pldd-modules): Variable removed.
7218 ($(objpfx)pldd): Target removed.
7219 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7220 (others, install-bin): Append pldd here.
7221 ($(objpfx)pldd): New target.
7223 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7224 to 0, so the first #if test emitted later doesn't see it undefined.
7225 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7226 * sysdeps/gnu/errlist.c: Regenerated.
7228 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7230 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7231 [libc_hidden_builtin_def]: Define to empty value.
7232 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7233 [libc_hidden_builtin_def]: Likewise.
7234 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7235 [libc_hidden_builtin_def]: Likewise.
7236 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7237 [libc_hidden_builtin_def]: Likewise.
7238 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7239 __redirect_memcpy and define ifunc as default hidden symbol.
7240 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7241 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7243 2014-05-04 Adam Conrad <adconrad@0c3.net>
7245 * locale/iso-4217.def: Reintroduce XDR currency.
7247 2014-05-04 Allan McRae <allan@archlinux.org>
7249 * po/eo.po: Update Esperanto translation from translation project.
7251 2014-05-02 Carlos O'Donell <carlos@redhat.com>
7253 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7254 and FEATURE_INDEX_MAX to 1.
7255 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7257 2014-05-01 Steve Ellcey <sellcey@mips.com>
7259 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7260 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7261 * iconvdata/big5.c (ONE_DIRECTION): Define.
7262 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7263 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7264 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7265 * iconvdata/cp932.c (ONE_DIRECTION): Define.
7266 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7267 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7268 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7269 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7270 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7271 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7272 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7273 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7274 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7275 * iconvdata/gbk.c (ONE_DIRECTION): Define.
7276 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7277 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7278 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7279 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7280 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7281 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7282 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7283 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7284 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7285 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7286 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7287 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7288 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7289 * iconvdata/iso646.c (ONE_DIRECTION): Define.
7290 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7291 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7292 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7293 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7294 * iconvdata/johab.c (ONE_DIRECTION): Define.
7295 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7296 * iconvdata/sjis.c (ONE_DIRECTION): Define.
7297 * iconvdata/t.61.c (ONE_DIRECTION): Define.
7298 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7299 * iconvdata/tscii.c (ONE_DIRECTION): Define.
7300 * iconvdata/uhc.c (ONE_DIRECTION): Define.
7301 * iconvdata/unicode.c (ONE_DIRECTION): Define.
7302 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7303 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7304 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7306 2014-05-01 Roland McGrath <roland@hack.frob.com>
7308 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7309 (_IO_JUMPS_OFFSET): Define to 0.
7311 * nptl/sysdeps/pthread/bits/libc-lock.h
7312 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7313 (__libc_lock_define_initialized_recursive): Always define using
7314 initializer. Modern compilers treat uninitialized (implicit zero) and
7315 explicit zero initializers the same (i.e. put the datum in bss).
7317 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7319 * nscd/nscd-client.h: Include <string.h>.
7321 2014-05-01 David S. Miller <davem@davemloft.net>
7324 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7325 multiple zero bytes exist at the end of a string.
7326 Reported by Aurelien Jarno <aurelien@aurel32.net>
7328 * string/test-strcmp.c (check): Add explicit test for situations where
7329 there are multiple zero bytes after the first.
7331 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
7334 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7335 when compiling wprintf.
7336 * stdio-common/tstdiomisc.c (t3): New function.
7339 2014-05-01 Steve Ellcey <sellcey@mips.com>
7341 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7342 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7343 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7344 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7346 2014-05-01 Steve Ellcey <sellcey@mips.com>
7348 * stdlib/longlong.h: Updated from GCC.
7350 2014-05-01 Will Newton <will.newton@linaro.org>
7351 Bernard Ogden <bernie.ogden@linaro.org>
7353 * NEWS: Update fixed bug list.
7356 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7358 2014-04-30 David S. Miller <davem@davemloft.net>
7360 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7361 (libc_feholdexcept_setround_sparc_ctx): New function.
7362 (libc_fesetenv_sparc_ctx): Likewise.
7363 (libc_feupdateenv_sparc_ctx): Likewise.
7364 (libc_feholdsetround_sparc_ctx): Likewise.
7365 (libc_feholdexcept_setround_ctx): Define.
7366 (libc_feholdexcept_setroundf_ctx): Likewise.
7367 (libc_feholdexcept_setroundl_ctx): Likewise.
7368 (libc_fesetenv_ctx): Likewise.
7369 (libc_fesetenvf_ctx): Likewise.
7370 (libc_fesetenvl_ctx): Likewise.
7371 (libc_feupdateenv_ctx): Likewise.
7372 (libc_feupdateenvf_ctx): Likewise.
7373 (libc_feupdateenvl_ctx): Likewise.
7374 (libc_feresetround_ctx): Likewise.
7375 (libc_feresetroundf_ctx): Likewise.
7376 (libc_feresetroundl_ctx): Likewise.
7377 (libc_feholdsetround_ctx): Likewise.
7378 (libc_feholdsetroundf_ctx): Likewise.
7379 (libc_feholdsetroundl_ctx): Likewise.
7381 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7382 with __USE_GNU instead of XOPEN cpp guards.
7384 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7387 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7388 with XOPEN cpp guards.
7390 2014-04-30 Julian Brown <julian@codesourcery.com>
7393 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7396 2014-04-30 Joseph Myers <joseph@codesourcery.com>
7399 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7401 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7402 * sysdeps/unix/sysv/linux/configure: Regenerated.
7403 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7404 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7405 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7406 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7407 * README: Update reference to required Linux kernel version.
7408 * manual/install.texi (Linux): Update reference to required Linux
7409 kernel headers version.
7410 * INSTALL: Regenerated.
7412 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7414 [POSIX] (limits.h): Likewise.
7415 [POSIX] (math.h): Likewise.
7416 [POSIX] (sys/wait.h): Likewise.
7417 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7419 [POSIX] (stddef.h): Do not allow header inclusion.
7421 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7425 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
7427 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7428 Return immediately after lll_futex_wake.
7430 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7433 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7435 (datahead_init_pos): Call datahead_init_common early.
7436 (datahead_init_neg): Likewise.
7438 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7439 datahead_init_neg): New functions.
7440 * nscd/aicache.c (addhstaiX): Use them.
7441 * nscd/grpcache.c (cache_addgr): Likewise.
7442 * nscd/hstcache.c (cache_addhst): Likewise.
7443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7444 * nscd/netgroupcache.c (do_notfound): Likewise.
7445 (addgetnetgrentX): Likewise.
7446 (addinnetgrX): Likewise.
7447 * nscd/pwdcache.c (cache_addpw): Likewise.
7448 * nscd/servicescache.c (cache_addserv): Likewise.
7450 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7451 Atsushi Onoe <atsushi@onoe.org>
7456 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7457 one response is valid.
7458 * resolv/res_send.c (send_dg): Check for validity of other
7459 response if the current response is a referral.
7461 2014-04-29 Steve Ellcey <sellcey@mips.com>
7463 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7465 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7468 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7469 Always divide by positive zero when computing -Inf result.
7470 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7471 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7473 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7475 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7476 FPSCR if value do not change.
7477 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7478 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7479 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7480 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7481 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7482 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7485 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7487 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7488 * sysdeps/unix/sysv/linux/hppa: Move directory from
7489 ports/systeps/unix/sysv/linux/hppa.
7490 * README: Update listing for hppa-*-linux-gnu.
7492 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7495 * manual/stdio.texi (Hook functions): Fix types of stream hook
7498 * socket/sys/socket.h: Fix typo in comment.
7500 2014-04-28 Wilco <wdijkstr@arm.com>
7502 * sysdeps/arm/fenv_private.h: New file.
7503 * sysdeps/arm/math_private.h: New file.
7504 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7506 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7508 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7510 (La_x86_64_retval): Likewise.
7512 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7514 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7515 fpsr if value didn't change.
7516 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7517 to fpcr if value didn't change.
7518 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7519 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7520 fpsr or fpcr if value didn't change.
7521 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7522 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7523 fpcr if value didn't change.
7524 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7525 to fpsr if value didn't change.
7527 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7529 * nptl/tst-sem3.c: Use test-skeleton.c
7530 (main): Rename to do_test. Use return instead of
7532 * nptl/tst-sem4.c: Use test-skeleton.c
7533 (main): Rename to do_test.
7535 2014-04-22 David S. Miller <davem@davemloft.net>
7537 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7538 (struct sigaction): New struct member __glibc_reserved0, change
7539 type of sa_flags to int.
7541 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7543 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7544 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7546 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7548 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7549 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7551 2014-04-22 Will Newton <will.newton@linaro.org>
7552 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7554 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7555 (__longjmp): Add longjmp and longjmp_target SystemTap
7557 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7558 (__sigsetjmp): Add setjmp SystemTap probe.
7560 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7562 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7565 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7567 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7569 * sysdeps/powerpc/fpu/fenv_private.h
7570 (libc_feholdexcept_setroundl_ctx): Define to
7571 libc_feholdexcept_setround_ppc_ctx.
7572 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7573 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7574 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7575 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7577 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7579 * sysdeps/aarch64/math-tests.h: New file.
7581 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7583 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7586 Check and set bit_AVX2_Usable.
7587 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7589 (bit_AVX2): Likewise.
7590 (index_AVX2_Usable): Likewise.
7591 (CPUID_AVX2): Likewise.
7592 (HAS_AVX2): Likewise.
7594 2014-04-17 Will Newton <will.newton@linaro.org>
7596 * manual/setjmp.texi (System V contexts): Add note that
7597 calling setcontext on a context created by a call to a
7598 signal handler is undefined. Update text to note that
7599 setcontext from a signal handler is possible but not
7603 * stdlib/tst-setcontext.c: Include signal.h.
7604 (main): Check that the signal stack before and
7605 after swapcontext is the same.
7607 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7608 Re-implement to restore registers in user code and avoid
7609 rt_sigreturn system call.
7611 2014-04-17 Wilco <wdijkstr@arm.com>
7613 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7614 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7615 * math/test-fenv.c: Skip exception trap tests on targets which only
7616 support non-stop mode.
7618 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7619 Wilco Dijkstra <wilco.dijkstra@arm.com>
7621 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7622 (libc_feholdsetround_aarch64_ctx)
7623 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7624 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7625 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7626 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7627 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7628 (libc_feresetround_noexl_ctx): Define.
7630 2014-04-16 Richard Henderson <rth@redhat.com>
7632 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7634 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7637 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7638 const from the non-libc, non-ldso copy.
7640 * sysdeps/alpha/libm-test-ulps: Regenerate.
7642 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7643 Wilco Dijkstra <wilco.dijkstra@arm.com>
7645 * sysdeps/aarch64/fpu/math_private.h: New file.
7647 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7649 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7651 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7654 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7655 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7657 Intel MPX bound registers before _dl_profile_fixup.
7658 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7659 registers after _dl_profile_fixup. Save and restore bound
7660 registers bnd0/bnd1 when calling _dl_call_pltexit.
7661 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7662 (LR_BND_OFFSET): Likewise.
7663 (LRV_BND0_OFFSET): Likewise.
7664 (LRV_BND1_OFFSET): Likewise.
7666 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7668 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7670 * sysdeps/mach/hurd/i386/tls.h: ... here.
7671 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7672 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7675 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7677 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7679 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7681 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7683 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7686 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7687 * sysdeps/s390/configure: Regenerate.
7690 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7691 Set round-to-nearest internally to reduce error accumulation.
7693 2014-04-16 Alan Modra <amodra@gmail.com>
7697 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7698 * math/libm-test.inc (frexp_test_data): Add tests.
7699 * NEWS: Update fixed bug list.
7701 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7703 * benchtests/Makefile: Depend on libraries in build directory.
7704 (bench-math): Separate out math tests.
7705 (bench-pthread): Separate out pthread tests.
7706 (bench): Include math and pthread tests.
7708 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7711 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7712 _dl_debug_initialize.
7714 * configure.ac: Remove SELinux header check.
7715 * configure: Regenerate.
7716 * nscd/selinux.c (perms): Array of const char* to permission names.
7717 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7718 default policy. Call string_to_security_class and string_to_av_perm to
7719 translate strings. Enforce default policy and call avs_has_perm with
7720 results of translated strings.
7722 2014-04-13 David S. Miller <davem@davemloft.net>
7724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7726 2014-04-12 Allan McRae <allan@archlinux.org>
7729 * manual/string.texi (Collation Functions): Fix qsort argument
7731 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7733 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7735 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7736 Make the test a no-op if there are no exceptions defined.
7738 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7740 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7741 enable-hardcoded-path-in-tests
7743 2014-04-11 Will Newton <will.newton@linaro.org>
7745 * benchtests/Makefile (extra-objs): Add json-lib.o.
7746 (bench-func): Tidy up JSON output.
7747 * benchtests/bench-skeleton.c: Include json-lib.h.
7748 (main): Use JSON library functions to do output of
7750 * benchtests/bench-timing-type.c (main): Output the
7751 timing type simply, leaving formatting to the user.
7752 * benchtests/json-lib.c: New file.
7753 * benchtests/json-lib.h: Likewise.
7755 2014-04-11 Torvald Riegel <triegel@redhat.com>
7758 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7759 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7760 memory barriers. Add comments.
7761 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7762 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7763 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7764 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7765 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7766 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7768 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7770 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7771 * sysdeps/s390/s390-64/configure.ac: ... this ...
7772 * sysdeps/s390/configure.ac: ... to here.
7773 * sysdeps/s390/s390-32/configure: Delete file.
7774 * sysdeps/s390/s390-64/configure: Delete file.
7775 * sysdeps/s390/configure: Regenerate.
7777 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7779 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7781 2014-04-11 Will Newton <will.newton@linaro.org>
7783 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7784 to zero if it is not defined elsewhere. (mtrim): Test
7785 the value of MALLOC_DEBUG with #if rather than #ifdef.
7787 2014-04-10 Torvald Riegel <triegel@redhat.com>
7789 * benchtests/pthread_once-inputs: New file.
7790 * benchtests/pthread_once-source.c: New file.
7791 * benchtests/README: Update documentation.
7793 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7794 H.J. Lu <hongjiu.lu@intel.com>
7797 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7798 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7799 * sysdeps/x86_64/configure: Regenerated.
7800 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7802 (REGISTER_SAVE_RAX): Likewise.
7803 (REGISTER_SAVE_RCX): Likewise.
7804 (REGISTER_SAVE_RDX): Likewise.
7805 (REGISTER_SAVE_RSI): Likewise.
7806 (REGISTER_SAVE_RDI): Likewise.
7807 (REGISTER_SAVE_R8): Likewise.
7808 (REGISTER_SAVE_R9): Likewise.
7809 (REGISTER_SAVE_BND0): Likewise.
7810 (REGISTER_SAVE_BND1): Likewise.
7811 (REGISTER_SAVE_BND2): Likewise.
7812 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7813 bound registers when calling _dl_fixup.
7815 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7817 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7818 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7820 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7821 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7822 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7823 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7824 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7825 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7826 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7828 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7831 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7832 pathconf(_PC_NAME_MAX).
7834 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7836 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7838 (__PTHREAD_SPINS): Move definition to ...
7839 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7840 (__PTHREAD_SPINS): ... here.
7841 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7842 (__PTHREAD_SPIN): Likewise.
7843 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7844 (__PTHREAD_SPIN): Likewise.
7845 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7846 (__PTHREAD_SPIN): Likewise.
7847 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7848 (__PTHREAD_SPIN): Likewise.
7849 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7850 (__PTHREAD_SPIN): Likewise.
7851 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7852 (__PTHREAD_SPIN): Likewise.
7853 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7854 (__PTHREAD_SPIN): Likewise.
7855 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7856 (__PTHREAD_SPIN): Likewise.
7857 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7858 (__PTHREAD_SPIN): Likewise.
7859 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7860 (__PTHREAD_SPIN): Likewise.
7861 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7862 (__PTHREAD_SPIN): Likewise.
7863 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7864 (__PTHREAD_SPIN): Likewise.
7866 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7867 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7868 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7869 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7871 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7872 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7873 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7874 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7876 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7877 strlen symbol for non multi-arch builds.
7878 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7879 missing hidden_def and weak_alias.
7881 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7883 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7885 2014-04-07 Will Newton <will.newton@linaro.org>
7887 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7888 and contents. [!_LIBC] Remove #ifndef and contents.
7889 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7890 * string/memccpy.c (__memccpy): Use ANSI prototype.
7891 * string/memfrob.c (memfrob): Likewise.
7892 * string/strcoll.c (STRCOLL): Likewise.
7893 * string/strlen.c (strlen): Likewise.
7894 * string/strtok.c (STRTOK): Likewise.
7895 * string/strcat.c: Remove unused #include of memcopy.h.
7896 (strcat): Use ANSI prototype.
7897 * string/strchr.c: Remove unused #include of memcopy.h.
7898 (strchr): Use ANSI prototype.
7899 * string/strcmp.c: Remove unused #include of memcopy.h.
7900 (strcmp): Use ANSI prototype.
7901 * string/strcpy.c: Remove unused #include of memcopy.h.
7902 (strcpy): Use ANSI prototype.
7904 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7906 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7907 * config.make.in (config-extra-cppflags): Set it from
7908 libc_extra_cppflags.
7909 * configure.ac (libc_extra_cflags): Make it accumulate over
7910 configure fragments.
7911 (libc_extra_cppflags): New flag.
7912 * configure. Regenerate.
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7914 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7915 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7920 result for FE_DOWNWARD rounding mode.
7921 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7925 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7927 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7928 in function argument name.
7930 2014-04-03 David Svoboda <svoboda@cert.org>
7933 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7936 2014-04-03 Roland McGrath <roland@hack.frob.com>
7938 * elf/dl-unmap-segments.h: New file.
7939 * sysdeps/generic/ldsodefs.h
7940 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7941 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7942 * elf/dl-fptr.c: Likewise.
7943 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7944 * sysdeps/aarch64/tlsdesc.c: Likewise.
7945 * sysdeps/arm/tlsdesc.c: Likewise.
7946 * sysdeps/i386/tlsdesc.c: Likewise.
7947 * sysdeps/tile/dl-runtime.c: Likewise.
7948 * sysdeps/x86_64/tlsdesc.c: Likewise.
7949 * elf/dl-load.h: New file.
7950 * elf/dl-load.c: Include it.
7951 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7952 Macros moved to dl-load.h.
7953 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7954 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7955 Use _dl_unmap_segments in place of __munmap.
7956 Break out segment-mapping loop into ...
7957 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7959 2014-04-03 Will Newton <will.newton@linaro.org>
7961 * elf/dl-lookup.c (do_lookup_x): Remove comment
7962 referring to nested function and move variable
7963 declarations down to before first use.
7965 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7969 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7971 * math/s_catanf.c (__catanf): Likewise.
7972 * math/s_catanh.c (__catanh): Likewise.
7973 * math/s_catanhf.c (__catanhf): Likewise.
7974 * math/s_catanhl.c (__catanhl): Likewise.
7975 * math/s_catanl.c (__catanl): Likewise.
7976 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7977 by positive zero when computing -Inf result.
7978 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7979 (catanh_test): Likewise.
7980 * sysdeps/i386/fpu/libm-test-ulps: Update.
7981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7984 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7985 instead of using underflowing value in computing result.
7986 * math/s_clog10.c (__clog10): Likewise.
7987 * math/s_clog10f.c (__clog10f): Likewise.
7988 * math/s_clog10l.c (__clog10l): Likewise.
7989 * math/s_clogf.c (__clogf): Likewise.
7990 * math/s_clogl.c (__clogl): Likewise.
7991 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7992 (clog10_test): Likewise.
7993 * sysdeps/i386/fpu/libm-test-ulps: Update.
7994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7996 2014-04-02 Alan Modra <amodra@gmail.com>
7999 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8000 output when value is near a power of two. Use int64_t for lx and
8001 remove casts. Use decimal rather than hex exponent constants.
8002 Don't use long double multiplication when double will suffice.
8003 * math/libm-test.inc (nextafter_test_data): Add tests.
8004 * NEWS: Add 16739 and 16786 to bug list.
8006 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8008 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8010 2014-04-01 Will Newton <will.newton@linaro.org>
8012 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8013 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8015 2014-04-01 Florian Weimer <fweimer@redhat.com>
8018 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8019 * nptl/tst-setuid2.c: New file.
8020 * nptl/Makefile (xtests): Add tst-setuid2.
8022 2014-04-01 Alan Modra <amodra@gmail.com>
8025 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8027 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8031 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8032 set errno as appropriate.
8033 * math/w_scalbf.c (__scalbf): Likewise.
8034 * math/w_scalbl.c (__scalbl): Likewise.
8035 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8036 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8037 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8041 * math/w_atan2.c: Include <errno.h>.
8042 (__atan2): Set errno for result underflowing to zero.
8043 * math/w_atan2f.c: Include <errno.h>.
8044 (__atan2f): Set errno for result underflowing to zero.
8045 * math/w_atan2l.c: Include <errno.h>.
8046 (__atan2l): Set errno for result underflowing to zero.
8047 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8049 * math/auto-libm-test-out: Regenerated.
8051 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8053 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8054 Encode instruction correctly in little endian.
8055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8057 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8059 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8061 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8064 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8067 * sysdeps/unix/sysv/linux/kernel-features.h
8068 [__sparc__ && !__arch64__ && !__sparc_v9__]
8069 (__ASSUME_SET_ROBUST_LIST): Do not define.
8070 [__sparc__ && !__arch64__ && !__sparc_v9__]
8071 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8072 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8074 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8075 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8076 (__ASSUME_REQUEUE_PI): Likewise.
8077 (__ASSUME_SET_ROBUST_LIST): Likewise.
8078 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8079 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8082 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8084 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8086 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8088 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8089 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8091 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8092 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8096 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8097 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8098 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8100 2014-03-31 Will Newton <will.newton@linaro.org>
8102 * benchtests/Makefile (bench): Add ffs and ffsll to list
8104 * benchtests/ffs-inputs: New file.
8105 * benchtests/ffsll-inputs: Likewise.
8107 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8110 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8111 too large before casting to int.
8112 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8113 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8114 * math/libm-test.inc (scalb_test_data): Add more tests.
8116 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8118 * benchtests/Makefile (DETAILED_OPT): New make option.
8119 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8121 * benchtests/bench-skeleton.c: Include stdbool.h.
8122 (main): Store and print timings per input.
8123 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8124 member to each argument value.
8125 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8126 (_print_arg_data): Initialize per-input timing to 0.
8128 * benchtests/Makefile (timing-type): New binary.
8129 (bench-clean): Also remove bench-timing-type.
8130 (bench): New target for timing-type.
8131 (bench-func): Print output in JSON format.
8132 * benchtests/bench-skeleton.c (main): Print output in JSON
8134 * benchtests/bench-timing-type.c: New file.
8135 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8136 (TIMING_PRINT_STATS): Remove.
8137 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8140 * benchtests/bench-modf.c: Remove.
8141 * benchtests/modf-inputs: New inputs file.
8143 2014-03-28 Joseph Myers <joseph@codesourcery.com>
8146 * math/s_clog10.c (M_PI_LOG10E): New macro.
8147 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8148 imaginary parts are 0.
8149 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8150 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8151 imaginary parts are 0.
8152 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8153 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8154 imaginary parts are 0.
8155 * math/libm-test.inc (clog10_test_data): Update expected results
8156 for when real and imaginary parts are 0.
8158 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8160 * elf/dl-load.c: Finish conversion of __builtin_expect into
8163 2014-03-27 Joseph Myers <joseph@codesourcery.com>
8166 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8167 1+x for argument with exponent below -67.
8168 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8170 * math/auto-libm-test-in: Add more tests of exp.
8171 * math/auto-libm-test-out: Regenerated.
8173 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8176 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8177 (nscd_getnetgrent): Use it.
8180 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8183 2014-03-27 Andi Kleen <ak@linux.intel.com>
8185 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8186 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8187 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8188 (lll_robust_unlock): Remove out of line section. Use cfi
8190 (LLL_STUB_UNWIND_INFO*): Remove.
8191 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8192 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8193 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8194 (lll_robust_unlock): Remove out of line section. Use cfi
8196 (LLL_STUB_UNWIND_INFO*): Remove.
8198 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8201 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8204 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8206 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8208 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8211 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8213 * math/test-fenv-preserve.c: New file.
8214 * math/Makefile (tests): Add test-fenv-preserve.
8216 2014-03-26 Will Newton <will.newton@linaro.org>
8218 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8220 2014-03-25 Roland McGrath <roland@hack.frob.com>
8222 * scripts/versionlist.awk: Partition the version sets and emit all
8223 GLIBC_* (sorted) before all others (sorted).
8225 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8227 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8228 GLIBC_2.2.5 version.
8230 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8232 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8235 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8240 2014-03-25 Andreas Schwab <schwab@suse.de>
8242 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8243 label to be used after in6ailist is initialized.
8245 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8247 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8248 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8250 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8254 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8256 (fp_formats): Update initializers.
8257 (init_fp_formats): Initialize new field.
8258 (output_for_one_input_case): Allow underflow for results up to
8260 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8261 * math/auto-libm-test-in: Don't mark some underflows from asin and
8263 * math/auto-libm-test-out: Regenerated.
8264 * sysdeps/i386/fpu/libm-test-ulps: Update.
8265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8267 2014-03-25 Andreas Schwab <schwab@suse.de>
8269 * libio/Makefile (tst-ftell-partial-wide-ENV)
8270 (tst-ftell-active-handler-ENV): Define.
8272 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
8274 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8276 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8278 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8280 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8282 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8283 * sysdeps/x86_64/fpu/multiarch/e_exp.c
8284 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8286 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8289 * elf/dl-load.c (open_verify): Add mode parameter.
8290 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8291 (open_path): Change from boolean 'secure' to complete flag 'mode'
8292 (_dl_map_object): Adjust.
8293 * elf/Makefile (tests): Add tst-dlopen-aout.
8294 * elf/tst-dlopen-aout.c: New test.
8296 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8299 * sysdeps/unix/sysv/linux/s390/bits/stat.h
8300 (struct stat): Rename member pad0 to __glibc_reserved0.
8303 * sysdeps/s390/s390-32/bits/wordsize.h
8304 (__WORDSIZE32_SIZE_ULONG): New define.
8305 * sysdeps/s390/s390-64/bits/wordsize.h
8306 (__WORDSIZE32_SIZE_ULONG): Likewise.
8307 * sysdeps/generic/stdint.h (SIZE_MAX):
8308 Define as UL if __WORDSIZE32_SIZE_ULONG.
8311 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8312 (__glibc_reserved0): New variable.
8313 (sa_flags): Change type to int.
8315 * posix/Makefile (before-compile): Use += before-compile instead
8318 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8319 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8321 2014-03-20 Andreas Schwab <schwab@suse.de>
8324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8325 non-matching result from nscd.
8327 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8329 * scripts/bench.py: Moved to ...
8330 * benchtests/scripts/bench.py: ... here.
8331 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8333 2014-03-24 Andreas Schwab <schwab@suse.de>
8336 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8337 alloca_account and account alloca use for struct in6ailist.
8339 2014-03-24 Joseph Myers <joseph@codesourcery.com>
8342 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8343 rounding mode to recompute results that overflow to infinity or
8345 * math/auto-libm-test-in: Don't mark tests as expected to fail for
8347 * math/auto-libm-test-out: Regenerated.
8348 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8349 (ccosh_test): Likewise.
8350 (csin_test_data): Use plus_oflow.
8351 (csin_test): Use ALL_RM_TEST.
8352 (csinh_test_data): Use plus_oflow.
8353 (csinh_test): Use ALL_RM_TEST.
8354 * sysdeps/i386/fpu/libm-test-ulps: Update.
8355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8357 2014-03-21 Joseph Myers <joseph@codesourcery.com>
8359 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8360 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8361 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8364 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8366 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8367 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8368 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8369 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8371 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8372 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8374 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8375 * sysdeps/i386/fpu/libm-test-ulps: Update.
8376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8378 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8380 * scripts/bench.pl: Remove file.
8381 * scripts/bench.py: New benchmark script.
8382 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8383 * benchtests/README: Mention python dependency.
8384 * scripts/pylintrc: New file.
8385 * scripts/pylint: New file.
8387 * bits/mathdef.h: Use #ifdef instead of #if.
8388 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8389 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8390 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8391 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8392 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8393 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8395 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8396 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8398 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8400 and strpbrk-ppc64 objects.
8401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8402 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8403 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8404 multiarch strpbrk for POWER7.
8405 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8406 multiarch strpbrk for PPC64.
8407 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8409 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8412 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8414 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8415 (atan_test): Likewise.
8416 (atanh_test_data): Use NO_TEST_INLINE for two tests.
8417 (atanh_test): Use ALL_RM_TEST.
8418 (atan2_test_data): Likewise.
8419 (cabs_test): Likewise.
8420 (cacosh_test): Likewise.
8421 (carg_test): Likewise.
8422 (casin_test): Likewise.
8423 (casinh_test): Likewise.
8424 (cbrt_test): Likewise.
8425 (csqrt_test): Likewise.
8426 (erf_test): Likewise.
8427 (erfc_test): Likewise.
8428 (pow10_test): Likewise.
8429 (exp2_test): Likewise.
8430 (hypot_test): Likewise.
8431 (j0_test): Likewise.
8432 (j1_test): Likewise.
8433 (lgamma_test): Likewise.
8434 (gamma_test): Likewise.
8435 (sincos_test): Likewise.
8436 (tanh_test): Likewise.
8437 (y0_test): Likewise.
8438 (y1_test): Likewise.
8439 * sysdeps/i386/fpu/libm-test-ulps: Update.
8440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8442 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8444 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8446 and strcspn-ppc64 objects.
8447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8448 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8449 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8450 multiarch strcspn for POWER7.
8451 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8452 multiarch strcspn for PPC64.
8453 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8455 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8458 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8460 * math/gen-libm-test.pl (generate_testfile): Expect only function
8461 name as argument to AUTO_TESTS_* and pass results for all rounding
8462 modes to parse_args.
8463 (parse_auto_input): Separate inputs of automatic tests from
8464 outputs before storing in %auto_tests.
8465 * math/libm-test.inc (acos_test_data): Update call to
8467 (acos_test): Use ALL_RM_TEST.
8468 (acos_tonearest_test_data): Remove.
8469 (acos_test_tonearest): Likewise.
8470 (acos_towardzero_test_data): Likewise.
8471 (acos_test_towardzero): Likewise.
8472 (acos_downward_test_data): Likewise.
8473 (acos_test_downward): Likewise.
8474 (acos_upward_test_data): Likewise.
8475 (acos_test_upward): Likewise.
8476 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8477 (asin_test_data): Likewise.
8478 (asin_test): Use ALL_RM_TEST.
8479 (asin_tonearest_test_data): Remove.
8480 (asin_test_tonearest): Likewise.
8481 (asin_towardzero_test_data): Likewise.
8482 (asin_test_towardzero): Likewise.
8483 (asin_downward_test_data): Likewise.
8484 (asin_test_downward): Likewise.
8485 (asin_upward_test_data): Likewise.
8486 (asin_test_upward): Likewise.
8487 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8488 (atan_test_data): Likewise.
8489 (atanh_test_data): Likewise.
8490 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8491 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8492 (carg_test_data): Likewise.
8493 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8494 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8495 (ccosh_test_data): Likewise.
8496 (cexp_test_data): Likewise.
8497 (clog_test_data): Likewise.
8498 (clog10_test_data): Likewise.
8499 (cos_test_data): Update call to AUTO_TESTS_f_f.
8500 (cos_test): Use ALL_RM_TEST.
8501 (cos_tonearest_test_data): Remove.
8502 (cos_test_tonearest): Likewise.
8503 (cos_towardzero_test_data): Likewise.
8504 (cos_test_towardzero): Likewise.
8505 (cos_downward_test_data): Likewise.
8506 (cos_test_downward): Likewise.
8507 (cos_upward_test_data): Likewise.
8508 (cos_test_upward): Likewise.
8509 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8510 (cosh_test): Use ALL_RM_TEST.
8511 (cosh_tonearest_test_data): Remove.
8512 (cosh_test_tonearest): Likewise.
8513 (cosh_towardzero_test_data): Likewise.
8514 (cosh_test_towardzero): Likewise.
8515 (cosh_downward_test_data): Likewise.
8516 (cosh_test_downward): Likewise.
8517 (cosh_upward_test_data): Likewise.
8518 (cosh_test_upward): Likewise.
8519 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8520 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8521 (ctan_test_data): Likewise.
8522 (ctan_test): Use ALL_RM_TEST.
8523 (ctan_tonearest_test_data): Remove.
8524 (ctan_test_tonearest): Likewise.
8525 (ctan_towardzero_test_data): Likewise.
8526 (ctan_test_towardzero): Likewise.
8527 (ctan_downward_test_data): Likewise.
8528 (ctan_test_downward): Likewise.
8529 (ctan_upward_test_data): Likewise.
8530 (ctan_test_upward): Likewise.
8531 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8532 (ctanh_test): Use ALL_RM_TEST.
8533 (ctanh_tonearest_test_data): Remove.
8534 (ctanh_test_tonearest): Likewise.
8535 (ctanh_towardzero_test_data): Likewise.
8536 (ctanh_test_towardzero): Likewise.
8537 (ctanh_downward_test_data): Likewise.
8538 (ctanh_test_downward): Likewise.
8539 (ctanh_upward_test_data): Likewise.
8540 (ctanh_test_upward): Likewise.
8541 (erf_test_data): Update call to AUTO_TESTS_f_f.
8542 (erfc_test_data): Likewise.
8543 (exp_test_data): Likewise.
8544 (exp_test): Use ALL_RM_TEST.
8545 (exp_tonearest_test_data): Remove.
8546 (exp_test_tonearest): Likewise.
8547 (exp_towardzero_test_data): Likewise.
8548 (exp_test_towardzero): Likewise.
8549 (exp_downward_test_data): Likewise.
8550 (exp_test_downward): Likewise.
8551 (exp_upward_test_data): Likewise.
8552 (exp_test_upward): Likewise.
8553 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8554 (exp10_test): Use ALL_RM_TEST.
8555 (exp10_tonearest_test_data): Remove.
8556 (exp10_test_tonearest): Likewise.
8557 (exp10_towardzero_test_data): Likewise.
8558 (exp10_test_towardzero): Likewise.
8559 (exp10_downward_test_data): Likewise.
8560 (exp10_test_downward): Likewise.
8561 (exp10_upward_test_data): Likewise.
8562 (exp10_test_upward): Likewise.
8563 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8564 (expm1_test_data): Likewise.
8565 (expm1_test): Use ALL_RM_TEST.
8566 (expm1_tonearest_test_data): Remove.
8567 (expm1_test_tonearest): Likewise.
8568 (expm1_towardzero_test_data): Likewise.
8569 (expm1_test_towardzero): Likewise.
8570 (expm1_downward_test_data): Likewise.
8571 (expm1_test_downward): Likewise.
8572 (expm1_upward_test_data): Likewise.
8573 (expm1_test_upward): Likewise.
8574 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8575 (fma_test): Use ALL_RM_TEST.
8576 (fma_towardzero_test_data): Remove.
8577 (fma_test_towardzero): Likewise.
8578 (fma_downward_test_data): Likewise.
8579 (fma_test_downward): Likewise.
8580 (fma_upward_test_data): Likewise.
8581 (fma_test_upward): Likewise.
8582 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8583 (j0_test_data): Update call to AUTO_TESTS_f_f.
8584 (j1_test_data): Likewise.
8585 (jn_test_data): Update call to AUTO_TESTS_if_f.
8586 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8587 (log_test_data): Update call to AUTO_TESTS_f_f.
8588 (log10_test_data): Likewise.
8589 (log1p_test_data): Likewise.
8590 (log2_test_data): Likewise.
8591 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8592 (pow_tonearest_test_data): Likewise.
8593 (sin_test_data): Update call to AUTO_TESTS_f_f.
8594 (sin_test): Use ALL_RM_TEST.
8595 (sin_tonearest_test_data): Remove.
8596 (sin_test_tonearest): Likewise.
8597 (sin_towardzero_test_data): Likewise.
8598 (sin_test_towardzero): Likewise.
8599 (sin_downward_test_data): Likewise.
8600 (sin_test_downward): Likewise.
8601 (sin_upward_test_data): Likewise.
8602 (sin_test_upward): Likewise.
8603 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8604 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8605 (sinh_test): Use ALL_RM_TEST.
8606 (sinh_tonearest_test_data): Remove.
8607 (sinh_test_tonearest): Likewise.
8608 (sinh_towardzero_test_data): Likewise.
8609 (sinh_test_towardzero): Likewise.
8610 (sinh_downward_test_data): Likewise.
8611 (sinh_test_downward): Likewise.
8612 (sinh_upward_test_data): Likewise.
8613 (sinh_test_upward): Likewise.
8614 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8615 (sqrt_test): Use ALL_RM_TEST.
8616 (sqrt_tonearest_test_data): Remove.
8617 (sqrt_test_tonearest): Likewise.
8618 (sqrt_towardzero_test_data): Likewise.
8619 (sqrt_test_towardzero): Likewise.
8620 (sqrt_downward_test_data): Likewise.
8621 (sqrt_test_downward): Likewise.
8622 (sqrt_upward_test_data): Likewise.
8623 (sqrt_test_upward): Likewise.
8624 (tan_test_data): Update call to AUTO_TESTS_f_f.
8625 (tan_test): Use ALL_RM_TEST.
8626 (tan_tonearest_test_data): Remove.
8627 (tan_test_tonearest): Likewise.
8628 (tan_towardzero_test_data): Likewise.
8629 (tan_test_towardzero): Likewise.
8630 (tan_downward_test_data): Likewise.
8631 (tan_test_downward): Likewise.
8632 (tan_upward_test_data): Likewise.
8633 (tan_test_upward): Likewise.
8634 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8635 (tgamma_test_data): Likewise.
8636 (y0_test_data): Likewise.
8637 (y1_test_data): Likewise.
8638 (yn_test_data): Update call to AUTO_TESTS_if_f.
8639 (main): Do not call removed functions.
8641 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8643 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8644 (ldexp_test_data): Remove.
8645 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8647 (scalb_test): Use ALL_RM_TEST.
8649 2014-03-19 Andreas Schwab <schwab@suse.de>
8651 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8653 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8656 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8657 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8658 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8659 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8660 (__ASSUME_PREADV): Undefine.
8661 (__ASSUME_PWRITEV): Likewise.
8663 2014-03-18 Roland McGrath <roland@hack.frob.com>
8665 * bits/mman-linux.h: Add comment about non-Linux use.
8666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8667 bits/mman-linux.h resting place.
8669 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8670 * bits/mman-linux.h: ... here.
8672 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8674 * conform/conformtest.pl: Add standard definition when calling C
8675 preprocessor on data files.
8676 (checknamespace): Remove unused variable.
8678 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8680 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8681 minus_oflow, plus_uflow and minus_uflow in expected results.
8682 * math/libm-test.inc (scalbn_test_data): Add more tests of
8683 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8685 (scalbn_test): Use ALL_RM_TEST.
8686 (scalbln_test_data): Add more tests of negative arguments. Use
8687 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8688 (scalbln_test): Use ALL_RM_TEST.
8690 2014-03-18 Roland McGrath <roland@hack.frob.com>
8692 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8694 2014-03-18 Will Newton <will.newton@linaro.org>
8696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8699 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8701 * Makerules [!subdir] (check-abi): Exit with error status if a
8704 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8706 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8707 for rint. Include results for all rounding modes.
8708 (nearbyint_test): Use ALL_RM_TEST.
8709 (rint_test_data): Include all tests used for nearbyint.
8711 2014-03-17 Will Newton <will.newton@linaro.org>
8713 * nptl/sysdeps/pthread/pthread.h: Revert previous
8716 * sysdeps/generic/ldsodefs.h: Revert previous
8719 * libio/genops.c: Revert previous change.
8720 * libio/libioP.h: Likewise.
8721 * stdio-common/vfprintf.c: Likewise.
8723 * sysdeps/generic/math_private.h: Revert previous
8726 * sysdeps/generic/math_private.h: Check whether
8727 HAVE_RM_CTX is defined with #ifdef rather
8730 * argp/argp-fmtstream.h: Check whether
8731 __STRICT_ANSI__ is defined with #ifdef rather
8733 * argp/argp.h: Likewise.
8735 * libio/genops.c: Check whether
8736 _IO_JUMPS_OFFSET is defined with #ifdef rather
8738 * libio/libioP.h: Likewise.
8739 * stdio-common/vfprintf.c: Likewise.
8741 * sysdeps/generic/ldsodefs.h: Check whether
8742 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8745 * nptl/sysdeps/pthread/pthread.h: Check
8746 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8749 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8751 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8753 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8757 * libio/fileops.c (_IO_file_open): Seek to end of file but
8758 don't cache the offset.
8759 (get_file_offset): Remove function.
8760 (do_ftell): Use cached offset when available.
8761 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8762 don't cache the offset.
8763 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8765 (do_one_test): Call it.
8766 (do_ftell_test): Fix up expected old offset for a+ mode.
8767 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8770 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8771 up test status with function return status.
8772 (do_write_test): Likewise.
8773 (do_append_test): Likewise.
8775 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8776 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8779 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8781 * math/gen-libm-test.pl (parse_args): Handle results specified for
8782 each rounding mode separately.
8783 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8784 tests and results from lrint_tonearest_test_data,
8785 lrint_towardzero_test_data, lrint_downward_test_data and
8786 lrint_upward_test_data.
8787 (lrint_test): Use ALL_RM_TEST.
8788 (lrint_tonearest_test_data): Remove.
8789 (lrint_test_tonearest): Likewise.
8790 (lrint_towardzero_test_data): Likewise.
8791 (lrint_test_towardzero): Likewise.
8792 (lrint_downward_test_data): Likewise.
8793 (lrint_test_downward): Likewise.
8794 (lrint_upward_test_data): Likewise.
8795 (lrint_test_upward): Likewise.
8796 (llrint_test_data): Merge in per-rounding-mode tests and results
8797 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8798 llrint_downward_test_data and llrint_upward_test_data.
8799 (llrint_test): Use ALL_RM_TEST.
8800 (llrint_tonearest_test_data): Remove.
8801 (llrint_test_tonearest): Likewise.
8802 (llrint_towardzero_test_data): Likewise.
8803 (llrint_test_towardzero): Likewise.
8804 (llrint_downward_test_data): Likewise.
8805 (llrint_test_downward): Likewise.
8806 (llrint_upward_test_data): Likewise.
8807 (llrint_test_upward): Likewise.
8808 (rint_test_data): Merge in per-rounding-mode tests and results
8809 from rint_tonearest_test_data, rint_towardzero_test_data,
8810 rint_downward_test_data and rint_upward_test_data. Add
8811 per-rounding-mode results for tests not in those arrays.
8812 (rint_test): Use ALL_RM_TEST.
8813 (rint_tonearest_test_data): Remove.
8814 (rint_test_tonearest): Likewise.
8815 (rint_towardzero_test_data): Likewise.
8816 (rint_test_towardzero): Likewise.
8817 (rint_downward_test_data): Likewise.
8818 (rint_test_downward): Likewise.
8819 (rint_upward_test_data): Likewise.
8820 (rint_test_upward): Likewise.
8821 (main): Don't call removed functions.
8823 2014-03-14 Roland McGrath <roland@hack.frob.com>
8825 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8826 "Compiled on ..." crapola. It is anti-useful.
8828 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8830 * scripts/evaluate-test.sh: Handle fourth argument to determine
8831 whether test run should stop on failure.
8832 * Makeconfig (stop-on-test-failure): New variable.
8833 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8834 $(stop-on-test-failure).
8835 * Makefile (tests): Give a summary of results from testing and
8836 exit with failure status if they include an ERROR or FAIL.
8838 * manual/install.texi (Configuring and compiling): Mention
8839 stop-on-test-failure=y.
8840 * INSTALL: Regenerated.
8842 2014-03-14 Roland McGrath <roland@hack.frob.com>
8844 * scripts/versionlist.awk: New file.
8845 * Makerules [$(build-shared) = yes]
8846 (postclean-generated): Add Versions.def, not Versions.def.v and
8848 ($(common-objpfx)Versions.def.v.i): Target removed.
8849 ($(common-objpfx)Versions.def): New target.
8850 ($(common-objpfx)Versions.all): Depend on that rather that
8851 $(common-objpfx)Versions.def.v.
8852 * Versions.def: File removed.
8854 * Makeconfig (+gccwarn): Add -Wundef.
8855 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8856 a dl-sysdep.h breaking its contract.
8857 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8858 * include/stackinfo.h: New file.
8859 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8860 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8861 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8862 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8863 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8864 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8865 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8866 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8867 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8868 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8869 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8870 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8871 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8872 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8873 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8875 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8878 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8880 * math/libm-test.inc (round_test_data): Add more tests.
8883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8885 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8888 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8890 * math/libm-test.inc (ceil_test_data): Add more tests.
8892 * math/libm-test.inc (trunc_test_data): Add more tests related to
8895 2014-03-14 Roland McGrath <roland@hack.frob.com>
8897 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8898 with #if rather than #ifdef.
8899 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8901 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8903 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8904 first. Disable AVX-512 GCC support if assembler doesn't support
8906 * sysdeps/x86_64/configure: Regenerated.
8908 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8910 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8911 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8912 (__old_pthread_attr_setstack): Likewise.
8913 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8914 [!_STACK_GROWS_DOWN]: Likewise.
8916 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8918 * config.make.in (have-bash2): Delete.
8919 * configure.ac (libc_cv_have_bash2): Delete.
8920 * configure: Regenerate.
8921 * elf/Makefile (common-ldd-rewrite): Rename to ...
8922 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8923 (sh-ldd-rewrite): Delete.
8924 (bash-ldd-rewrite): Delete.
8925 (have-bash2): Delete checks.
8926 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8929 * config.make.in (have-ksh): Delete.
8931 * configure.ac (libc_cv_have_ksh): Delete.
8932 * configure: Regenerate.
8934 * elf/Makefile: Delete $(have-ksh) check.
8935 ($(objpfx)sotruss): Change KSH to BASH.
8936 * elf/sotruss.ksh: Rename to ...
8937 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8938 function style to match POSIX. Drop ksh vim mode setting.
8940 * manual/time.texi (Specifying the Time Zone with TZ): Change
8941 Tuesday to Thursday.
8943 * debug/tst-longjmp_chk2.c: Update header comment.
8944 (stackoverflow_handler): Add comment. Call assert on pass value.
8946 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8949 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8950 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8951 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8952 (La_x86_64_vector): Add zmm.
8953 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8954 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8955 ($(objpfx)tst-audit10): New target.
8956 ($(objpfx)tst-audit10.out): Likewise.
8957 (tst-audit10-ENV): New.
8958 (AVX512-CFLAGS): Likewise.
8959 (CFLAGS-tst-audit10.c): Likewise.
8960 (CFLAGS-tst-auditmod10a.c): Likewise.
8961 (CFLAGS-tst-auditmod10b.c): Likewise.
8962 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8963 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8964 * sysdeps/x86_64/configure: Regenerated.
8965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8966 AVX-512 zmm register support.
8967 (_dl_x86_64_save_sse): Likewise.
8968 (_dl_x86_64_restore_sse): Likewise.
8969 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8970 size vector registers.
8971 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8972 (ZMM_SIZE): Likewise.
8973 * sysdeps/x86_64/tst-audit10.c: New file.
8974 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8975 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8977 2014-03-13 Roland McGrath <roland@hack.frob.com>
8979 * configure.ac (HAVE_EHDR_START): New check.
8980 * configure: Regenerated.
8981 * config.h.in (HAVE_EHDR_START): New #undef.
8982 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8983 assuming the lowest-addressed segment maps the start of the file.
8985 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8987 * INSTALL: Regenerated.
8989 2014-03-13 Will Newton <will.newton@linaro.org>
8991 * manual/setjmp.texi (System V contexts): Improve
8992 clarity and grammar of documentation.
8994 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8997 * elf/Makefile (tests): Add tst-pie2.
8998 (tests-pie): Add tst-pie2.
8999 * elf/tst-pie2.c: New file.
9000 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9002 * elf/rtld.c (map_doit): Load executable as lt_executable.
9003 (dl_main): Likewise.
9005 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9009 (__ASSUME_PSELECT): Undefine.
9011 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9014 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9015 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9017 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9018 selector for static builds.
9020 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9023 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9026 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9028 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9029 IFUNC selector for static builds.
9031 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9033 * sysdeps/mips/math_private.h [__mips_hard_float]
9034 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9035 libc_feresetround_mips_ctx.
9036 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9037 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9038 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9041 * math/s_nextafter.c (__nextafter): Do not return value from
9042 overflowing computation.
9043 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9044 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9049 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9050 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9052 2014-03-11 Roland McGrath <roland@hack.frob.com>
9054 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9055 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9056 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9057 the new mov targetting sp.
9059 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9062 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9063 Define it for static builds as well.
9064 (NO_BZERO_IMPL): Likewise.
9066 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9068 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9069 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9070 multiarch strspn for PPC64.
9071 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9072 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9074 (__libc_ifunc_impl_list): Likewise.
9075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9076 multiarch optimizations
9077 * string/strspn.c (strspn): Using macro to redefine symbol name.
9079 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9080 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9082 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9083 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9084 multiarch strncat for PPC64.
9085 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9086 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9088 (__libc_ifunc_impl_list): Likewise.
9089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9090 multiarch optimizations
9092 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9095 * nscd/nscd.service: Make service type forking.
9097 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9099 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9100 sign in non default rounding modes.
9101 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9103 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9105 * math/libm-test.inc (ALL_RM_TEST): New macro.
9106 (ceil_test): Use ALL_RM_TEST.
9107 (cimag_test): Likewise.
9108 (conj_test): Likewise.
9109 (copysign_test): Likewise.
9110 (cproj_test): Likewise.
9111 (creal_test): Likewise.
9112 (fabs_test): Likewise.
9113 (floor_test): Likewise.
9114 (fmax_test): Likewise.
9115 (fmin_test): Likewise.
9116 (fmod_test): Likewise.
9117 (fpclassify_test): Likewise.
9118 (frexp_test): Likewise.
9119 (ilogb_test): Likewise.
9120 (isfinite_test): Likewise.
9121 (finite_test): Likewise.
9122 (isgreater_test): Likewise.
9123 (isgreaterequal_test): Likewise.
9124 (isinf_test): Likewise.
9125 (isless_test): Likewise.
9126 (islessequal_test): Likewise.
9127 (islessgreater_test): Likewise.
9128 (isnan_test): Likewise.
9129 (isnormal_test): Likewise.
9130 (issignaling_test): Likewise.
9131 (isunordered_test): Likewise.
9132 (logb_test): Likewise.
9133 (logb_downward_test_data): Remove.
9134 (logb_test_downward): Likewise.
9135 (lround_test): Use ALL_RM_TEST.
9136 (llround_test): Likewise.
9137 (modf_test): Likewise.
9138 (nexttoward_test): Likewise.
9139 (remainder_test): Likewise.
9140 (drem_test): Likewise.
9141 (remainder_tonearest_test_data): Likewise.
9142 (remainder_test_tonearest): Likewise.
9143 (drem_test_tonearest): Likewise.
9144 (remainder_towardzero_test_data): Likewise.
9145 (remainder_test_towardzero): Likewise.
9146 (drem_test_towardzero): Likewise.
9147 (remainder_downward_test_data): Likewise.
9148 (remainder_test_downward): Likewise.
9149 (drem_test_downward): Likewise.
9150 (remainder_upward_test_data): Likewise.
9151 (remainder_test_upward): Likewise.
9152 (drem_test_upward): Likewise.
9153 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9154 (round_test): Use ALL_RM_TEST.
9155 (signbit_test): Likewise.
9156 (trunc_test): Likewise.
9157 (significand_test): Likewise.
9158 (main): Don't call removed functions.
9160 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9163 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9165 (ILL_ILLOPN): Likewise.
9166 (ILL_ILLADR): Likewise.
9167 (ILL_ILLTRP): Likewise.
9168 (ILL_PRVOPC): Likewise.
9169 (ILL_PRVREG): Likewise.
9170 (ILL_COPROC): Likewise.
9171 (ILL_BADSTK): Likewise.
9172 (FPE_INTDIV): Likewise.
9173 (FPE_INTOVF): Likewise.
9174 (FPE_FLTDIV): Likewise.
9175 (FPE_FLTOVF): Likewise.
9176 (FPE_FLTUND): Likewise.
9177 (FPE_FLTRES): Likewise.
9178 (FPE_FLTINV): Likewise.
9179 (FPE_FLTSUB): Likewise.
9180 (SEGV_MAPERR): Likewise.
9181 (SEGV_ACCERR): Likewise.
9182 (BUS_ADRALN): Likewise.
9183 (BUS_ADRERR): Likewise.
9184 (BUS_OBJERR): Likewise.
9185 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9186 (TRAP_TRACE): Likewise.
9187 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9189 (CLD_KILLED): Likewise.
9190 (CLD_DUMPED): Likewise.
9191 (CLD_TRAPPED): Likewise.
9192 (CLD_STOPPED): Likewise.
9193 (CLD_CONTINUED): Likewise.
9194 (POLL_IN): Likewise.
9195 (POLL_OUT): Likewise.
9196 (POLL_MSG): Likewise.
9197 (POLL_ERR): Likewise.
9198 (POLL_PRI): Likewise.
9199 (POLL_HUP): Likewise.
9200 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9202 (ILL_ILLOPN): Likewise.
9203 (ILL_ILLADR): Likewise.
9204 (ILL_ILLTRP): Likewise.
9205 (ILL_PRVOPC): Likewise.
9206 (ILL_PRVREG): Likewise.
9207 (ILL_COPROC): Likewise.
9208 (ILL_BADSTK): Likewise.
9209 (FPE_INTDIV): Likewise.
9210 (FPE_INTOVF): Likewise.
9211 (FPE_FLTDIV): Likewise.
9212 (FPE_FLTOVF): Likewise.
9213 (FPE_FLTUND): Likewise.
9214 (FPE_FLTRES): Likewise.
9215 (FPE_FLTINV): Likewise.
9216 (FPE_FLTSUB): Likewise.
9217 (SEGV_MAPERR): Likewise.
9218 (SEGV_ACCERR): Likewise.
9219 (BUS_ADRALN): Likewise.
9220 (BUS_ADRERR): Likewise.
9221 (BUS_OBJERR): Likewise.
9222 (BUS_MCEERR_AR): Likewise.
9223 (BUS_MCEERR_AO): Likewise.
9224 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9225 (TRAP_TRACE): Likewise.
9226 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9228 (CLD_KILLED): Likewise.
9229 (CLD_DUMPED): Likewise.
9230 (CLD_TRAPPED): Likewise.
9231 (CLD_STOPPED): Likewise.
9232 (CLD_CONTINUED): Likewise.
9233 (POLL_IN): Likewise.
9234 (POLL_OUT): Likewise.
9235 (POLL_MSG): Likewise.
9236 (POLL_ERR): Likewise.
9237 (POLL_PRI): Likewise.
9238 (POLL_HUP): Likewise.
9239 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9240 (ILL_ILLOPN): Likewise.
9241 (ILL_ILLADR): Likewise.
9242 (ILL_ILLTRP): Likewise.
9243 (ILL_PRVOPC): Likewise.
9244 (ILL_PRVREG): Likewise.
9245 (ILL_COPROC): Likewise.
9246 (ILL_BADSTK): Likewise.
9247 (FPE_INTDIV): Likewise.
9248 (FPE_INTOVF): Likewise.
9249 (FPE_FLTDIV): Likewise.
9250 (FPE_FLTOVF): Likewise.
9251 (FPE_FLTUND): Likewise.
9252 (FPE_FLTRES): Likewise.
9253 (FPE_FLTINV): Likewise.
9254 (FPE_FLTSUB): Likewise.
9255 (SEGV_MAPERR): Likewise.
9256 (SEGV_ACCERR): Likewise.
9257 (BUS_ADRALN): Likewise.
9258 (BUS_ADRERR): Likewise.
9259 (BUS_OBJERR): Likewise.
9260 (BUS_MCEERR_AR): Likewise.
9261 (BUS_MCEERR_AO): Likewise.
9262 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9263 (TRAP_TRACE): Likewise.
9264 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9266 (CLD_KILLED): Likewise.
9267 (CLD_DUMPED): Likewise.
9268 (CLD_TRAPPED): Likewise.
9269 (CLD_STOPPED): Likewise.
9270 (CLD_CONTINUED): Likewise.
9271 (POLL_IN): Likewise.
9272 (POLL_OUT): Likewise.
9273 (POLL_MSG): Likewise.
9274 (POLL_ERR): Likewise.
9275 (POLL_PRI): Likewise.
9276 (POLL_HUP): Likewise.
9277 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9279 (ILL_ILLOPN): Likewise.
9280 (ILL_ILLADR): Likewise.
9281 (ILL_ILLTRP): Likewise.
9282 (ILL_PRVOPC): Likewise.
9283 (ILL_PRVREG): Likewise.
9284 (ILL_COPROC): Likewise.
9285 (ILL_BADSTK): Likewise.
9286 (ILL_BADIADDR): Likewise.
9287 (ILL_BREAK): Likewise.
9288 (FPE_INTDIV): Likewise.
9289 (FPE_INTOVF): Likewise.
9290 (FPE_FLTDIV): Likewise.
9291 (FPE_FLTOVF): Likewise.
9292 (FPE_FLTUND): Likewise.
9293 (FPE_FLTRES): Likewise.
9294 (FPE_FLTINV): Likewise.
9295 (FPE_FLTSUB): Likewise.
9296 (FPE_DECOVF): Likewise.
9297 (FPE_DECDIV): Likewise.
9298 (FPE_DECERR): Likewise.
9299 (FPE_INVASC): Likewise.
9300 (FPE_INVDEC): Likewise.
9301 (SEGV_MAPERR): Likewise.
9302 (SEGV_ACCERR): Likewise.
9303 (SEGV_PSTKOVF): Likewise.
9304 (BUS_ADRALN): Likewise.
9305 (BUS_ADRERR): Likewise.
9306 (BUS_OBJERR): Likewise.
9307 (BUS_MCEERR_AR): Likewise.
9308 (BUS_MCEERR_AO): Likewise.
9309 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9310 (TRAP_TRACE): Likewise.
9311 (TRAP_BRANCH): Likewise.
9312 (TRAP_HWBKPT): Likewise.
9313 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9315 (CLD_KILLED): Likewise.
9316 (CLD_DUMPED): Likewise.
9317 (CLD_TRAPPED): Likewise.
9318 (CLD_STOPPED): Likewise.
9319 (CLD_CONTINUED): Likewise.
9320 (POLL_IN): Likewise.
9321 (POLL_OUT): Likewise.
9322 (POLL_MSG): Likewise.
9323 (POLL_ERR): Likewise.
9324 (POLL_PRI): Likewise.
9325 (POLL_HUP): Likewise.
9326 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9327 (ILL_ILLOPN): Likewise.
9328 (ILL_ILLADR): Likewise.
9329 (ILL_ILLTRP): Likewise.
9330 (ILL_PRVOPC): Likewise.
9331 (ILL_PRVREG): Likewise.
9332 (ILL_COPROC): Likewise.
9333 (ILL_BADSTK): Likewise.
9334 (FPE_INTDIV): Likewise.
9335 (FPE_INTOVF): Likewise.
9336 (FPE_FLTDIV): Likewise.
9337 (FPE_FLTOVF): Likewise.
9338 (FPE_FLTUND): Likewise.
9339 (FPE_FLTRES): Likewise.
9340 (FPE_FLTINV): Likewise.
9341 (FPE_FLTSUB): Likewise.
9342 (SEGV_MAPERR): Likewise.
9343 (SEGV_ACCERR): Likewise.
9344 (BUS_ADRALN): Likewise.
9345 (BUS_ADRERR): Likewise.
9346 (BUS_OBJERR): Likewise.
9347 (BUS_MCEERR_AR): Likewise.
9348 (BUS_MCEERR_AO): Likewise.
9349 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9350 (TRAP_TRACE): Likewise.
9351 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9353 (CLD_KILLED): Likewise.
9354 (CLD_DUMPED): Likewise.
9355 (CLD_TRAPPED): Likewise.
9356 (CLD_STOPPED): Likewise.
9357 (CLD_CONTINUED): Likewise.
9358 (POLL_IN): Likewise.
9359 (POLL_OUT): Likewise.
9360 (POLL_MSG): Likewise.
9361 (POLL_ERR): Likewise.
9362 (POLL_PRI): Likewise.
9363 (POLL_HUP): Likewise.
9364 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9365 (ILL_ILLOPN): Likewise.
9366 (ILL_ILLADR): Likewise.
9367 (ILL_ILLTRP): Likewise.
9368 (ILL_PRVOPC): Likewise.
9369 (ILL_PRVREG): Likewise.
9370 (ILL_COPROC): Likewise.
9371 (ILL_BADSTK): Likewise.
9372 (FPE_INTDIV): Likewise.
9373 (FPE_INTOVF): Likewise.
9374 (FPE_FLTDIV): Likewise.
9375 (FPE_FLTOVF): Likewise.
9376 (FPE_FLTUND): Likewise.
9377 (FPE_FLTRES): Likewise.
9378 (FPE_FLTINV): Likewise.
9379 (FPE_FLTSUB): Likewise.
9380 (SEGV_MAPERR): Likewise.
9381 (SEGV_ACCERR): Likewise.
9382 (BUS_ADRALN): Likewise.
9383 (BUS_ADRERR): Likewise.
9384 (BUS_OBJERR): Likewise.
9385 (BUS_MCEERR_AR): Likewise.
9386 (BUS_MCEERR_AO): Likewise.
9387 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9388 (TRAP_TRACE): Likewise.
9389 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9391 (CLD_KILLED): Likewise.
9392 (CLD_DUMPED): Likewise.
9393 (CLD_TRAPPED): Likewise.
9394 (CLD_STOPPED): Likewise.
9395 (CLD_CONTINUED): Likewise.
9396 (POLL_IN): Likewise.
9397 (POLL_OUT): Likewise.
9398 (POLL_MSG): Likewise.
9399 (POLL_ERR): Likewise.
9400 (POLL_PRI): Likewise.
9401 (POLL_HUP): Likewise.
9402 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9403 (ILL_ILLOPN): Likewise.
9404 (ILL_ILLADR): Likewise.
9405 (ILL_ILLTRP): Likewise.
9406 (ILL_PRVOPC): Likewise.
9407 (ILL_PRVREG): Likewise.
9408 (ILL_COPROC): Likewise.
9409 (ILL_BADSTK): Likewise.
9410 (FPE_INTDIV): Likewise.
9411 (FPE_INTOVF): Likewise.
9412 (FPE_FLTDIV): Likewise.
9413 (FPE_FLTOVF): Likewise.
9414 (FPE_FLTUND): Likewise.
9415 (FPE_FLTRES): Likewise.
9416 (FPE_FLTINV): Likewise.
9417 (FPE_FLTSUB): Likewise.
9418 (SEGV_MAPERR): Likewise.
9419 (SEGV_ACCERR): Likewise.
9420 (BUS_ADRALN): Likewise.
9421 (BUS_ADRERR): Likewise.
9422 (BUS_OBJERR): Likewise.
9423 (BUS_MCEERR_AR): Likewise.
9424 (BUS_MCEERR_AO): Likewise.
9425 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9426 (TRAP_TRACE): Likewise.
9427 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9429 (CLD_KILLED): Likewise.
9430 (CLD_DUMPED): Likewise.
9431 (CLD_TRAPPED): Likewise.
9432 (CLD_STOPPED): Likewise.
9433 (CLD_CONTINUED): Likewise.
9434 (POLL_IN): Likewise.
9435 (POLL_OUT): Likewise.
9436 (POLL_MSG): Likewise.
9437 (POLL_ERR): Likewise.
9438 (POLL_PRI): Likewise.
9439 (POLL_HUP): Likewise.
9440 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9441 (ILL_ILLOPN): Likewise.
9442 (ILL_ILLADR): Likewise.
9443 (ILL_ILLTRP): Likewise.
9444 (ILL_PRVOPC): Likewise.
9445 (ILL_PRVREG): Likewise.
9446 (ILL_COPROC): Likewise.
9447 (ILL_BADSTK): Likewise.
9448 (ILL_DBLFLT): Likewise.
9449 (ILL_HARDWALL): Likewise.
9450 (FPE_INTDIV): Likewise.
9451 (FPE_INTOVF): Likewise.
9452 (FPE_FLTDIV): Likewise.
9453 (FPE_FLTOVF): Likewise.
9454 (FPE_FLTUND): Likewise.
9455 (FPE_FLTRES): Likewise.
9456 (FPE_FLTINV): Likewise.
9457 (FPE_FLTSUB): Likewise.
9458 (SEGV_MAPERR): Likewise.
9459 (SEGV_ACCERR): Likewise.
9460 (BUS_ADRALN): Likewise.
9461 (BUS_ADRERR): Likewise.
9462 (BUS_OBJERR): Likewise.
9463 (BUS_MCEERR_AR): Likewise.
9464 (BUS_MCEERR_AO): Likewise.
9465 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9466 (TRAP_TRACE): Likewise.
9467 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9469 (CLD_KILLED): Likewise.
9470 (CLD_DUMPED): Likewise.
9471 (CLD_TRAPPED): Likewise.
9472 (CLD_STOPPED): Likewise.
9473 (CLD_CONTINUED): Likewise.
9474 (POLL_IN): Likewise.
9475 (POLL_OUT): Likewise.
9476 (POLL_MSG): Likewise.
9477 (POLL_ERR): Likewise.
9478 (POLL_PRI): Likewise.
9479 (POLL_HUP): Likewise.
9480 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9481 (ILL_ILLOPN): Likewise.
9482 (ILL_ILLADR): Likewise.
9483 (ILL_ILLTRP): Likewise.
9484 (ILL_PRVOPC): Likewise.
9485 (ILL_PRVREG): Likewise.
9486 (ILL_COPROC): Likewise.
9487 (ILL_BADSTK): Likewise.
9488 (FPE_INTDIV): Likewise.
9489 (FPE_INTOVF): Likewise.
9490 (FPE_FLTDIV): Likewise.
9491 (FPE_FLTOVF): Likewise.
9492 (FPE_FLTUND): Likewise.
9493 (FPE_FLTRES): Likewise.
9494 (FPE_FLTINV): Likewise.
9495 (FPE_FLTSUB): Likewise.
9496 (SEGV_MAPERR): Likewise.
9497 (SEGV_ACCERR): Likewise.
9498 (BUS_ADRALN): Likewise.
9499 (BUS_ADRERR): Likewise.
9500 (BUS_OBJERR): Likewise.
9501 (BUS_MCEERR_AR): Likewise.
9502 (BUS_MCEERR_AO): Likewise.
9503 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9504 (TRAP_TRACE): Likewise.
9505 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9507 (CLD_KILLED): Likewise.
9508 (CLD_DUMPED): Likewise.
9509 (CLD_TRAPPED): Likewise.
9510 (CLD_STOPPED): Likewise.
9511 (CLD_CONTINUED): Likewise.
9512 (POLL_IN): Likewise.
9513 (POLL_OUT): Likewise.
9514 (POLL_MSG): Likewise.
9515 (POLL_ERR): Likewise.
9516 (POLL_PRI): Likewise.
9517 (POLL_HUP): Likewise.
9518 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9519 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9522 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9523 before #include of <time.h>.
9524 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9525 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9526 (test-xfail-UNIX98/sched.h/conform): Likewise.
9528 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9530 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9531 error absence of trapping exception support.
9532 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9534 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9536 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9537 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9538 * timezone/Makefile (testdata): Move definition above include of
9540 (test-zones): New variable.
9541 (tests-special): Add zone files.
9542 (build-testdata): Use $(evaluate-test).
9544 * elf/Makefile (tests-special): Rename tests to end with .out.
9545 ($(objpfx)noload-mem): Likewise.
9546 ($(objpfx)tst-leaks1-mem): Likewise.
9547 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9548 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9549 $(objpfx)test-iconvconfig.out.
9550 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9551 set -e inside subshell and redirect output to file.
9552 * iconvdata/Makefile (generated): Rename tests to end with .out.
9554 (tests-special): Rename tests to end with .out.
9555 ($(objpfx)mtrace-tst-loading): Likewise.
9556 * intl/Makefile (generated): Likewise.
9557 (tests-special): Likewise.
9558 ($(objpfx)mtrace-tst-gettext): Likewise.
9559 * misc/Makefile (generated): Likewise.
9560 (tests-special): Likewise.
9561 ($(objpfx)tst-error1-mem): Likewise.
9562 * nptl/Makefile (tests-special): Likewise.
9563 ($(objpfx)tst-stack3-mem): Likewise.
9564 (generated): Likewise.
9565 * posix/Makefile (generated): Likewise.
9566 (tests-special): Likewise.
9567 (xtests-special): Likewise.
9568 ($(objpfx)tst-fnmatch-mem): Likewise.
9569 ($(objpfx)bug-regex2-mem): Likewise.
9570 ($(objpfx)bug-regex14-mem): Likewise.
9571 ($(objpfx)bug-regex21-mem): Likewise.
9572 ($(objpfx)bug-regex31-mem): Likewise.
9573 ($(objpfx)tst-vfork3-mem): Likewise.
9574 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9575 ($(objpfx)tst-pcre-mem): Likewise.
9576 ($(objpfx)tst-boost-mem): Likewise.
9577 ($(objpfx)bug-ga2-mem): Likewise.
9578 ($(objpfx)bug-glob2-mem): Likewise.
9579 * resolv/Makefile (generate): Likewise.
9580 (tests-special): Likewise.
9581 (xtests-special): Likewise.
9582 (generated): Likewise.
9583 ($(objpfx)mtrace-tst-leaks): Likewise.
9584 ($(objpfx)mtrace-tst-leaks2): Likewise.
9586 * scripts/merge-test-results.sh: New file.
9587 * Makefile (tests-special-notdir): New variable.
9588 (tests): Run merge-test-results.sh.
9590 * Rules (tests-special-notdir): New variable.
9591 (xtests-special-notdir): Likewise.
9592 (tests): Run merge-test-results.sh
9595 * Makeconfig (test-xfail-name): New variable.
9596 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9597 compute variable name for expected failures.
9598 * conform/Makefile (conformtest-headers-data): New variable.
9599 (conformtest-standards): Likewise.
9600 (conformtest-headers-ISO): Likewise.
9601 (conformtest-headers-ISO99): Likewise.
9602 (conformtest-headers-ISO11): Likewise.
9603 (conformtest-headers-POSIX): Likewise.
9604 (conformtest-headers-XPG3): Likewise.
9605 (conformtest-headers-XPG4): Likewise.
9606 (conformtest-headers-UNIX98): Likewise.
9607 (conformtest-headers-XOPEN2K): Likewise.
9608 (conformtest-headers-POSIX2008): Likewise.
9609 (conformtest-headers-XOPEN2K8): Likewise.
9610 (conformtest-header-list-base): Likewise.
9611 (conformtest-header-list-tests): Likewise.
9612 (conformtest-header-base): Likewise.
9613 (conformtest-header-tests): Likewise.
9614 (tests-special): Add $(conformtest-header-list-tests). If
9615 [$(fast-check) && !$(cross-compiling)], add
9616 $(conformtest-header-tests) instead of
9617 $(objpfx)run-conformtest.out.
9618 (generated): Add $(conformtest-header-list-base). If
9619 [$(fast-check) && !$(cross-compiling)], add
9620 $(conformtest-header-base). Remove previous setting.
9621 ($(conformtest-header-list-tests)): New target.
9622 (test-xfail-run-conformtest): Remove variable.
9623 ($(objpfx)run-conformtest.out): Remove target.
9624 (test-xfail-ISO11/complex.h/conform): New variable.
9625 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9626 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9627 (test-xfail-XPG3/varargs.h/conform): Likewise.
9628 (test-xfail-XPG4/varargs.h/conform): Likewise.
9629 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9630 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9631 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9632 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9633 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9634 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9635 (test-xfail-XPG3/ftw.h/conform): Likewise.
9636 (test-xfail-XPG3/grp.h/conform): Likewise.
9637 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9638 (test-xfail-XPG3/limits.h/conform): Likewise.
9639 (test-xfail-XPG3/pwd.h/conform): Likewise.
9640 (test-xfail-XPG3/search.h/conform): Likewise.
9641 (test-xfail-XPG3/signal.h/conform): Likewise.
9642 (test-xfail-XPG3/stdio.h/conform): Likewise.
9643 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9644 (test-xfail-XPG3/string.h/conform): Likewise.
9645 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9646 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9647 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9648 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9649 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9650 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9651 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9652 (test-xfail-XPG3/termios.h/conform): Likewise.
9653 (test-xfail-XPG3/time.h/conform): Likewise.
9654 (test-xfail-XPG3/unistd.h/conform): Likewise.
9655 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9656 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9657 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9658 (test-xfail-XPG4/netdb.h/conform): Likewise.
9659 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9660 (test-xfail-XPG4/signal.h/conform): Likewise.
9661 (test-xfail-XPG4/stdio.h/conform): Likewise.
9662 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9663 (test-xfail-XPG4/stropts.h/conform): Likewise.
9664 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9665 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9666 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9667 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9668 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9669 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9670 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9671 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9672 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9673 (test-xfail-XPG4/termios.h/conform): Likewise.
9674 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9675 (test-xfail-XPG4/unistd.h/conform): Likewise.
9676 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9677 (test-xfail-POSIX/sched.h/conform): Likewise.
9678 (test-xfail-POSIX/signal.h/conform): Likewise.
9679 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9680 (test-xfail-POSIX/tar.h/conform): Likewise.
9681 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9682 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9683 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9684 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9685 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9686 (test-xfail-UNIX98/sched.h/conform): Likewise.
9687 (test-xfail-UNIX98/signal.h/conform): Likewise.
9688 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9689 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9690 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9691 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9692 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9693 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9694 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9695 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9696 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9697 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9698 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9699 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9700 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9701 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9702 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9703 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9704 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9705 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9706 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9707 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9708 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9709 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9710 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9711 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9712 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9713 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9714 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9715 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9716 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9717 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9718 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9719 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9720 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9721 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9722 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9723 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9724 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9725 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9726 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9727 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9728 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9729 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9730 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9731 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9732 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9733 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9734 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9735 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9736 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9737 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9738 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9739 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9740 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9741 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9742 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9743 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9744 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9745 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9746 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9747 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9748 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9749 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9750 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9751 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9752 (conformtest-cc-flags): Likewise.
9753 ($(conformtest-header-tests): New target.
9754 * conform/check-header-lists.sh: New file.
9755 * conform/run-conformtest.sh: Remove.
9757 * conform/conformtest.pl: Allow ' and \ in values given for
9759 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9761 [POSIX] (sys/types.h): Likewise.
9762 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9764 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9766 * conform/data/signal.h-data (SIGIO): Remove expectation.
9767 [XPG3] (SIGBUS): Do not expect.
9768 [POSIX || XPG3] (SIGPOLL): Likewise.
9769 [POSIX || XPG3] (SIGPROF): Likewise.
9770 [POSIX || XPG3] (SIGSYS): Likewise.
9771 [XPG3] (SIGTRAP): Likewise.
9772 [POSIX || XPG3] (SIGURG): Likewise.
9773 [POSIX || XPG3] (SIGVTALRM): Likewise.
9774 [POSIX || XPG3] (SIGXCPU): Likewise.
9775 [POSIX || XPG3] (SIGXFSZ): Likewise.
9776 [POSIX] (SA_SIGINFO): Expect.
9777 [XPG3] (siginfo_t): Do not expect type or contents.
9778 [POSIX] (si_pid): Do not expect element.
9779 [POSIX] (si_uid): Likewise.
9780 [POSIX] (si_addr): Likewise.
9781 [POSIX] (si_status): Likewise.
9782 [POSIX] (si_band): Likewise.
9783 [XPG4] (si_value): Likewise.
9784 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9785 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9786 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9787 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9788 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9789 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9790 [POSIX || XPG3] (ILL_COPROC): Likewise.
9791 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9792 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9793 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9794 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9795 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9796 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9797 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9798 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9799 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9800 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9801 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9802 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9803 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9804 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9805 [POSIX || XPG3] (CLD_EXITED): Likewise.
9806 [POSIX || XPG3] (CLD_KILLED): Likewise.
9807 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9808 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9809 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9810 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9811 [POSIX || XPG3] (POLL_IN): Likewise.
9812 [POSIX || XPG3] (POLL_OUT): Likewise.
9813 [POSIX || XPG3] (POLL_MSG): Likewise.
9814 [POSIX || XPG3] (POLL_ERR): Likewise.
9815 [POSIX || XPG3] (POLL_PRI): Likewise.
9816 [POSIX || XPG3] (POLL_HUP): Likewise.
9817 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9818 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9819 (SIG*): Do not allow.
9820 [XPG3] (si_*): Likewise.
9821 [XPG3] (SI_*): Likewise.
9822 [XPG3 || XPG4] (sigev_*): Likewise.
9823 [XPG3 || XPG4] (SIGEV_*): Likewise.
9824 [XPG3 || XPG4] (sival_*): Likewise.
9825 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9826 [POSIX || XPG3] (BUS_*): Likewise.
9827 [POSIX || XPG3] (CLD_*): Likewise.
9828 [POSIX || XPG3] (FPE_*): Likewise.
9829 [POSIX || XPG3] (ILL_*): Likewise.
9830 [POSIX || XPG3] (POLL_*): Likewise.
9831 [POSIX || XPG3] (SEGV_*): Likewise.
9832 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9833 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9834 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9835 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9836 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9837 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9838 Specify type and value.
9839 (TVERSLEN): Likewise.
9840 (REGTYPE): Likewise.
9841 (AREGTYPE): Likewise.
9842 (LNKTYPE): Likewise.
9843 (SYMTYPE): Likewise.
9844 (CHRTYPE): Likewise.
9845 (BLKTYPE): Likewise.
9846 (DIRTYPE): Likewise.
9847 (FIFOTYPE): Likewise.
9848 (CONTTYPE): Likewise.
9853 (TUWRITE): Likewise.
9856 (TGWRITE): Likewise.
9859 (TOWRITE): Likewise.
9861 [POSIX] (TSVTX): Expect constant.
9863 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9865 * Makefile (tests): Change dependencies to ....
9866 (tests-special): ... additions to this variable.
9867 (tests): Depend on $(tests-special).
9868 * Makerules (check-abi-list): New variable.
9869 (check-abi): Depend on $(check-abi-list).
9870 [$(subdir) = elf] (tests-special): Add
9871 $(objpfx)check-abi-libc.out.
9872 [$(build-shared) = yes && subdir] (tests-special): Add
9874 [$(build-shared) = yes && subdir] (tests): Do not depend on
9876 * Rules (tests): Depend on $(tests-special).
9877 (xtests): Depend on $(xtests-special).
9878 * catgets/Makefile (tests): Change dependencies to ....
9879 (tests-special): ... additions to this variable.
9880 * conform/Makefile (tests): Change dependencies to ....
9881 (tests-special): ... additions to this variable.
9882 * elf/Makefile (tests): Change dependencies to ....
9883 (tests-special): ... additions to this variable.
9884 * grp/Makefile (tests): Change dependencies to ....
9885 (tests-special): ... additions to this variable.
9886 * iconv/Makefile (xtests): Change dependencies to ....
9887 (xtests-special): ... additions to this variable.
9888 * iconvdata/Makefile (tests): Change dependencies to ....
9889 (tests-special): ... additions to this variable.
9890 * intl/Makefile (tests): Change dependencies to ....
9891 (tests-special): ... additions to this variable. Also add
9892 $(objpfx)tst-gettext.out.
9893 * io/Makefile (tests): Change dependencies to ....
9894 (tests-special): ... additions to this variable.
9895 * libio/Makefile (tests): Change dependencies to ....
9896 (tests-special): ... additions to this variable.
9897 * malloc/Makefile (tests): Change dependencies to ....
9898 (tests-special): ... additions to this variable.
9899 * misc/Makefile (tests): Change dependencies to ....
9900 (tests-special): ... additions to this variable.
9901 * nptl/Makefile (tests): Change dependencies to ....
9902 (tests-special): ... additions to this variable.
9903 * nptl_db/Makefile (tests): Change dependencies to ....
9904 (tests-special): ... additions to this variable.
9905 * posix/Makefile (tests): Change dependencies to ....
9906 (tests-special): ... additions to this variable.
9907 (xtests): Change dependencies to ....
9908 (xtests-special): ... additions to this variable.
9909 * resolv/Makefile (tests): Change dependencies to ....
9910 (tests-special): ... additions to this variable.
9911 (xtests): Change dependencies to ....
9912 (xtests-special): ... additions to this variable.
9913 * stdio-common/Makefile (tests): Change dependencies to ....
9914 (tests-special): ... additions to this variable.
9915 (do-tst-unbputc): Remove target.
9916 (do-tst-printf): Likewise.
9917 * stdlib/Makefile (tests): Change dependencies to ....
9918 (tests-special): ... additions to this variable.
9919 * string/Makefile (tests): Change dependencies to ....
9920 (tests-special): ... additions to this variable.
9921 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9922 (tests-special): ... additions to this variable.
9924 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9926 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9928 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9929 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9931 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9932 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9933 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9934 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9935 * conform/data/libgen.h-data [XPG3]: Likewise.
9936 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9937 * conform/data/ndbm.h-data [XPG3]: Likewise.
9938 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9939 * conform/data/netdb.h-data [XPG3]: Likewise.
9940 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9941 * conform/data/poll.h-data [XPG3]: Likewise.
9942 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9943 * conform/data/strings.h-data [XPG3]: Likewise.
9944 * conform/data/stropts.h-data [XPG3]: Likewise.
9945 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9946 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9947 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9949 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9950 * conform/data/sys/time.h-data [XPG3]: Likewise.
9951 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9952 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9953 * conform/data/sys/un.h-data [XPG3]: Likewise.
9954 * conform/data/syslog.h-data [XPG3]: Likewise.
9955 * conform/data/ucontext.h-data [XPG3]: Likewise.
9956 * conform/data/utmpx.h-data [XPG3]: Likewise.
9957 * conform/data/varargs.h-data [UNIX98]: Enable file.
9959 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9961 * math/libm-test.inc (struct test_f_f_data): Move expected results
9962 into structure for each rounding mode.
9963 (struct test_ff_f_data): Likewise.
9964 (struct test_ff_f_data_nexttoward): Likewise.
9965 (struct test_fi_f_data): Likewise.
9966 (struct test_fl_f_data): Likewise.
9967 (struct test_if_f_data): Likewise.
9968 (struct test_fff_f_data): Likewise.
9969 (struct test_c_f_data): Likewise.
9970 (struct test_f_f1_data): Likewise.
9971 (struct test_fF_f1_data): Likewise.
9972 (struct test_ffI_f1_data): Likewise.
9973 (struct test_c_c_data): Likewise.
9974 (struct test_cc_c_data): Likewise.
9975 (struct test_f_i_data): Likewise.
9976 (struct test_ff_i_data): Likewise.
9977 (struct test_f_l_data): Likewise.
9978 (struct test_f_L_data): Likewise.
9979 (struct test_fFF_11_data): Likewise.
9981 (RM_FE_DOWNWARD): Likewise.
9982 (RM_FE_TONEAREST): Likewise.
9983 (RM_FE_TOWARDZERO): Likewise.
9984 (RM_FE_UPWARD): Likewise.
9985 (RUN_TEST_LOOP_f_f): Update references to expected results.
9986 (RUN_TEST_LOOP_2_f): Likewise.
9987 (RUN_TEST_LOOP_fff_f): Likewise.
9988 (RUN_TEST_LOOP_c_f): Likewise.
9989 (RUN_TEST_LOOP_f_f1): Likewise.
9990 (RUN_TEST_LOOP_fF_f1): Likewise.
9991 (RUN_TEST_LOOP_fI_f1): Likewise.
9992 (RUN_TEST_LOOP_ffI_f1): Likewise.
9993 (RUN_TEST_LOOP_c_c): Likewise.
9994 (RUN_TEST_LOOP_cc_c): Likewise.
9995 (RUN_TEST_LOOP_f_i): Likewise.
9996 (RUN_TEST_LOOP_f_i_tg): Likewise.
9997 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9998 (RUN_TEST_LOOP_f_b): Likewise.
9999 (RUN_TEST_LOOP_f_b_tg): Likewise.
10000 (RUN_TEST_LOOP_f_l): Likewise.
10001 (RUN_TEST_LOOP_f_L): Likewise.
10002 (RUN_TEST_LOOP_fFF_11): Likewise.
10003 * math/gen-libm-test.pl (parse_args): Output four copies of
10004 expected results for each test.
10006 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10007 (__ASSUME_UTIMES): Remove.
10008 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10009 (__ASSUME_UTIMES): Likewise.
10011 * math/gen-auto-libm-tests.c: Update comment on output format.
10012 (output_for_one_input_case): Generate before-rounding and
10013 after-rounding information as conditions on output flags not
10014 floating-point format.
10015 * math/auto-libm-test-out: Regenerated.
10016 * math/gen-libm-test.pl (cond_value): New function.
10017 (or_cond_value): Use cond_value.
10018 (generate_testfile): Handle conditional exceptions.
10020 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10022 * math/libm-test.inc (max_valid_error): New variable.
10023 (init_max_error): Take new argument specifying whether function
10024 results are exactly determined. Set max_valid_error and bound
10025 other variables for errors based on this argument.
10026 (set_max_error): Do not record results above max_valid_error.
10027 (check_float_internal): Only accept errors of up to 0.5ulps if
10028 also at most max_valid_error.
10029 (START): Take new argument EXACT and pass it to init_max_error.
10030 (acos_test): Update call to START.
10031 (acos_test_tonearest): Likewise.
10032 (acos_test_towardzero): Likewise.
10033 (acos_test_downward): Likewise.
10034 (acos_test_upward): Likewise.
10035 (acosh_test): Likewise.
10036 (asin_test): Likewise.
10037 (asin_test_tonearest): Likewise.
10038 (asin_test_towardzero): Likewise.
10039 (asin_test_downward): Likewise.
10040 (asin_test_upward): Likewise.
10041 (asinh_test): Likewise.
10042 (atan_test): Likewise.
10043 (atanh_test): Likewise.
10044 (atan2_test): Likewise.
10045 (cabs_test): Likewise.
10046 (cacos_test): Likewise.
10047 (cacosh_test): Likewise.
10048 (carg_test): Likewise.
10049 (casin_test): Likewise.
10050 (casinh_test): Likewise.
10051 (catan_test): Likewise.
10052 (catanh_test): Likewise.
10053 (cbrt_test): Likewise.
10054 (ccos_test): Likewise.
10055 (ccosh_test): Likewise.
10056 (ceil_test): Likewise.
10057 (cexp_test): Likewise.
10058 (cimag_test): Likewise.
10059 (clog_test): Likewise.
10060 (clog10_test): Likewise.
10061 (conj_test): Likewise.
10062 (copysign_test): Likewise.
10063 (cos_test): Likewise.
10064 (cos_test_tonearest): Likewise.
10065 (cos_test_towardzero): Likewise.
10066 (cos_test_downward): Likewise.
10067 (cos_test_upward): Likewise.
10068 (cosh_test): Likewise.
10069 (cosh_test_tonearest): Likewise.
10070 (cosh_test_towardzero): Likewise.
10071 (cosh_test_downward): Likewise.
10072 (cosh_test_upward): Likewise.
10073 (cpow_test): Likewise.
10074 (cproj_test): Likewise.
10075 (creal_test): Likewise.
10076 (csin_test): Likewise.
10077 (csinh_test): Likewise.
10078 (csqrt_test): Likewise.
10079 (ctan_test): Likewise.
10080 (ctan_test_tonearest): Likewise.
10081 (ctan_test_towardzero): Likewise.
10082 (ctan_test_downward): Likewise.
10083 (ctan_test_upward): Likewise.
10084 (ctanh_test): Likewise.
10085 (ctanh_test_tonearest): Likewise.
10086 (ctanh_test_towardzero): Likewise.
10087 (ctanh_test_downward): Likewise.
10088 (ctanh_test_upward): Likewise.
10089 (erf_test): Likewise.
10090 (erfc_test): Likewise.
10091 (exp_test): Likewise.
10092 (exp_test_tonearest): Likewise.
10093 (exp_test_towardzero): Likewise.
10094 (exp_test_downward): Likewise.
10095 (exp_test_upward): Likewise.
10096 (exp10_test): Likewise.
10097 (exp10_test_tonearest): Likewise.
10098 (exp10_test_towardzero): Likewise.
10099 (exp10_test_downward): Likewise.
10100 (exp10_test_upward): Likewise.
10101 (pow10_test): Likewise.
10102 (exp2_test): Likewise.
10103 (expm1_test): Likewise.
10104 (expm1_test_tonearest): Likewise.
10105 (expm1_test_towardzero): Likewise.
10106 (expm1_test_downward): Likewise.
10107 (expm1_test_upward): Likewise.
10108 (fabs_test): Likewise.
10109 (fdim_test): Likewise.
10110 (floor_test): Likewise.
10111 (fma_test): Likewise.
10112 (fma_test_towardzero): Likewise.
10113 (fma_test_downward): Likewise.
10114 (fma_test_upward): Likewise.
10115 (fmax_test): Likewise.
10116 (fmin_test): Likewise.
10117 (fmod_test): Likewise.
10118 (fpclassify_test): Likewise.
10119 (frexp_test): Likewise.
10120 (hypot_test): Likewise.
10121 (ilogb_test): Likewise.
10122 (isfinite_test): Likewise.
10123 (finite_test): Likewise.
10124 (isgreater_test): Likewise.
10125 (isgreaterequal_test): Likewise.
10126 (isinf_test): Likewise.
10127 (isless_test): Likewise.
10128 (islessequal_test): Likewise.
10129 (islessgreater_test): Likewise.
10130 (isnan_test): Likewise.
10131 (isnormal_test): Likewise.
10132 (issignaling_test): Likewise.
10133 (isunordered_test): Likewise.
10134 (j0_test): Likewise.
10135 (j1_test): Likewise.
10136 (jn_test): Likewise.
10137 (ldexp_test): Likewise.
10138 (lgamma_test): Likewise.
10139 (gamma_test): Likewise.
10140 (lrint_test): Likewise.
10141 (lrint_test_tonearest): Likewise.
10142 (lrint_test_towardzero): Likewise.
10143 (lrint_test_downward): Likewise.
10144 (lrint_test_upward): Likewise.
10145 (llrint_test): Likewise.
10146 (llrint_test_tonearest): Likewise.
10147 (llrint_test_towardzero): Likewise.
10148 (llrint_test_downward): Likewise.
10149 (llrint_test_upward): Likewise.
10150 (log_test): Likewise.
10151 (log10_test): Likewise.
10152 (log1p_test): Likewise.
10153 (log2_test): Likewise.
10154 (logb_test): Likewise.
10155 (logb_test_downward): Likewise.
10156 (lround_test): Likewise.
10157 (llround_test): Likewise.
10158 (modf_test): Likewise.
10159 (nearbyint_test): Likewise.
10160 (nextafter_test): Likewise.
10161 (nexttoward_test): Likewise.
10162 (pow_test): Likewise.
10163 (pow_test_tonearest): Likewise.
10164 (pow_test_towardzero): Likewise.
10165 (pow_test_downward): Likewise.
10166 (pow_test_upward): Likewise.
10167 (remainder_test): Likewise.
10168 (drem_test): Likewise.
10169 (remainder_test_tonearest): Likewise.
10170 (drem_test_tonearest): Likewise.
10171 (remainder_test_towardzero): Likewise.
10172 (drem_test_towardzero): Likewise.
10173 (remainder_test_downward): Likewise.
10174 (drem_test_downward): Likewise.
10175 (remainder_test_upward): Likewise.
10176 (drem_test_upward): Likewise.
10177 (remquo_test): Likewise.
10178 (rint_test): Likewise.
10179 (rint_test_tonearest): Likewise.
10180 (rint_test_towardzero): Likewise.
10181 (rint_test_downward): Likewise.
10182 (rint_test_upward): Likewise.
10183 (round_test): Likewise.
10184 (scalb_test): Likewise.
10185 (scalbn_test): Likewise.
10186 (scalbln_test): Likewise.
10187 (signbit_test): Likewise.
10188 (sin_test): Likewise.
10189 (sin_test_tonearest): Likewise.
10190 (sin_test_towardzero): Likewise.
10191 (sin_test_downward): Likewise.
10192 (sin_test_upward): Likewise.
10193 (sincos_test): Likewise.
10194 (sinh_test): Likewise.
10195 (sinh_test_tonearest): Likewise.
10196 (sinh_test_towardzero): Likewise.
10197 (sinh_test_downward): Likewise.
10198 (sinh_test_upward): Likewise.
10199 (sqrt_test): Likewise.
10200 (sqrt_test_tonearest): Likewise.
10201 (sqrt_test_towardzero): Likewise.
10202 (sqrt_test_downward): Likewise.
10203 (sqrt_test_upward): Likewise.
10204 (tan_test): Likewise.
10205 (tan_test_tonearest): Likewise.
10206 (tan_test_towardzero): Likewise.
10207 (tan_test_downward): Likewise.
10208 (tan_test_upward): Likewise.
10209 (tanh_test): Likewise.
10210 (tgamma_test): Likewise.
10211 (trunc_test): Likewise.
10212 (y0_test): Likewise.
10213 (y1_test): Likewise.
10214 (yn_test): Likewise.
10215 (significand_test): Likewise.
10217 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10218 individual tests in comment.
10219 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10220 (prev_max_error): New variable.
10221 (prev_real_max_error): Likewise.
10222 (prev_imag_max_error): Likewise.
10223 (compare_ulp_data): Don't refer to test names in comment.
10224 (find_test_ulps): Remove function.
10225 (find_function_ulps): Likewise.
10226 (find_complex_function_ulps): Likewise.
10227 (init_max_error): Take function name as argument. Look up ulps
10229 (print_ulps): Remove function.
10230 (print_max_error): Use prev_max_error instead of calling
10231 find_function_ulps.
10232 (print_complex_max_error): Use prev_real_max_error and
10233 prev_imag_max_error instead of calling find_complex_function_ulps.
10234 (check_float_internal): Take max_ulp parameter instead of calling
10235 find_test_ulps. Don't call print_ulps.
10236 (check_float): Update call to check_float_internal.
10237 (check_complex): Update calls to check_float_internal.
10238 (START): Pass argument to init_max_error.
10239 * math/gen-libm-test.pl (%results): Don't include "kind"
10241 (parse_ulps): Don't handle ulps of individual tests.
10242 (print_ulps_file): Likewise.
10243 (output_ulps): Likewise.
10244 * math/README.libm-test: Update.
10245 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10247 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10248 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10249 * sysdeps/arm/libm-test-ulps: Likewise.
10250 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10251 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10252 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10253 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10254 * sysdeps/microblaze/libm-test-ulps: Likewise.
10255 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10256 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10258 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10259 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10260 * sysdeps/sh/libm-test-ulps: Likewise.
10261 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10262 * sysdeps/tile/libm-test-ulps: Likewise.
10263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10265 2014-03-04 Joseph Myers <joseph@codesourcery.com>
10267 * math/libm-test.inc (print_complex_max_error): Check separately
10268 whether real and imaginary errors are within allowed range and
10269 pass 0 to print_complex_function_ulps instead of value within
10272 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10274 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10276 (get_handles_fopen): Likewise.
10277 (do_write_test): Likewise.
10279 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10281 * libio/fileops.c (do_ftell): Use cached offset when
10283 * libio/iofwide.c (do_ftell_wide): Likewise.
10284 * libio/iofdopen.c (_IO_new_fdopen): Don't use
10286 * libio/wfileops.c (_IO_fwide): Don't cache offset.
10289 * libio/libioP.h (get_file_offset): New function.
10290 * libio/fileops.c (get_file_offset): Likewise.
10291 (do_ftell): Likewise.
10292 (_IO_new_file_seekoff): Split out ftell logic.
10293 * libio/wfileops.c (do_ftell_wide): Likewise.
10294 (_IO_wfile_seekoff): Split out ftell logic.
10295 * libio/tst-ftell-active-handler.c: New test case.
10296 * libio/Makefile (tests): Add it.
10298 2014-03-03 Roland McGrath <roland@hack.frob.com>
10300 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10301 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10303 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10306 * nscd/connections.c (nscd_init): Call do_exit.
10307 (start_threads): Call do_exit and notify_parent.
10308 (begin_drop_privileges): Call do_exit.
10309 (finish_drop_privileges): Likewise.
10310 * nscd/selinux.c (preserve_capabilities): Likewise.
10311 (install_real_capabilities): Likewise.
10312 (nscd_selinux_enabled): Likewise.
10313 (avc_create_thread): Likewise.
10314 (avc_alloc_lock): Likewise.
10315 (nscd_avc_init): Likewise.
10316 * nscd/nscd.c (parent_fd): New static variable.
10317 (main): Create a pipe between parent and child processes.
10318 Skip closing parent_fd.
10319 (monitor_child): New function.
10320 (do_exit): Likewise.
10321 (notify_parent): Likewise.
10322 * nscd/nscd.h (notify_parent): Likewise.
10323 (do_exit): Likewise.
10325 2014-03-03 Carlos O'Donell <carlos@redhat.com>
10327 * malloc/malloc.c (__libc_calloc): Revert last change.
10329 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10333 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10335 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10339 (__libc_ifunc_impl_list): Likewise.
10340 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10341 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10342 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10343 * string/strrchr.c: Define STRRCHR.
10345 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
10347 * benchtest/bench-strtok.c (simple_strtok): Delete.
10348 (strtok_string): Use as benchmark.
10349 * string/strtok (STRTOK): New macro.
10351 2014-02-28 Carlos O'Donell <carlos@redhat.com>
10353 * manual/threads.texi: Add header and standard comments to all
10356 * elf/dl-lookup.c (check_match): New function.
10357 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10358 (do_lookup_x): Remove nested function check_match. Use non-nested
10359 function check_match.
10361 2014-02-28 Roland McGrath <roland@hack.frob.com>
10363 * csu/Makefile (generated, before-compile): Use += rather than =.
10364 * catgets/Makefile (generated, generated-dirs): Likewise.
10365 * debug/Makefile (generated): Likewise.
10366 * dlfcn/Makefile (generated): Likewise.
10367 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10368 * iconvdata/Makefile (before-compile, generated): Likewise.
10369 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10370 * libio/Makefile (generated): Likewise.
10371 * malloc/Makefile (generated): Likewise.
10372 * manual/Makefile (generated, generated-dirs): Likewise.
10373 * misc/Makefile (generated): Likewise.
10374 * posix/Makefile (generated): Likewise.
10375 * resolv/Makefile (generated): Likewise.
10376 * sunrpc/Makefile (generated, generated-dirs): Likewise.
10377 * timezone/Makefile (generated, generated-dirs): Likewise.
10379 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10381 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10384 power8 implementation.
10385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10386 file: POWER8 llround ifunc implementation.
10387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10388 (__lllround): Add POWER8 implementation.
10389 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10390 POWER8 llround implementation.
10392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10393 power8 implementation.
10394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10395 file: POWER8 llrint ifunc implementation.
10396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10397 Add POWER8 implementation.
10398 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10399 POWER8 llrint implementation.
10401 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10402 power8 implementation.
10403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10404 file: POWER8 finite ifunc implementation.
10405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10406 Add POWER8 implementation.
10407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10409 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10410 POWER8 finite implementation.
10411 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10414 power8 implementation.
10415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10416 file: POWER8 isinf ifunc implementation.
10417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10418 POWER8 implementation.
10419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10422 isinf implementation.
10423 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10425 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10426 (INIT_ARCH): Add hwcap2 initialization.
10427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10428 power8 implementation.
10429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10430 file: POWER8 isnan ifunc implementation.
10431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10432 POWER8 implementation.
10433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10436 isnan implementation.
10437 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10439 2014-02-27 Joey Ye <joey.ye@arm.com>
10441 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10442 (_FP_NANFRAC_Q): Set to zero.
10444 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10447 * math/auto-libm-test-in: New test inputs.
10448 * math/auto-libm-test-out: Regenerate.
10449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10452 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10454 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10456 * scripts/evaluate-test.sh: Take new argument indicating whether
10457 failure is expected.
10458 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10459 indicating whether failure is expected.
10460 * conform/Makefile (test-xfail-run-conformtest): New variable.
10461 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10463 * posix/Makefile (test-xfail-annexc): New variable.
10464 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10466 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10468 * argp/Makefile: Include Makeconfig immediately after defining
10470 * assert/Makefile: Likewise.
10471 * benchtests/Makefile: Likewise.
10472 * catgets/Makefile: Likewise.
10473 * conform/Makefile: Likewise.
10474 * crypt/Makefile: Likewise.
10475 * csu/Makefile: Likewise.
10476 (all): Remove target.
10477 * ctype/Makefile: Include Makeconfig immediately after defining
10479 * debug/Makefile: Likewise.
10480 * dirent/Makefile: Likewise.
10481 * dlfcn/Makefile: Likewise.
10482 * gmon/Makefile: Likewise.
10483 * gnulib/Makefile: Likewise.
10484 * grp/Makefile: Likewise.
10485 * gshadow/Makefile: Likewise.
10486 * hesiod/Makefile: Likewise.
10487 * hurd/Makefile: Likewise.
10488 (all): Remove target.
10489 * iconvdata/Makefile: Include Makeconfig immediately after
10491 * inet/Makefile: Likewise.
10492 * intl/Makefile: Likewise.
10493 * io/Makefile: Likewise.
10494 * libio/Makefile: Likewise.
10495 (all): Remove target.
10496 * locale/Makefile: Include Makeconfig immediately after defining
10498 * login/Makefile: Likewise.
10499 * mach/Makefile: Likewise.
10500 (all): Remove target.
10501 * malloc/Makefile: Include Makeconfig immediately after defining
10503 (all): Remove target.
10504 * manual/Makefile: Include Makeconfig immediately after defining
10506 * math/Makefile: Likewise.
10507 * misc/Makefile: Likewise.
10508 * nis/Makefile: Likewise.
10509 * nss/Makefile: Likewise.
10510 * po/Makefile: Likewise.
10511 (all): Remove target.
10512 * posix/Makefile: Include Makeconfig immediately after defining
10514 * pwd/Makefile: Likewise.
10515 * resolv/Makefile: Likewise.
10516 * resource/Makefile: Likewise.
10517 * rt/Makefile: Likewise.
10518 * setjmp/Makefile: Likewise.
10519 * shadow/Makefile: Likewise.
10520 * signal/Makefile: Likewise.
10521 * socket/Makefile: Likewise.
10522 * soft-fp/Makefile: Likewise.
10523 * stdio-common/Makefile: Likewise.
10524 * stdlib/Makefile: Likewise.
10525 * streams/Makefile: Likewise.
10526 * string/Makefile: Likewise.
10527 * sunrpc/Makefile: Likewise.
10528 (all): Remove target.
10529 * sysvipc/Makefile: Include Makeconfig immediately after defining
10531 * termios/Makefile: Likewise.
10532 * time/Makefile: Likewise.
10533 * timezone/Makefile: Likewise.
10534 (all): Remove target.
10535 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10537 * wctype/Makefile: Likewise.
10539 2014-02-26 Steve Ellcey <sellcey@mips.com>
10541 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10542 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10543 (libc_feholdexcept_setround_mips): Ditto.
10544 (libc_feholdsetround): New.
10545 (libc_feholdsetroundf): New.
10546 (libc_feholdsetroundl): New.
10547 (libc_feupdateenv_test_mips): New.
10548 (libc_feupdateenv_test): New.
10549 (libc_feupdateenv_testf): New.
10550 (libc_feupdateenv_testl): New.
10551 (libc_feresetround): New.
10552 (libc_feresetroundf): New.
10553 (libc_feresetroundl): New.
10554 (libc_fetestexcept_mips): New.
10555 (libc_fetestexcept): New.
10556 (libc_fetestexceptf): New.
10557 (libc_fetestexceptl): New.
10558 (HAVE_RM_CTX): New.
10559 (libc_feholdexcept_setround_mips_ctx): New.
10560 (libc_feholdexcept_setround_ctx): New.
10561 (libc_feholdexcept_setroundf_ctx): New.
10562 (libc_feholdexcept_setroundl_ctx): New.
10563 (libc_fesetenv_mips_ctx): New.
10564 (libc_fesetenv_ctx): New.
10565 (libc_fesetenv_ctxf): New.
10566 (libc_fesetenv_ctxl): New.
10567 (libc_feupdateenv_mips_ctx): New.
10568 (libc_feupdateenv_ctx): New.
10569 (libc_feupdateenvf_ctx): New.
10570 (libc_feupdateenvl_ctx): New.
10571 (libc_feholdsetround_mips_ctx): New.
10572 (libc_feholdsetround_ctx): New.
10573 (libc_feholdsetroundf_ctx): New.
10574 (libc_feholdsetroundl_ctx): New.
10575 (libc_feresetround_mips_ctx): New.
10576 (libc_feresetround_ctx): New.
10577 (libc_feresetroundf_ctx): New.
10578 (libc_feresetroundl_ctx): New.
10580 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10582 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10584 * manual/ipc.texi: New file.
10585 * manual/Makefile (chapters): Add ipc.
10586 * manual/job.texi: Add "Inter-Process Communication" to next.
10587 * manual/process.texi: Add "Inter-Process Communication" to prev.
10589 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10593 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10595 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10597 * manual/arith.texi: Fix spaces after sentences.
10598 * manual/charset.texi: Likewise.
10599 * manual/errno.texi: Likewise.
10600 * manual/install.texi: Likewise.
10601 * manual/llio.texi: Likewise.
10602 * manual/locale.texi: Likewise.
10603 * manual/maint.texi: Likewise.
10604 * manual/math.texi: Likewise.
10605 * manual/memory.texi: Likewise.
10606 * manual/message.texi: Likewise.
10607 * manual/probes.texi: Likewise.
10608 * manual/resource.texi: Likewise.
10609 * manual/signal.texi: Likewise.
10610 * manual/socket.texi: Likewise.
10611 * manual/stdio.texi: Likewise.
10612 * manual/string.texi: Likewise.
10613 * manual/time.texi: Likewise.
10614 * manual/users.texi: Likewise.
10616 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10619 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10620 _DEFAULT_SOURCE is defined.
10622 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10623 Carlos O'Donell <carlos@redhat.com>
10626 * elf/dl-tls.c (_dl_count_modids): New function.
10627 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10628 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10629 audit library and increment generation counter.
10630 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10631 * elf/tst-audit9.c: New file.
10632 * elf/tst-auditmod9a.c: New file.
10633 * elf/tst-auditmod9b.c: New file.
10634 * elf/Makefile: Add rules to build and run tst-audit9.
10636 2014-02-25 Florian Weimer <fweimer@redhat.com>
10639 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10641 2014-02-25 Will Newton <will.newton@linaro.org>
10643 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10644 (__longjmp): Restore sp and lr before restoring callee
10645 saved registers. Add longjmp and longjmp_target
10646 SystemTap probe point.
10647 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10648 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10649 Define to zero to match jmpbuf layout.
10650 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10651 (__sigsetjmp): Save sp and lr before saving callee
10652 saved registers. Add setjmp SystemTap probe point.
10654 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10656 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10658 2014-02-24 Andreas Schwab <schwab@suse.de>
10661 * elf/pldd.c (wait_for_ptrace_stop): New function.
10662 (main): Call it after attaching.
10664 2014-02-22 Roland McGrath <roland@hack.frob.com>
10666 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10667 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10668 Versions files is now verboten.
10669 * hurd/Versions (libc: GLIBC_2.0):
10670 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10671 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10672 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10673 * mach/Versions: Likewise.
10675 * csu/Versions: Remove unused %include.
10676 * resolv/Versions: Likewise.
10678 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10680 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10681 ($(objpfx)check-local-headers.out): Likewise.
10682 ($(objpfx)begin-end-check.out): Likewise.
10683 * Makerules (check-abi-%.out): Likewise.
10684 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10685 ($(objpfx)test2.cat): Likewise.
10686 ($(objpfx)de/libc.cat): Likewise.
10687 ($(objpfx)test-gencat.out): Likewise.
10688 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10689 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10690 ($(objpfx)noload-mem): Likewise.
10691 ($(objpfx)tst-pathopt.out): Likewise.
10692 ($(objpfx)tst-rtld-load-self.out): Likewise.
10693 ($(objpfx)tst-array1-cmp.out): Likewise.
10694 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10695 ($(objpfx)tst-array2-cmp.out): Likewise.
10696 ($(objpfx)tst-array3-cmp.out): Likewise.
10697 ($(objpfx)tst-array4-cmp.out): Likewise.
10698 ($(objpfx)tst-array5-cmp.out): Likewise.
10699 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10700 ($(objpfx)check-textrel.out): Likewise.
10701 ($(objpfx)check-execstack.out): Likewise.
10702 ($(objpfx)check-localplt.out): Likewise.
10703 ($(objpfx)order2-cmp.out): Likewise.
10704 ($(objpfx)tst-leaks1-mem): Likewise.
10705 ($(objpfx)tst-leaks1-static-mem): Likewise.
10706 ($(objpfx)tst-initorder-cmp.out): Likewise.
10707 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10708 ($(objpfx)tst-unused-dep.out): Likewise.
10709 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10710 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10711 * iconv/Makefile (test-iconvconfig): Likewise.
10712 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10713 ($(objpfx)iconv-test.out): Likewise.
10714 ($(objpfx)tst-tables.out): Likewise.
10715 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10716 ($(objpfx)tst-gettext.out): Likewise.
10717 ($(objpfx)tst-translit.out): Likewise.
10718 ($(objpfx)tst-gettext2.out): Likewise.
10719 ($(objpfx)tst-gettext4.out): Likewise.
10720 ($(objpfx)tst-gettext6.out): Likewise.
10721 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10722 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10723 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10724 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10725 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10726 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10727 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10728 ($(objpfx)wordexp-tst.out): Likewise.
10729 ($(objpfx)annexc.out): Likewise.
10730 ($(objpfx)tst-fnmatch-mem): Likewise.
10731 ($(objpfx)bug-regex2-mem): Likewise.
10732 ($(objpfx)bug-regex14-mem): Likewise.
10733 ($(objpfx)bug-regex21-mem): Likewise.
10734 ($(objpfx)bug-regex31-mem): Likewise.
10735 ($(objpfx)tst-vfork3-mem): Likewise.
10736 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10737 ($(objpfx)tst-pcre-mem): Likewise.
10738 ($(objpfx)tst-boost-mem): Likewise.
10739 ($(objpfx)tst-getconf.out): Likewise.
10740 ($(objpfx)bug-ga2-mem): Likewise.
10741 ($(objpfx)bug-glob2-mem): Likewise.
10742 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10743 ($(objpfx)mtrace-tst-leaks2): Likewise.
10744 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10745 ($(objpfx)tst-printf.out): Likewise.
10746 ($(objpfx)tst-setvbuf1.out): Likewise.
10747 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10748 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10749 ($(objpfx)tst-fmtmsg.out): Likewise.
10750 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10751 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10753 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10754 * bits/sigaction.h [__USE_MISC]: Likewise.
10755 * bits/waitstatus.h: Update #endif comments.
10756 * ctype/ctype.h: Likewise.
10757 * dirent/dirent.h: Likewise.
10758 [__USE_MISC]: Remove redundant conditionals.
10759 * grp/grp.h: Update #endif comments.
10760 [__USE_GNU]: Remove redundant conditionals.
10761 [__USE_MISC]: Likewise.
10762 * inet/netinet/in.h [__USE_GNU]: Likewise.
10763 * io/sys/stat.h [__USE_MISC]: Likewise.
10764 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10765 * libio/bits/stdio.h: Update #endif comments.
10766 [__USE_MISC]: Remove redundant conditionals.
10767 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10768 * libio/stdio.h: Update #endif comments.
10769 [__USE_MISC]: Remove redundant conditionals.
10770 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10771 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10772 * math/math.h: Update #else and #endif comments.
10773 [__USE_MISC]: Remove redundant conditionals.
10774 * misc/sys/uio.h: Update #endif comments.
10775 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10776 * posix/glob.h [__USE_MISC]: Likewise.
10777 * posix/sys/types.h: Update #endif comments.
10778 [__USE_MISC]: Remove redundant conditionals.
10779 * posix/sys/wait.h: Update #endif comments.
10780 [__USE_MISC]: Remove redundant conditionals.
10781 * posix/unistd.h: Update #endif comments.
10782 [__USE_MISC]: Remove redundant conditionals.
10783 * pwd/pwd.h [__USE_GNU]: Likewise.
10784 [__USE_MISC]: Likewise.
10785 * resolv/netdb.h [__USE_GNU]: Likewise.
10786 * signal/signal.h: Update #endif comments.
10787 [__USE_MISC]: Remove redundant conditionals.
10788 * stdlib/stdlib.h: Update #else and #endif comments.
10789 [__USE_MISC]: Remove redundant conditionals.
10790 [__USE_GNU]: Likewise.
10791 * string/bits/string2.h [__USE_MISC]: Likewise.
10792 * string/string.h: Update #endif comments.
10793 [__USE_MISC]: Remove redundant conditionals.
10794 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10796 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10797 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10798 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10800 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10802 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10804 [__USE_MISC]: Remove redundant conditionals.
10805 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10806 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10807 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10808 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10809 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10811 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10812 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10814 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10817 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10819 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10820 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10822 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10824 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10825 * sysdeps/x86/bits/string.h: Update #endif comments.
10826 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10828 * time/sys/time.h: Update #endif comments.
10829 * time/time.h: Likewise.
10830 [__USE_MISC]: Remove redundant conditionals.
10832 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10835 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10837 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10839 * Versions.def (librt): Add GLIBC_2.17.
10841 2014-02-21 Adam Conrad <adconrad@0c3.net>
10843 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10844 synonym for _SYS_AUXV_H to allow direct inclusion.
10845 * sysdeps/sparc/bits/hwcap.h: Likewise.
10846 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10847 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10848 * sysdeps/sparc/sysdep.h: Likewise.
10850 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10852 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10854 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10856 * benchtests/bench-strrchr.c: Print length instead of position.
10858 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10861 * sysdeps/unix/sysv/linux/kernel-features.h
10862 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10863 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10864 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10865 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10867 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10868 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10869 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10870 (__ASSUME_SENDMMSG): Define instead of using previous
10871 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10872 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10873 (__ASSUME_SENDMMSG_SYSCALL): Define.
10874 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10875 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10877 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10878 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10880 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10881 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10883 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10884 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10885 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10886 [__ASSUME_SENDMMSG]: Change conditionals to
10887 [__ASSUME_SENDMMSG_SOCKETCALL].
10888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10889 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10891 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10892 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10894 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10895 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10896 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10897 [!__ASSUME_SENDMMSG]: Change conditional to
10898 [!__ASSUME_SENDMMSG_SOCKETCALL].
10899 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10900 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10904 * sysdeps/unix/sysv/linux/kernel-features.h
10905 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10906 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10907 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10908 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10909 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10910 [__i386__ || __sparc__]
10911 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10912 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10913 (__ASSUME_RECVMMSG): Define instead of using previous
10914 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10915 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10916 (__ASSUME_RECVMMSG_SYSCALL): Define.
10917 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10918 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10920 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10921 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10923 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10924 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10926 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10927 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10928 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10929 [__ASSUME_RECVMMSG]: Change condition to
10930 [__ASSUME_RECVMMSG_SOCKETCALL].
10931 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10932 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10934 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10935 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10936 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10938 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10939 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10940 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10941 [!__ASSUME_RECVMMSG]: Change condition to
10942 [!__ASSUME_RECVMMSG_SOCKETCALL].
10943 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10944 (__ASSUME_RECVMMSG_SYSCALL): Define.
10947 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10948 __powerpc__ || __s390__ || __sh__ || __sparc__]
10949 (__ASSUME_SOCKETCALL): Define.
10950 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10951 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10952 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10953 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10954 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10955 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10956 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10957 (__ASSUME_ACCEPT4): Define instead of using previous
10958 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10959 __powerpc__ || __sparc__ || __s390__)] condition.
10960 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10961 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10962 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10963 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10964 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10965 [!__ASSUME_ACCEPT4]: Change condition to
10966 [!__ASSUME_ACCEPT4_SOCKETCALL].
10967 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10968 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10969 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10970 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10971 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10972 __ASSUME_ACCEPT4_SYSCALL.
10973 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10974 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10975 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10976 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10977 __ASSUME_ACCEPT4_SYSCALL.
10978 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10979 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10980 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10981 [__ASSUME_ACCEPT4]: Change condition to
10982 [__ASSUME_ACCEPT4_SOCKETCALL].
10983 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10984 (__ASSUME_SOCKETCALL): Define.
10985 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10986 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10987 (__ASSUME_SOCKETCALL): Define.
10988 (__ASSUME_ACCEPT4): Remove.
10989 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10991 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10992 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10994 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10995 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10997 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10999 (HWCAP_ARM_LPAE): Likewise.
11000 (HWCAP_ARM_EVTSTRM): Likewise.
11001 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11002 Add vpfd32, lpae and evtstrm.
11003 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11006 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11008 * math/auto-libm-test-in: Add tests of clog10.
11009 * math/auto-libm-test-out: Regenerated.
11010 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11011 * sysdeps/i386/fpu/libm-test-ulps: Update.
11012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11014 2014-02-18 Andreas Schwab <schwab@suse.de>
11017 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11018 Store non-zero if the second buffer was newly allocated.
11019 (send_dg): Likewise.
11020 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11021 to send_vc and send_dg.
11022 (res_nsend): Pass NULL for ansp2_malloced.
11023 * resolv/res_query.c (__libc_res_nquery): Add parameter
11024 answerp2_malloced and pass it down to __libc_res_nsend.
11025 (res_nquery): Pass additional NULL to __libc_res_nquery.
11026 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11027 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11028 second answer buffer if answerp2_malloced was set.
11029 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11030 (__libc_res_nquerydomain): Add parameter
11031 answerp2_malloced and pass it down to __libc_res_nquery.
11032 (res_nquerydomain): Pass additional NULL to
11033 __libc_res_nquerydomain.
11034 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11035 additional NULL to __libc_res_nsend and __libc_res_nquery.
11036 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11037 additional NULL to __libc_res_nsearch.
11038 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11039 parameter of __libc_res_nsearch to check for separately allocated
11041 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11043 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11044 additional NULL to __libc_res_nquery.
11045 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11046 __libc_res_nsearch.
11047 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11048 * include/resolv.h: Update prototypes of __libc_res_nquery,
11049 __libc_res_nsearch, __libc_res_nsend.
11051 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11053 * math/auto-libm-test-in: Add tests of fma.
11054 * math/auto-libm-test-out: Regenerated.
11055 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11056 (fma_towardzero_test_data): Likewise.
11057 (fma_downward_test_data): Likewise.
11058 (fma_upward_test_data): Likewise.
11059 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11061 (rounding_modes): Add values for new field.
11062 (func_calc_method): Add value mpfr_fff_f.
11063 (func_calc_desc): Add mpfr_fff_f union field.
11064 (test_function): Add field exact_args.
11065 (FUNC): Add macro argument EXACT_ARGS.
11066 (FUNC_mpfr_f_f): Update call to FUNC.
11067 (FUNC_mpfr_f_f): Likewise.
11068 (FUNC_mpfr_ff_f): Likewise.
11069 (FUNC_mpfr_if_f): Likewise.
11070 (FUNC_mpc_c_f): Likewise.
11071 (FUNC_mpc_c_c): Likewise.
11072 (test_functions): Add fma. Update calls to FUNC.
11073 (handle_input_arg): Add argument exact_args.
11074 (add_test): Update call to handle_input_arg.
11075 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11076 (output_for_one_input_case): Update call to calc_generic_results.
11077 Recalculate exact zero results in each rounding mode.
11079 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11080 non-negative before setting low bit.
11081 * math/auto-libm-test-in: Mark one asin test possibly having
11082 spurious underflow.
11083 * math/auto-libm-test-out: Regenerated.
11084 * sysdeps/i386/fpu/libm-test-ulps: Update.
11085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11087 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11089 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11090 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11091 ports/sysdeps/unix/sysv/linux/microblaze.
11092 * README: Add missing listing for microblaze*-*-linux-gnu.
11094 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11096 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11099 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11101 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11102 * sysdeps/unix/sysv/linux/ia64: Move directory from
11103 ports/sysdeps/unix/sysv/linux/ia64.
11104 * README: Update listing for ia64-*-linux-gnu.
11106 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11107 Joseph Myers <joseph@codesourcery.com>
11109 * Makeconfig (test-name): New variable.
11110 (evaluate-test): Likewise.
11111 * Makerules (do-test-clean): Remove .test-result files.
11112 (common-mostlyclean): Likewise.
11113 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11114 * scripts/evaluate-test.sh: New file.
11116 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11118 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11119 separate $(objpfx)tst-fopenloc-cmp.out and
11120 $(objpfx)tst-fopenloc-mem.out targets.
11121 (tests): Update dependencies.
11122 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11123 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11124 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11125 (tst-rxspencer-no-utf8-ARGS): New variable.
11126 (tst-rxspencer-no-utf8-ENV): Likewise.
11127 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11128 instead of $(objpfx)tst-rxspencer-mem.
11129 ($(objpfx)tst-rxspencer-mem): Change target to
11130 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11131 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11132 * posix/tst-rxspencer-no-utf8.c: New file.
11134 * elf/Makefile ($(objpfx)order.out): Remove rule.
11135 [$(run-built-tests) = yes] (tests): Depend on
11136 $(objpfx)order-cmp.out.
11137 ($(objpfx)order-cmp.out): New rule.
11138 [$(run-built-tests) = yes] (tests): Depend on
11139 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11140 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11141 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11142 $(objpfx)tst-array5-static-cmp.out.
11143 ($(objpfx)tst-array1.out): Remove rule.
11144 ($(objpfx)tst-array1-cmp.out): New rule.
11145 ($(objpfx)tst-array1-static.out): Remove rule.
11146 ($(objpfx)tst-array1-static-cmp.out): New rule.
11147 ($(objpfx)tst-array2.out): Remove rule.
11148 ($(objpfx)tst-array2-cmp.out): New rule.
11149 ($(objpfx)tst-array3.out): Remove rule.
11150 ($(objpfx)tst-array3-cmp.out): New rule.
11151 ($(objpfx)tst-array4.out): Remove rule.
11152 ($(objpfx)tst-array4-cmp.out): New rule.
11153 ($(objpfx)tst-array5.out): Remove rule.
11154 ($(objpfx)tst-array5-cmp.out): New rule.
11155 ($(objpfx)tst-array5-static.out): Remove rule.
11156 ($(objpfx)tst-array5-static-cmp.out): New rule.
11157 [$(run-built-tests) = yes] (tests): Depend on
11158 $(objpfx)order2-cmp.out.
11159 ($(objpfx)order2.out): Remove rule.
11160 ($(objpfx)order2-cmp.out): New rule.
11161 ($(objpfx)tst-initorder.out): Remove rule.
11162 [$(run-built-tests) = yes] (tests): Depend on
11163 $(objpfx)tst-initorder-cmp.out.
11164 ($(objpfx)tst-initorder-cmp.out): New rule.
11165 ($(objpfx)tst-initorder2.out): Remove rule.
11166 [$(run-built-tests) = yes] (tests): Depend on
11167 $(objpfx)tst-initorder2-cmp.out.
11168 ($(objpfx)tst-initorder2-cmp.out): New rule.
11169 [$(run-built-tests) = yes] (tests): Depend on
11170 $(objpfx)tst-unused-dep-cmp.out.
11171 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11172 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11173 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11174 on $(objpfx)tst-setvbuf1-cmp.out.
11175 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11176 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11177 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11178 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11179 ($(objpfx)tst-svc.out): Remove rule.
11180 ($(objpfx)tst-svc-cmp.out): New rule.
11182 2014-02-13 Joseph Myers <joseph@codesourcery.com>
11184 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11185 * ctype/ctype.h [__USE_MISC]: Likewise.
11186 * dirent/dirent.h [__USE_MISC]: Likewise.
11187 * grp/grp.h [__USE_MISC]: Likewise.
11188 * io/fcntl.h [__USE_MISC]: Likewise.
11189 * io/sys/stat.h [__USE_MISC]: Likewise.
11190 * libio/stdio.h [__USE_MISC]: Likewise.
11191 * posix/unistd.h [__USE_MISC]: Likewise.
11192 * pwd/pwd.h [__USE_MISC]: Likewise.
11193 * stdlib.h [__USE_MISC]: Likewise.
11194 * string/bits/string2.h [__USE_MISC]: Likewise.
11195 * string/string.h [__USE_MISC]: Likewise.
11196 * time/time.h [__USE_MISC]: Likewise.
11198 2014-02-13 Andreas Schwab <schwab@suse.de>
11201 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11202 second answer buffer if it was separately allocated.
11204 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11206 * sysdeps/mips/math-tests.h: Include <features.h>.
11207 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11208 (ROUNDING_TESTS_long_double): Do not define.
11209 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11210 (EXCEPTION_TESTS_long_double): Likewise.
11211 * sysdeps/mips/mips64/libm-test-ulps: Update.
11213 * include/features.h (__USE_BSD): Remove macro definitions.
11214 (__USE_SVID): Likewise.
11215 (_BSD_SOURCE): Likewise.
11216 (_SVID_SOURCE): Likewise.
11217 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11218 from definition of _DEFAULT_SOURCE.
11219 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11221 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11222 * bits/mman.h [__USE_BSD]: Likewise.
11223 * bits/termios.h [__USE_BSD]: Likewise.
11224 * bits/waitstatus.h [__USE_BSD]: Likewise.
11225 * ctype/ctype.h [__USE_SVID]: Likewise.
11226 * dirent/dirent.h [__USE_BSD]: Likewise.
11227 * grp/grp.h [__USE_SVID]: Likewise.
11228 [__USE_BSD]: Likewise.
11229 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11230 * io/fcntl.h [__USE_BSD]: Likewise.
11231 * io/ftw.h [__USE_BSD]: Likewise.
11232 * io/sys/stat.h [__USE_BSD]: Likewise.
11233 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11234 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11235 * libio/stdio.h [__USE_SVID]: Likewise.
11236 [__USE_BSD]: Likewise.
11237 * math/math.h [__USE_SVID]: Likewise.
11238 [__USE_BSD]: Likewise.
11239 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11240 * misc/bits/syslog.h [__USE_BSD]: Likewise.
11241 * misc/search.h [__USE_SVID]: Likewise.
11242 * misc/sys/mman.h [__USE_BSD]: Likewise.
11243 * misc/sys/syslog.h [__USE_BSD]: Likewise.
11244 * misc/sys/uio.h [__USE_BSD]: Likewise.
11245 * posix/bits/unistd.h [__USE_BSD]: Likewise.
11246 * posix/glob.h [__USE_BSD]: Likewise.
11247 * posix/regex.h [__USE_BSD]: Likewise.
11248 * posix/sys/types.h [__USE_BSD]: Likewise.
11249 [__USE_SVID]: Likewise.
11250 * posix/sys/utsname.h [__USE_SVID]: Likewise.
11251 * posix/sys/wait.h [__USE_BSD]: Likewise.
11252 [__USE_SVID]: Likewise.
11253 * posix/unistd.h [__USE_BSD]: Likewise.
11254 [__USE_SVID]: Likewise.
11255 * pwd/pwd.h [__USE_SVID]: Likewise.
11256 * resolv/netdb.h [__USE_BSD]: Likewise.
11257 * setjmp/setjmp.h [__USE_BSD]: Likewise.
11258 * signal/signal.h [__USE_BSD]: Likewise.
11259 [__USE_SVID]: Likewise.
11260 * socket/sys/socket.h [__USE_BSD]: Likewise.
11261 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11262 * stdlib/stdlib.h [__USE_BSD]: Likewise.
11263 [__USE_SVID]: Likewise.
11264 * string/bits/string2.h [__USE_BSD]: Likewise.
11265 [__USE_SVID]: Likewise.
11266 * string/bits/string3.h [__USE_BSD]: Likewise.
11267 * string/endian.h [__USE_BSD]: Likewise.
11268 * string/string.h [__USE_SVID]: Likewise.
11269 [__USE_BSD]: Likewise.
11270 * string/strings.h [__USE_BSD]: Likewise.
11271 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11272 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11273 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11274 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11275 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11276 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11278 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11280 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11281 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11283 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11284 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11286 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11288 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11289 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11290 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11292 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11294 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11295 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11296 * termios/termios.h [__USE_BSD]: Likewise.
11297 * time/sys/time.h [__USE_BSD]: Likewise.
11298 * time/time.h [__USE_BSD]: Likewise.
11299 [__USE_SVID]: Likewise.
11301 * Makefile (subdir_targets): Remove subdir_lint.out.
11303 * stdio-common/Makefile (do-tst-unbputc): Remove target.
11304 (do-tst-printf): Likewise.
11305 (tests): Depend directly on $(objpfx)tst-unbputc.out and
11306 $(objpfx)tst-printf.out.
11308 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11310 * Makerules (check-abi-%): Change target to
11311 $(objpfx)check-abi-%.out.
11312 (check-abi target): Update dependencies.
11313 (check-abi-pattern variable): Redirect output of diff to $@.
11314 (check-abi variable): Likewise.
11315 * elf/Makefile (check-abi): Update dependencies.
11317 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11319 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11320 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11322 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11323 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11324 value has largest subnormal exponent.
11325 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11326 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11327 * sysdeps/aarch64/soft-fp/sfp-machine.h
11328 (_FP_TININESS_AFTER_ROUNDING): New macro.
11329 * sysdeps/alpha/soft-fp/sfp-machine.h
11330 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11331 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11333 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11334 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11335 * sysdeps/mips/soft-fp/sfp-machine.h
11336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11337 * sysdeps/powerpc/soft-fp/sfp-machine.h
11338 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11339 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11341 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11342 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11343 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11344 (_FP_TININESS_AFTER_ROUNDING): Likewise.
11345 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11348 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
11351 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11354 2014-02-12 Richard Henderson <rth@redhat.com>
11356 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11357 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11358 * sysdeps/unix/sysv/linux/alpha: Move directory from
11359 ports/sysdeps/unix/sysv/linux/alpha.
11360 * README: Update listing for alpha-*-linux-gnu.
11362 2014-02-11 Joseph Myers <joseph@codesourcery.com>
11364 * include/features.h: Update comment documenting feature test
11366 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
11368 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11369 (_SVID_SOURCE): Likewise.
11370 (_DEFAULT_SOURCE): Update description of default features.
11371 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11373 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11374 (S_ISVTX): Likewise.
11375 * manual/math.texi (Mathematical Constants): Likewise.
11376 * manual/signal.texi (Interrupted Primitives): Likewise.
11377 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11378 * math/test-matherr.c (_SVID_SOURCE): Do not define.
11379 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11380 Don't refer to _SVID_SOURCE in warning text.
11382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11384 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11386 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11387 * sysdeps/mips/dl-lookup.c: Remove.
11388 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11390 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11393 * math/auto-libm-test-in: Add testcase for expl.
11394 * math/auto-libm-test-out: Regenerate.
11395 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11396 calculation of unsafe.
11397 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11399 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
11401 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11402 * sysdeps/unix/sysv/linux/aarch64: Move directory from
11403 ports/sysdeps/unix/sysv/linux/aarch64.
11404 * README: Update listing for aarch64*-*-linux-gnu.
11406 2014-02-11 Will Newton <will.newton@linaro.org>
11408 * manual/probes.texi (Mathematical Function Probes): Use
11409 "triggered" instead of "hit".
11411 * manual/probes.texi (Internal Probes): Add documentation
11412 of setjmp, longjmp and longjmp_target probes.
11414 * include/stap-probe.h: Add comment about probe argument
11417 * malloc/mtrace.c (attribute_hidden): Remove unused macro
11418 definition. (tr_where, tr_freehook, tr_mallochook,
11419 tr_reallochook, tr_memalignhook): Use ANSI protoype.
11421 2014-02-11 David S. Miller <davem@davemloft.net>
11423 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11424 processing int_tests.
11426 2014-02-10 Joseph Myers <joseph@codesourcery.com>
11428 * sysdeps/mips: Move directory from ports/sysdeps/mips.
11429 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11430 * sysdeps/unix/sysv/linux/mips: Move directory from
11431 ports/sysdeps/unix/sysv/linux/mips.
11432 * README: Update listing for mips-*-linux-gnu and
11433 mips64-*-linux-gnu.
11435 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11437 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11438 * sysdeps/unix/sysv/linux/m68k: Move directory from
11439 ports/sysdeps/unix/sysv/linux/m68k.
11440 * README: Update listing for m68k-*-linux-gnu.
11442 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11444 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11445 * sysdeps/unix/sysv/linux/generic: Move directory from
11446 ports/sysdeps/unix/sysv/linux/generic.
11447 * sysdeps/unix/sysv/linux/tile: Move directory from
11448 ports/sysdeps/unix/sysv/linux/tile.
11449 * README: Update listing for tile*-*-linux-gnu.
11451 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11453 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11455 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11456 * catgets/open_catalog.c (__open_catalog): Likewise.
11457 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11458 * debug/confstr_chk.c: Likewise.
11459 * debug/fread_chk.c (__fread_chk): Likewise.
11460 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11461 * debug/getgroups_chk.c: Likewise.
11462 * debug/mbsnrtowcs_chk.c: Likewise.
11463 * debug/mbsrtowcs_chk.c: Likewise.
11464 * debug/mbstowcs_chk.c: Likewise.
11465 * debug/memcpy_chk.c: Likewise.
11466 * debug/memmove_chk.c: Likewise.
11467 * debug/mempcpy_chk.c: Likewise.
11468 * debug/memset_chk.c: Likewise.
11469 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11470 * debug/strcat_chk.c (__strcat_chk): Likewise.
11471 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11472 * debug/strncat_chk.c (__strncat_chk): Likewise.
11473 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11474 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11475 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11476 * debug/wcpncpy_chk.c: Likewise.
11477 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11478 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11479 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11480 * debug/wcsncpy_chk.c: Likewise.
11481 * debug/wcsnrtombs_chk.c: Likewise.
11482 * debug/wcsrtombs_chk.c: Likewise.
11483 * debug/wcstombs_chk.c: Likewise.
11484 * debug/wmemcpy_chk.c: Likewise.
11485 * debug/wmemmove_chk.c: Likewise.
11486 * debug/wmempcpy_chk.c: Likewise.
11487 * debug/wmemset_chk.c: Likewise.
11488 * dirent/scandirat.c (SCANDIRAT): Likewise.
11489 * dlfcn/dladdr1.c (dladdr1): Likewise.
11490 * dlfcn/dladdr.c (dladdr): Likewise.
11491 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11492 * dlfcn/dlerror.c (__dlerror): Likewise.
11493 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11494 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11495 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11496 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11497 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11498 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11499 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11500 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11502 * elf/dl-conflict.c: Likewise.
11503 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11504 * elf/dl-dst.h: Likewise.
11505 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11506 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11507 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11508 * elf/dl-init.c (call_init, _dl_init): Likewise.
11509 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11510 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11511 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11513 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11515 * elf/dl-minimal.c (__libc_memalign): Likewise.
11516 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11517 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11518 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11519 * elf/dl-sym.c (do_sym): Likewise.
11520 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11521 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11522 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11523 * elf/dl-writev.h (_dl_writev): Likewise.
11524 * elf/ldconfig.c (search_dir): Likewise.
11525 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11526 (dl_main): Likewise.
11527 * elf/setup-vdso.h (setup_vdso): Likewise.
11528 * grp/compat-initgroups.c (compat_call): Likewise.
11529 * grp/fgetgrent.c (fgetgrent): Likewise.
11530 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11531 * grp/putgrent.c (putgrent): Likewise.
11532 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11534 * hurd/hurdinit.c: Likewise.
11535 * iconvdata/8bit-gap.c (struct): Likewise.
11536 * iconvdata/ansi_x3.110.c : Likewise.
11537 * iconvdata/big5.c : Likewise.
11538 * iconvdata/big5hkscs.c : Likewise.
11539 * iconvdata/cp1255.c: Likewise.
11540 * iconvdata/cp1258.c : Likewise.
11541 * iconvdata/cp932.c : Likewise.
11542 * iconvdata/euc-cn.c: Likewise.
11543 * iconvdata/euc-jisx0213.c : Likewise.
11544 * iconvdata/euc-jp.c: Likewise.
11545 * iconvdata/euc-jp-ms.c : Likewise.
11546 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11547 * iconvdata/gb18030.c : Likewise.
11548 * iconvdata/gbbig5.c (const): Likewise.
11549 * iconvdata/gbgbk.c: Likewise.
11550 * iconvdata/gbk.c : Likewise.
11551 * iconvdata/ibm1364.c : Likewise.
11552 * iconvdata/ibm930.c : Likewise.
11553 * iconvdata/ibm932.c: Likewise.
11554 * iconvdata/ibm933.c : Likewise.
11555 * iconvdata/ibm935.c : Likewise.
11556 * iconvdata/ibm937.c : Likewise.
11557 * iconvdata/ibm939.c : Likewise.
11558 * iconvdata/ibm943.c: Likewise.
11559 * iconvdata/iso_11548-1.c: Likewise.
11560 * iconvdata/iso-2022-cn.c : Likewise.
11561 * iconvdata/iso-2022-cn-ext.c : Likewise.
11562 * iconvdata/iso-2022-jp-3.c: Likewise.
11563 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11564 * iconvdata/iso-2022-kr.c : Likewise.
11565 * iconvdata/iso646.c (gconv_end): Likewise.
11566 * iconvdata/iso_6937-2.c : Likewise.
11567 * iconvdata/iso_6937.c : Likewise.
11568 * iconvdata/iso8859-1.c: Likewise.
11569 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11570 * iconvdata/shift_jisx0213.c : Likewise.
11571 * iconvdata/sjis.c : Likewise.
11572 * iconvdata/t.61.c : Likewise.
11573 * iconvdata/tcvn5712-1.c : Likewise.
11574 * iconvdata/tscii.c: Likewise.
11575 * iconvdata/uhc.c : Likewise.
11576 * iconvdata/unicode.c (gconv_end): Likewise.
11577 * iconvdata/utf-16.c (gconv_end): Likewise.
11578 * iconvdata/utf-32.c (gconv_end): Likewise.
11579 * iconvdata/utf-7.c (base64): Likewise.
11580 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11581 * iconv/gconv_close.c (__gconv_close): Likewise.
11582 * iconv/gconv_open.c (__gconv_open): Likewise.
11583 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11584 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11585 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11586 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11587 (ucs4le_internal_loop_single): Likewise.
11588 * iconv/iconv.c (iconv): Likewise.
11589 * iconv/iconv_close.c: Likewise.
11590 * iconv/loop.c (SINGLE): Likewise.
11591 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11592 * include/atomic.h: Likewise.
11593 * inet/inet6_option.c (option_alloc): Likewise.
11594 * intl/bindtextdom.c (set_binding_values): Likewise.
11595 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11596 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11597 * intl/localealias.c (read_alias_file): Likewise.
11598 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11599 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11600 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11601 * libio/fmemopen.c (fmemopen): Likewise.
11602 * libio/iofgets.c (_IO_fgets): Likewise.
11603 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11604 * libio/iofgetws.c (fgetws): Likewise.
11605 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11606 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11607 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11608 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11609 * locale/findlocale.c (_nl_find_locale): Likewise.
11610 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11611 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11613 * locale/setlocale.c (setlocale): Likewise.
11614 * login/programs/pt_chown.c (main): Likewise.
11615 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11616 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11617 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11618 (mmap, mmap64, mremap, munmap): Likewise.
11619 * math/e_exp2l.c: Likewise.
11620 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11621 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11622 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11623 * math/s_catan.c (__catan): Likewise.
11624 * math/s_catanf.c (__catanf): Likewise.
11625 * math/s_catanh.c (__catanh): Likewise.
11626 * math/s_catanhf.c (__catanhf): Likewise.
11627 * math/s_catanhl.c (__catanhl): Likewise.
11628 * math/s_catanl.c (__catanl): Likewise.
11629 * math/s_ccosh.c (__ccosh): Likewise.
11630 * math/s_ccoshf.c (__ccoshf): Likewise.
11631 * math/s_ccoshl.c (__ccoshl): Likewise.
11632 * math/s_cexp.c (__cexp): Likewise.
11633 * math/s_cexpf.c (__cexpf): Likewise.
11634 * math/s_cexpl.c (__cexpl): Likewise.
11635 * math/s_clog10.c (__clog10): Likewise.
11636 * math/s_clog10f.c (__clog10f): Likewise.
11637 * math/s_clog10l.c (__clog10l): Likewise.
11638 * math/s_clog.c (__clog): Likewise.
11639 * math/s_clogf.c (__clogf): Likewise.
11640 * math/s_clogl.c (__clogl): Likewise.
11641 * math/s_csin.c (__csin): Likewise.
11642 * math/s_csinf.c (__csinf): Likewise.
11643 * math/s_csinh.c (__csinh): Likewise.
11644 * math/s_csinhf.c (__csinhf): Likewise.
11645 * math/s_csinhl.c (__csinhl): Likewise.
11646 * math/s_csinl.c (__csinl): Likewise.
11647 * math/s_csqrt.c (__csqrt): Likewise.
11648 * math/s_csqrtf.c (__csqrtf): Likewise.
11649 * math/s_csqrtl.c (__csqrtl): Likewise.
11650 * math/s_ctan.c (__ctan): Likewise.
11651 * math/s_ctanf.c (__ctanf): Likewise.
11652 * math/s_ctanh.c (__ctanh): Likewise.
11653 * math/s_ctanhf.c (__ctanhf): Likewise.
11654 * math/s_ctanhl.c (__ctanhl): Likewise.
11655 * math/s_ctanl.c (__ctanl): Likewise.
11656 * math/w_pow.c: Likewise.
11657 * math/w_powf.c: Likewise.
11658 * math/w_powl.c: Likewise.
11659 * math/w_scalb.c (sysv_scalb): Likewise.
11660 * math/w_scalbf.c (sysv_scalbf): Likewise.
11661 * math/w_scalbl.c (sysv_scalbl): Likewise.
11662 * misc/error.c (error_tail): Likewise.
11663 * misc/pselect.c (__pselect): Likewise.
11664 * nis/nis_callback.c (__nis_create_callback): Likewise.
11665 * nis/nis_call.c (__nisfind_server): Likewise.
11666 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11667 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11668 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11669 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11670 * nis/nis_lookup.c (nis_lookup): Likewise.
11671 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11672 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11673 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11674 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11675 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11676 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11677 * nis/nss_compat/compat-initgroups.c (add_group)
11678 (internal_getgrent_r): Likewise.
11679 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11680 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11681 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11682 (internal_getspnam_r): Likewise.
11683 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11684 (_nss_nis_getaliasbyname_r): Likewise.
11685 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11686 (_nss_nis_getntohost_r): Likewise.
11687 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11688 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11689 (_nss_nis_getgrgid_r): Likewise.
11690 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11691 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11692 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11693 (_nss_nis_gethostbyname4_r): Likewise.
11694 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11695 (initgroups_netid): Likewise.
11696 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11697 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11698 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11699 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11700 (_nss_nis_getprotobynumber_r): Likewise.
11701 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11702 (_nss_nis_getsecretkey): Likewise.
11703 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11704 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11705 (_nss_nis_getpwuid_r): Likewise.
11706 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11707 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11708 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11709 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11710 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11711 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11712 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11714 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11715 (_nss_nisplus_getntohost_r): Likewise.
11716 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11717 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11718 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11719 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11721 * nis/nss_nisplus/nisplus-initgroups.c
11722 (_nss_nisplus_initgroups_dyn): Likewise.
11723 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11724 (_nss_nisplus_getnetbyaddr_r): Likewise.
11725 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11726 (_nss_nisplus_getprotobynumber_r): Likewise.
11727 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11728 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11729 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11731 * nis/nss_nisplus/nisplus-service.c
11732 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11733 (_nss_nisplus_getservbyport_r): Likewise.
11734 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11735 (_nss_nisplus_getspnam_r): Likewise.
11736 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11738 * nscd/aicache.c (addhstaiX): Likewise.
11739 * nscd/cache.c (cache_search, prune_cache): Likewise.
11740 * nscd/connections.c (register_traced_file, send_ro_fd)
11741 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11742 (main_loop_epoll): Likewise.
11743 * nscd/grpcache.c (addgrbyX): Likewise.
11744 * nscd/hstcache.c (addhstbyX): Likewise.
11745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11746 * nscd/mem.c (gc, mempool_alloc): Likewise.
11747 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11748 (addinnetgrX): Likewise.
11749 * nscd/nscd-client.h (__nscd_acquire_maplock)
11750 (__nscd_drop_map_ref): Likewise.
11751 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11752 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11753 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11755 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11757 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11758 (__nscd_get_map_ref): Likewise.
11759 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11760 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11762 * nscd/pwdcache.c (addpwbyX): Likewise.
11763 * nscd/selinux.c (preserve_capabilities): Likewise.
11764 * nscd/servicescache.c (addservbyX): Likewise.
11765 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11766 * posix/fnmatch.c (fnmatch): Likewise.
11767 * posix/getopt.c (_getopt_internal_r): Likewise.
11768 * posix/glob.c (glob, glob_in_dir): Likewise.
11769 * posix/wordexp.c (exec_comm_child): Likewise.
11770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11771 (getanswer_r, gaih_getanswer_slice): Likewise.
11772 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11773 * resolv/res_init.c: Likewise.
11774 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11775 * resolv/res_query.c (__libc_res_nquery): Likewise.
11776 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11778 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11779 * stdio-common/perror.c (perror): Likewise.
11780 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11781 * stdio-common/tmpnam.c (tmpnam): Likewise.
11782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11783 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11784 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11786 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11787 * stdlib/putenv.c (putenv): Likewise.
11788 * stdlib/setenv.c (__add_to_environ): Likewise.
11789 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11790 * stdlib/strtol_l.c (INTERNAL): Likewise.
11791 * string/memmem.c (memmem): Likewise.
11792 * string/strerror.c (strerror): Likewise.
11793 * string/strnlen.c (__strnlen): Likewise.
11794 * string/test-memmem.c (simple_memmem): Likewise.
11795 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11796 * sunrpc/pm_getport.c (__get_socket): Likewise.
11797 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11798 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11799 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11800 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11802 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11804 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11805 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11806 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11807 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11809 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11811 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11812 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11813 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11814 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11815 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11817 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11818 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11819 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11820 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11821 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11822 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11828 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11829 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11830 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11832 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11833 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11834 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11837 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11838 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11840 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11841 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11843 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11845 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11847 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11849 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11851 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11853 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11855 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11856 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11857 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11858 * sysdeps/posix/sleep.c: Likewise.
11859 * sysdeps/posix/tempname.c: Likewise.
11860 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11861 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11863 * sysdeps/powerpc/powerpc32/dl-machine.h
11864 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11865 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11867 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11868 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11870 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11872 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11874 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11875 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11876 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11877 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11878 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11879 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11880 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11881 (elf_machine_lazy_rel): Likewise.
11882 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11883 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11884 (elf_machine_lazy_rel): Likewise.
11885 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11886 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11887 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11888 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11889 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11890 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11891 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11892 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11894 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11895 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11896 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11897 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11898 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11899 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11900 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11901 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11902 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11903 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11904 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11906 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11907 (__posix_fallocate64_l64): Likewise.
11908 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11909 (posix_fallocate): Likewise.
11910 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11912 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11913 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11914 (getifaddrs_internal): Likewise.
11915 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11916 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11917 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11918 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11919 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11920 (__posix_fallocate64_l64): Likewise.
11921 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11923 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11924 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11925 (__get_clockfreq): Likewise.
11926 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11927 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11928 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11929 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11931 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11932 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11933 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11935 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11936 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11937 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11938 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11940 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11941 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11943 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11944 (posix_fallocate): Likewise.
11945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11946 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11947 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11948 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11949 (elf_machine_rela, elf_machine_rela_relative)
11950 (elf_machine_lazy_rel): Likewise.
11951 * time/asctime.c (asctime_internal): Likewise.
11952 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11953 * time/tzset.c (__tzset_parse_tz): Likewise.
11954 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11955 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11956 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11957 * wcsmbs/wcsmbsload.h: Likewise.
11960 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11962 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11963 (arena_get2): Remove THREAD_STATS conditionals.
11964 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11965 (__malloc_stats, int): Likewise.
11967 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11969 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11970 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11972 * manual/setjmp.texi: Fix typos/grammar errors.
11974 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11975 Only return early when n is <= 0. Delete unused return statement.
11977 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11978 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11979 * debug/tst-longjmp_chk3.c: New file.
11981 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11982 (test_main): Replace code with set_fortify_handler call.
11983 * debug/test-strcpy_chk.c: Likewise.
11984 * debug/tst-chk1.c: Likewise.
11985 * debug/tst-longjmp_chk.c: Likewise.
11986 * test-skeleton.c: Include fcntl.h & paths.h
11987 (set_fortify_handler): Define.
11989 * debug/tst-longjmp_chk.c: Add header comment and include
11990 ../test-skeleton.c.
11991 (do_test): Mark static.
11992 (TEST_FUNCTION): Define.
11994 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11995 (IP_PMTUDISC_INTERFACE): Likewise.
11996 (IP_MULTICAST_IF): Likewise.
11997 (IP_MULTICAST_TTL): Likewise.
11998 (IP_MULTICAST_LOOP): Likewise.
11999 (IP_ADD_MEMBERSHIP): Likewise.
12000 (IP_DROP_MEMBERSHIP): Likewise.
12001 (IP_UNBLOCK_SOURCE): Likewise.
12002 (IP_BLOCK_SOURCE): Likewise.
12003 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12004 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12005 (IP_MSFILTER): Likewise.
12006 (MCAST_JOIN_GROUP): Likewise.
12007 (MCAST_BLOCK_SOURCE): Likewise.
12008 (MCAST_UNBLOCK_SOURCE): Likewise.
12009 (MCAST_LEAVE_GROUP): Likewise.
12010 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12011 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12012 (MCAST_MSFILTER): Likewise.
12013 (IP_MULTICAST_ALL): Likewise.
12014 (IP_UNICAST_IF): Likewise.
12016 * timezone/Makefile: Delete $(have-ksh) check.
12017 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12018 * timezone/tzselect.ksh: Add +x mode bits.
12020 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12021 (ANON_INODE_FS_MAGIC): Likewise.
12022 (BDEVFS_MAGIC): Likewise.
12023 (BINFMTFS_MAGIC): Likewise.
12024 (BTRFS_TEST_MAGIC): Likewise.
12025 (CRAMFS_MAGIC_WEND): Likewise.
12026 (DEBUGFS_MAGIC): Likewise.
12027 (ECRYPTFS_SUPER_MAGIC): Likewise.
12028 (EXT3_SUPER_MAGIC): Likewise.
12029 (EXT4_SUPER_MAGIC): Likewise.
12030 (FUTEXFS_SUPER_MAGIC): Likewise.
12031 (HOSTFS_SUPER_MAGIC): Likewise.
12032 (HUGETLBFS_MAGIC): Likewise.
12033 (MINIX3_SUPER_MAGIC): Likewise.
12034 (MTD_INODE_FS_MAGIC): Likewise.
12035 (NILFS_SUPER_MAGIC): Likewise.
12036 (OPENPROM_SUPER_MAGIC): Likewise.
12037 (PIPEFS_MAGIC): Likewise.
12038 (PSTOREFS_MAGIC): Likewise.
12039 (QNX6_SUPER_MAGIC): Likewise.
12040 (RAMFS_MAGIC): Likewise.
12041 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12042 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12043 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12044 (SECURITYFS_MAGIC): Likewise.
12045 (SELINUX_MAGIC): Likewise.
12046 (SMACK_MAGIC): Likewise.
12047 (SOCKFS_MAGIC): Likewise.
12048 (SQUASHFS_MAGIC): Likewise.
12049 (STACK_END_MAGIC): Likewise.
12050 (TMPFS_MAGIC): Likewise.
12051 (USBDEVICE_SUPER_MAGIC): Likewise.
12052 (V9FS_MAGIC): Likewise.
12053 (XENFS_SUPER_MAGIC): Likewise.
12054 (CRAMFS_MAGIC): Fix typo in comment.
12055 (EXT2_SUPER_MAGIC): Update comment.
12056 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12058 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12060 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12061 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12062 * sysdeps/unix/sysv/linux/arm: Move directory from
12063 ports/sysdeps/unix/sysv/linux/arm.
12064 * README: Update listing for arm-*-linux-gnueabi.
12066 * README: Remove mention of am33.
12068 2014-02-07 Roland McGrath <roland@hack.frob.com>
12070 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12071 than the comma operator, to avoid "rhs of comma has no effect"
12073 (__sigfillset, __sigandset, __sigorset): Likewise.
12074 * include/signal.h (__sigemptyset): Likewise.
12075 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12077 2014-02-07 Allan McRae <allan@archlinux.org>
12079 * version.h (RELEASE): Set to "development".
12080 (VERSION): Set to "2.19.90"
12081 * NEWS: Add 2.20 section.
12083 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12086 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12088 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12090 * manual/contrib.texi: Update entry for Carlos O'Donell,
12091 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12093 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12095 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12097 * sysdeps/unix/sysv/linux/kernel-features.h
12098 [__LINUX_KERNEL_VERSION >= 0x020621]
12099 (__ASSUME_PROC_PID_TASK_COMM): Define.
12101 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12104 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12105 conversion when destination buffer does not have enough space.
12106 * libio/tst-ftell-partial-wide.c: New test case.
12107 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12109 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12110 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12111 Leonard and Allan McRae.
12113 2014-02-04 David S. Miller <davem@davemloft.net>
12115 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12118 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12147 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12149 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12150 * shlib-versions: Likewise.
12152 2014-02-04 Roland McGrath <roland@hack.frob.com>
12153 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12155 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12156 (abilist-pattern): New variable, set to %-le.abilist.
12158 * Makerules (abilist-pattern): New variable.
12159 (vpath): Use $(abilist-pattern) in place of %.abilist.
12160 (check-abi-% pattern rule): Likewise.
12161 (check-abi, update-abi): Likewise.
12163 2014-02-04 Eric Wong <normalperson@yhbt.net>
12165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12167 2014-02-03 Carlos O'Donell <carlos@redhat.com>
12169 * manual/startup.texi: Add next, previous, and top entries for
12170 the `Program Arguments' and `Environment Variables' nodes.
12172 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
12174 * manual/macros.texi: Add comments before MTASC-safety macros.
12176 * manual/users.texi: Document MTASC-safety properties.
12178 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12179 (pthread_getspecific, pthread_setspecific): Format with
12180 @deftypefun, and add @safety note.
12181 * manual/signal.texi: Move comments that analyze the above
12182 functions to their home place.
12184 2014-02-03 Allan McRae <allan@archlinux.org>
12186 * po/sl.po: Update Slovenian translation from translation project.
12188 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
12190 * manual/time.texi (timegm): Add missing blank after @c.
12191 Reported by Joseph Myers <joseph@codesourcery.com>.
12193 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
12195 * manual/check-safety.sh: New.
12196 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12198 * manual/terminal.texi: Document MTASC-safety properties.
12200 * manual/filesys.texi: Document MTASC-safety properties.
12202 * manual/errno.texi: Document MTASC-safety properties.
12204 * manual/intro.texi: Document safety identifiers and
12207 * manual/string.texi (wcstok): Fix prototype.
12208 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12210 * manual/time.texi: Document MTASC-safety properties.
12212 * manual/string.texi: Document MTASC-safety properties.
12214 * manual/threads.texi: Document MTASC-safety properties.
12216 * manual/stdio.texi: Document MTASC-safety properties.
12218 * manual/syslog.texi: Document MTASC-safety properties.
12220 * manual/sysinfo.texi: Document MTASC-safety properties.
12222 * manual/startup.texi: Document MTASC-safety properties.
12224 * manual/socket.texi: Document MTASC-safety properties.
12226 * manual/signal.texi: Document MTASC-safety properties.
12228 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
12230 * manual/setjmp.texi: Document MTASC-safety properties.
12232 * manual/search.texi: Document MTASC-safety properties.
12234 * manual/resource.texi: Document MTASC-safety properties.
12236 * manual/process.texi: Document MTASC-safety properties.
12238 * manual/platform.texi: Document MTASC-safety properties.
12240 * manual/pipe.texi: Document MTASC-safety properties.
12242 * manual/pattern.texi: Document MTASC-safety properties.
12244 * manual/message.texi: Document MTASC-safety properties.
12247 * manual/memory.texi: Document MTASC-safety properties.
12249 * manual/math.texi: Document MTASC-safety properties.
12251 * manual/locale.texi: Document MTASC-safety properties.
12253 * manual/llio.texi: Document MTASC-safety properties.
12255 * manual/libdl.texi: New.
12257 * manual/lang.texi: Document MTASC-safety properties.
12259 * manual/job.texi: Document MTASC-safety properties.
12261 * manual/getopt.texi: Document MTASC-safety properties.
12263 * manual/ctype.texi: Document MTASC-safety properties.
12265 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
12268 * csu/libc-tls.c (static_map): Remove variable.
12269 (__libc_setup_tls): Use main executable's link map for TLS data.
12270 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12271 casing for LM_ID_BASE and GL(dl_nns).
12272 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12273 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
12274 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12275 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12276 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12278 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12281 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
12283 * manual/debug.texi: Document MTASC-safety properties.
12285 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
12288 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12289 of __x86_64__ when disabling x87 inline functions.
12291 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
12293 * manual/charset.texi: Document MTASC-safety properties.
12295 * manual/crypt.texi: Document MTASC-safety properties.
12297 * manual/conf.texi: Document MTASC-safety properties.
12299 * manual/arith.texi: Document MTASC-safety properties.
12301 * manual/argp.texi: Document MTASC-safety properties.
12303 * manual/macros.texi: Introduce macros to document multi
12304 thread, asynchronous signal and asynchronous cancellation
12306 * manual/intro.texi: Introduce the properties themselves.
12308 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12310 * sysdeps/sh/sh4/Makefile: New file.
12312 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
12314 * math/gen-libm-test.pl ($srcdir): New variable.
12315 ($auto_input): Use it.
12317 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12320 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12321 access beyond array bounds when parsing netgroups file.
12323 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12324 the old buffer before realloc.
12326 2014-01-27 Allan McRae <allan@archlinux.org>
12328 * po/fr.po: Update French translation from translation project.
12330 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12332 * sysdeps/sh/libm-test-ulps: Regenerate.
12334 2014-01-24 David S. Miller <davem@davemloft.net>
12336 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12338 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12340 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12341 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12343 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12346 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12347 string pointers after reallocation.
12349 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12351 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12352 __SH4A__ instead of __SH_FPU_ANY__.
12354 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12356 * sysdeps/sh/fpu_control.h: New file.
12357 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12358 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12359 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12360 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12361 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12362 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12363 * sysdeps/sh/sys/ucontext.h: Remove.
12364 * sysdeps/sh/sys: Remove directory.
12366 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12368 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12369 s390/sys/ucontext.h.
12370 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12371 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12373 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
12376 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12378 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12381 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12382 Adjust the vDSO correctly for internal calls.
12383 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12385 2014-01-20 Allan McRae <allan@archlinux.org>
12387 * po/ca.po: Update Catalan translation from translation project.
12389 2014-01-16 Mike Frysinger <vapier@gentoo.org>
12391 * sysdeps/s390/sotruss-lib.c: New file.
12393 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12397 (__GI___gettimeofday): Alias for a different internal symbol to avoid
12398 local calls issues by not having a PLT stub required for IFUNC calls.
12399 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12401 2014-01-16 Joseph Myers <joseph@codesourcery.com>
12403 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12404 * math/test-fpucw-static.c: Likewise.
12406 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12409 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12411 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12413 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12414 implementation for powerpc.
12416 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
12419 * sysdeps/posix/system.c (__libc_system): Do not enable
12420 asynchronous cancellation.
12422 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12425 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12426 handling only for numbers special also in the IEEE case.
12428 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12430 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12432 2014-01-11 Allan McRae <allan@archlinux.org>
12434 * po/bg.po: Update Bulgarian translation from translation project.
12436 * po/de.po: Update German translation from translation project.
12438 2014-01-10 Roland McGrath <roland@hack.frob.com>
12440 * sysdeps/generic/gcc-compat.h: New file.
12442 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12444 * benchtests/asin-inputs: Correct slow inputs.
12445 * benchtests/acos-inputs: Likewise.
12447 2014-01-10 Allan McRae <allan@archlinux.org>
12449 * po:sv.po: Update Swedish translation from translation project.
12451 * po/vi.po: Update Vietnamese translation from translation project.
12453 * po/eo.po: Update Esperanto translation from translation project.
12455 * po/cs.po: Update Czech translation from translation project.
12457 * po/nl.po: Update Dutch translation from translation project.
12459 * po/pl.po: Update Polish translation from translation project.
12461 * po/ru.po: Update Russian translation from translation project.
12463 * po/uk.po: Update Ukrainian translation from translation project.
12465 2014-01-08 Brooks Moses <bmoses@google.com>
12467 * elf/dl-load.c: Fix comment typo.
12469 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12471 * po/header.pot: Rename to...
12472 * po/pot.header: ... this.
12473 * po/Makefile: Use pot.header.
12475 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12476 Maxim Kuvyrkov <maxim@kugelworks.com>
12479 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12480 SRC and DEST against LEN.
12482 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12485 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12487 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12489 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12493 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12496 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12497 for large positive arguments.
12499 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12501 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12503 * math/auto-libm-test-in: Mark various tests with
12504 xfail-rounding:ldbl-128ibm.
12505 * math/auto-libm-test-out: Regenerated.
12508 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12509 Increase overflow threshold.
12511 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12514 * stdio-common/vfprintf.c: Check for integer overflow.
12516 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12518 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12519 the first argument and return value of __tls_get_addr_internal.
12521 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12523 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12524 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12526 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12528 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12529 * sysdeps/s390/rtld-global-offsets.sym: New file.
12530 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12532 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12533 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12534 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12536 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12537 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12543 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12544 halfs of GPRs for high_gprs contexts.
12545 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12546 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12548 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12550 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12552 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12553 for high GPRs (uc_high_gprs) and for future extensions
12555 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12556 for future extensions (__reserved).
12557 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12559 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12560 SC_HIGHGPRS offset definition.
12561 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12562 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12564 * Versions.def: Add GLIBC_2.19 for libpthread.
12565 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12566 siglongjmp for libpthread with GLIBC_2.19 symver.
12567 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12568 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12569 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12570 * sysdeps/s390/__longjmp.c: New file.
12571 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12572 * sysdeps/s390/longjmp.c: New file.
12573 * sysdeps/s390/setjmp.S: New file.
12574 * sysdeps/s390/sigjmp.S: New file.
12575 * sysdeps/s390/v1-longjmp.c: New file.
12576 * sysdeps/s390/v1-setjmp.h: New file.
12577 * sysdeps/s390/v1-sigjmp.c: New file.
12578 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12579 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12580 GLIBC_2.19 version.
12581 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12582 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12583 versioned symbols for ____longjmp_chk.
12584 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12594 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12595 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12596 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12597 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12598 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12599 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12600 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12601 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12602 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12603 * sysdeps/s390/rtld-__longjmp.c: New file.
12604 * sysdeps/s390/rtld-setjmp.S: New file.
12606 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12609 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12610 Return -__logl (x) for small positive arguments without evaluating
12613 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12615 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12617 (__ptrace_peeksiginfo_args): ... this.
12618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12619 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12622 2014-01-06 Allan McRae <allan@archlinux.org>
12624 * inet/netinet/in.h: Fix typo in comment.
12626 2014-01-05 Andreas Jaeger <aj@suse.de>
12628 * sysdeps/i386/fpu/libm-test-ulps: Update.
12630 2014-01-05 Allan McRae <allan@archlinux.org>
12632 * po/libc.pot: Regenerated.
12634 * malloc/memusagestat.c: Fix gettext call formatting.
12636 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12638 * nscd/nscd.c: Improve usage() output.
12640 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12642 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12643 * sysdeps/unix/sysv/linux/configure: Regenerated.
12644 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12645 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12647 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12650 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12651 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12653 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12655 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12656 extra tokens at end of #undef directive.
12657 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12658 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12659 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12661 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12663 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12665 * math/auto-libm-test-in: Mark various tests with
12666 xfail-rounding:ldbl-128ibm.
12667 * math/auto-libm-test-out: Regenerated.
12669 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12673 numbers with subnormal high part when calculating exponent.
12676 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12680 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12682 (__ieee754_acoshl): Use __log1pl not __log1p.
12684 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12686 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12687 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12688 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12689 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12690 (reused_arena, arena_get2): Convert to GNU style.
12691 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12692 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12693 (memalign_check, __malloc_set_state): Likewise.
12694 * malloc/mallocbug.c (main): Likewise.
12695 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12696 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12697 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12698 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12699 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12700 (__posix_memalign, malloc_info): Likewise.
12701 * malloc/malloc.h: Likewise.
12702 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12703 (mallochook, memalignhook, reallochook, mabort): Likewise.
12704 * malloc/mcheck.h: Likewise.
12705 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12706 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12707 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12708 * malloc/morecore.c (__default_morecore): Likewise.
12709 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12710 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12711 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12712 (print_and_abort): Likewise.
12713 * malloc/obstack.h: Likewise.
12714 * malloc/set-freeres.c (__libc_freeres): Likewise.
12715 * malloc/tst-mallocstate.c (main): Likewise.
12716 * malloc/tst-mtrace.c (main): Likewise.
12717 * malloc/tst-realloc.c (do_test): Likewise.
12719 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12722 * nscd/netgroupcache.c (do_notfound): New function.
12723 (addgetnetgrentX): Use it.
12726 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12727 NSS_STATUS_NOTFOUND.
12729 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12731 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12734 2014-01-01 Allan McRae <allan@archlinux.org>
12736 * scripts/update-copyrights: Update configure input file suffix.
12738 * NEWS: Update copyright year.
12739 * catgets/gencat.c: Likewise.
12740 * csu/version.c: Likewise.
12741 * debug/catchsegv.sh: Likewise.
12742 * debug/pcprofiledump.c: Likewise.
12743 * debug/xtrace.sh: Likewise.
12744 * elf/ldconfig.c: Likewise.
12745 * elf/ldd.bash.in: Likewise.
12746 * elf/pldd.c: Likewise.
12747 * elf/sotruss.ksh: Likewise.
12748 * elf/sprof.c: Likewise.
12749 * iconv/iconv_prog.c: Likewise.
12750 * iconv/iconvconfig.c: Likewise.
12751 * locale/programs/locale.c: Likewise.
12752 * locale/programs/localedef.c: Likewise.
12753 * login/programs/pt_chown.c: Likewise.
12754 * malloc/memusage.sh: Likewise.
12755 * malloc/memusagestat.c: Likewise.
12756 * malloc/mtrace.pl: Likewise.
12757 * manual/libc.texinfo: Likewise.
12758 * nscd/nscd.c: Likewise.
12759 * nss/getent.c: Likewise.
12760 * nss/makedb.c: Likewise.
12761 * posix/getconf.c: Likewise.
12762 * scripts/test-installation.pl: Likewise.
12764 * All files with FSF copyright notices: Update copyright dates
12765 using scripts/update-copyrights.
12766 * intl/plural.c: Regenerated.
12767 * locale/programs/charmap-kw.h: Likewise.
12768 * locale/programs/locfile-kw.h: Likewise.
12770 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12772 * sysdeps/unix/sysv/linux/configure: Regenerated.
12773 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12774 the linux/fanotify.h header.
12775 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12776 HAVE_LINUX_FANOTIFY_H is defined.
12778 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12780 * benchtests/cos-inputs: New inputs.
12781 * benchtests/sin-inputs: Likewise.
12783 * benchtests/atan-inputs: New inputs. Fix name of multiple
12784 precision fallback inputs.
12786 * benchtests/atanh-inputs: New inputs.
12787 * benchtests/tanh-inputs: Likewise.
12789 * benchtests/acosh-inputs: New inputs.
12790 * benchtests/asinh-inputs: Likewise.
12792 * benchtests/cosh-inputs: New inputs.
12793 * benchtests/sinh-inputs: Likewise.
12795 * benchtests/acos-inputs: Add more inputs.
12796 * benchtests/asin-inputs: Likewise.
12798 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12801 * manual/arith.texi: Fix spelling.
12802 * manual/charset.texi: Likewise.
12803 * manual/errno.texi: Likewise.
12804 * manual/filesys.texi: Likewise.
12805 * manual/lang.texi: Likewise.
12806 * manual/llio.texi: Likewise.
12807 * manual/locale.texi: Likewise.
12808 * manual/message.texi: Likewise.
12809 * manual/resource.texi: Likewise.
12810 * manual/search.texi: Likewise.
12811 * manual/setjmp.texi: Likewise.
12812 * manual/stdio.texi: Likewise.
12813 * manual/string.texi: Likewise.
12814 * manual/sysinfo.texi: Likewise.
12815 * manual/time.texi: Likewise.
12817 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12819 * po/sl.po: New file.
12821 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12823 * .gitignore: Add core/.gdbinit/.gdb_history.
12825 2013-12-27 Allan McRae <allan@archlinux.org>
12828 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12829 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12831 2013-12-24 Brooks Moses <bmoses@google.com>
12833 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12834 all compilers that claim C++98 compliance, not just GCC.
12835 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12838 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12840 * NEWS: Restore accidentally deleted bug-fix entries.
12842 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12843 Ondřej Bílka <neleai@seznam.cz>
12846 * malloc/malloc.c (_int_free): Perform sanity check only if we
12849 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12852 * manual/stdio.texi (String Input Conversions): Clarify that character
12853 classes are not supported.
12855 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12859 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12863 Calculate results for small negative arguments directly rather
12864 than using reflection formula with special underflow handling.
12866 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12867 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12868 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12869 (fchflags): Likewise.
12870 (revoke): Likewise.
12871 (setlogin): Likewise.
12872 (sigaltstack): Likewise.
12874 (sigblock): Remove.
12875 (sigsetmask): Likewise.
12877 (waitpid): Likewise.
12878 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12879 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12881 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12882 * sysdeps/unix/bsd/Makefile: ... here.
12883 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12884 * sysdeps/unix/bsd/Versions: ... here.
12885 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12886 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12887 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12888 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12889 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12890 * sysdeps/unix/bsd/sigblock.c: ... here.
12891 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12892 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12893 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12894 * sysdeps/unix/bsd/sigvec.c: ... here.
12895 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12896 * sysdeps/unix/bsd/tcdrain.c: ... here.
12897 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12898 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12899 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12900 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12901 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12902 * sysdeps/unix/bsd/wait.c: ... here.
12903 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12904 * sysdeps/unix/bsd/wait3.c: ... here.
12905 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12906 * sysdeps/unix/bsd/waitpid.c: ... here.
12908 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12911 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12912 round-to-nearest for [!USE_AS_EXPM1L].
12913 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12914 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12915 more tests of exp and exp10. Expect some exp10 tests to miss
12916 exceptions or fail in directed rounding modes.
12917 * math/auto-libm-test-out: Regenerated.
12918 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12919 (exp10_test_tonearest): New function.
12920 (exp10_towardzero_test_data): New array.
12921 (exp10_test_towardzero): New function.
12922 (exp10_downward_test_data): New array.
12923 (exp10_test_downward): New function.
12924 (exp10_upward_test_data): New array.
12925 (exp10_test_upward): New function.
12926 (main): Call the new functions.
12927 * sysdeps/i386/fpu/libm-test-ulps: Update.
12928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12930 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12932 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12933 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12934 * math/auto-libm-test-out: Regenerated.
12935 * math/libm-test.inc (acosh_test_data): Add more tests.
12936 (atanh_test_data): Likewise.
12937 (ceil_test_data): Likewise.
12938 (copysign_test_data): Likewise.
12939 * sysdeps/i386/fpu/libm-test-ulps: Update.
12940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12942 * timezone/checktab.awk: Update from tzcode 2013i.
12943 * timezone/private.h: Likewise.
12944 * timezone/scheck.c: Likewise.
12945 * timezone/tzfile.h: Likewise.
12946 * timezone/tzselect.ksh: Likewise.
12947 * timezone/zdump.c: Likewise.
12948 * timezone/zic.c: Likewise.
12950 * math/auto-libm-test-in: Add tests of cpow.
12951 * math/auto-libm-test-out: Regenerated.
12952 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12953 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12955 (func_calc_desc): Add mpc_cc_c union field.
12956 (test_functions): Add cpow.
12957 (special_fill_2pi): New function.
12958 (special_real_inputs): Add 2pi.
12959 (calc_generic_results): Handle mpc_cc_c.
12960 * sysdeps/i386/fpu/libm-test-ulps: Update.
12961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12963 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12964 csqrt, ctan and ctanh.
12965 * math/auto-libm-test-out: Regenerated.
12966 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12967 (TEST_COND_x86): Likewise.
12968 (ccos_test_data): Use AUTO_TESTS_c_c.
12969 (ccosh_test_data): Likewise.
12970 (cexp_test_data): Likewise.
12971 (clog_test_data): Likewise.
12972 (csqrt_test_data): Likewise.
12973 (ctan_test_data): Likewise.
12974 (ctan_tonearest_test_data): Likewise.
12975 (ctan_towardzero_test_data): Likewise.
12976 (ctan_downward_test_data): Likewise.
12977 (ctan_upward_test_data): Likewise.
12978 (ctanh_test_data): Likewise.
12979 (ctanh_tonearest_test_data): Likewise.
12980 (ctanh_towardzero_test_data): Likewise.
12981 (ctanh_downward_test_data): Likewise.
12982 (ctanh_upward_test_data): Likewise.
12983 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12985 (func_calc_desc): Add mpc_c_c union field.
12986 (FUNC_mpc_c_c): New macro.
12987 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12988 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12990 (special_fill_min_subnorm_p120): New function.
12991 (special_real_inputs): Add min_subnorm_p120.
12992 (calc_generic_results): Handle mpc_c_c.
12993 * sysdeps/i386/fpu/libm-test-ulps: Update.
12994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12996 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12998 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12999 (do_sin_slow): New functions.
13000 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13001 (cslow2, csloww1, csloww2): Use the new functions.
13003 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13004 Use M to change sign of result instead of X. Assume X is
13006 (csloww1): Likewise.
13010 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13011 arguments A and DA.
13015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13017 (sloww1): Don't adjust sign of DX.
13018 (csloww1): Likewise.
13019 (sloww2): Use X directly and don't adjust sign of DX.
13020 (csloww2): Likewise.
13022 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13024 * math/auto-libm-test-in: Add tests of cabs and carg.
13025 * math/auto-libm-test-out: Regenerated.
13026 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13027 (carg_test_data): Likewise.
13028 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13030 (func_calc_desc): Add mpc_c_f union field.
13031 (test_functions): Add cabs and carg.
13032 (calc_generic_results): Handle mpc_c_f.
13034 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13035 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13036 as a macro and a compat symbol.
13037 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13038 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13039 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13040 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13041 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13048 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13050 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13052 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13054 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13055 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13058 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13062 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13064 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13065 trailing whitespace removed.
13066 * scripts/config.guess: Update to version 2013-11-29.
13067 * scripts/config.sub: Update to version 2013-10-01.
13069 * math/auto-libm-test-in: Add tests of sincos.
13070 * math/auto-libm-test-out: Regenerated.
13071 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13072 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13074 (func_calc_desc): Add mpfr_f_11 union field.
13075 (test_functions): Add sincos.
13076 (calc_generic_results): Handle mpfr_f_11.
13077 * sysdeps/i386/fpu/libm-test-ulps: Update.
13078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13080 2013-12-19 Andreas Schwab <schwab@suse.de>
13082 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13084 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13085 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13086 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13088 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13090 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13091 * sysdeps/i386/fpu/libm-test-ulps: Update.
13092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13095 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13096 round-to-nearest mode when using frndint.
13097 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13098 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13099 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13101 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13103 * math/auto-libm-test-out: Regenerated.
13104 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13105 (TEST_COND_x86): Likewise.
13106 (expm1_tonearest_test_data): New array.
13107 (expm1_test_tonearest): New function.
13108 (expm1_towardzero_test_data): New array.
13109 (expm1_test_towardzero): New function.
13110 (expm1_downward_test_data): New array.
13111 (expm1_test_downward): New function.
13112 (expm1_upward_test_data): New array.
13113 (expm1_test_upward): New function.
13114 (main): Run the new test functions.
13115 * sysdeps/i386/fpu/libm-test-ulps: Update.
13116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13118 * include/features.h: Update comment documenting feature test
13119 macros. Mention _DEFAULT_SOURCE in comment.
13120 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13121 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13122 _BSD_SOURCE and _SVID_SOURCE.
13123 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13124 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13125 !_SVID_SOURCE]: Likewise.
13126 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13127 (__USE_POSIX_IMPLICITLY): Define.
13128 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13129 (_POSIX_SOURCE): Undefine and redefine.
13130 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13131 (_POSIX_C_SOURCE): Likewise.
13132 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13133 (Feature Test Macros): Update documentation of default features.
13135 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13137 * benchtests/Makefile: Add bench-strtok.
13138 * benchtests/bench-strtok.c: New file: strtok benchtest.
13140 2013-12-19 Allan McRae <allan@archlinux.org>
13142 * manual/install.texi: Suppress menu for plain text output.
13143 * INSTALL: Regenerated.
13145 2013-12-18 Brooks Moses <bmoses@google.com>
13148 * misc/getauxval.c: Include errno.h.
13149 (__getauxval): Set errno to ENOENT if the requested type is not
13151 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13152 don't declare with __attribute_const__.
13153 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13154 * manual/startup.texi: Document that getauxval sets errno.
13156 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13158 * math/auto-libm-test-in: Add tests of jn and yn.
13159 * math/auto-libm-test-out: Regenerated.
13160 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13161 (yn_test_data): Likewise.
13162 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13164 (func_calc_desc): Add mpfr_if_f union field.
13165 (FUNC_mpfr_if_f): New macro.
13166 (test_functions): Add jn and yn.
13167 (calc_generic_results): Assert type of second input for
13168 mpfr_ff_f. Handle mpfr_if_f.
13169 (output_for_one_input_case): Disable all checking for arguments
13170 fitting floating-point types in case of an integer argument.
13171 * sysdeps/i386/fpu/libm-test-ulps: Update.
13172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13175 Don't expect fegetround reference in libm.so.
13177 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13179 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13180 $(config-cflags-nofma).
13182 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13184 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13185 * math/auto-libm-test-out: Regenerated.
13188 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13189 to determine exponent and adjust argument to have exponent of -1.
13190 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13192 * math/auto-libm-test-out: Regenerated.
13193 * sysdeps/i386/fpu/libm-test-ulps: Update.
13194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13196 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13198 * manual/probes.texi: Remove cases when per-thread arenas are
13201 2013-12-18 Andreas Schwab <schwab@suse.de>
13203 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13204 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13205 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13206 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13207 * sysdeps/i386/i686/multiarch/Makefile: Update.
13208 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13210 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13212 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13213 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13215 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13218 Support TZ transition times < 00:00:00.
13219 This is needed for version-3 tz-format files; it supports time
13220 stamps past 2037 for America/Godthab (the only entry in the tz
13221 database for which this change is relevant).
13222 * manual/time.texi (TZ Variable): Document transition times
13223 from -167:59:59 through -00:00:01.
13224 * time/tzset.c (tz_rule): Time of day is now signed.
13225 (__tzset_parse_tz): Parse negative time of day.
13227 Document TZ transition times >= 25:00:00.
13228 * manual/time.texi (TZ Variable): Document transition times from
13229 25:00:00 through 167:59:59. These are already supported, and this
13230 support will help with version-3 tz-format files.
13232 * manual/time.texi (TZ Variable): Modernize North America example
13233 to reflect current (i.e., 2007-and-later) daylight saving rules.
13235 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13237 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13239 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13240 * sysdeps/unix/bsd/bits/stat.h: Likewise.
13241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13243 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13244 * sysdeps/unix/bsd/bsdstat.h: Likewise.
13245 * sysdeps/unix/bsd/clock.c: Likewise.
13246 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13247 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13248 * sysdeps/unix/bsd/init-posix.c: Likewise.
13249 * sysdeps/unix/bsd/poll.c: Likewise.
13250 * sysdeps/unix/bsd/ptsname.c: Likewise.
13251 * sysdeps/unix/bsd/seekdir.c: Likewise.
13252 * sysdeps/unix/bsd/setegid.c: Likewise.
13253 * sysdeps/unix/bsd/seteuid.c: Likewise.
13254 * sysdeps/unix/bsd/setgid.c: Likewise.
13255 * sysdeps/unix/bsd/setrgid.c: Likewise.
13256 * sysdeps/unix/bsd/setruid.c: Likewise.
13257 * sysdeps/unix/bsd/setsid.c: Likewise.
13258 * sysdeps/unix/bsd/setuid.c: Likewise.
13259 * sysdeps/unix/bsd/sigaction.c: Likewise.
13260 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13261 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13262 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13263 * sysdeps/unix/bsd/telldir.c: Likewise.
13264 * sysdeps/unix/bsd/times.c: Likewise.
13265 * sysdeps/unix/bsd/usleep.c: Likewise.
13267 * misc/Makefile (install-lib): Remove libbsd-compat.a.
13268 ($(objpfx)libbsd-compat.a): Remove rule.
13270 * include/features.h (__FAVOR_BSD): Do not define.
13271 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13272 features conflicting with POSIX.
13273 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13274 (_BSD_SOURCE): Remove description of not being a subset of other
13275 feature test macros.
13276 * manual/job.texi (getpgrp): Do not document BSD version.
13277 (getpgid): Do not document by reference to BSD getpgrp.
13278 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13279 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13280 * signal/signal.h [__FAVOR_BSD]: Likewise.
13281 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13282 instead of making contents conditional on [__FAVOR_BSD].
13283 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13285 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13289 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13292 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13293 values below 2**-450, not 2**-500.
13294 * math/auto-libm-test-in: Don't allow spurious underflow from
13296 * math/auto-libm-test-out: Regenerated.
13300 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13301 values of ha and hb and sort them after adjusting subnormal
13303 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13305 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13306 values of ea and eb and sort them after adjusting subnormal
13308 * math/auto-libm-test-in: Do not expect some hypot tests of
13309 subnormals to fail. Add more hypot tests.
13310 * math/auto-libm-test-out: Regenerated.
13312 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13315 * sysdeps/sh/s_fma.c: New file.
13316 * sysdeps/sh/s_fmaf.c: New file.
13317 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
13319 * sysdeps/sh/Implies: Add sh/soft-fp.
13321 2013-12-16 Roland McGrath <roland@hack.frob.com>
13323 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
13324 level of indirection to members `objname', `errstring', `malloced'.
13325 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13326 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
13327 it as the __longjmp argument (just pass 1 instead).
13328 (_dl_catch_error): Initialize C with argument pointers and address of
13329 volatile local ERRCODE rather than copying values out of C at return.
13331 2013-12-16 Joseph Myers <joseph@codesourcery.com>
13333 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13334 * math/auto-libm-test-out: Regenerated.
13335 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13336 (hypot_test_data): Likewise.
13337 (pow_test_data): Likewise.
13338 (pow_tonearest_test_data): Likewise.
13339 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13341 (func_calc_desc): Add mpfr_ff_f union field.
13342 (FUNC_mpfr_ff_f): New macro.
13343 (test_functions): Add atan2, hypot and pow.
13344 (special_fill_min): New function.
13345 (special_fill_minus_min): Likewise.
13346 (special_fill_min_subnorm): Likewise.
13347 (special_fill_minus_min_subnorm): Likewise.
13348 (special_real_inputs): Add min, -min, min_subnorm and
13350 (calc_generic_results): Handle mpfr_ff_f.
13351 * sysdeps/i386/fpu/libm-test-ulps: Update.
13352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13354 2013-12-16 Will Newton <will.newton@linaro.org>
13356 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13357 (Aligned Memory Blocks): Add documentation for aligned_alloc
13358 and suggest it as an alternative to posix_memalign.
13359 (Hooks for Malloc): Document __memalign_hook is also called
13360 for aligned_alloc. (Summary of Malloc): Add summary for
13361 aligned alloc. Document __memalign_hook is also called
13364 2013-12-16 Will Newton <will.newton@linaro.org>
13366 * manual/memory.texi (Malloc Examples): Clarify default
13367 alignment documentation. Suggest posix_memalign rather
13368 than memalign or valloc.
13369 (Aligned Memory Blocks): Remove suggestion to use memalign
13370 or valloc. Remove obsolete comment about BSD.
13371 Document memalign errno values and mark the function obsolete.
13372 Document posix_memalign returned error codes. Mark valloc
13373 as obsolete. (Hooks for Malloc): __memalign_hook is also
13374 called for posix_memalign and valloc.
13375 (Summary of Malloc): Add posix_memalign to function summary.
13376 __memalign_hook is also called for posix_memalign and valloc.
13378 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13380 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13384 (sloww): Use mynumber union. Expand ternary operator into
13385 if-else statements.
13386 (cslow): use mynumber union.
13388 2013-12-16 Allan McRae <allan@archlinux.org>
13390 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13391 * configure: Regenerated.
13393 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13396 * configure.ac: Added --enable-maintainer-mode. Check for
13397 autoconf when enabled.
13398 * configure: Regenerated.
13400 * nscd/nscd.service: New file.
13401 * nscd/nscd.tmpfiles: New file.
13403 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
13406 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13407 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13408 * sysdeps/x86_64/multiarch/strstr.c: ... here.
13409 (strstr): Add __strstr_sse2_unaligned ifunc.
13410 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13411 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13412 (strcasestr): Remove __strcasestr_sse42 ifunc.
13413 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13417 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13419 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13420 * sysdeps/sh/bits/fenv.h: ... here.
13421 * sysdeps/sh/sh4/fpu/bits: Remove directory.
13423 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13425 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13428 hypotf multiarch implementations.
13429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13431 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13432 multiarch hypot for PPC64.
13433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13436 multiarch hypotf for PPC64.
13438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13439 modff multiarch implementations.
13440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13443 multiarch modf for PPC64.
13444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13447 multiarch modff for PPC64.
13449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13450 and logl multiarch implementations.
13451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13454 multiarch logb for PPC64.
13455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13458 multiarch logb for PPC64.
13459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13462 multiarch logb for PPC64.
13464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13465 isinff multiarch implementation.
13466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13470 multiarch isinf for PPC64.
13471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13474 multiarch isinff for PPC64.
13476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13477 finitef multiarch implementation.
13478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13482 multiarch finite for PPC64.
13483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13486 multiarch finitef for PPC64.
13488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13489 lrint multiarch implementation.
13490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13494 multiarch llrint for PPC64.
13495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13496 multiarch lrint for PPC64.
13498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13499 copysignf multiarch implementation.
13500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13505 multiarch copysign for PPC64.
13506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13507 multiarch copysignf for PPC64.
13509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13510 multiarch implementation.
13511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13519 multiarch llround for PPC64.
13520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13521 multiarch trunc for PPC64.
13522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13523 multiarch truncf for PPC64.
13525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13526 multiarch implementation.
13527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13535 multiarch llround for PPC64.
13536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13537 multiarch round for PPC64.
13538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13539 multiarch roundf for PPC64.
13541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13542 multiarch implementation.
13543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13551 multiarch llround for PPC64.
13552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13553 multiarch floor for PPC64.
13554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13555 multiarch floorf for PPC64.
13557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13558 multiarch implementation.
13559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13567 multiarch llround for PPC64.
13568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13569 multiarch ceil for PPC64.
13570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13571 multiarch ceilf for PPC64.
13573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13574 multiarch implementation.
13575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13582 multiarch llround for PPC64.
13583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13584 multiarch lround for PPC64.
13586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13587 multiarch implementation.
13588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13595 multiarch isnan for PPC64.
13596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13597 multiarch isnanf for PPC64.
13599 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13600 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13601 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13602 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13603 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13606 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13607 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13612 multiarch implementations.
13613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13614 (__libc_ifunc_impl_list): Likewise.
13615 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13616 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13617 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13618 multiarch stpcpy for PPC64.
13620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13621 multiarch implementations.
13622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13623 (__libc_ifunc_impl_list): Likewise.
13624 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13625 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13626 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13627 multiarch strcpy for PPC64.
13629 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13630 redefine function name.
13631 (_wordcopy_fwd_dest_aligned): Likewise.
13632 (_wordcopy_bwd_aligned): Likewise.
13633 (_wordcopy_bwd_dest_aligned): Likewise.
13634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13635 multiarch implementations.
13636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13637 (__libc_ifunc_impl_list): Likewise.
13638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13639 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13640 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13641 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13642 multiarch wcscpy for PPC64.
13644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13645 multiarch implementations.
13646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13647 (__libc_ifunc_impl_list): Likewise.
13648 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13649 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13650 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13651 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13652 multiarch wcscpy for PPC64.
13654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13655 multiarch implementations.
13656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13657 (__libc_ifunc_impl_list): Likewise.
13658 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13659 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13660 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13661 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13662 multiarch wcsrchr for PPC64.
13664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13665 multiarch implementations.
13666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13667 (__libc_ifunc_impl_list): Likewise.
13668 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13669 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13670 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13671 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13672 multiarch wcschr for PPC64.
13674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13675 multiarch implementations.
13676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13677 (__libc_ifunc_impl_list): Likewise.
13678 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13679 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13680 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13681 multiarch strchrnul for PPC64.
13683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13686 (__libc_ifunc_impl_list): Likewise.
13687 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13688 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13689 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13690 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13696 (__libc_ifunc_impl_list): Likewise.
13697 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13698 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13699 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13700 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13704 multiarch implementations.
13705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13706 (__libc_ifunc_impl_list): Likewise.
13707 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13708 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13709 strncasecmp for PPC64.
13710 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13711 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13712 multiarch strncasecmp_l for PPC64.
13714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13715 multiarch implementations.
13716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13717 (__libc_ifunc_impl_list): Likewise.
13718 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13719 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13720 multiarch strcasecmp for PPC64.
13721 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13724 multiarch strcasecmp_l for PPC64.
13726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13729 (__libc_ifunc_impl_list): Likewise.
13730 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13731 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13732 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13738 (__libc_ifunc_impl_list): Likewise.
13739 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13740 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13741 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13747 (__libc_ifunc_impl_list): Likewise.
13748 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13749 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13750 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13751 rawmemrchr for PPC64.
13753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13756 (__libc_ifunc_impl_list): Likewise.
13757 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13758 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13759 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13765 (__libc_ifunc_impl_list): Likewise.
13766 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13767 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13768 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13774 (__libc_ifunc_impl_list): Likewise.
13775 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13776 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13777 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13780 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13781 avoid cretion of __bzero symbol.
13782 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13784 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13786 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13789 multiarch implementations.
13790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13791 (__libc_ifunc_impl_list): Likewise.
13792 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13793 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13794 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13795 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13797 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13798 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13799 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13800 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13801 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13803 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13805 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13809 (__libc_ifunc_impl_list): Likewise.
13810 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13811 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13812 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13813 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13817 multiarch for POWER/PPC64.
13818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13819 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13822 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13824 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13826 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13829 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13830 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13831 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13832 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13833 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13834 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13835 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13836 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13837 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13838 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13839 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13840 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13841 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13842 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13843 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13852 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13854 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13856 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13858 * benchtests/Makefile (bench): Add exp2 and log2.
13859 (LDLIBS-bench-exp2): Add -lm.
13860 (LDLIBS-bench-log2): Likewise.
13861 * benchtests/exp2-inputs: New inputs file.
13862 * benchtests/log2-inputs: New inputs file.
13863 * benchtests/log-inputs: Add new inputs.
13864 * benchtests/tan-inputs: Likewise.
13866 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13868 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13870 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13871 (csloww2): ... from here.
13873 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13874 instead of structures.
13875 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13876 (POLYNOMIAL): Likewise.
13877 (TAYLOR_SLOW): Likewise.
13883 (sloww1); Likewise.
13884 (sloww2): Likewise.
13885 (bsloww1): Likewise.
13886 (bsloww2): Likewise.
13887 (cslow2): Likewise.
13888 (csloww): Likewise.
13889 (csloww1): Likewise.
13890 (csloww2): Likewise.
13892 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13894 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13895 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13896 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13897 * malloc/hooks.c (realloc_check): Likewise.
13899 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13900 * malloc/arena.c: Remove PER_THREAD conditional.
13901 [!PER_THREAD]: Remove code.
13902 (ptmalloc_unlock_all2): Likewise.
13903 (ptmalloc_init): Likewise.
13904 (_int_new_arena): Likewise.
13905 (arena_get2): Likewise.
13906 * malloc/hooks.c (__malloc_get_state): Likewise.
13907 (__malloc_set_state): Likewise.
13908 * malloc/malloc.c: Likewise.
13909 (struct malloc_state): Likewise.
13910 (struct malloc_par): Likewise.
13911 (__libc_realloc): Likewise.
13912 (__libc_mallopt): Likewise.
13914 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13916 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13918 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13920 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13921 macro to a function. Check for zero perturb_byte.
13922 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13924 * malloc/malloc.c: (force_reg): Remove.
13925 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13926 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13927 force_reg by atomic_forced_read.
13928 * malloc/arena.c (ptmalloc_init): Likewise.
13929 * malloc/hooks.c (top_check): Likewise.
13931 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13935 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13939 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13941 * math/auto-libm-test-in: Add tests of lgamma.
13942 * math/auto-libm-test-out: Regenerated.
13943 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13944 (M_LOG_2_SQRT_PIl): Likewise.
13945 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13946 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13948 (func_calc_desc): Add mpfr_f_f1 union field.
13949 (ARGS1): New macro.
13957 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13958 (test_functions): Add lgamma.
13959 (calc_generic_results): Handle mpfr_f_f1.
13960 * sysdeps/i386/fpu/libm-test-ulps: Update.
13961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13963 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13965 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13966 __mpn_add_n for PowerPC64/POWER7.
13967 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13968 __mpn_sub_n for PowerPC64/POWER7.
13970 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13971 __mpn_addmul_1 for PowerPC64.
13972 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13973 __mpn_submul_1 for PowerPC64.
13974 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13976 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13979 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13982 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13984 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13986 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13988 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13989 add multiarch folders.
13990 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13991 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13992 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13993 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13994 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13995 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13996 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13997 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13998 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13999 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14000 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14009 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14015 multiarch __ieee754_hypot for PowerPC32.
14016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14021 multiarch __ieee754_hypotf for PowerPC32.
14023 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14024 long_double_symbol only if __logbl is defined.
14025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14026 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14028 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14030 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14032 path for implementation.
14033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14036 logb, and logbl multiarch implementations for PowerPC32.
14037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14042 multiarch logb for PowerPC32.
14043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14048 multiarch logbf for PowerPC32.
14049 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14053 multiarch logbl implementation for PowerPC32.
14055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14056 and modff multiarch implementations.
14057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14062 multiarch modf for PowerPC32.
14063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14068 multiarch modff for PowerPC32.
14070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14071 and lrintf multiarch implementations.
14072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14077 multiarch lrint for PowerPC32.
14078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14079 file: multiarch lrintf for PowerPC32.
14081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14082 and lroundf multiarch implementations.
14083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14090 multiarch lround for PowerPC32.
14091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14092 file: multiarch lroundf for PowerPC32.
14094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14095 copysign and copysignf multiarch implementations.
14096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14101 file: multiarch copysign for PowerPC32.
14102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14103 file: multiarch copysignf for PowerPC32.
14105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14106 and truncf multiarch implementations.
14107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14112 multiarch trunc for PowerPC32.
14113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14118 multiarch truncf for PowerPC32.
14120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14121 and roundf multiarch implementations.
14122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14127 multiarch round for PowerPC32.
14128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14133 multiarch roundf for PowerPC32.
14135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14136 and floorf multiarch implementations.
14137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14142 multiarch floor for PowerPC32.
14143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14148 multiarch floorf for PowerPC32.
14150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14151 and ceilf multiarch implementations.
14152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14157 multiarch ceil for PowerPC32.
14158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14163 multiarch ceilf for PowerPC32.
14165 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14167 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14168 FINITEF is defined.
14169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14170 and finitef multiarch implementations.
14171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14176 multiarch finite for PowerPC32.
14177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14180 file: multiarch finitef for PowerPC32.
14182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14183 and isinff multiarch implementations.
14184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14189 multiarch isinf for PowerPC32.
14190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14193 multiarch isinff for PowerPC32.
14195 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14196 alias when __isnan is defined.
14197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14198 and isnanf multiarch implementations.
14199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14208 multiarch isnan for PowerPC32.
14209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14214 multiarch isnanf for PowerPC32.
14216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14217 and sqrtf multiarch implementations.
14218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14223 multiarch sqrt for PowerPC32.
14224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14229 multiarch sqrtf for PowerPC32.
14231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14232 and llroundf multiarch implementations.
14233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14240 file: multiarch llround for PowerPC32.
14241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14242 file: multiarch llroundf for PowerPC32.
14244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14245 multiarch PowerPC32 fpu implementations.
14246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14251 multiarch llrint for PowerPC32.
14252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14263 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14265 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14267 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14268 multiarch wordcopy for PPC32.
14269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14272 (__libc_ifunc_impl_list): Likewise.
14273 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14274 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14275 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14276 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14278 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14280 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14288 multiarch wcscpy for PPC32.
14289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14292 (__libc_ifunc_impl_list): Likewise.
14293 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14294 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14295 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14296 sysdeps/powerpc/power6/wcscpy.c.
14298 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14305 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14306 multiarch wcsrchr for PPC32.
14307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14310 (__libc_ifunc_impl_list): Likewise.
14311 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14312 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14313 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14314 sysdeps/powerpc/power6/wcsrchr.c.
14316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14322 multiarch wcschr for PPc32.
14323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14326 (__libc_ifunc_impl_list): Likewise.
14327 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14328 * sysdeps/powerpc/power6/wcschr.c: ... to here.
14329 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14330 sysdeps/powerpc/power6/wcschr.c.
14332 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14333 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14335 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14336 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14337 file: multiarch strchr for PPC32.
14338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14341 (__libc_ifunc_impl_list): Likewise.
14343 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14345 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14347 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14349 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14350 multiarch strchrnul for PPC32.
14351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14354 (__libc_ifunc_impl_list): Likewise.
14356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14358 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14359 multiarch strncasecmp for PPC32.
14360 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14362 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14363 multiarch strncasecmp_l for PPC32.
14364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14365 strncasecmp multiarch objects.
14366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14367 (__libc_ifunc_impl_list): Likewise.
14369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14371 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14372 multiarch strncasecmp for PPC32.
14373 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14375 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14376 multiarch strcasecmp_l for PPC32.
14377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14380 (__libc_ifunc_impl_list): Likewise.
14382 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14384 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14386 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14387 multiarch strncmp for PPC32.
14388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14391 (__libc_ifunc_impl_list): Likewise.
14393 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14394 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14396 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14397 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14401 (__libc_ifunc_impl_list): Likewise.
14403 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14405 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14407 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14411 (__libc_ifunc_impl_list): Likewise.
14413 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14415 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14417 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14418 multiarch rawmemchr for PPC32.
14419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14422 (__libc_ifunc_impl_list): Likewise.
14424 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14426 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14428 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14429 file: memrchr multiarch for PPC32.
14430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14433 (__libc_ifunc_impl_list): Likewise.
14435 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14436 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14438 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14439 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14440 multiarch memchr for PPC32.
14441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14444 (__libc_ifunc_impl_list): Likewise.
14446 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14447 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14449 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14451 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14452 file: multiarch mempcpy for PPC32.
14453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14456 (__libc_ifunc_impl_list): Likewise.
14458 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14459 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14460 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14462 multiarch bzero for PPC32.
14463 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14465 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14467 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14468 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14469 file: multiarch memset for PPC32.
14470 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14472 memset multiarch objects.
14473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14474 (__libc_ifunc_impl_list): Likewise.
14476 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14478 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14481 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14485 (__libc_ifunc_impl_list): Likewise.
14487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14496 multiarch memcpy for PPC32.
14497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14500 (__libc_ifunc_impl_list): Likewise.
14502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14503 support multiarch for POWER/PPC32.
14504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14506 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14508 Implies file to make multiarch folder appers before the fpu and
14509 default folder for power4 configuration.
14511 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * scripts/bench.pl: Append volatile keyword to type.
14515 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14517 * sysdeps/sh/sotruss-lib.c: New file.
14518 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14520 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14524 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14527 * math/w_tgamma.c: Include <errno.h>.
14528 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14529 * math/w_tgammaf.c: Include <errno.h>.
14530 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14531 * math/w_tgammal.c: Include <errno.h>.
14532 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14533 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14534 underflow. Add more tgamma tests.
14535 * math/auto-libm-test-out: Regenerated.
14536 * sysdeps/i386/fpu/libm-test-ulps: Update.
14537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14539 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14540 sin, sinh, tan, tanh, tgamma, y0 and y1.
14541 * math/auto-libm-test-out: Regenerated.
14542 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14543 (TEST_COND_x86): Likewise.
14544 (M_E2l): Remove macro.
14546 (M_2_SQRT_PIl): Likewise.
14547 (M_SQRT_PIl): Likewise.
14548 (M_1_DIV_El): Likewise.
14549 (log_test_data): Use AUTO_TESTS_f_f.
14550 (log10_test_data): Likewise.
14551 (log1p_test_data): Likewise.
14552 (log2_test_data): Likewise.
14553 (sin_test_data): Likewise.
14554 (sin_tonearest_test_data): Likewise.
14555 (sin_towardzero_test_data): Likewise.
14556 (sin_downward_test_data): Likewise.
14557 (sin_upward_test_data): Likewise.
14558 (sinh_test_data): Likewise.
14559 (sinh_tonearest_test_data): Likewise.
14560 (sinh_towardzero_test_data): Likewise.
14561 (sinh_downward_test_data): Likewise.
14562 (sinh_upward_test_data): Likewise.
14563 (tan_test_data): Likewise.
14564 (tan_tonearest_test_data): Likewise.
14565 (tan_towardzero_test_data): Likewise.
14566 (tan_downward_test_data): Likewise.
14567 (tan_upward_test_data): Likewise.
14568 (tanh_test_data): Likewise.
14569 (tgamma_test_data): Likewise.
14570 (y0_test_data): Likewise.
14571 (y1_test_data): Likewise.
14572 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14573 (special_real_inputs): Add pi/4.
14574 * sysdeps/i386/fpu/libm-test-ulps: Update.
14575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14577 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14579 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14580 "longjmp_target" static probes.
14581 (__longjmp): Rename to __longjmp_symbol.
14582 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14583 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14584 on which longjmp to generate.
14585 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14586 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14588 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14589 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14590 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14591 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14592 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14593 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14595 __longjmp_symbol based on which __longjmp to generate.
14596 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14598 (setjmp): Rename to setjmp_symbol.
14599 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14600 (_setjmp): Rename to _setjmp_symbol.
14601 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14602 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14603 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14604 which setjmp to generate.
14605 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14606 "longjmp_target" static probes.
14608 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14610 * benchtests/README: Add note about output arguments.
14611 * benchtests/bench-sincos.c: Remove file.
14612 * benchtests/sincos-inputs: New file.
14613 * scripts/bench.pl: Identify output arguments and define
14614 static variables for them.
14616 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14619 * Makefile (INSTALL): Add install-plain.texi as the primary
14621 * manual/install-plain.texi: New file.
14622 * manual/install.texi: Include node directive only for
14623 non-plaintext output.
14625 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14627 * stdlib/longlong.h: Update from GCC.
14631 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14632 * math/w_j0f.c (y0f): Likewise.
14633 * math/w_j0l.c (__y0l): Likewise.
14634 * math/w_j1.c (y1): Likewise.
14635 * math/w_j1f.c (y1f): Likewise.
14636 * math/w_j1l.c (__y1l): Likewise
14637 * math/w_jn.c (yn): Likewise.
14638 * math/w_jnf.c (ynf): Likewise.
14639 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14640 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14641 value for Bessel function domain errors outside _SVID_ mode.
14642 Adjust sign of return value for yn (negative integer, 0).
14643 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14644 by zero in return for negative x and set sign appropriately for
14646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14647 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14648 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14649 expectations in error cases.
14650 (y1_test_data): Likewise.
14651 (yn_test_data): Likewise.
14652 * sysdeps/i386/fpu/libm-test-ulps: Update.
14653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14655 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14657 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14658 "64" to "64-v1". Add "64-v2".
14659 (abi-64-options): Rename to ...
14660 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14661 (abi-64-condition): Rename to ...
14662 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14663 (abi-64-ld-soname): Rename to ...
14664 (abi-64-v1-ld-soname): ... this.
14665 (abi-64-v2-options): Define.
14666 (abi-64-v2-condition): Likewise.
14667 (abi-64-v2-ld-soname): Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14669 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14674 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14675 Alan Modra <amodra@gmail.com>
14677 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14678 New versions for use with the ELFv2 ABI.
14679 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14680 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14682 (struct La_ppc64v2_retval): Likewise.
14683 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14684 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14685 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14686 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14687 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14688 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14689 Do not save or restore CR.
14690 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14691 (_dl_profile_resolve): Do no save or restore CR. Support extended
14692 return values for ELFv2 ABI. Fix location of FPR return registers.
14693 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14694 updated values for _CALL_ELF == 2.
14695 (La_regs, La_retval, int_retval): Likewise.
14697 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14699 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14700 (FRAME_MIN_SIZE_PARM): Likewise.
14701 (FRAME_BACKCHAIN): Likewise.
14702 (FRAME_CR_SAVE): Likewise.
14703 (FRAME_LR_SAVE): Likewise.
14704 (FRAME_TOC_SAVE): Likewise.
14705 (FRAME_PARM_SAVE): Likewise.
14706 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14707 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14708 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14709 (call_mcount_parm_offset): New macro.
14710 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14711 (PROF): Use symbolic stack frame offsets.
14712 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14713 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14714 Redefine in terms of FRAME_MIN_SIZE.
14715 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14716 (_dl_profile_resolve): Likewise. Update comment.
14717 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14718 symbols stack frame offsets.
14719 (__sigsetjmp): Likewise.
14720 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14721 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14722 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14723 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14726 (FRAME_BACKCHAIN): Remove.
14727 (FRAME_CR_SAVE): Likewise.
14728 (FRAME_LR_SAVE): Likewise.
14729 (FRAME_COMPILER_DW): Likewise.
14730 (FRAME_LINKER_DW): Likewise.
14731 (FRAME_TOC_SAVE): Likewise.
14732 (FRAME_PARM_SAVE): Likewise.
14733 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14734 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14735 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14737 (CHECK_SP): Use symbolic stack frame offsets.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14739 zone" instead of caller's parameter save area for temp storage.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14741 Likewise. Also, use symbolic stack frame offsets.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14743 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14744 our own stack frame instead of the caller's.
14745 (__socket): Use symbolic stack frame offsets.
14747 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14748 Alan Modra <amodra@gmail.com>
14750 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14752 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14753 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14754 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14756 (elf_machine_fixup_plt): Call it.
14757 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14759 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14761 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14762 r2 before calling target.
14764 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14765 Alan Modra <amodra@gmail.com>
14767 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14768 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14769 versions of macros to support ELFv2 ABI.
14770 (LOCALENTRY): New macro.
14771 (ENTRY, EALIGN): Use it.
14772 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14773 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14774 fall through into ENTRY entry point.
14775 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14776 Only define if _CALL_ELF != 2.
14778 (elf_machine_matches_host): Verify ABI version matches.
14779 (RTLD_START): Use LOCALENTRY.
14780 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14781 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14782 (PLT_ENTRY_WORDS): New macro.
14783 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14784 (elf_machine_runtime_setup): Support ELFv2 ABI.
14785 (elf_machine_fixup_plt): Likewise.
14786 (elf_machine_plt_conflict): Likewise.
14787 (resolve_ifunc): Likewise.
14788 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14792 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14794 (makecontext): Support ELFv2 ABI.
14795 * elf/elf.h (EF_PPC64_ABI): Define.
14797 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14799 * sysdeps/powerpc/powerpc64/sysdep.h
14800 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14801 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14802 (ENTRY) [ASSEMBLER]: ... but instead here ...
14803 (EALIGN) [ASSEMBLER]: ... and here.
14804 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14805 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14806 (ENTRY_2) [!ASSEMBLER]: Use it.
14807 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14808 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14810 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14811 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14813 Use PPC64_LOAD_FUNCPTR.
14815 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14817 2013-12-04 Alan Modra <amodra@gmail.com>
14819 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14820 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14821 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14822 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14824 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14825 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14826 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14827 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14828 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14829 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14831 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14834 (__makecontext): Fix incorrect CFI when backtracing out of
14835 context created via makecontext.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14837 (__setcontext): Fix incorrect CFI during switch to new context.
14838 (__novec_setcontext): Likewise.
14840 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14843 * time/strptime_l.c (__strptime_internal): Allow modifiers
14845 * time/tst-strptime.c (day_tests): Add testcase.
14847 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14849 * scripts/bench.pl: Skip over blank lines.
14851 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14854 * manual/time.texi (Calendar Time): Clarify what timezone functions
14857 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14861 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14863 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14865 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14866 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14867 * debug/memset_chk.c (__memset_chk): Likewise.
14868 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14869 * debug/strncpy_chk.c: Likewise.
14871 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14875 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14876 (__ieee754_exp): For possibly underflowing results, check size of
14877 result and force underflow exception if required.
14878 * math/auto-libm-test-in: Add more tests of exp.
14879 * math/auto-libm-test-out: Regenerated.
14880 * sysdeps/i386/fpu/libm-test-ulps: Update.
14881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14884 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14885 * math/w_exp2f.c (__exp2f): Likewise.
14886 * math/w_exp2l.c (__exp2l): Likewise.
14887 * math/auto-libm-test-in: Do not allow missing errno on exp2
14889 * math/auto-libm-test-out: Regenerated.
14891 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14894 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14895 handle filename validation.
14896 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14899 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14902 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14903 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14904 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14906 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14907 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14908 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14910 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14911 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14912 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14913 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14914 Add more erfc tests.
14915 * math/auto-libm-test-out: Regenerated.
14916 * sysdeps/i386/fpu/libm-test-ulps: Update.
14917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14919 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14920 exp2, expm1, j0 and j1.
14921 * math/auto-libm-test-out: Regenerated.
14922 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14923 (erfc_test_data): Likewise.
14924 (exp_test_data): Likewise.
14925 (exp_tonearest_test_data): Likewise.
14926 (exp_towardzero_test_data): Likewise.
14927 (exp_downward_test_data): Likewise.
14928 (exp_upward_test_data): Likewise.
14929 (exp10_test_data): Likewise.
14930 (exp2_test_data): Likewise.
14931 (expm1_test_data): Likewise.
14932 (j0_test_data): Likewise.
14933 (j1_test_data): Likewise.
14934 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14935 (input_flag_type): Add flag_xfail_rounding.
14936 (input_flags): Add xfail-rounding.
14937 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14938 (output_for_one_input_case): Handle flag_xfail_rounding.
14939 * sysdeps/i386/fpu/libm-test-ulps: Update.
14940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14942 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14945 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14948 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14951 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14952 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14953 (STAP_PROBE0): New macro.
14954 (STAP_PROBE1): Likewise.
14955 (STAP_PROBE2): Likewise.
14956 (STAP_PROBE3): Likewise.
14957 (STAP_PROBE4): Likewise.
14959 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14961 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14963 2013-12-02 Steve Ellcey <sellcey@mips.com>
14965 * benchtests/Makefile (bench): Add sqrt.
14966 (LDLIBS-bench-sqrt): New.
14967 * benchtests/sqrt-input: New.
14969 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14971 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14972 (GAIH_EAI): Likewise.
14973 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14974 (gaih_inet): Likewise.
14975 (getaddrinfo): Don't use GAIH_EAI.
14977 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14978 (struct gaih): Remove definition.
14980 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14982 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14983 Use HERRNOP directly.
14985 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14989 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14991 * math/gen-auto-libm-tests.c (test_functions): Add more
14992 single-argument functions.
14993 (special_fill_pi_2): New function.
14994 (special_fill_minus_pi_2): Likewise.
14995 (special_fill_pi_6): Likewise.
14996 (special_fill_minus_pi_6): Likewise.
14997 (special_fill_pi_3): Likewise.
14998 (special_fill_2pi_3): Likewise.
14999 (special_fill_e): Likewise.
15000 (special_fill_1_e): Likewise.
15001 (special_fill_e_minus_1): Likewise.
15002 (special_real_inputs): Add more special inputs.
15003 (output_for_one_input_case): Do not require ERANGE on underflow to
15004 zero if round-to-nearest result does not underflow to zero, unless
15005 exact results required.
15006 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15007 atan, atanh, cbrt, cos and cosh.
15008 * math/auto-libm-test-out: Regenerated.
15009 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15010 (acos_tonearest_test_data): Likewise.
15011 (acos_towardzero_test_data): Likewise.
15012 (acos_downward_test_data): Likewise.
15013 (acos_upward_test_data): Likewise.
15014 (acosh_test_data): Likewise.
15015 (asin_test_data): Likewise.
15016 (asin_tonearest_test_data): Likewise.
15017 (asin_towardzero_test_data): Likewise.
15018 (asin_upward_test_data): Likewise.
15019 (asinh_test_data): Likewise.
15020 (atan_test_data): Likewise.
15021 (atanh_test_data): Likewise.
15022 (cbrt_test_data): Likewise.
15023 (cos_test_data): Likewise.
15024 (cos_tonearest_test_data): Likewise.
15025 (cos_towardzero_test_data): Likewise.
15026 (cos_downward_test_data): Likewise.
15027 (cos_upward_test_data): Likewise.
15028 (cosh_test_data): Likewise.
15029 (cosh_tonearest_test_data): Likewise.
15030 (cosh_towardzero_test_data): Likewise.
15031 (cosh_downward_test_data): Likewise.
15032 (cosh_upward_test_data): Likewise.
15033 * sysdeps/i386/fpu/libm-test-ulps: Update.
15034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15036 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15039 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15040 * math/w_exp10f.c (__exp10f): Likewise.
15041 * math/w_exp10l.c (__exp10l): Likewise.
15042 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15043 errno settings in existing tests.
15046 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15047 precision control set to double precision.
15048 * sysdeps/i386/fpu/w_sqrt.c: New file.
15049 * math/auto-libm-test-in: Add more tests.
15050 * math/auto-libm-test-out: Update.
15052 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15053 (sqrt_test_tonearest): New function.
15054 (sqrt_towardzero_test_data): New variable.
15055 (sqrt_test_towardzero): New function.
15056 (sqrt_downward_test_data): New variable.
15057 (sqrt_test_downward): New function.
15058 (sqrt_upward_test_data): New variable.
15059 (sqrt_test_upward): New function.
15060 (main): Call the new functions.
15062 * math/gen-auto-libm-tests.c: New file.
15063 * math/auto-libm-test-in: Likewise.
15064 * math/auto-libm-test-out: New generated file.
15065 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15067 (%beautify): Add generated representations of zero.
15068 (top level): Set $auto_input and call parse_auto_input.
15069 (beautify): Remove trailing "f" from hex float constants.
15070 (parse_args): Handle XFAIL_TEST.
15071 (convert_condition): New function.
15072 (or_value): Likewise.
15073 (or_cond_value): Likewise.
15074 (generate_testfile): Handle AUTO_TESTS_* lines.
15075 (parse_auto_input): New function.
15076 * math/libm-test.inc (XFAIL_TEST): New macro.
15077 (ERRNO_UNCHANGED): Update value.
15078 (ERRNO_EDOM): Likewise.
15079 (ERRNO_ERANGE): Likewise.
15080 (IGNORE_RESULT): Likewise.
15081 (TEST_COND_flt_32): New macro.
15082 (TEST_COND_dbl_64): Likewise.
15083 (TEST_COND_ldbl_96_intel): Likewise.
15084 (TEST_COND_ldbl_96_m68k): Likewise.
15085 (TEST_COND_ldbl_128): Likewise.
15086 (TEST_COND_ldbl_128ibm): Likewise.
15087 (TEST_COND_long32): Likewise.
15088 (TEST_COND_long64): Likewise.
15089 (TEST_COND_before_rounding): Likewise.
15090 (TEST_COND_after_rounding): Likewise.
15091 (enable_test): Handle XFAIL_TEST flag.
15092 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15093 with finite results.
15094 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15095 auto-libm-test-out.
15097 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15098 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15101 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15102 __tls_get_addr_internal instead of __tls_get_offset in order to
15103 avoid GOT pointer dependency. Make rtld export
15104 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15105 __tls_get_addr since we are a __tls_get_offset platform.
15106 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15107 GOT pointer being set up before.
15108 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15110 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15112 * manual/math.texi (Errors in Math Functions): Document accuracy
15116 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15117 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15119 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15120 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15121 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15122 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15123 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15124 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15125 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15126 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15127 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15128 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15129 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15133 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15134 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15135 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15136 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15137 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15139 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15141 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15143 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15144 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15145 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15146 atomic-feupdateenv and flt-rounds.
15147 * sysdeps/powerpc/nofpu/Versions (libc): Add
15148 __atomic_feholdexcept, __atomic_feclearexcept,
15149 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15150 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15151 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15152 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15153 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15158 * manual/arith.texi (FP Exceptions): Document that exceptions may
15159 not be raised when matherr is used.
15160 (Math Error Reporting): Document overflow in directed rounding
15161 modes. Document that errno may not be set when finite values are
15162 returned on overflow. Document intent to set errno on underflow
15163 only for underflow to zero.
15166 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15167 round-to-nearest then adjust result for other rounding modes.
15168 * include/fenv.h (fegetround): Use libm_hidden_proto.
15169 * math/fegetround.c (fegetround): Use libm_hidden_def.
15170 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15171 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15172 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15175 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15176 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15177 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15178 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15180 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15183 * nss/Versions (libnss_files): Add
15184 _nss_files_gethostbyname3_r.
15185 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15187 (HOST_DB_LOOKUP): Remove macro.
15188 (_nss_files_gethostbyname_r): Implement function without the
15189 HOST_DB_LOOKUP macro.
15190 (_nss_files_gethostbyname2_r): Likewise.
15192 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
15194 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15196 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15198 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15199 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15202 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15204 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15205 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15206 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15207 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15208 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15209 __fe_nomask_env_priv and attribute_hidden.
15210 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15211 (libc_feupdateenv_test_ppc): Likewise.
15212 (libc_feresetround_ppc): Likewise.
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15214 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15215 compat_symbol macro.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15217 (__fe_nomask_env): Likewise.
15218 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15220 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15222 * string/Makefile: Remove ifunc tests.
15223 * string/test-string.h: Define TEST_IFUNC.
15224 * string/test-bcopy-ifunc.c: Remove.
15225 * string/test-bzero-ifunc.c: Likewise.
15226 * string/test-memccpy-ifunc.c: Likewise.
15227 * string/test-memchr-ifunc.c: Likewise.
15228 * string/test-memcmp-ifunc.c: Likewise.
15229 * string/test-memcpy-ifunc.c: Likewise.
15230 * string/test-memmem-ifunc.c: Likewise.
15231 * string/test-memmove-ifunc.c: Likewise.
15232 * string/test-mempcpy-ifunc.c: Likewise.
15233 * string/test-memrchr-ifunc.c: Likewise.
15234 * string/test-memset-ifunc.c: Likewise.
15235 * string/test-rawmemchr-ifunc.c: Likewise.
15236 * string/test-stpcpy-ifunc.c: Likewise.
15237 * string/test-stpncpy-ifunc.c: Likewise.
15238 * string/test-strcasecmp-ifunc.c: Likewise.
15239 * string/test-strcasestr-ifunc.c: Likewise.
15240 * string/test-strcat-ifunc.c: Likewise.
15241 * string/test-strchr-ifunc.c: Likewise.
15242 * string/test-strchrnul-ifunc.c: Likewise.
15243 * string/test-strcmp-ifunc.c: Likewise.
15244 * string/test-strcpy-ifunc.c: Likewise.
15245 * string/test-strcspn-ifunc.c: Likewise.
15246 * string/test-strlen-ifunc.c: Likewise.
15247 * string/test-strncasecmp-ifunc.c: Likewise.
15248 * string/test-strncat-ifunc.c: Likewise.
15249 * string/test-strncmp-ifunc.c: Likewise.
15250 * string/test-strncpy-ifunc.c: Likewise.
15251 * string/test-strnlen-ifunc.c: Likewise.
15252 * string/test-strpbrk-ifunc.c: Likewise.
15253 * string/test-strrchr-ifunc.c: Likewise.
15254 * string/test-strspn-ifunc.c: Likewise.
15255 * string/test-strstr-ifunc.c: Likewise.
15257 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15259 * benchtests/Makefile: Remove ifunc tests.
15260 * benchtests/bench-string.h: Define TEST_IFUNC.
15261 * benchtests/bench-bcopy-ifunc.c: Remove.
15262 * benchtests/bench-bzero-ifunc.c: Likewise.
15263 * benchtests/bench-memccpy-ifunc.c: Likewise.
15264 * benchtests/bench-memchr-ifunc.c: Likewise.
15265 * benchtests/bench-memcmp-ifunc.c: Likewise.
15266 * benchtests/bench-memcpy-ifunc.c: Likewise.
15267 * benchtests/bench-memmem-ifunc.c: Likewise.
15268 * benchtests/bench-memmove-ifunc.c: Likewise.
15269 * benchtests/bench-mempcpy-ifunc.c: Likewise.
15270 * benchtests/bench-memrchr-ifunc.c: Likewise.
15271 * benchtests/bench-memset-ifunc.c: Likewise.
15272 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15273 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15274 * benchtests/bench-stpcpy-ifunc.c: Likewise.
15275 * benchtests/bench-stpncpy-ifunc.c: Likewise.
15276 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15277 * benchtests/bench-strcasestr-ifunc.c: Likewise.
15278 * benchtests/bench-strcat-ifunc.c: Likewise.
15279 * benchtests/bench-strchr-ifunc.c: Likewise.
15280 * benchtests/bench-strchrnul-ifunc.c: Likewise.
15281 * benchtests/bench-strcmp-ifunc.c: Likewise.
15282 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15283 * benchtests/bench-strcpy-ifunc.c: Likewise.
15284 * benchtests/bench-strcspn-ifunc.c: Likewise.
15285 * benchtests/bench-strlen-ifunc.c: Likewise.
15286 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15287 * benchtests/bench-strncat-ifunc.c: Likewise.
15288 * benchtests/bench-strncmp-ifunc.c: Likewise.
15289 * benchtests/bench-strncpy-ifunc.c: Likewise.
15290 * benchtests/bench-strnlen-ifunc.c: Likewise.
15291 * benchtests/bench-strpbrk-ifunc.c: Likewise.
15292 * benchtests/bench-strrchr-ifunc.c: Likewise.
15293 * benchtests/bench-strsep-ifunc.c: Likewise.
15294 * benchtests/bench-strspn-ifunc.c: Likewise.
15295 * benchtests/bench-strstr-ifunc.c: Likewise.
15297 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15299 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15301 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15303 * resolv/netdb.h: Use __glibc_reserved instead __unused.
15304 * rt/aio.h: Likewise.
15305 * sysdeps/gnu/bits/utmp.h: Likewise.
15306 * sysdeps/gnu/bits/utmpx.h: Likewise.
15307 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15308 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15309 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15310 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15311 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15312 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15313 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15314 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15315 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15316 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15317 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15318 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15319 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15322 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15323 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15324 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15325 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15326 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15327 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15328 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15329 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15330 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15331 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15333 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15334 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15335 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15336 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15337 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15338 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15339 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15340 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15341 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15342 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15343 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15344 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15345 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15346 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15347 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15348 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15350 2013-11-25 Carlos O'Donell <carlos@redhat.com>
15353 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15354 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15356 2013-11-25 Joseph Myers <joseph@codesourcery.com>
15358 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15359 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15362 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15365 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15366 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15367 (__fesetround): Remove define.
15368 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15369 rounding and exceptions handling.
15370 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15371 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15372 (__fe_nomask_env): Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15374 __fegetround instead of fegetround.
15375 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15378 2013-11-21 Roland McGrath <roland@hack.frob.com>
15380 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15383 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15385 2013-11-21 Meador Inge <meadori@codesourcery.com>
15388 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15389 (encrypt_r): Likewise.
15390 * malloc/obstack.h (obstack_free): Likewise.
15391 * posix/unistd.h (encrypt): Likewise.
15393 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
15395 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15396 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15397 DL_CALL_DT_FINI() that call the functions directly.
15398 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15399 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15400 * elf/dl-fini.c: Likewise.
15402 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
15404 * malloc/hooks.c (memalign_check): Add alignment rounding.
15405 * malloc/malloc.c (_mid_memalign): New function.
15406 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15407 Implement by calling _mid_memalign.
15408 * manual/probes.texi (Memory Allocation Probes): Remove
15409 memory_valloc_retry and memory_pvalloc_retry.
15411 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15413 * locale/programs/locarchive.c (open_archive): Add const
15414 qualifier to ARCHIVEFNAME and copy default fname to
15418 * libio/tst-widetext.input: Rename Oriya to Odia.
15419 * locale/iso-639.def: Likewise.
15421 * manual/probes.texi (Mathematical Function Probes): Add
15422 documentation for sin, cos, asin and acos probes.
15423 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15424 (__sin32): Add slowasin probe.
15425 (__cos32): Add slowacos probe.
15426 (__mpsin): Add slowsin probe.
15427 (__mpcos): Add slowcos probe.
15429 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15432 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15433 thread-local __sim_exceptions_thread and global
15434 __sim_exceptions_global.
15435 (__sim_disabled_exceptions): Change to thread-local
15436 __sim_disabled_exceptions_thread and global
15437 __sim_disabled_exceptions_global.
15438 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15439 and global __sim_round_mode_global.
15440 (__simulate_exceptions): Use thread-local floating-point state and
15441 set global state from it as needed.
15442 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15443 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15444 __sim_round_mode_thread.
15445 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15446 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15447 and global __sim_exceptions_global.
15448 (__sim_disabled_exceptions): Change to thread-local
15449 __sim_disabled_exceptions_thread and global
15450 __sim_disabled_exceptions_global.
15451 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15452 and global __sim_round_mode_global.
15453 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15454 (SIM_SET_GLOBAL): Likewise.
15455 * sysdeps/powerpc/soft-fp/sfp-machine.h
15456 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15457 __sim_round_mode_thread.
15458 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15459 __sim_disabled_exceptions_thread.
15460 (__sim_exceptions): Change to __sim_exceptions_thread.
15461 (__sim_disabled_exceptions): Change to
15462 __sim_disabled_exceptions_thread.
15463 (__sim_round_mode): Change to __sim_round_mode_thread.
15464 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15465 thread-local floating-point state and set global state from it as
15467 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15468 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15469 (__sim_disabled_exceptions): Remove extern declaration.
15470 (feenableexcept): Use thread-local floating-point state and set
15471 global state from it as needed.
15472 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15473 extern declaration.
15474 (__sim_disabled_exceptions): Likewise.
15475 (__sim_round_mode): Likewise.
15476 (__fegetenv): Use thread-local floating-point state.
15477 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15478 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15479 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15480 floating-point state and set global state from it as needed.
15481 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15482 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15483 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15485 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15486 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15488 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15489 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15490 Use __sim_round_mode_thread.
15491 * math/test-fenv-tls.c: New file.
15492 * math/Makefile (tests): Add test-fenv-tls.
15493 ($(objpfx)test-fenv-tls): Depend on
15494 $(common-objpfx)nptl/libpthread.so.
15496 2013-11-19 Andreas Schwab <schwab@suse.de>
15498 * locale/programs/locale.c (show_info): Decode wordarray elements.
15499 * locale/categories.def (LC_MONETARY): Add element for
15500 _NL_MONETARY_CRNCYSTR.
15501 * locale/C-monetary.c (conversion_rate): New variable.
15502 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15505 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15507 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15508 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15510 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15512 * elf/Makefile (tst-auxv): New test.
15513 * elf/tst-auxv.c: New
15514 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15516 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15518 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15519 (hidden_proto): Caller changed.
15520 (hidden_tls_proto): New macro.
15521 (libc_hidden_tls_proto): Likewise.
15522 (rtld_hidden_tls_proto): Likewise.
15523 (libm_hidden_tls_proto): Likewise.
15524 (libresolv_hidden_tls_proto): Likewise.
15525 (librt_hidden_tls_proto): Likewise.
15526 (libdl_hidden_tls_proto): Likewise.
15527 (libnss_files_hidden_tls_proto): Likewise.
15528 (libnsl_hidden_tls_proto): Likewise.
15529 (libnss_nisplus_hidden_tls_proto): Likewise.
15530 (libutil_hidden_tls_proto): Likewise.
15532 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15535 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15536 (decompose_rpath): Defer expansion to fillin_rpath.
15537 (_dl_init_paths): Pass linkmap to fillin_rpath.
15539 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15541 * benchtests/Makefile: Add strsep.
15542 * benchtests/bench-strsep.c: New file: strsep benchtest.
15543 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15545 2013-11-18 Andreas Schwab <schwab@suse.de>
15547 * locale/programs/locale.c (show_info) [case byte]: Check for
15548 '\377' instead of '\177'.
15549 * locale/C-monetary.c (not_available): Always use "\377".
15550 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15551 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15552 detect unavailable sign_posn locale elements.
15553 * locale/localeconv.c (__localeconv): For grouping and
15554 mon_grouping handle "\177" and "\377" like no grouping.
15555 (INT_ELEM): New macro. Use it to set all numeric members.
15556 * locale/programs/ld-monetary.c (monetary_read)
15557 <tok_mon_grouping>: Normalize single -1 to the empty string.
15558 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15561 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15565 when we match (nil).
15566 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15568 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15570 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15571 (NO_TEST_INLINE): Update value.
15572 (ERRNO_UNCHANGED): Likewise.
15573 (ERRNO_EDOM): Likewise.
15574 (ERRNO_ERANGE): Likewise.
15575 (IGNORE_RESULT): Likewise.
15576 (check_float_internal): Check signs of NaN results if
15577 TEST_NAN_SIGN used.
15578 (check_complex): Pass TEST_NAN_SIGN flag through to second
15579 check_float_internal call.
15580 (copysign_test_data): Add tests with quiet NaNs as second
15581 argument. Use TEST_NAN_SIGN.
15582 (fabs_test_data): Add test of negative quiet NaN argument. Use
15584 (signbit_test_data): Add tests of quiet NaN argument.
15585 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15587 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15589 (parse_args): Handle function results specified as IGNORE.
15590 * math/libm-test.inc (IGNORE_RESULT): New macro.
15591 (check_float_internal): Do not check numerical result if flag
15593 (check_complex): Pass through IGNORE_RESULT to second
15594 check_float_internal call.
15595 (check_int): Do not check numerical result if flag IGNORE_RESULT
15597 (check_long): Likewise.
15598 (check_bool): Likewise.
15599 (check_longlong): Likewise.
15600 (lrint_test_data): Add tests of infinite and NaN arguments.
15601 (lrint_tonearest_test_data): Likewise.
15602 (lrint_towardzero_test_data): Likewise.
15603 (lrint_downward_test_data): Likewise.
15604 (lrint_upward_test_data): Likewise.
15605 (llrint_test_data): Likewise.
15606 (llrint_tonearest_test_data): Likewise.
15607 (llrint_towardzero_test_data): Likewise.
15608 (llrint_downward_test_data): Likewise.
15609 (llrint_upward_test_data): Likewise.
15610 (lround_test_data): Likewise.
15611 (llround_test_data): Likewise.
15613 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15614 (ERRNO_UNCHANGED): Update value.
15615 (ERRNO_EDOM): Likewise.
15616 (ERRNO_ERANGE): Likewise.
15617 (NO_TEST_INLINE_FLOAT): New macro.
15618 (NO_TEST_INLINE_DOUBLE): Likewise.
15619 (enable_test): New function.
15620 (RUN_TEST_f_f): Check enable_test before running test.
15621 (RUN_TEST_2_f): Likewise.
15622 (RUN_TEST_fff_f): Likewise.
15623 (RUN_TEST_c_f): Likewise.
15624 (RUN_TEST_f_f1): Likewise.
15625 (RUN_TEST_fF_f1): Likewise.
15626 (RUN_TEST_fI_f1): Likewise.
15627 (RUN_TEST_ffI_f1): Likewise.
15628 (RUN_TEST_c_c): Likewise.
15629 (RUN_TEST_cc_c): Likewise.
15630 (RUN_TEST_f_i): Likewise.
15631 (RUN_TEST_f_i_tg): Likewise.
15632 (RUN_TEST_ff_i_tg): Likewise.
15633 (RUN_TEST_f_b): Likewise.
15634 (RUN_TEST_f_b_tg): Likewise.
15635 (RUN_TEST_f_l): Likewise.
15636 (RUN_TEST_f_L): Likewise.
15637 (RUN_TEST_fFF_11): Likewise.
15638 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15640 (cosh_test_data): Likewise.
15641 (exp_test_data): Likewise.
15642 (expm1_test_data): Likewise.
15643 (hypot_test_data): Likewise.
15644 (pow_test_data): Likewise.
15645 (sinh_test_data): Likewise.
15646 (tanh_test_data): Likewise.
15647 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15650 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15651 tests with quiet NaN input and output.
15652 (acosh_test_data): Likewise.
15653 (asin_test_data): Likewise.
15654 (asinh_test_data): Likewise.
15655 (atan_test_data): Likewise.
15656 (atanh_test_data): Likewise.
15657 (atan2_test_data): Likewise.
15658 (cbrt_test_data): Likewise.
15659 (cos_test_data): Likewise.
15660 (cosh_test_data): Likewise.
15661 (erf_test_data): Likewise.
15662 (erfc_test_data): Likewise.
15663 (exp_test_data): Likewise.
15664 (exp10_test_data): Likewise.
15665 (exp2_test_data): Likewise.
15666 (expm1_test_data): Likewise.
15667 (hypot_test_data): Likewise.
15668 (j0_test_data): Likewise.
15669 (j1_test_data): Likewise.
15670 (jn_test_data): Likewise.
15671 (lgamma_test_data): Likewise.
15672 (log_test_data): Likewise.
15673 (log10_test_data): Likewise.
15674 (log1p_test_data): Likewise.
15675 (log2_test_data): Likewise.
15676 (pow_test_data): Likewise.
15677 (scalb_test_data): Likewise.
15678 (sin_test_data): Likewise.
15679 (sincos_test_data): Likewise.
15680 (sinh_test_data): Likewise.
15681 (tan_test_data): Likewise.
15682 (tanh_test_data): Likewise.
15683 (tgamma_test_data): Likewise.
15684 (y0_test_data): Likewise.
15685 (y1_test_data): Likewise.
15686 (yn_test_data): Likewise.
15689 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15690 argument being NaN and avoid computations with second argument in
15692 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15693 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15694 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15696 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15698 * locale/iso-639.def: Add Chitwani Tharu (the).
15700 2013-11-14 Andreas Schwab <schwab@suse.de>
15702 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15703 word instead of empty string.
15705 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15708 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15710 (__fe_nomask_env): Likewise.
15712 2013-11-13 Steve Ellcey <sellcey@mips.com>
15714 * benchtests/bench-timing.h: Include time.h.
15716 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15719 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15721 * sysdeps/unix/sysv/linux/configure: Regenerated.
15723 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15726 * stdlib/strtod_l.c (round_and_return): Do not consider
15727 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15728 exponent one less than half the least subnormal exponent.
15729 * stdlib/test-strtod-round-data: Add more tests.
15730 * stdlib/tst-strtod-round.c (tests): Regenerated.
15732 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15735 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15736 (__fe_mask_env): Likewise.
15737 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15738 libm_hidden_proto and add function prototype.
15739 (__fe_mask_env): Add function prototype.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15741 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15743 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15745 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15747 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15749 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15750 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15752 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15754 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15755 of htab_find_slot().
15757 2013-11-11 David S. Miller <davem@davemloft.net>
15760 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15761 symbol in the non-vis3 case in static builds.
15762 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15763 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15764 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15765 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15767 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15770 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15773 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15775 * benchtests/Makefile: Add bench-strtod.
15776 * benchtests/bench-strtod.c: New file: strtod benchtest
15778 2013-11-11 Andreas Schwab <schwab@suse.de>
15781 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15782 terminating NUL in key length.
15784 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15787 Add artificial ODP entry for vDSO symbol for PPC64.
15788 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15789 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15791 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15794 * nss/getent.c (services_keys): Recognize services starting with digit.
15796 2013-11-06 David S. Miller <davem@davemloft.net>
15799 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15800 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15802 2013-11-06 Will Newton <will.newton@linaro.org>
15804 * manual/memory.texi (Malloc Examples): Remove register
15805 keyword from examples.
15807 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15809 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15811 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15814 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15815 depending on [__GCC_IEC_559 > 0].
15816 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15817 depending on [__GCC_IEC_559_COMPLEX > 0].
15819 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15821 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15824 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15826 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15828 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15831 * malloc/malloc (malloc_info): Do not handle first bin as
15834 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15836 * locale/iso-639.def: Add Central Nahuatl (nhn).
15838 2013-11-01 Bruno Haible <bruno@clisp.org>
15841 * manual/math.texi (BSD Random): Specify range upper bound as
15844 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15846 * locale/iso-639.def: Add Meadow Mari (mhr).
15848 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15850 [BZ #14752], [BZ #15763]
15851 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15853 * rt/tst_shm.c: Add test for escaping directory.
15855 2013-10-31 Andreas Schwab <schwab@suse.de>
15858 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15859 followed by 'x' as part of digit sequence.
15860 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15862 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15865 * configure.ac: allow GNU Make 4.0 and greater.
15866 * configure: Regenerated.
15868 2013-10-30 Will Newton <will.newton@linaro.org>
15871 * malloc/hooks.c (memalign_check): Limit alignment to the
15872 maximum representable power of two.
15873 * malloc/malloc.c (__libc_memalign): Likewise.
15874 * malloc/tst-memalign.c (do_test): Add test for very
15875 large alignment values.
15876 * malloc/tst-posix_memalign.c (do_test): Likewise.
15878 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15881 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15882 (munmap_chunk): Likewise.
15883 (mremap_chunk): Likewise.
15885 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15888 * stdlib/div.c (div): Remove obsolete code.
15889 * stdlib/ldiv.c (ldiv): Likewise.
15890 * stdlib/lldiv.c (lldiv): Likewise.
15892 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15895 * nss/nss_files/files-XXX.c (get_contents_ret): New
15897 (get_contents): New function.
15898 (internal_getent): Use it. Expand size of LINEBUFLEN.
15900 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15902 * configure.in: Moved to ...
15903 * configure.ac: ... here. Change reference to configure.in
15905 * sysdeps/arm/preconfigure.ac: ... here.
15906 configure.in to configure.ac.
15907 * sysdeps/gnu/configure.in: Moved to ...
15908 * sysdeps/gnu/configure.ac: ... here.
15909 * sysdeps/i386/configure.in: Moved to ...
15910 * sysdeps/i386/configure.ac: ... here.
15911 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15912 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15913 * sysdeps/mach/configure.in: Moved to ...
15914 * sysdeps/mach/configure.ac: ... here.
15915 * sysdeps/mach/hurd/configure.in: Moved to ...
15916 * sysdeps/mach/hurd/configure.ac: ... here.
15917 * sysdeps/powerpc/configure.in: Moved to ...
15918 * sysdeps/powerpc/configure.ac: ... here.
15919 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15920 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15921 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15922 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15923 * sysdeps/s390/s390-32/configure.in: Moved to ...
15924 * sysdeps/s390/s390-32/configure.ac: ... here.
15925 * sysdeps/s390/s390-64/configure.in: Moved to ...
15926 * sysdeps/s390/s390-64/configure.ac: ... here.
15927 * sysdeps/sh/configure.in: Moved to ...
15928 * sysdeps/sh/configure.ac: ... here.
15929 * sysdeps/sparc/configure.in: Moved to ...
15930 * sysdeps/sparc/configure.ac: ... here.
15931 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15932 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15933 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15934 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15935 * sysdeps/x86_64/configure.in: Moved to ...
15936 * sysdeps/x86_64/configure.ac: ... here.
15937 * sysdeps/x86_64/preconfigure.in: Moved to ...
15938 * sysdeps/x86_64/preconfigure.ac: ... here.
15939 * aclocal.m4: Change reference to configure.in to configure.ac.
15940 * config.h.in: Likewise.
15941 * manual/install.texi: Likewise.
15942 * manual/maint.texi: Likewise.
15943 * Makefile: Likewise.
15944 * malloc/Makefile: Likewise.
15945 * nscd/Makefile: Likewise.
15946 * Makeconfig: Change reference to configure.in and
15947 preconfigure.in to configure.ac and preconfigure.ac
15949 * INSTALL: Regenerated.
15950 * configure: Likewise.
15951 * sysdeps/gnu/configure: Likewise.
15952 * sysdeps/i386/configure: Likewise.
15953 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15954 * sysdeps/mach/configure: Likewise.
15955 * sysdeps/mach/hurd/configure: Likewise.
15956 * sysdeps/powerpc/configure: Likewise.
15957 * sysdeps/powerpc/powerpc32/configure: Likewise.
15958 * sysdeps/powerpc/powerpc64/configure: Likewise.
15959 * sysdeps/s390/s390-32/configure: Likewise.
15960 * sysdeps/s390/s390-64/configure: Likewise.
15961 * sysdeps/sh/configure: Likewise.
15962 * sysdeps/sparc/configure: Likewise.
15963 * sysdeps/unix/sysv/linux/configure: Likewise.
15964 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15965 * sysdeps/x86_64/configure: Likewise.
15966 * sysdeps/x86_64/preconfigure: Likewise.
15968 2013-10-29 Andreas Schwab <schwab@suse.de>
15970 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15972 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15974 * benchtests/pow-inputs: Add new inputs.
15976 * benchtests/exp-inputs: Add new inputs.
15978 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15979 conditional check for return value.
15980 (__cos32): Likewise.
15982 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15984 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15985 to provide a boost for large inputs with word alignment.
15986 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15987 implementation based on optimized PPC64 strcpy.
15988 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15989 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15990 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15991 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15993 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15996 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15998 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16001 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16002 * time/tst-strptime.c (day_tests): Add testcase.
16004 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16007 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16009 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16012 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16013 MAP_FAILED on error.
16015 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16018 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16019 heap for large requests.
16021 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16024 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16025 result if the result has no associated interface.
16026 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16027 interface for all 127.X.Y.Z addresses.
16029 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16031 * locale/iso-639.def: Add Ligurian (lij)
16033 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16036 * sunrpc/rpc_main.c: Document rpcgen -5.
16038 2013-10-19 Michael Stahl <mstahl@redhat.com>
16040 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16042 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16045 * posix/glob.c: Match only directories when trailing slash is present.
16046 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16047 (main): Add testcase.
16049 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16052 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16054 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16056 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16057 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16058 AUTH_DES and cindex for FIPS 140-2.
16059 (DES Encryption): Add cindex FIPS 46-3.
16061 * locale/locarchive.h (struct locarhandle): Add fname.
16062 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16063 if an optional argument was specified to --list-archive,
16065 * locale/programs/locarchive.c (show_archive_content): Take new
16066 argument fname and pass it via ah.fname to open_archive.
16067 * locale/programs/localedef.h: Update decl.
16068 (open_archive): If AH->fname is non-null, open that file
16069 rather than the default file name, and don't ignore ENOENT.
16070 (create_archive): Set AH.fname to NULL.
16071 (delete_locales_from_archive): Likewise.
16072 (add_locales_to_archive): Likewise.
16073 * locale/programs/locfile.c (write_all_categories): Likewise.
16075 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16076 Aldy Hernandez <aldyh@redhat.com>
16078 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16079 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16080 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16081 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16082 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16083 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16084 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16085 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16086 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16087 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16088 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16089 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16090 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16091 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16094 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16096 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16098 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16100 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16101 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16103 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16104 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16105 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16106 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16108 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16109 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16110 * sysdeps/powerpc/preconfigure: Likewise.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16113 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16114 Replace contents of file by #include of <fenv_libc.h>.
16115 * sysdeps/powerpc/soft-fp/sfp-machine.h
16116 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16118 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16131 Allow copysignl PLT reference to be missing.
16133 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16134 Joseph Myers <joseph@codesourcery.com
16137 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16139 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16141 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16143 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16144 * elf/tst-tls1.c: Likewise.
16145 * elf/tst-tls10.h: Likewise.
16146 * elf/tst-tls14.c: Likewise.
16147 * elf/tst-tls2.c: Likewise.
16148 * elf/tst-tls3.c: Likewise.
16149 * elf/tst-tls4.c: Likewise.
16150 * elf/tst-tls5.c: Likewise.
16151 * elf/tst-tls6.c: Likewise.
16152 * elf/tst-tls7.c: Likewise.
16153 * elf/tst-tls8.c: Likewise.
16154 * elf/tst-tls9.c: Likewise.
16155 * elf/tst-tlsmod1.c: Likewise.
16156 * elf/tst-tlsmod13.c: Likewise.
16157 * elf/tst-tlsmod13a.c: Likewise.
16158 * elf/tst-tlsmod14a.c: Likewise.
16159 * elf/tst-tlsmod16a.c: Likewise.
16160 * elf/tst-tlsmod16b.c: Likewise.
16161 * elf/tst-tlsmod2.c: Likewise.
16162 * elf/tst-tlsmod3.c: Likewise.
16163 * elf/tst-tlsmod4.c: Likewise.
16164 * elf/tst-tlsmod5.c: Likewise.
16165 * elf/tst-tlsmod6.c: Likewise.
16167 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
16170 * malloc/malloc.c: remove checks for statistics.
16172 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16175 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16176 * inet/tst-network.c: Add testcase.
16178 2013-10-17 Andreas Schwab <schwab@suse.de>
16181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16182 to determine canonical name.
16184 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16186 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16187 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16188 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16189 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16191 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16192 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16193 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16194 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16195 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16196 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16197 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16198 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16199 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16200 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16201 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16203 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16204 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16205 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16206 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16208 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16209 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16210 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16211 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16212 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16213 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16214 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16215 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16216 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16218 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16219 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16220 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16221 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16222 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16223 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16224 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16225 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16226 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16227 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16228 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16229 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16230 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16231 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16232 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16233 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16234 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16235 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16236 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16237 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16238 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16239 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16240 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16241 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16243 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16245 2013-10-17 Joseph Myers <joseph@codesourcery.com>
16248 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16249 make result into a quiet NaN.
16251 2013-10-16 Joseph Myers <joseph@codesourcery.com>
16253 * soft-fp/adddf3.c: Fix horizontal whitespace.
16254 * soft-fp/addsf3.c: Likewise.
16255 * soft-fp/addtf3.c: Likewise.
16256 * soft-fp/divdf3.c: Likewise.
16257 * soft-fp/divsf3.c: Likewise.
16258 * soft-fp/divtf3.c: Likewise.
16259 * soft-fp/double.h: Likewise.
16260 * soft-fp/eqdf2.c: Likewise.
16261 * soft-fp/eqsf2.c: Likewise.
16262 * soft-fp/eqtf2.c: Likewise.
16263 * soft-fp/extenddftf2.c: Likewise.
16264 * soft-fp/extended.h: Likewise.
16265 * soft-fp/extendsfdf2.c: Likewise.
16266 * soft-fp/extendsftf2.c: Likewise.
16267 * soft-fp/extendxftf2.c: Likewise.
16268 * soft-fp/fixdfdi.c: Likewise.
16269 * soft-fp/fixdfsi.c: Likewise.
16270 * soft-fp/fixdfti.c: Likewise.
16271 * soft-fp/fixsfdi.c: Likewise.
16272 * soft-fp/fixsfsi.c: Likewise.
16273 * soft-fp/fixsfti.c: Likewise.
16274 * soft-fp/fixtfdi.c: Likewise.
16275 * soft-fp/fixtfsi.c: Likewise.
16276 * soft-fp/fixtfti.c: Likewise.
16277 * soft-fp/fixunsdfdi.c: Likewise.
16278 * soft-fp/fixunsdfsi.c: Likewise.
16279 * soft-fp/fixunsdfti.c: Likewise.
16280 * soft-fp/fixunssfdi.c: Likewise.
16281 * soft-fp/fixunssfsi.c: Likewise.
16282 * soft-fp/fixunssfti.c: Likewise.
16283 * soft-fp/fixunstfdi.c: Likewise.
16284 * soft-fp/fixunstfsi.c: Likewise.
16285 * soft-fp/fixunstfti.c: Likewise.
16286 * soft-fp/floatdidf.c: Likewise.
16287 * soft-fp/floatdisf.c: Likewise.
16288 * soft-fp/floatditf.c: Likewise.
16289 * soft-fp/floatsidf.c: Likewise.
16290 * soft-fp/floatsisf.c: Likewise.
16291 * soft-fp/floatsitf.c: Likewise.
16292 * soft-fp/floattidf.c: Likewise.
16293 * soft-fp/floattisf.c: Likewise.
16294 * soft-fp/floattitf.c: Likewise.
16295 * soft-fp/floatundidf.c: Likewise.
16296 * soft-fp/floatundisf.c: Likewise.
16297 * soft-fp/floatunditf.c: Likewise.
16298 * soft-fp/floatunsidf.c: Likewise.
16299 * soft-fp/floatunsisf.c: Likewise.
16300 * soft-fp/floatunsitf.c: Likewise.
16301 * soft-fp/floatuntidf.c: Likewise.
16302 * soft-fp/floatuntisf.c: Likewise.
16303 * soft-fp/floatuntitf.c: Likewise.
16304 * soft-fp/fmadf4.c: Likewise.
16305 * soft-fp/fmasf4.c: Likewise.
16306 * soft-fp/fmatf4.c: Likewise.
16307 * soft-fp/gedf2.c: Likewise.
16308 * soft-fp/gesf2.c: Likewise.
16309 * soft-fp/getf2.c: Likewise.
16310 * soft-fp/ledf2.c: Likewise.
16311 * soft-fp/lesf2.c: Likewise.
16312 * soft-fp/letf2.c: Likewise.
16313 * soft-fp/muldf3.c: Likewise.
16314 * soft-fp/mulsf3.c: Likewise.
16315 * soft-fp/multf3.c: Likewise.
16316 * soft-fp/negdf2.c: Likewise.
16317 * soft-fp/negsf2.c: Likewise.
16318 * soft-fp/negtf2.c: Likewise.
16319 * soft-fp/op-1.h: Likewise.
16320 * soft-fp/op-2.h: Likewise.
16321 * soft-fp/op-4.h: Likewise.
16322 * soft-fp/op-8.h: Likewise.
16323 * soft-fp/op-common.h: Likewise.
16324 * soft-fp/quad.h: Likewise.
16325 * soft-fp/single.h: Likewise.
16326 * soft-fp/soft-fp.h: Likewise.
16327 * soft-fp/sqrtdf2.c: Likewise.
16328 * soft-fp/sqrtsf2.c: Likewise.
16329 * soft-fp/sqrttf2.c: Likewise.
16330 * soft-fp/subdf3.c: Likewise.
16331 * soft-fp/subsf3.c: Likewise.
16332 * soft-fp/subtf3.c: Likewise.
16333 * soft-fp/truncdfsf2.c: Likewise.
16334 * soft-fp/trunctfdf2.c: Likewise.
16335 * soft-fp/trunctfsf2.c: Likewise.
16336 * soft-fp/trunctfxf2.c: Likewise.
16337 * soft-fp/unorddf2.c: Likewise.
16338 * soft-fp/unordsf2.c: Likewise.
16339 * soft-fp/unordtf2.c: Likewise.
16341 2013-10-15 Joseph Myers <joseph@codesourcery.com>
16343 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16344 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16346 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
16348 * elf/dl-libc.c: Clear initfini list after freeing.
16350 2013-10-14 Joseph Myers <joseph@codesourcery.com>
16352 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16353 * soft-fp/addsf3.c: Likewise.
16354 * soft-fp/addtf3.c: Likewise.
16355 * soft-fp/divdf3.c: Likewise.
16356 * soft-fp/divsf3.c: Likewise.
16357 * soft-fp/divtf3.c: Likewise.
16358 * soft-fp/double.h: Likewise.
16359 * soft-fp/eqdf2.c: Likewise.
16360 * soft-fp/eqsf2.c: Likewise.
16361 * soft-fp/eqtf2.c: Likewise.
16362 * soft-fp/extenddftf2.c: Likewise.
16363 * soft-fp/extended.h: Likewise.
16364 * soft-fp/extendsfdf2.c: Likewise.
16365 * soft-fp/extendsftf2.c: Likewise.
16366 * soft-fp/extendxftf2.c: Likewise.
16367 * soft-fp/fixdfdi.c: Likewise.
16368 * soft-fp/fixdfsi.c: Likewise.
16369 * soft-fp/fixdfti.c: Likewise.
16370 * soft-fp/fixsfdi.c: Likewise.
16371 * soft-fp/fixsfsi.c: Likewise.
16372 * soft-fp/fixsfti.c: Likewise.
16373 * soft-fp/fixtfdi.c: Likewise.
16374 * soft-fp/fixtfsi.c: Likewise.
16375 * soft-fp/fixtfti.c: Likewise.
16376 * soft-fp/fixunsdfdi.c: Likewise.
16377 * soft-fp/fixunsdfsi.c: Likewise.
16378 * soft-fp/fixunsdfti.c: Likewise.
16379 * soft-fp/fixunssfdi.c: Likewise.
16380 * soft-fp/fixunssfsi.c: Likewise.
16381 * soft-fp/fixunssfti.c: Likewise.
16382 * soft-fp/fixunstfdi.c: Likewise.
16383 * soft-fp/fixunstfsi.c: Likewise.
16384 * soft-fp/fixunstfti.c: Likewise.
16385 * soft-fp/floatdidf.c: Likewise.
16386 * soft-fp/floatdisf.c: Likewise.
16387 * soft-fp/floatditf.c: Likewise.
16388 * soft-fp/floatsidf.c: Likewise.
16389 * soft-fp/floatsisf.c: Likewise.
16390 * soft-fp/floatsitf.c: Likewise.
16391 * soft-fp/floattidf.c: Likewise.
16392 * soft-fp/floattisf.c: Likewise.
16393 * soft-fp/floattitf.c: Likewise.
16394 * soft-fp/floatundidf.c: Likewise.
16395 * soft-fp/floatundisf.c: Likewise.
16396 * soft-fp/floatunsidf.c: Likewise.
16397 * soft-fp/floatunsisf.c: Likewise.
16398 * soft-fp/floatuntidf.c: Likewise.
16399 * soft-fp/floatuntisf.c: Likewise.
16400 * soft-fp/floatuntitf.c: Likewise.
16401 * soft-fp/fmadf4.c: Likewise.
16402 * soft-fp/fmasf4.c: Likewise.
16403 * soft-fp/fmatf4.c: Likewise.
16404 * soft-fp/gedf2.c: Likewise.
16405 * soft-fp/gesf2.c: Likewise.
16406 * soft-fp/getf2.c: Likewise.
16407 * soft-fp/ledf2.c: Likewise.
16408 * soft-fp/lesf2.c: Likewise.
16409 * soft-fp/letf2.c: Likewise.
16410 * soft-fp/muldf3.c: Likewise.
16411 * soft-fp/mulsf3.c: Likewise.
16412 * soft-fp/multf3.c: Likewise.
16413 * soft-fp/negdf2.c: Likewise.
16414 * soft-fp/negsf2.c: Likewise.
16415 * soft-fp/negtf2.c: Likewise.
16416 * soft-fp/op-1.h: Likewise.
16417 * soft-fp/op-2.h: Likewise.
16418 * soft-fp/op-4.h: Likewise.
16419 * soft-fp/op-8.h: Likewise.
16420 * soft-fp/op-common.h: Likewise.
16421 * soft-fp/quad.h: Likewise.
16422 * soft-fp/single.h: Likewise.
16423 * soft-fp/soft-fp.h: Likewise.
16424 * soft-fp/sqrtdf2.c: Likewise.
16425 * soft-fp/sqrtsf2.c: Likewise.
16426 * soft-fp/sqrttf2.c: Likewise.
16427 * soft-fp/subdf3.c: Likewise.
16428 * soft-fp/subsf3.c: Likewise.
16429 * soft-fp/subtf3.c: Likewise.
16430 * soft-fp/truncdfsf2.c: Likewise.
16431 * soft-fp/trunctfdf2.c: Likewise.
16432 * soft-fp/trunctfsf2.c: Likewise.
16433 * soft-fp/trunctfxf2.c: Likewise.
16434 * soft-fp/unorddf2.c: Likewise.
16435 * soft-fp/unordsf2.c: Likewise.
16436 * soft-fp/unordtf2.c: Likewise.
16438 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16441 * misc/error.c (error_tail): Fix possible buffer overflow.
16443 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16446 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16449 2013-10-14 P. J. McDermott <pj@pehjota.net>
16452 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16453 testing pipefail option.
16455 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16457 * soft-fp/double.h: Indent preprocessor directives inside #if.
16458 * soft-fp/extended.h: Likewise.
16459 * soft-fp/op-2.h: Likewise.
16460 * soft-fp/op-4.h: Likewise.
16461 * soft-fp/op-common.h: Likewise.
16462 * soft-fp/quad.h: Likewise.
16463 * soft-fp/single.h: Likewise.
16464 * soft-fp/soft-fp.h: Likewise.
16466 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16468 * iconv/iconv_prog.c: Fix typos.
16469 * stdio-common/psiginfo-data.h: Likewise.
16471 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16474 * locale/setlocale.c: Fix typo.
16476 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16479 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16480 signaling NaN arguments.
16481 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16482 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16485 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16486 unordered operands.
16487 * soft-fp/gesf2.c (__gesf2): Likewise.
16488 * soft-fp/getf2.c (__getf2): Likewise.
16489 * soft-fp/ledf2.c (__ledf2): Likewise.
16490 * soft-fp/lesf2.c (__lesf2): Likewise.
16491 * soft-fp/letf2.c (__letf2): Likewise.
16493 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16494 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16495 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16496 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16497 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16498 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16499 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16500 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16501 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16502 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16503 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16504 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16505 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16506 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16507 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16508 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16509 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16510 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16511 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16512 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16513 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16514 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16515 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16516 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16517 * soft-fp/floattidf.c (__floattidf): Likewise.
16518 * soft-fp/floattisf.c (__floattisf): Likewise.
16519 * soft-fp/floattitf.c (__floattitf): Likewise.
16520 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16521 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16522 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16523 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16524 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16525 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16526 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16527 * soft-fp/gesf2.c (__gesf2): Likewise.
16528 * soft-fp/getf2.c (__getf2): Likewise.
16529 * soft-fp/ledf2.c (__ledf2): Likewise.
16530 * soft-fp/lesf2.c (__lesf2): Likewise.
16531 * soft-fp/letf2.c (__letf2): Likewise.
16533 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16534 Undefine and redefine.
16535 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16536 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16537 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16538 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16539 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16540 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16541 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16542 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16543 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16544 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16545 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16546 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16547 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16548 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16549 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16552 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16553 without decrementing exponent if mantissa >= that for the
16554 denominator, not >.
16555 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16556 denominator, not >. Decrement exponent in < case instead of
16557 incrementing in >= case.
16558 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16559 without decrementing exponent if mantissa >= that for the
16560 denominator, not >.
16562 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16563 computing saturated result for unsigned overflow.
16565 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16566 Jeff Law <law@redhat.com>
16568 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16569 (atan2Mp): Add systemtap probe marker.
16570 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16571 (__ieee754_log): Add systemtap probe marker.
16572 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16573 (atanMp): Add systemtap probe marker.
16574 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16575 (tanMp): Add systemtap probe marker.
16576 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16577 (__slowexp): Add systemtap probe marker.
16578 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16579 (__slowpow): Add systemtap probe marker.
16580 * manual/probes.texi: Document probes.
16582 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16585 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16587 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16589 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16590 written to buffer but not flushed.
16591 * libio/iofwrite_u.c: Likewise.
16592 * libio/iopadn.c: Return bytes returned even if EOF was
16594 * libio/iowpadn.c: Likewise.
16595 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16596 if _IO_padn does not write the whole buffer.
16597 [!COMPILE_WPRINTF] (PAD): Likewise.
16599 2013-10-10 David S. Miller <davem@davemloft.net>
16601 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16604 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16606 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16607 instead of FSF address.
16608 * soft-fp/fixdfti.c: Likewise.
16609 * soft-fp/fixsfti.c: Likewise.
16610 * soft-fp/fixtfti.c: Likewise.
16611 * soft-fp/fixunsdfti.c: Likewise.
16612 * soft-fp/fixunssfti.c: Likewise.
16613 * soft-fp/fixunstfti.c: Likewise.
16614 * soft-fp/floattidf.c: Likewise.
16615 * soft-fp/floattisf.c: Likewise.
16616 * soft-fp/floattitf.c: Likewise.
16617 * soft-fp/floatuntidf.c: Likewise.
16618 * soft-fp/floatuntisf.c: Likewise.
16619 * soft-fp/floatuntitf.c: Likewise.
16620 * soft-fp/trunctfxf2.c: Likewise.
16622 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16623 * soft-fp/fixdfti.c: Likewise.
16624 * soft-fp/fixsfti.c: Likewise.
16625 * soft-fp/fixtfti.c: Likewise.
16626 * soft-fp/fixunsdfti.c: Likewise.
16627 * soft-fp/fixunssfti.c: Likewise.
16628 * soft-fp/fixunstfti.c: Likewise.
16629 * soft-fp/floattidf.c: Likewise.
16630 * soft-fp/floattisf.c: Likewise.
16631 * soft-fp/floattitf.c: Likewise.
16632 * soft-fp/floatuntidf.c: Likewise.
16633 * soft-fp/floatuntisf.c: Likewise.
16634 * soft-fp/floatuntitf.c: Likewise.
16635 * soft-fp/trunctfxf2.c: Likewise.
16637 2013-10-10 David S. Miller <davem@davemloft.net>
16639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16641 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16643 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16644 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16645 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16646 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16647 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16648 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16649 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16652 for NaNs before doing comparisons on argument.
16653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16656 2013-10-10 Will Newton <will.newton@linaro.org>
16658 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16659 passed to _int_memalign does not overflow.
16661 2013-10-10 Torvald Riegel <triegel@redhat.com>
16663 * scripts/bench.pl: Add include-sources directive.
16664 * benchtests/README: Update documentation.
16666 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16668 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16669 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16670 instead of FP_INIT_ROUNDMODE.
16671 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16672 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16675 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16676 copy class of input value.
16677 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16678 not handle exceptions.
16679 * soft-fp/negsf2.c (__negsf2): Likewise.
16680 * soft-fp/negtf2.c (__negtf2): Likewise.
16681 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16683 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16685 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16686 semicolon. From Linux kernel.
16688 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16690 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16692 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16695 * manual/socket.texi: Added statement about buffer
16696 for gethostbyname2_r.
16698 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16700 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16701 Use .p2align directive instead, throughout.
16702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16703 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16704 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16707 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16708 * sysdeps/x86_64/strchr.S: Likewise.
16709 * sysdeps/x86_64/strrchr.S: Likewise.
16711 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16713 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16715 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16717 * sysdeps/generic/math_private.h (__mpsin1): Remove
16719 (__mpcos1): Likewise.
16720 (__mpsin): New argument __range_reduce.
16721 (__mpcos): Likewise.
16722 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16723 (slow): Use __mpsin and __mpcos.
16727 (sloww1): Likewise.
16728 (sloww2): Likewise.
16729 (bsloww): Likewise.
16730 (bsloww1): Likewise.
16731 (bsloww2): Likewise.
16732 (cslow2): Likewise.
16733 (csloww): Likewise.
16734 (csloww1): Likewise.
16735 (csloww2): Likewise.
16736 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16737 range_reduce. Merge in __mpsin1.
16738 (__mpcos): Likewise.
16739 (__mpsin1): Remove.
16740 (__mpcos1): Likewise.
16742 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16744 * locale/loadlocale.c (_nl_intern_locale_data): Use
16746 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16747 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16748 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16749 obstack data is appropriately aligned.
16750 (obstack_int32_grow_fast): Likewise.
16751 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16752 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16753 (add_locale_uint32_array): Likewise.
16755 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16757 * benchtests/Makefile: Remove ARGLIST and RET variables.
16758 ($(objpfx)bench-%.c): Pass only function name to the script.
16759 * benchtests/README: Update documentation.
16760 * benchtests/acos-inputs: Add new directives.
16761 * benchtests/acosh-inputs: Likewise.
16762 * benchtests/asin-inputs: Likewise.
16763 * benchtests/asinh-inputs: Likewise.
16764 * benchtests/atan-inputs: Likewise.
16765 * benchtests/atanh-inputs: Likewise.
16766 * benchtests/cos-inputs: Likewise.
16767 * benchtests/cosh-inputs: Likewise.
16768 * benchtests/exp-inputs: Likewise.
16769 * benchtests/log-inputs: Likewise.
16770 * benchtests/pow-inputs: Likewise.
16771 * benchtests/rint-inputs: Likewise.
16772 * benchtests/sin-inputs: Likewise.
16773 * benchtests/sinh-inputs: Likewise.
16774 * benchtests/tan-inputs: Likewise.
16775 * benchtests/tanh-inputs: Likewise.
16776 * scripts/bench.pl: Add support for new directives.
16778 2013-10-07 Alan Modra <amodra@gmail.com>
16780 * README: Fix careless merge.
16782 2013-10-05 Alan Modra <amodra@gmail.com>
16784 * NEWS: Mention powerpc64le support and bugs fixed.
16785 * README: Both big-endian and little-endian powerpc64 supported.
16787 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16789 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16790 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16791 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16792 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16794 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16796 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16799 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16801 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16802 Move -mhard-float appending from
16803 ports/sysdeps/powerpc/powerpc32/Makefile.
16804 [$(with-fp) = yes] (ASFLAGS): Likewise.
16805 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16806 * sysdeps/powerpc/nofpu: Move directory from
16807 ports/sysdeps/powerpc/nofpu.
16808 * sysdeps/powerpc/soft-fp: Move directory from
16809 ports/sysdeps/powerpc/soft-fp.
16810 * sysdeps/powerpc/powerpc32/405: Move directory from
16811 ports/sysdeps/powerpc/powerpc32/405.
16812 * sysdeps/powerpc/powerpc32/440: Move directory from
16813 ports/sysdeps/powerpc/powerpc32/440.
16814 * sysdeps/powerpc/powerpc32/464: Move directory from
16815 ports/sysdeps/powerpc/powerpc32/464.
16816 * sysdeps/powerpc/powerpc32/476: Move directory from
16817 ports/sysdeps/powerpc/powerpc32/476.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16823 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16825 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16827 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16828 * README: Update for powerpc-*-linux-gnu software floating point
16831 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16832 case to powerpc/powerpc32*.
16833 * sysdeps/unix/sysv/linux/configure: Regenerated.
16835 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16836 (_FPU_MASK_OM): Define as 0x04.
16837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16845 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16848 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16851 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16852 and setcontext_e500.
16854 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16856 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16858 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16860 * manual/threads.texi (Default Thread Attributes): Fix typo.
16862 2013-10-04 Will Newton <will.newton@linaro.org>
16864 * malloc/Makefile: Add tst-memalign.
16865 * malloc/tst-memalign.c: New file.
16867 * malloc/tst-posix_memalign.c: Add comments.
16868 (do_test): Add comments and call free on all potentially
16869 allocated pointers. Add space after cast.
16871 * malloc/tst-pvalloc.c: Add comments.
16872 (do_test): Add comments and call free on all potentially
16873 allocated pointers. Remove duplicate check for NULL pointer.
16874 Add space after cast.
16876 * malloc/tst-valloc.c: Add comments.
16877 (do_test): Add comments and call free on all potentially
16878 allocated pointers. Remove duplicate check for NULL pointer.
16879 Add space after cast.
16881 2013-10-04 Alan Modra <amodra@gmail.com>
16883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16884 Use stdint types in rather than __attribute__((mode())).
16885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16887 2013-10-04 Alan Modra <amodra@gmail.com>
16889 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16890 Correct handling of unaligned relocs for little-endian.
16891 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16893 2013-10-04 Alan Modra <amodra@gmail.com>
16895 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16896 * configure: Regenerate.
16897 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16898 * shlib-versions: Likewise.
16900 2013-10-04 Alan Modra <amodra@gmail.com>
16902 * string/tester.c (test_memrchr): Increment reported test cycle.
16904 2013-10-04 Alan Modra <amodra@gmail.com>
16906 * string/test-memcpy.c (do_one_test): When reporting errors, print
16907 string address and don't overrun end of string.
16909 2013-10-04 Alan Modra <amodra@gmail.com>
16911 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16912 insrdi. Make better use of reg selection to speed exit slightly.
16913 Schedule entry path a little better. Remove useless "are we done"
16914 checks on entry to main loop. Handle wrapping around zero address.
16915 Correct main loop count. Handle single left-over word from main
16916 loop inline rather than by using loop_small. Remove extra word
16917 case in loop_small caused by wrong loop count. Add little-endian
16919 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16920 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16923 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16924 support. Avoid rlwimi.
16925 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16927 2013-10-04 Alan Modra <amodra@gmail.com>
16929 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16930 insrdi. Formatting.
16931 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16932 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16933 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16934 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16935 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16936 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16938 2013-10-04 Alan Modra <amodra@gmail.com>
16940 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16941 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16942 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16943 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16944 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16945 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16946 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16947 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16948 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16949 use of regs. Use power7 mtocrf. Tidy function tails.
16951 2013-10-04 Alan Modra <amodra@gmail.com>
16953 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16954 Formatting. Consistently use rXXX register defines or rN defines.
16955 Use early exit labels that avoid restoring unused non-volatile regs.
16956 Make cr field use more consistent with rWORDn compares. Rename
16957 regs used as shift registers for unaligned loop, using rN defines
16958 for short lifetime/multiple use regs.
16959 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16960 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16961 addi 1,1,64 to pop stack frame. Simplify return value code.
16962 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16964 2013-10-04 Alan Modra <amodra@gmail.com>
16966 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16967 support. Correct typos, formatting. Optimize tail. Use insrdi
16968 rather than rlwimi.
16969 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16970 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16971 little-endian support. Correct typos.
16972 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16973 rather than rlwimi.
16974 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16975 in loop and entry code to keep "and." results.
16976 (strchr): Add little-endian support. Comment. Move cntlzd
16978 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16980 2013-10-04 Alan Modra <amodra@gmail.com>
16982 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16983 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16984 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16985 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16987 2013-10-04 Alan Modra <amodra@gmail.com>
16989 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16990 (rTMP): Define as r11.
16991 (strcmp): Add little-endian support. Optimise tail.
16992 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16993 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16994 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16995 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16996 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16997 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17000 2013-10-04 Alan Modra <amodra@gmail.com>
17002 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17003 little-endian support. Remove unnecessary "are we done" tests.
17004 Handle "s" wrapping around zero and extremely large "size".
17005 Correct main loop count. Handle single left-over word from main
17006 loop inline rather than by using small_loop. Correct comments.
17007 Delete "zero" tail, use "end_max" instead.
17008 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17010 2013-10-04 Alan Modra <amodra@gmail.com>
17012 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17013 support. Don't branch over align.
17014 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17015 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17016 support. Rearrange tmp reg use to suit. Comment.
17017 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17019 2013-10-04 Alan Modra <amodra@gmail.com>
17021 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17023 2013-10-04 Alan Modra <amodra@gmail.com>
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17026 conditional form of branch and link when obtaining pc.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17029 2013-10-04 Alan Modra <amodra@gmail.com>
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17036 2013-10-04 Alan Modra <amodra@gmail.com>
17038 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17039 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17040 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17041 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17042 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17043 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17044 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17045 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17046 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17047 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17049 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17050 Alistair Popple <alistair@ozlabs.au.ibm.com>
17051 Alan Modra <amodra@gmail.com>
17054 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17055 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17056 _dl_hwcap access for little-endian.
17057 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17058 destroy vmx regs when saving unaligned.
17059 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17060 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17061 destroy vmx regs when saving unaligned.
17063 2013-10-04 Alan Modra <amodra@gmail.com>
17065 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17066 Don't use a union to pack hi/low value.
17068 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17070 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17072 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17073 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17074 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17075 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17076 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17078 2013-10-04 Alan Modra <amodra@gmail.com>
17080 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17081 constants to usual value for .cst8 section, and remove redundant
17083 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17084 constant for 0x1p52. Load little-endian words of double from
17085 correct stack offsets.
17087 2013-10-04 Alan Modra <amodra@gmail.com>
17089 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17090 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17091 words of double from correct stack offsets.
17092 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17093 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17094 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17095 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17096 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17098 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17099 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17100 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17102 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17103 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17104 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17105 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17106 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17107 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17108 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17110 2013-10-04 Alan Modra <amodra@gmail.com>
17112 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17113 64-bit int/double union.
17114 (_FPU_SETCW): Likewise.
17115 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17116 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17118 2013-10-04 Alan Modra <amodra@gmail.com>
17120 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17121 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17123 2013-10-04 Alan Modra <amodra@gmail.com>
17125 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17126 use vector int constants.
17127 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17129 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17131 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17132 array with long long.
17133 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17134 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17135 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17136 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17137 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17138 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17139 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17140 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17141 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17142 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17143 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17144 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17145 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17147 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17149 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17150 (__signbit): Likewise. Correct for little-endian.
17151 (__signbitl): Call __signbit.
17152 (lrint): Correct for little-endian.
17153 (lrintf): Call lrint.
17155 2013-10-04 Alan Modra <amodra@gmail.com>
17157 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17158 union 32-bit int array member with 64-bit int array.
17159 (t515, tm256): Double rather than long double.
17160 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17162 2013-10-04 Alan Modra <amodra@gmail.com>
17164 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17166 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17167 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17168 version of math_ldbl.h.
17170 2013-10-04 Alan Modra <amodra@gmail.com>
17172 [BZ #15734], [BZ #15735]
17173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17174 all uses of ieee875 long double macros and unions. Simplify test
17175 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17176 ldbl_extract_mantissa value for ix,iy exponents. Properly
17177 normalize after ldbl_extract_mantissa, and don't add hidden bit
17178 already handled. Don't treat low word of ieee854 mantissa like
17179 low word of IBM long double and mask off bit when testing for
17181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17182 all uses of ieee875 long double macros and unions. Simplify tests
17183 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17184 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17185 two1022, instead use their values. Recognise that tests for large
17186 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17187 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17188 Rewrite all uses of ieee875 long double macros and unions. Simplify
17189 test for 0.0L and nan. Correct negation.
17190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17191 ieee875 long double macros and unions. Correct output for large
17192 magnitude x. Correct absolute value calculation.
17193 (__erfcl): Likewise.
17194 * math/libm-test.inc: Add tests for errors discovered in IBM long
17195 double versions of fmodl, remainderl, erfl and erfcl.
17197 2013-10-04 Alan Modra <amodra@gmail.com>
17199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17200 all uses of ieee854 long double macros and unions. Simplify tests
17201 for long doubles that are fully specified by the high double.
17202 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17204 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17205 Remove dead code too.
17206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17207 (__ieee754_ynl): Likewise.
17208 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17209 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17210 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17211 Remove dead code too.
17212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17213 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17215 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17217 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17220 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17221 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17222 Comment on variable precision.
17223 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17224 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17226 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17227 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17228 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17229 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17230 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17232 2013-10-04 Alan Modra <amodra@gmail.com>
17234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17235 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17236 all uses of ieee854 long double macros and unions.
17237 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17246 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17250 Simplify sign and nan test too.
17251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17252 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17253 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17254 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17256 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17257 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17266 2013-10-04 Alan Modra <amodra@gmail.com>
17268 * stdio-common/printf_size.c (__printf_size): Don't use
17269 union ieee854_long_double in fpnum union.
17270 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
17271 signbit macro to retrieve sign from long double.
17272 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17273 retrieve sign from long double.
17274 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17275 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17276 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17277 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17278 * math/test-misc.c (main): Don't use union ieee854_long_double.
17280 2013-10-04 Alan Modra <amodra@gmail.com>
17283 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17284 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17285 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17286 calculation. Remove unnecessary test for denormal exponent.
17287 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17288 Correct handling of denormals. Avoid undefined shift behaviour.
17289 Correct normalisation of low mantissa when low double is denormal.
17290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17291 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
17292 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17293 Correct normalisation of low mantissa. Test for overflow of high
17294 mantissa and normalise.
17295 (ldbl_nearbyint): Use more readable constant for two52.
17296 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17297 (__mpn_construct_long_double): Fix test for overflow of high
17298 mantissa and correct normalisation. Avoid undefined shift.
17300 2013-10-04 Alan Modra <amodra@gmail.com>
17302 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17303 (union ibm_extended_long_double): Define as an array of ieee754_double.
17304 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17305 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17306 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17307 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17311 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17316 2013-10-03 Joseph Myers <joseph@codesourcery.com>
17318 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17319 page size instead of calling getpagesize.
17321 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17322 (LOCFILE_ALIGN_MASK): Likewise.
17323 (LOCFILE_ALIGN_UP): Likewise.
17324 (LOCFILE_ALIGNED_P): Likewise.
17325 * locale/programs/ld-collate.c (collate_output): Use the new
17326 macros instead of __alignof__ (int32_t).
17327 * locale/weight.h (findidx): Likewise.
17329 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
17332 * manual/string.texi: Fix strncat and wcsncat.
17334 2013-10-03 Brooks Moses <bmoses@google.com>
17337 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17338 * Makerules: ...here, and adjust associated comments.
17340 2013-10-02 Will Newton <will.newton@linaro.org>
17342 * malloc/Makefile: Add tst-pvalloc.
17343 * malloc/tst-pvalloc.c: New file.
17345 2013-10-02 Will Newton <will.newton@linaro.org>
17347 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17348 improve test coverage.
17350 2013-10-02 Will Newton <will.newton@linaro.org>
17352 * malloc/Makefile: Add tst-posix_memalign.
17353 * malloc/tst-posix_memalign.c: New file.
17355 2013-10-01 Eric Blake <eblake@redhat.com>
17357 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17358 Use __THROWNL rather than __THROW on static functions.
17360 2013-09-30 Petr Machata <pmachata@redhat.com>
17362 * elf/elf.h (R_AARCH64_ABS16): New macro.
17363 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17364 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17365 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17366 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17367 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17368 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17369 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17370 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17371 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17372 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17373 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17374 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17375 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17376 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17377 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17378 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17379 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17380 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17381 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17382 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17383 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17384 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17385 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17386 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17387 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17388 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17389 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17390 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17391 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17392 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17393 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17394 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17395 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17396 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17397 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17398 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17399 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17400 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17401 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17402 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17403 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17404 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17405 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17406 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17407 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17408 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17409 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17410 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17411 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17412 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17413 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17414 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17415 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17416 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17417 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17418 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17419 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17420 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17421 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17422 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17423 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17424 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17425 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17426 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17427 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17428 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17429 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17430 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17431 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17432 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17433 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17434 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17435 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17436 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17437 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17438 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17439 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17440 (R_AARCH64_TLSDESC_LDR): Likewise.
17441 (R_AARCH64_TLSDESC_ADD): Likewise.
17442 (R_AARCH64_TLSDESC_CALL): Likewise.
17444 2013-09-30 Andreas Schwab <schwab@suse.de>
17447 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17448 the nss database lookup.
17449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17452 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17454 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17456 2013-09-28 P. J. McDermott <pj@pehjota.net>
17458 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17459 ${Bash-specific parameter/pattern/string} parameter expansion.
17460 * sysdeps/unix/make-syscalls.sh: Likewise.
17462 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17464 * sysdeps/sh/stackguard-macros.h: New file.
17466 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17470 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17471 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17472 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17473 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17475 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17477 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17478 Fix thread ID register.
17480 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17482 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17483 [POSIX || UNIX98]: Require rather than permitting all symbols from
17485 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17486 element of struct sched_param.
17487 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17488 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17489 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17490 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17493 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17495 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17496 argument calculation.
17498 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17500 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17502 [POSIX] (pthread_attr_t): Do not require type.
17503 [POSIX] (pthread_cond_t): Likewise.
17504 [POSIX] (pthread_condattr_t): Likewise.
17505 [POSIX] (pthread_key_t): Likewise.
17506 [POSIX] (pthread_mutex_t): Likewise.
17507 [POSIX] (pthread_mutexattr_t): Likewise.
17508 [POSIX] (pthread_once_t): Likewise.
17509 [POSIX] (pthread_t): Likewise.
17510 [POSIX-based standards] (pthread_atfork): Expect function.
17512 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17513 Richard Sandiford <richard@codesourcery.com>
17515 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17516 (swap_endianness_p): New extern variable.
17517 (set_big_endian): New inline function.
17518 (maybe_swap_uint32): Likewise.
17519 (maybe_swap_uint32_array): Likewise.
17520 (maybe_swap_uint32_obstack): Likewise.
17521 * locale/programs/locfile.c: Include <stdbool.h>.
17522 (swap_endianness_p): New variable.
17523 (add_locale_uint32): Call maybe_swap_uint32.
17524 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17525 (write_locale_data): Call maybe_swap_uint32_array.
17526 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17528 (obstack_int32_grow_fast): Likewise.
17529 (output_weightwc): Call maybe_swap_uint32_obstack.
17530 (collate_output): Likewise.
17531 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17532 (OPT_LITTLE_ENDIAN): Likewise.
17533 (options): Add --little-endian and --big-endian options.
17534 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17535 * locale/programs/locarchive.c: Include "locfile.h".
17539 (create_archive): Use the new macros to access fields of
17540 structures directly mapped from or written to locale archives.
17541 (oldlocrecentcmp): Likewise.
17542 (enlarge_archive): Likewise.
17543 (insert_name): Likewise.
17544 (add_alias): Likewise.
17545 (add_locale): Likewise.
17546 (delete_locales_from_archive): Likewise.
17547 (show_archive_content): Likewise.
17548 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17551 2013-09-24 Roland McGrath <roland@hack.frob.com>
17553 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17554 http://www.gnu.org/doc/freemanuals.texi.
17555 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17557 2013-09-24 Will Newton <will.newton@linaro.org>
17559 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17562 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17564 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17567 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17569 * manual/threads.texi (POSIX Threads): Fix a typo.
17571 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17574 * string/tst-strcoll-overflow.c: New test case.
17575 * string/Makefile (xtests): Add tst-strcoll-overflow.
17576 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17577 cache if string sizes may cause integer overflow.
17580 * string/strcoll_l.c (coll_seq): New members rule, idx,
17581 save_idx and back_us.
17582 (get_next_seq_nocache): New function.
17583 (do_compare_nocache): New function.
17584 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17587 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17590 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17591 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17592 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17595 * elf/Makefile (tests): Add tst-ptrguard1.
17596 (tests-static): Add tst-ptrguard1-static.
17597 (tst-ptrguard1-ARGS): Define.
17598 (tst-ptrguard1-static-ARGS): Define.
17599 * elf/tst-ptrguard1.c: New file.
17600 * elf/tst-ptrguard1-static.c: New file.
17601 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17602 * sysdeps/i386/stackguard-macros.h: Likewise.
17603 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17604 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17605 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17606 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17607 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17608 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17610 2013-09-23 Hector Marco <hecmargi@upv.es>
17611 Ismael Ripoll <iripoll@disca.upv.es>
17612 Carlos O'Donell <carlos@redhat.com>
17615 * sysdeps/generic/stackguard-macros.h: Define
17616 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17617 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17618 Define __pointer_chk_guard_local.
17619 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17620 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17622 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17625 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17627 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17629 * include/string.h (__ffs): Declare as hidden.
17630 * string/ffs.c (__ffs): Define as hidden.
17631 * sysdeps/i386/ffs.c (__ffs): Likewise.
17632 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17633 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17634 * sysdeps/s390/ffs.c (__ffs): Likewise.
17635 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17637 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17639 * NEWS: Mention malloc probes.
17641 * malloc/arena.c (new_heap): New memory_heap_new probe.
17642 (grow_heap): New memory_heap_more probe.
17643 (shrink_heap): New memory_heap_less probe.
17644 (heap_trim): New memory_heap_free probe.
17645 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17646 (systrim): New memory_sbrk_less probe.
17647 * manual/probes.texi: Document them.
17649 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17650 * manual/probes.texi: Document it.
17652 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17653 (__libc_realloc): Add memory_realloc_retry probe.
17654 (__libc_memalign): Add memory_memalign_retry probe.
17655 (__libc_valloc): Add memory_valloc_retry probe.
17656 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17657 (__libc_calloc): Add memory_calloc_retry probe.
17658 * manual/probes.texi: Document them.
17660 * malloc/arena.c (get_free_list): Add probe
17661 memory_arena_reuse_free_list.
17662 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17663 and memory_arena_reuse.
17664 (arena_get2) [!PER_THREAD]: Likewise.
17665 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17666 memory_arena_reuse_realloc.
17667 * manual/probes.texi: Document them.
17669 * malloc/malloc.c (__libc_free): Add
17670 memory_mallopt_free_dyn_thresholds probe.
17671 (__libc_mallopt): Add multiple memory_mallopt probes.
17672 * manual/probes.texi: Document them.
17674 * malloc/malloc.c: Include stap-probe.h.
17675 (__libc_mallopt): Add memory_mallopt probe.
17676 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17677 * manual/probes.texi: New.
17678 * manual/Makefile (chapters): Add probes.
17679 * manual/threads.texi: Set next node.
17681 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17683 [BZ #15963, #13985]
17684 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17685 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17686 Add `Chinese' to `nan' entry name.
17688 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17690 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17691 (POLYNOMIAL): Likewise.
17692 (TAYLOR_SINCOS): Likewise.
17693 (TAYLOR_SLOW): Likewise.
17694 (__sin): Use TAYLOR_SINCOS.
17696 (slow): Use TAYLOR_SLOW.
17698 (bsloww): Likewise.
17699 (csloww): Likewise.
17701 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17703 * stdlib/strtod_l.c: Fix buffer overrun.
17705 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17707 * benchtests/Makefile (bench): Add sincos.
17708 * benchtests/bench-sincos.c: New file.
17710 * math/libm-test.inc (cos_test_data): New test inputs.
17711 (sin_test_data): Likewise.
17713 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17719 (sloww1): Likewise.
17720 (sloww2): Likewise.
17721 (bsloww1): Likewise.
17722 (bsloww2): Likewise.
17723 (cslow2): Likewise.
17724 (csloww1): Likewise.
17725 (csloww2): Likewise.
17727 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17732 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17736 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17738 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17739 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17740 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17741 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17742 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17743 * elf/cache.c (print_entry): Handle the new cache flags.
17745 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17746 Aldy Hernandez <aldyh@redhat.com>
17748 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17749 Change condition to [_SOFT_FLOAT].
17750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17762 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17765 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17768 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17770 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17771 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17772 (__longjmp): Use LOAD_GP to load saved GPRs.
17773 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17774 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17775 (__sigsetjmp): Use SAVE_GP to save GPRs.
17777 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17778 Do not append -msoft-float.
17779 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17781 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17783 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17785 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17788 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17789 (_FPU_GETCW): Use initial "__" on variable and field names but not
17790 on macro parameter name.
17791 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17792 parentheses around reference to macro parameter.
17794 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17796 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17798 (ctype_startup): Use uint32_t in cast and sizeof for
17801 2013-09-11 Jia Liu <proljc@gmail.com>
17803 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17805 [__FreeBSD__]: Likewise.
17807 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17810 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17811 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17812 (strchr): Remove __strchr_sse42 ifunc selection.
17813 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17814 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17816 2013-09-11 Will Newton <will.newton@linaro.org>
17818 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17819 parameter to RES. Remove hardcoded 1000 value.
17820 * benchtests/bench-skeleton.c (main): Pass RES parameter
17821 to TIMING_INIT and multiply result by 1000.
17823 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17827 2013-09-11 Andreas Schwab <schwab@suse.de>
17829 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17831 (O_TMPFILE) [__USE_GNU]: Define.
17832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17835 2013-09-11 Will Newton <will.newton@linaro.org>
17838 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17841 2013-09-11 Will Newton <will.newton@linaro.org>
17844 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17847 2013-09-11 Will Newton <will.newton@linaro.org>
17850 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17853 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17855 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17856 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17861 2013-09-10 Allan McRae <allan@archlinux.org>
17864 * manual/arith.texi (Parsing of Floats): Clarify
17868 * manual/install.texi (Running make install): Mention
17870 * INSTALL: Regenerated.
17872 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17874 * csu/init-first.c (_init): Remove the !SHARED condition around
17875 FPU control word initialization.
17876 * elf/dl-support.c (_dl_fpu_control): New variable.
17877 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17878 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17879 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17880 * math/test-fpucw-static.c: New file.
17881 * math/test-fpucw-ieee.c: New file.
17882 * math/test-fpucw-ieee-static.c: New file.
17883 * math/Makefile (tests): Add `test-fpucw-ieee' and
17885 (tests-static): New variable.
17886 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17888 [($(build-shared),yes)]
17889 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17891 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17894 2013-09-09 Allan McRae <allan@archlinux.org>
17897 * manual/string.texi (Collation Functions): Fix typo in
17899 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17902 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17905 * libio/memstream.c (open_memstream): Fix memory leak.
17906 * libio/wmemstream.c (open_wmemstream): Likewise.
17909 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17911 2013-09-09 Will Newton <will.newton@linaro.org>
17913 * malloc/Makefile: Add tst-realloc to tests.
17914 * malloc/tst-realloc.c: New file.
17916 2013-09-09 Allan McRae <allan@archlinux.org>
17919 * COPYING: Update from GNU website to fix FSF address.
17920 * COPYING.LIB: Likewise.
17922 2013-09-06 David S. Miller <davem@davemloft.net>
17924 * po/zh_TW.po: Update Chinese (traditional) translation from
17925 translation project.
17927 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17928 Joseph Myers <joseph@codesourcery.com>
17930 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17932 (obstack_chunk_alloc): New macro.
17933 (obstack_chunk_free): Likewise.
17934 (record_offset): New function.
17935 (init_locale_data): Likewise.
17936 (align_locale_data): Likewise.
17937 (add_locale_empty): Likewise.
17938 (add_locale_raw_data): Likewise.
17939 (add_locale_raw_obstack): Likewise.
17940 (add_locale_string): Likewise.
17941 (add_locale_wstring): Likewise.
17942 (add_locale_uint32): Likewise.
17943 (add_locale_uint32_array): Likewise.
17944 (add_locale_char): Likewise.
17945 (start_locale_structure): Likewise.
17946 (end_locale_structure): Likewise.
17947 (start_locale_prelude): Likewise.
17948 (end_locale_prelude): Likewise.
17949 (write_locale_data): Take locale_file structure rather than an
17951 * locale/programs/locfile.h: Include "obstack.h".
17952 (struct locale_file): Change to store locale file contents instead
17954 (init_locale_data): New prototype.
17955 (align_locale_data): Likewise.
17956 (add_locale_empty): Likewise.
17957 (add_locale_raw_data): Likewise.
17958 (add_locale_raw_obstack): Likewise.
17959 (add_locale_string): Likewise.
17960 (add_locale_wstring): Likewise.
17961 (add_locale_uint32): Likewise.
17962 (add_locale_uint32_array): Likewise.
17963 (add_locale_char): Likewise.
17964 (start_locale_structure): Likewise.
17965 (end_locale_structure): Likewise.
17966 (start_locale_prelude): Likewise.
17967 (end_locale_prelude): Likewise.
17968 (write_locale_data): Update prototype.
17969 * locale/programs/3level.h (struct TABLE): Remove result field.
17970 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17971 Use new locale_file interface.
17972 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17973 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17974 * locale/programs/ld-address.c (address_output): Use new
17975 locale_file interface.
17976 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17978 (collate_finish): Don't call collseq_table_finalize.
17979 (collate_output): Use new locale_file interface.
17980 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17982 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17983 (TABLE): Move defines earlier in file.
17984 (ELEMENT): Likewise.
17985 (DEFAULT): Likewise.
17986 (wctrans_table_add): Move macro and inline function earlier in
17988 (struct wctype_table): Move type earlier in file.
17989 (add_locale_wctype_table): New static prototype.
17990 (struct locale_ctype_t): Use logical types instead of struct iovec
17991 pointers for members.
17992 (ctype_output): Use new locale_file interface.
17993 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17994 new locale_file interface.
17995 (allocate_arrays): Update for use of new locale_file interface.
17996 * locale/programs/ld-identification.c (identification_output): Use
17997 new locale_file interface.
17998 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17999 * locale/programs/ld-messages.c (messages_output): Likewise.
18000 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18001 * locale/programs/ld-name.c (name_output): Likewise.
18002 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18003 * locale/programs/ld-paper.c (paper_output): Likewise.
18004 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18005 * locale/programs/ld-time.c (time_output): Likewise.
18007 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18009 * benchtests/Makefile: Add memrchr benchmark.
18010 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18011 benchmark as memrchr.
18012 * benchtests/bench-memrchr-ifunc.c: New file.
18013 * benchtests/bench-memrchr.c: New file.
18015 2013-09-06 Will Newton <will.newton@linaro.org>
18017 * benchtests/Makefile (string-bench): Add memcpy.
18019 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18020 Cong Wang <amwang@redhat.com>
18023 * sysdeps/unix/sysv/linux/bits/in.h
18024 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18025 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18026 before __USE_KERNEL_IPV6_DEFS uses.
18027 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18029 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18030 sockaddr_in6, or ipv6_mreq.
18032 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18034 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18035 memory access for final bytes in some large inputs.
18036 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18038 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18040 * string/test-memrchr.c: New file.
18041 * string/test-memrchr-ifunc.c: New file.
18042 * string/Makefile: Add new memrchr testcase.
18044 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18046 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18047 fanotify_init returns EPERM.
18049 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18051 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18053 (top level): Treat second token from macro or constant entries for
18054 allowed headers as allowed.
18055 * include/complex.h: Condition internal declarations on
18057 * include/fenv.h: Condition include of <stdbool.h> and internal
18058 declarations on [!_ISOMAC].
18060 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18063 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18065 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18067 * configure.in (--enable-versioning): Remove configure option.
18068 (libc_cv_asm_symver_directive): Remove configure test.
18069 (libc_cv_ld_version_script_option): Likewise.
18070 (VERSIONING): Remove variable and AC_SUBST.
18071 (DO_VERSIONING): Remove AC_DEFINE.
18072 * configure: Regenerated.
18073 * config.h.in (DO_VERSIONING): Remove macro.
18074 * Makerules [$(versioning) = yes]: Change conditionals to
18075 [$(build-shared) = yes].
18076 * config.make.in (versioning): Remove variable.
18077 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18078 [$(build-shared) = yes].
18079 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18080 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18081 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18082 [$(build-shared) = yes].
18083 * extra-lib.mk [$(versioning) = yes]: Likewise.
18084 * hurd/Makefile [$(versioning) = yes]: Likewise.
18085 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18087 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18089 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18090 [SHARED && !NO_HIDDEN].
18091 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18093 [SHARED && DO_VERSIONING]: Likewise..
18094 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18095 [$(build-shared) = yes].
18096 * manual/install.texi (--disable-versioning): Remove
18098 * INSTALL: Regenerated.
18099 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18101 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18102 [$(build-shared) = yes].
18103 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18104 * sysdeps/i386/i686/multiarch/strstr-c.c
18105 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18106 [SHARED && !NO_HIDDEN].
18107 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18108 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18109 * sysdeps/powerpc/powerpc32/dl-machine.c
18110 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18111 * sysdeps/powerpc/powerpc32/sysdep.h
18112 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18113 to [SHARED && PIC && !NO_HIDDEN].
18114 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18115 conditional to [SHARED].
18117 2013-09-04 Will Newton <will.newton@linaro.org>
18119 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18120 * benchtests/bench-string.h: Include bench-timing.h instead
18121 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18122 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18123 call to HP_TIMING_DIFF_INIT.
18124 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18125 instead of hp-timing.h macros.
18126 * benchtests/bench-memchr.c: Likewise.
18127 * benchtests/bench-memcmp.c: Likewise.
18128 * benchtests/bench-memcpy.c: Likewise.
18129 * benchtests/bench-memmem.c: Likewise.
18130 * benchtests/bench-memmove.c: Likewise.
18131 * benchtests/bench-memset.c: Likewise.
18132 * benchtests/bench-rawmemchr.c: Likewise.
18133 * benchtests/bench-strcasecmp.c: Likewise.
18134 * benchtests/bench-strcasestr.c: Likewise.
18135 * benchtests/bench-strcat.c: Likewise.
18136 * benchtests/bench-strchr.c: Likewise.
18137 * benchtests/bench-strcmp.c: Likewise.
18138 * benchtests/bench-strcpy.c: Likewise.
18139 * benchtests/bench-strcpy_chk.c: Likewise.
18140 * benchtests/bench-strlen.c: Likewise.
18141 * benchtests/bench-strncasecmp.c: Likewise.
18142 * benchtests/bench-strncat.c: Likewise.
18143 * benchtests/bench-strncmp.c: Likewise.
18144 * benchtests/bench-strncpy.c: Likewise.
18145 * benchtests/bench-strnlen.c: Likewise.
18146 * benchtests/bench-strpbrk.c: Likewise.
18147 * benchtests/bench-strrchr.c: Likewise.
18148 * benchtests/bench-strspn.c: Likewise.
18149 * benchtests/bench-strstr.c: Likewise.
18151 2013-09-04 Will Newton <will.newton@linaro.org>
18153 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18155 2013-09-03 Joseph Myers <joseph@codesourcery.com>
18158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18159 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18160 * math/libm-test.inc (lgamma_test_data): Add more tests.
18161 * sysdeps/i386/fpu/libm-test-ulps: Update.
18162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18164 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
18166 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18167 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18170 Add strcmp-sse2-unaligned
18171 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18173 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18175 * Versions.def (libc): Add GLIBC_2.19.
18177 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18179 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18180 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18182 2013-09-02 Joseph Myers <joseph@codesourcery.com>
18185 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18186 intermediate calculations in recurrence.
18187 (__ieee754_ynf): Likewise.
18188 * math/libm-test.inc (jn_test_data): Do not allow spurious
18189 underflow exception. Add more tests.
18190 (yn_test_data): Add more tests.
18191 * sysdeps/i386/fpu/libm-test-ulps: Update.
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18194 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
18196 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18198 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18200 * csu/init-first.c: Fix then/than typos.
18201 * locale/programs/ld-collate.c: Likewise.
18202 * locale/programs/linereader.h: Likewise.
18203 * manual/charset.texi: Likewise.
18204 * manual/filesys.texi: Likewise.
18205 * manual/stdio.texi: Likewise.
18206 * manual/string.texi: Likewise.
18207 * stdlib/fmtmsg.c: Likewise.
18208 * sysdeps/i386/stpncpy.S: Likewise.
18209 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18210 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18211 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18212 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18214 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18216 * elf/dl-open.c: Fix typos.
18217 * iconvdata/gbbig5.c: Likewise.
18218 * iconvdata/iso-2022-jp.c: Likewise.
18219 * iconv/gconv_int.h: Likewise.
18220 * iconv/loop.c: Likewise.
18221 * nis/rpcsvc/nis.h: Likewise.
18222 * resolv/ns_name.c: Likewise.
18223 * stdio-common/vfscanf.c: Likewise.
18224 * streams/stropts.h: Likewise.
18225 * sunrpc/rpc_thread.c: Likewise.
18226 * sysdeps/i386/strpbrk.S: Likewise.
18227 * sysdeps/ieee754/k_standard.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18230 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18231 * sysdeps/mach/hurd/profil.c: Likewise.
18232 * sysdeps/s390/dl-procinfo.h: Likewise.
18233 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18234 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18235 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18236 * sysdeps/x86_64/dl-trampoline.S: Likewise.
18237 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18239 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18241 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18244 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18246 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18247 aix specific files.
18248 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18249 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18250 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18251 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18252 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18253 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18254 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18255 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18257 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18258 Roland McGrath <roland@hack.frob.com>
18260 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18261 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18263 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18265 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18266 __executable_start symbol instead of _start.
18268 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
18270 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18271 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18273 * sysdeps/gnu/ldsodefs.h: ... this new file.
18275 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18276 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18277 instead of ELFOSABI_LINUX.
18279 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18280 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18281 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18282 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18284 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18285 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18288 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18289 (ibm_extended_long_double): Add ieee_nan member.
18290 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18291 (do_test): New function.
18293 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18295 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18296 functions, renamed from truncdfsf_test, trunctfsf_test,
18298 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18300 (do_test): Run all these.
18302 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
18304 * argp/argp-help.c: Fix typos.
18305 * argp/argp-parse.c: Likewise.
18306 * debug/backtracesyms.c: Likewise.
18307 * elf/elf.h: Likewise.
18308 * malloc/malloc.c: Likewise.
18309 * nis/nis_print.c: Likewise.
18310 * resolv/res_comp.c: Likewise.
18311 * stdlib/stdlib.h: Likewise.
18312 * sunrpc/clnt_tcp.c: Likewise.
18313 * sunrpc/clnt_udp.c: Likewise.
18314 * sunrpc/clnt_unix.c: Likewise.
18315 * sysdeps/unix/bsd/ptsname.c: Likewise.
18316 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18317 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18324 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18326 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18328 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18331 2013-08-27 Mike Frysinger <vapier@gentoo.org>
18334 * dlfcn/Makefile (tests): Add bug-dl-leaf.
18335 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18336 ($(objpfx)bug-dl-leaf): New rule.
18337 ($(objpfx)bug-dl-leaf.so): Likewise.
18338 ($(objpfx)bug-dl-leaf.out): Likewise.
18339 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18340 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18341 * dlfcn/bug-dl-leaf.c: New test.
18342 * dlfcn/bug-dl-leaf-lib.c: Likewise.
18343 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18344 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18345 (dlclose): Likewise.
18346 (dlmopen): Likewise.
18348 2013-08-27 Roland McGrath <roland@hack.frob.com>
18350 * include/netdb.h [!_ISOMAC]:
18351 Don't include <tls.h>.
18352 (h_errno, __libc_h_errno): Move declaration and macros out of
18355 * include/resolv.h [_RESOLV_H_]:
18356 Don't include <tls.h>.
18357 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18358 * resolv/res_libc.c: Don't include <tls.h>.
18359 (_res): Use __attribute__ ((nocommon)) in place of
18360 __attribute__ ((section (".bss"))).
18362 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18363 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18365 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18367 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18368 only under [SIOCGIFCONF && SIOCGIFNETMASK].
18370 * resolv/res_mkquery.c: Include <sys/time.h>.
18372 * inet/ifreq.c: Moved to ...
18373 * sysdeps/unix/ifreq.c: ... here.
18374 * inet/ifreq.c: New file, true stub version.
18376 * socket/sa_len.c: New file.
18377 * socket/Makefile (aux): Add it.
18378 * sysdeps/unix/sysv/linux/Makefile
18379 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18380 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18381 and #include <socket/sa_len.c>.
18382 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18383 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18385 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18386 * bits/socket.h: ... here.
18388 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18389 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18390 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18392 2013-08-27 Andreas Schwab <schwab@suse.de>
18395 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18396 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18397 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18398 * string/test-strcasecmp.c (test_main): Run tests in several
18400 * string/test-strncasecmp.c (test_main): Likewise.
18402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18403 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18404 to __strcasecmp_nonascii and __strncasecmp_nonascii.
18405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18406 (__strncasecmp_ssse3) [PIC]: Likewise.
18408 2013-08-26 Roland McGrath <roland@hack.frob.com>
18410 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18412 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18413 instead of explicitly declaring xdecrypt.
18414 * nis/nss_nis/nis-publickey.c: Likewise.
18416 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18419 * nscd/aicache.c: Include res_hconf.h.
18420 (addhstaiX): Initialize res_hconf.
18422 2013-08-26 Andreas Schwab <schwab@suse.de>
18424 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18425 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18427 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 * nscd/aicache.c (addhstaiX): Fix indentation.
18431 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18433 * configure.ac: Quote $build_pt_chown test.
18434 * configure: Regenerated.
18436 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18439 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18440 * math/s_cexpf.c (__cexpf): Likewise.
18441 * math/s_cexpl.c (__cexpl): Likewise.
18442 * math/libm-test.inc (cexp_test_data): Correct expected return
18443 value for NaN + i0. Add another test.
18445 2013-08-22 David S. Miller <davem@davemloft.net>
18447 * po/ca.po: Update Catalan translation from translation project.
18448 * po/uk.po: Add Ukrainian translations from translation project.
18450 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18453 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18454 is infinite, not alongside NaN test.
18455 * math/s_fdimf.c (__fdimf): Likewise.
18456 * math/s_fdiml.c (__fdiml): Likewise.
18457 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18458 errno is unchanged.
18460 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18462 * argp/argp-help.c: Fix typos.
18463 * crypt/speeds.c: Likewise.
18464 * csu/check_fds.c: Likewise.
18465 * elf/dl-load.c: Likewise.
18466 * elf/dl-open.c: Likewise.
18467 * elf/reldep3.c: Likewise.
18468 * elf/reldep.c: Likewise.
18469 * elf/sprof.c: Likewise.
18470 * iconv/iconv_charmap.c: Likewise.
18471 * iconv/skeleton.c: Likewise.
18472 * iconv/strtab.c: Likewise.
18473 * io/lockf64.c: Likewise.
18474 * libio/libioP.h: Likewise.
18475 * resolv/gai_notify.c: Likewise.
18476 * resolv/ns_name.c: Likewise.
18477 * resolv/ns_samedomain.c: Likewise.
18478 * resolv/res_send.c: Likewise.
18479 * stdlib/random.c: Likewise.
18480 * sunrpc/rpc/xdr.h: Likewise.
18481 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18482 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18483 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18484 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18486 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18488 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18489 * sysdeps/mach/hurd/check_fds.c: Likewise.
18490 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18491 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18492 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18493 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18494 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18495 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18496 * sysdeps/pthread/aio_notify.c: Likewise.
18497 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18498 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18499 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18500 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18501 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18503 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18505 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18506 version if bit_Slow_SSE4_2 is set.
18507 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18510 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18513 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18514 trampoline stack frame information.
18515 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18517 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18518 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18519 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18520 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18521 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18522 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18524 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18525 interrupting a syscall and set with option SA_SIGINFO.
18527 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18530 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18531 argument is infinite.
18532 * math/s_cprojf.c (__cprojf): Likewise.
18533 * math/s_cprojl.c (__cprojl): Likewise.
18534 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18535 * math/libm-test.inc (cproj_test_data): Add more tests.
18537 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18539 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18540 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18541 size. Use __ffs to determine corresponding shift.
18543 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18544 Roland McGrath <roland@hack.frob.com>
18546 * Makefile (INSTALL): Remove trailing blank lines from output of
18549 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18551 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18552 Align 32 bit compat elf_greg to 8 bytes.
18554 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18556 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18558 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18560 * string/strcoll_l.c (coll_seq): New structure.
18561 (get_next_seq_cached): New function.
18562 (get_next_seq): New function.
18563 (do_compare): New function.
18564 (STRCOLL): Use GNU style definition. Simplify implementation
18565 by using get_next_seq, get_next_seq_cached and do_compare.
18567 2013-08-16 Florian Weimer <fweimer@redhat.com>
18571 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18573 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18575 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18576 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18577 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18579 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18580 GETDENTS_64BIT_ALIGNED.
18581 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18582 * manual/filesys.texi (Reading/Closing Directory): Document
18583 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18585 * manual/conf.texi (Limits for Files): Add portability note to
18586 NAME_MAX, PATH_MAX.
18587 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18589 2013-08-13 Andreas Schwab <schwab@suse.de>
18592 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18594 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18595 LDBL_MAX_EXP >= 16384]: Add tests for it.
18597 2013-08-12 David S. Miller <davem@davemloft.net>
18599 * version.h (RELEASE): Set to "development".
18600 (VERSION): Set to "2.18.90".
18601 * NEWS: Add 2.19 section.
18603 2013-08-03 David S. Miller <davem@davemloft.net>
18605 * po/ko.po: Update Korean translation from translation project.
18607 2013-08-01 David S. Miller <davem@davemloft.net>
18609 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18610 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18613 2013-07-30 David S. Miller <davem@davemloft.net>
18615 * po/fr.po: Update French translation from translation project.
18617 2013-07-28 David S. Miller <davem@davemloft.net>
18619 * po/cs.po: Update Czech translation from translation project.
18621 * po/sv.po: Update Swedish translation from translation project.
18623 2013-07-27 David S. Miller <davem@davemloft.net>
18625 * po/eo.po: Update Esperanto translation from translation project.
18627 * po/vi.po: Update Vietnamese translation from translation project.
18629 * po/de.po: Update German translation from translation project.
18631 2013-07-26 David S. Miller <davem@davemloft.net>
18633 * po/bg.po: Update Bulgarian translation from translation project.
18635 * po/nl.po: Update Dutch translation from translation project.
18636 * po/pl.po: Update Polish translation from translation project.
18637 * po/ru.po: Update Russian translation from translation project.
18639 2013-07-24 David S. Miller <davem@davemloft.net>
18641 * po/libc.pot: Update.
18643 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18645 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18646 variable page size.
18647 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18648 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18649 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18651 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18653 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18655 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18656 Andreas Schwab <schwab@suse.de>
18657 Roland McGrath <roland@hack.frob.com>
18658 Joseph Myers <joseph@codesourcery.com>
18659 Carlos O'Donell <carlos@redhat.com>
18662 * config.h.in: Define HAVE_PT_CHOWN.
18663 * config.make.in (build-pt-chown): New variable.
18664 * configure.in (--enable-pt_chown): New configure option.
18665 * configure: Regenerate.
18666 * login/Makefile: Include Makeconfig. Build pt_chown only if
18667 build-pt-chown is enabled.
18668 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18669 pt_chown to fix pty ownership.
18670 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18672 * manual/install.texi (Configuring and compiling): Mention
18673 --enable-pt_chown. Add @findex for grantpt.
18674 * INSTALL: Regenerate.
18676 2013-07-20 David S. Miller <davem@davemloft.net>
18678 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18679 difference between 32-bit and 64-bit.
18681 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18684 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18685 Avoid system header dependency with -ffreestanding.
18686 ($(objpfx)bits/syscall%d): Likewise.
18688 2013-07-13 David S. Miller <davem@davemloft.net>
18690 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18691 underflows from atanl/atan2l due to bug 15319.
18692 (casinh_test_data): Likewise.
18694 2013-07-07 David S. Miller <davem@davemloft.net>
18696 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18698 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18700 * sysdeps/i386/fpu/libm-test-ulps: Update.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18703 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18705 * configure.in (--enable-lock-elision): Fix message text.
18706 * INSTALL: Regenerate.
18707 * configure: Regenerate.
18709 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18713 2013-07-03 Andreas Jaeger <aj@suse.de>
18715 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18717 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18718 (ptrace_peeksiginfo_args): Add.
18719 (__ptrace_peeksiginfo_flags): Add.
18720 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18722 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18724 2013-07-03 Allan McRae <allan@archlinux.org>
18726 * sysdeps/i386/fpu/libm-test-ulps: Update.
18728 2013-07-02 David S. Miller <davem@davemloft.net>
18730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18732 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18736 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18738 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18741 2013-07-02 Andi Kleen <ak@linux.intel.com>
18743 * config.h.in (ENABLE_LOCK_ELISION): Add.
18744 * configure.in (--enable-lock-elision): Add option.
18745 * manual/install.texi: Document --enable lock elision.
18746 * configure: Regenerate
18747 * INSTALL: Regenerate.
18749 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18751 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18752 SSE4.2 strcasecmp for libc.a.
18753 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18755 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18758 * soft-fp/op-common.h (_FP_FMA): New macro.
18759 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18760 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18761 (_FP_MUL_MEAT_1_imm): ... here.
18762 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18763 (_FP_MUL_MEAT_1_wide): ... here.
18764 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18765 (_FP_MUL_MEAT_1_hard): ... here.
18766 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18767 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18768 (_FP_MUL_MEAT_2_wide): ... here.
18769 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18770 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18771 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18772 (_FP_MUL_MEAT_2_gmp): ... here.
18773 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18774 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18775 (_FP_MUL_MEAT_4_wide): ... here.
18776 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18777 (_FP_MUL_MEAT_4_gmp): ... here.
18778 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18779 (_FP_WFRACBITS_DW_S): Likewise.
18780 (_FP_WFRACXBITS_DW_S): Likewise.
18781 (_FP_HIGHBIT_DW_S): Likewise.
18782 (FP_FMA_S): Likewise.
18783 (_FP_FRAC_HIGH_DW_S): Likewise.
18784 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18785 (_FP_WFRACBITS_DW_D): Likewise.
18786 (_FP_WFRACXBITS_DW_D): Likewise.
18787 (_FP_HIGHBIT_DW_D): Likewise.
18788 (FP_FMA_D): Likewise.
18789 (_FP_FRAC_HIGH_DW_D): Likewise.
18790 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18791 (_FP_WFRACBITS_DW_E): Likewise.
18792 (_FP_WFRACXBITS_DW_E): Likewise.
18793 (_FP_HIGHBIT_DW_E): Likewise.
18794 (FP_FMA_E): Likewise.
18795 (_FP_FRAC_HIGH_DW_E): Likewise.
18796 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18797 (_FP_WFRACBITS_DW_Q): Likewise.
18798 (_FP_WFRACXBITS_DW_Q): Likewise.
18799 (_FP_HIGHBIT_DW_Q): Likewise.
18800 (FP_FMA_Q): Likewise.
18801 (_FP_FRAC_HIGH_DW_Q): Likewise.
18802 * soft-fp/fmasf4.c: New file.
18803 * soft-fp/fmadf4.c: Likewise.
18804 * soft-fp/fmatf4.c: Likewise.
18806 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18809 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18813 (index_Slow_SSE4_2): Likewise.
18814 (index_Prefer_PMINUB_for_stringop): Likewise.
18815 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18816 bit_Slow_SSE4_2 is set.
18817 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18818 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18820 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18822 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18823 rtld_global._dl_hwcap2.
18824 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18827 POWER8 feature descriptions defined in _dl_hwcap2.
18828 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18829 string handling for POWER8 feature bits.
18830 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18831 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18832 _dl_powerpc_cap_flags.
18833 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18834 * sysdeps/powerpc/rtld-global-offsets.sym
18835 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18836 _dl_hwcap2 in the rtld_global_ro structure.
18838 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18840 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18841 hardware capabilities in support of AT_HWCAP2.
18842 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18843 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18845 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18846 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18847 explicitly the unknown a_type display mechanism is used.
18848 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18849 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18851 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18852 to macro prototype for AT_HWCAP2 support.
18853 * sysdeps/i386/dl-procinfo.h: Likewise.
18854 * sysdeps/s390/dl-procinfo.h: Likewise.
18855 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18856 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18857 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18858 return -1 for unknown a_type display fallback.
18859 * sysdeps/sparc/dl-procinfo.h: Likewise.
18860 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18861 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18863 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18865 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18866 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18868 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18871 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18872 mprotect making __stack_prot writable.
18874 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18875 Joseph Myers <joseph@codesourcery.com>
18877 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18878 as being properly aligned.
18880 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18882 * dlfcn/modstatic5.c: New file.
18883 * dlfcn/tststatic5.c: New file.
18884 * dlfcn/Makefile (tests): Add tststatic5.
18885 (tests-static): Likewise.
18886 (modules-names): Add modstatic5.
18887 (tststatic5-ENV): New variable.
18888 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18891 * elf/dl-support.c (_dl_main_map): New variable.
18892 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18893 (_dl_nns, _dl_load_adds): Set to 1.
18894 (_dl_initial_searchlist): Refer to _dl_main_map.
18895 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18896 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18897 call to _dl_get_origin.
18898 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18900 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18901 * dlfcn/modstatic3.c: New file.
18902 * dlfcn/tststatic3.c: New file.
18903 * dlfcn/tststatic4.c: New file.
18904 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18905 (tests-static): Likewise.
18906 (modules-names): Add modstatic3.
18907 (tststatic3-ENV, tststatic4-ENV): New variables.
18908 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18909 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18911 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18913 * configure.in (CC): Require GCC version 4.4 or later.
18914 * configure: Regenerated.
18915 * manual/install.texi (Tools for Compilation): Update GCC version
18917 * INSTALL: Regenerated.
18919 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18922 * string/test-memcmp.c (check2): New.
18923 (main): Call check2.
18925 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18927 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18930 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18932 (dl_open_worker) [!SHARED]: ... here.
18934 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18936 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18938 2013-06-25 Richard Henderson <rth@redhat.com>
18940 * locale/programs/locarchive.c: Include <libc-internal.h>
18942 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18944 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18945 trailing whitespace removed.
18947 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18950 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18951 * locale/programs/locarchive.c: Include libc-mmap.h.
18952 (prepare_address_space): Take two new outputs (the mmap base and len).
18953 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18955 (create_archive): Declare new mmap base and len values for
18956 prepare_address_space, and store the result in ah.
18957 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18958 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18959 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18960 Declare new mmap base and len values for
18961 prepare_address_space, and store the result in new_ah.
18962 (open_archive): Declare new mmap base and len values for
18963 prepare_address_space, and store the result in ah.
18964 (close_archive): If ah->mmap_base is not NULL, use that and
18965 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18966 * sysdeps/generic/libc-mmap.h: New file.
18968 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18970 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18971 (ALIGN_UP): Likewise.
18972 (PTR_ALIGN_DOWN): Likewise.
18973 (PTR_ALIGN_UP): Likewise.
18975 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18977 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18978 entry mapped to PPC_PLATFORM_POWER8.
18979 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18981 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18982 (_dl_string_platform): Add case for exporting platform position for
18984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18985 search path to sysdeps/powerpc/powerpc32/power8 directory.
18986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18987 search path to sysdeps/powerpc/powerpc64/power8 directory.
18988 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18989 power7 directories.
18990 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18991 power7 directories.
18993 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18995 * INSTALL: Regenerate.
18997 * nscd/connections.c (nscd_init): Fix comment.
18999 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19001 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19004 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19005 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19007 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19009 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19011 (DL_DST_REQ_STATIC): Remove macro.
19013 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19016 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19017 with a shift of 0 bits.
19019 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19021 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19024 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19027 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19029 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19031 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19032 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19033 accepts -fno-tree-loop-distribute-patterns.
19034 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19035 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19037 * string/memset.c (memset): Likewise.
19038 * string/test-memmove.c (simple_memmove): Disable loop transformation
19040 * string/test-memset.c (simple_memset): Likewise.
19041 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19042 * benchtests/bench-memset.c (simple_memset): Likewise.
19043 * configure: Regenerated.
19045 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19047 * math/test-misc.c (main): Ignore fesetround failure when failures
19048 of subsequent rounding tests would be ignored.
19051 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19052 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19053 * math/fegetenv.c (__fegetenv): Return 0.
19054 * math/fegetexcept.c (fegetexcept): Return 0.
19055 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19057 * math/feholdexcpt.c (feholdexcept): Return 0.
19058 * math/fesetenv.c (__fesetenv): Return 0.
19059 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19060 argument FE_TONEAREST.
19061 * math/feupdateenv.c (__feupdateenv): Return 0.
19062 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19064 2013-06-18 Roland McGrath <roland@hack.frob.com>
19066 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19067 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19068 ($(objpfx)rtld-%.os rules): Use them.
19070 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19072 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19075 2013-06-17 Roland McGrath <roland@hack.frob.com>
19077 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19078 length of target pattern, then descending length of dependency pattern.
19079 * configure.in (AWK): Require gawk 3.1.2 or newer.
19080 * manual/install.texi (Tools for Compilation): Say that we do.
19081 * configure: Regenerated.
19083 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19084 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19085 * scripts/sysd-rules.awk: ... this new script.
19086 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19087 than a glob-style pattern.
19089 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19091 * math/test-misc.c (main): Do not treat incorrectly rounded
19092 conversions as failure unless ROUNDING_TESTS passes.
19094 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19097 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19098 restore exception state around main square root computation, then
19099 check for inexactness explicitly.
19101 * math/libm-test.inc (fma_test_data): Add another test.
19103 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19105 * manual/threads.texi (Non-POSIX Extensions): New document
19106 node. Document pthread_getattr_default_np and
19107 pthread_setattr_default_np.
19109 * Versions.def (libpthread): Add GLIBC_2.18.
19110 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19119 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19130 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19133 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19135 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19136 H.J. Lu <hjl.tools@gmail.com>
19139 * sysdeps/x86_64/rtld-memset.c: Remove file.
19140 * sysdeps/x86_64/rtld-memset.S: New file.
19142 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19144 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19145 (test_in_one_mode): Take arguments for whether the rounding mode
19146 is supported for each floating-point type.
19147 (do_test): Pass new arguments to test_in_one_mode using
19150 2013-06-13 Roland McGrath <roland@hack.frob.com>
19152 * posix/tst-waitid.c (do_test): Distinguish different instances of
19153 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19154 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19155 before entering the kernel for waitpid.
19157 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19159 * NEWS: Fix note on clock function precision. Text by Roland
19162 2013-06-13 Roland McGrath <roland@hack.frob.com>
19164 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19165 it into place only when and if the sanity check passes.
19167 2013-06-13 Joseph Myers <joseph@codesourcery.com>
19169 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19170 output for whether conversion result is exact. Take argument
19171 indicating whether type is IBM long double.
19172 (round_for_all): Change need_exact field to ibm_ld.
19173 * stdlib/tst-strtod-round.c (struct exactness): New type.
19174 (struct test): Change bool ld_ok field to struct exactness exact.
19175 (TEST): Update all definitions for change to field.
19176 (tests): Regenerate array contents.
19177 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19178 field value. Check for IBM long double here.
19179 (do_test): Update calls to test_in_one_mode.
19181 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19184 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19185 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19187 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19190 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19191 generated by the compiler on loop optimizations.
19192 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19193 general definitions.
19195 2013-06-12 Joseph Myers <joseph@codesourcery.com>
19197 * math/bug-nextafter.c: Include <math-tests.h>.
19198 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19200 * math/bug-nexttoward.c: Include <math-tests.h>.
19201 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19203 * math/test-misc.c: Include <math-tests.h>.
19204 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19207 2013-06-12 Andreas Jaeger <aj@suse.de>
19209 * po/ia.po: Update Interlingua translation from translation
19212 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19214 * include/fenv.h: Include stdbool.h.
19215 (struct rm_ctx): New structure.
19216 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19218 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19219 (SET_RESTORE_ROUNDF): Likewise.
19220 (SET_RESTORE_ROUNDL): Likewise.
19221 (SET_RESTORE_ROUND_NOEX): Likewise.
19222 (SET_RESTORE_ROUND_NOEXF): Likewise.
19223 (SET_RESTORE_ROUND_NOEXL): Likewise.
19224 (SET_RESTORE_ROUND_53BIT): Likewise.
19225 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19226 (libc_feresetround_noexf_ctx): Likewise.
19227 (libc_feresetround_noexl_ctx): Likewise.
19228 (libc_feholdsetround_53bit_ctx): Likewise.
19229 (libc_feresetround_53bit_ctx): Likewise.
19230 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19231 (libc_feholdexcept_setround_sse_ctx): New function.
19232 (libc_fesetenv_sse_ctx): Likewise.
19233 (libc_feupdateenv_sse_ctx): Likewise.
19234 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19235 (libc_feholdexcept_setround_387_ctx): Likewise.
19236 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19237 (libc_feholdsetround_387_prec_ctx): Likewise.
19238 (libc_feholdsetround_387_ctx): Likewise.
19239 (libc_feholdsetround_387_53bit_ctx): Likewise.
19240 (libc_feholdsetround_sse_ctx): Likewise.
19241 (libc_feresetround_sse_ctx): Likewise.
19242 (libc_feresetround_387_ctx): Likewise.
19243 (libc_feupdateenv_387_ctx): Likewise.
19244 (libc_feholdexcept_setroundf_ctx): Define macro.
19245 (libc_fesetenvf_ctx): Likewise.
19246 (libc_feupdateenvf_ctx): Likewise.
19247 (libc_feholdsetroundf_ctx): Likewise.
19248 (libc_feresetroundf_ctx): Likewise.
19249 (libc_feholdexcept_setround_ctx): Likewise.
19250 (libc_fesetenv_ctx): Likewise.
19251 (libc_feupdateenv_ctx): Likewise.
19252 (libc_feholdsetround_ctx): Likewise.
19253 (libc_feresetround_ctx): Likewise.
19254 (libc_feholdexcept_setroundl_ctx): Likewise.
19255 (libc_feupdateenvl_ctx): Likewise.
19256 (libc_feholdsetroundl_ctx): Likewise.
19257 (libc_feresetroundl_ctx): Likewise.
19258 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19259 (libc_feresetround_53bit_ctx): Likewise.
19261 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19263 * locale/iso-639.def: Convert to UTF-8.
19265 2013-06-11 Joseph Myers <joseph@codesourcery.com>
19267 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19268 (EXCEPTION_TESTS_double): Likewise.
19269 (EXCEPTION_TESTS_long_double): Likewise.
19270 (EXCEPTION_TESTS): Likewise.
19271 * math/libm-test.inc (test_exceptions): Only test exceptions if
19272 EXCEPTION_TESTS (FLOAT).
19274 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19276 * benchtests/Makefile (string-bench): Add strcpy_chk and
19278 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19279 * benchtests/bench-stpcpy_chk.c: New file.
19280 * benchtests/bench-strcpy_chk-ifunc.c: New file.
19281 * benchtests/bench-strcpy_chk.c: New file.
19282 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19284 (do_test): Likewise.
19286 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19288 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19289 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19290 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19291 with tabs where appropriate.
19292 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19294 [PPC_PLATFORM_PPC440]: Likewise.
19295 [PPC_PLATFORM_PPC464]: Likewise.
19296 [PPC_PLATFORM_PPC476]: Likewise.
19297 (_dl_string_platform): Add support for detecting ppc405, ppc440,
19298 ppc464, and ppc476 platform strings merging from ports/
19301 2013-06-11 Andreas Schwab <schwab@suse.de>
19304 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19305 (from_ucs4_idx): Regenerate.
19306 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19307 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19308 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19309 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19310 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19311 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19312 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19313 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19314 from FROM_LOOP and TO_LOOP specific macros.
19315 (BODY): Handle combining characters.
19316 * iconvdata/BIG5HKSCS.irreversible: Update.
19317 * iconvdata/BIG5HKSCS.precomposed: New file.
19318 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19320 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19322 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19324 * include/sys/time.h: Fix indentation and add copyright header.
19326 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19327 (do_test): Likewise.
19328 * string/test-memchr.c (do_one_test): Likewise.
19329 (do_test): Likewise.
19330 * string/test-memcmp.c (do_one_test): Likewise.
19331 (do_test): Likewise.
19332 * string/test-memcpy.c (do_one_test): Likewise.
19333 (do_test): Likewise.
19334 * string/test-memmem.c (do_one_test): Likewise.
19335 (do_test): Likewise.
19336 (do_random_tests): Likewise.
19337 * string/test-memmove.c (do_one_test): Likewise.
19338 (do_test): Likewise.
19339 * string/test-memset.c (do_one_test): Likewise.
19340 (do_test): Likewise.
19341 * string/test-rawmemchr.c (do_one_test): Likewise.
19342 (do_test): Likewise.
19343 * string/test-strcasecmp.c (do_one_test): Likewise.
19344 (do_test): Likewise.
19345 * string/test-strcasestr.c (do_one_test): Likewise.
19346 (do_test): Likewise.
19347 * string/test-strcat.c (do_one_test): Likewise.
19348 (do_test): Likewise.
19349 * string/test-strchr.c (do_one_test): Likewise.
19350 (do_test): Likewise.
19351 * string/test-strcmp.c (do_one_test): Likewise.
19352 (do_test): Likewise.
19353 * string/test-strcpy.c (do_one_test): Likewise.
19354 (do_test): Likewise.
19355 * string/test-string.h: Likewise.
19356 (test_init): Likewise.
19357 * string/test-strlen.c (do_one_test): Likewise.
19358 (do_test): Likewise.
19359 * string/test-strncasecmp.c (do_one_test): Likewise.
19360 (do_test): Likewise.
19361 * string/test-strncat.c (do_one_test): Likewise.
19362 (do_test): Likewise.
19363 * string/test-strncmp.c (do_one_test): Likewise.
19364 (do_test_limit): Likewise.
19365 (do_test): Likewise.
19366 * string/test-strncpy.c (do_one_test): Likewise.
19367 (do_test): Likewise.
19368 * string/test-strnlen.c (do_one_test): Likewise.
19369 (do_test): Likewise.
19370 * string/test-strpbrk.c (do_one_test): Likewise.
19371 (do_test): Likewise.
19372 * string/test-strrchr.c (do_one_test): Likewise.
19373 (do_test): Likewise.
19374 * string/test-strspn.c (do_one_test): Likewise.
19375 (do_test): Likewise.
19376 * string/test-strstr.c (do_one_test): Likewise.
19377 (do_test): Likewise.
19379 * benchtests/Makefile (string-bench): Add string benchmarks.
19380 * benchtests/bench-bcopy-ifunc.c: New file.
19381 * benchtests/bench-bcopy.c: New file.
19382 * benchtests/bench-bzero-ifunc.c: New file.
19383 * benchtests/bench-bzero.c: New file.
19384 * benchtests/bench-memccpy-ifunc.c: New file.
19385 * benchtests/bench-memccpy.c: New file.
19386 * benchtests/bench-memchr-ifunc.c: New file.
19387 * benchtests/bench-memchr.c: New file.
19388 * benchtests/bench-memcmp-ifunc.c: New file.
19389 * benchtests/bench-memcmp.c: New file.
19390 * benchtests/bench-memmem-ifunc.c: New file.
19391 * benchtests/bench-memmem.c: New file.
19392 * benchtests/bench-memmove-ifunc.c: New file.
19393 * benchtests/bench-memmove.c: New file.
19394 * benchtests/bench-mempcpy-ifunc.c: New file.
19395 * benchtests/bench-mempcpy.c: New file.
19396 * benchtests/bench-memset-ifunc.c: New file.
19397 * benchtests/bench-memset.c: New file.
19398 * benchtests/bench-rawmemchr-ifunc.c: New file.
19399 * benchtests/bench-rawmemchr.c: New file.
19400 * benchtests/bench-stpcpy-ifunc.c: New file.
19401 * benchtests/bench-stpcpy.c: New file.
19402 * benchtests/bench-stpncpy-ifunc.c: New file.
19403 * benchtests/bench-stpncpy.c: New file.
19404 * benchtests/bench-strcasecmp-ifunc.c: New file.
19405 * benchtests/bench-strcasecmp.c: New file.
19406 * benchtests/bench-strcasestr-ifunc.c: New file.
19407 * benchtests/bench-strcasestr.c: New file.
19408 * benchtests/bench-strcat-ifunc.c: New file.
19409 * benchtests/bench-strcat.c: New file.
19410 * benchtests/bench-strchr-ifunc.c: New file.
19411 * benchtests/bench-strchr.c: New file.
19412 * benchtests/bench-strchrnul-ifunc.c: New file.
19413 * benchtests/bench-strchrnul.c: New file.
19414 * benchtests/bench-strcmp-ifunc.c: New file.
19415 * benchtests/bench-strcmp.c: New file.
19416 * benchtests/bench-strcpy-ifunc.c: New file.
19417 * benchtests/bench-strcpy.c: New file.
19418 * benchtests/bench-strcspn-ifunc.c: New file.
19419 * benchtests/bench-strcspn.c: New file.
19420 * benchtests/bench-strlen-ifunc.c: New file.
19421 * benchtests/bench-strlen.c: New file.
19422 * benchtests/bench-strncasecmp-ifunc.c: New file.
19423 * benchtests/bench-strncasecmp.c: New file.
19424 * benchtests/bench-strncat-ifunc.c: New file.
19425 * benchtests/bench-strncat.c: New file.
19426 * benchtests/bench-strncmp-ifunc.c: New file.
19427 * benchtests/bench-strncmp.c: New file.
19428 * benchtests/bench-strncpy-ifunc.c: New file.
19429 * benchtests/bench-strncpy.c: New file.
19430 * benchtests/bench-strnlen-ifunc.c: New file.
19431 * benchtests/bench-strnlen.c: New file.
19432 * benchtests/bench-strpbrk-ifunc.c: New file.
19433 * benchtests/bench-strpbrk.c: New file.
19434 * benchtests/bench-strrchr-ifunc.c: New file.
19435 * benchtests/bench-strrchr.c: New file.
19436 * benchtests/bench-strspn-ifunc.c: New file.
19437 * benchtests/bench-strspn.c: New file.
19438 * benchtests/bench-strstr-ifunc.c: New file.
19439 * benchtests/bench-strstr.c: New file.
19441 * benchtests/Makefile: Disable parallel execution of targets.
19442 (string-bench): Add memcpy.
19443 (benchset): New variable to store a list of benchmark sets.
19444 (bench-func): Renamed from bench.
19445 (bench-set): New target.
19446 (bench): Depend on bench-func and bench-set.
19447 * benchtests/README: Add section on benchmark sets.
19448 * benchtests/bench-memcpy-ifunc.c: New file.
19449 * benchtests/bench-memcpy.c: New file.
19450 * benchtests/bench-string.h: New file.
19452 2013-06-11 Andreas Schwab <schwab@suse.de>
19455 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19456 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19457 values in the triple.
19458 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19459 terminator in the group key.
19461 2013-06-11 Andreas Jaeger <aj@suse.de>
19463 * po/zh_TW.po: Update Chinese (traditional) translation from
19464 translation project.
19466 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19468 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19469 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19470 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19471 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19472 (clock_getcpuclockid): Likewise.
19473 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19474 Add weak_alias and libc_hidden_def.
19475 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19476 * rt/clock_gettime.c (clock_gettime): Rename to
19477 __clock_gettime. Add weak_alias and libc_hidden_def.
19478 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19479 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19480 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19481 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19482 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19484 * rt/clock_settime.c (clock_settime): Rename to
19485 __clock_settime. Add weak_alias and libc_hidden_def.
19486 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19488 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19490 * mach/err_boot.sub: Remove trailing whitespace.
19491 * mach/err_ipc.sub: Likewise.
19492 * mach/err_mach.sub: Likewise.
19494 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19495 (ROUNDING_TESTS_double): Likewise.
19496 (ROUNDING_TESTS_long_double): Likewise.
19497 (ROUNDING_TESTS): Likewise.
19498 * math/libm-test.inc: Include <math-tests.h>.
19499 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19500 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19501 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19502 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19504 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19506 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19509 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19511 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19512 otherwise empty TRANS lines.
19513 * sysdeps/gnu/errlist.c: Regenerated.
19515 * catgets/gencat.c (error_print): Use (void) in function
19517 * crypt/crypt_util.c (__init_des): Likewise.
19518 * crypt/speeds.c (Stop): Likewise.
19520 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19521 * inet/ruserpass.c (token): Likewise.
19522 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19523 * intl/localealias.c (extend_alias_table): Likewise.
19524 * intl/plural-exp.c (init_germanic_plural): Likewise.
19525 * libio/fcloseall.c (__fcloseall): Likewise.
19526 * libio/genops.c (_IO_flush_all): Likewise.
19527 (_IO_flush_all_linebuffered): Likewise.
19528 (_IO_cleanup): Likewise.
19529 (_IO_iter_begin): Likewise.
19530 (_IO_iter_end): Likewise.
19531 (_IO_list_lock): Likewise.
19532 (_IO_list_unlock): Likewise.
19533 (_IO_list_resetlock): Likewise.
19534 * libio/getchar.c (getchar): Likewise.
19535 * libio/getchar_u.c (getchar_unlocked): Likewise.
19536 * libio/getwchar.c (getwchar): Likewise.
19537 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19538 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19539 * login/getpt.c (__getpt): Likewise.
19540 * login/tst-utmp.c (main): Likewise.
19541 * malloc/hooks.c (__malloc_check_init): Likewise.
19542 * malloc/malloc.c (__malloc_stats): Likewise.
19543 * malloc/mtrace.c (tr_break): Likewise.
19544 (mtrace): Likewise.
19545 (muntrace): Likewise.
19546 * misc/fstab.c (endfsent): Likewise.
19547 * misc/getclktck.c (__getclktck): Likewise.
19548 * misc/getdtsz.c (__getdtablesize): Likewise.
19549 * misc/gethostid.c (gethostid): Likewise.
19550 * misc/getpagesize.c (__getpagesize): Likewise.
19551 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19552 (__get_nprocs): Likewise.
19553 (__get_phys_pages): Likewise.
19554 (__get_avphys_pages): Likewise.
19555 * misc/getttyent.c (getttyent): Likewise.
19556 (setttyent): Likewise.
19557 (endttyent): Likewise.
19558 * misc/getusershell.c (getusershell): Likewise.
19559 (endusershell): Likewise.
19560 (setusershell): Likewise.
19561 (initshells): Likewise.
19562 * misc/hsearch.c (__hdestroy): Likewise.
19563 * misc/sync.c (sync): Likewise.
19564 * misc/syslog.c (closelog_internal): Likewise.
19565 (closelog): Likewise.
19566 * misc/ttyslot.c (ttyslot): Likewise.
19567 * misc/vhangup.c (vhangup): Likewise.
19568 * posix/fork.c (__fork): Likewise.
19569 * posix/getegid.c (__getegid): Likewise.
19570 * posix/geteuid.c (__geteuid): Likewise.
19571 * posix/getgid.c (__getgid): Likewise.
19572 * posix/getpid.c (__getpid): Likewise.
19573 * posix/getppid.c (__getppid): Likewise.
19574 * posix/getuid.c (__getuid): Likewise.
19575 * posix/pause.c (pause): Likewise.
19576 * posix/setpgrp.c (setpgrp): Likewise.
19577 * posix/setsid.c (__setsid): Likewise.
19578 * posix/test-vfork.c (noop): Likewise.
19579 * resolv/gethnamaddr.c (_endhtent): Likewise.
19580 (_gethtent): Likewise.
19581 (ht_endhostent): Likewise.
19582 (gethostent): Likewise.
19583 (dns_service): Likewise.
19584 * stdlib/drand48.c (drand48): Likewise.
19585 * stdlib/lrand48.c (lrand48): Likewise.
19586 * stdlib/mrand48.c (mrand48): Likewise.
19587 * stdlib/rand.c (rand): Likewise.
19588 * stdlib/random.c (__random): Likewise.
19589 * stdlib/setenv.c (clearenv): Likewise.
19590 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19591 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19592 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19593 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19594 (__get_nprocs): Likewise.
19595 (__get_phys_pages): Likewise.
19596 (__get_avphys_pages): Likewise.
19597 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19598 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19599 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19600 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19601 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19602 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19603 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19604 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19605 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19606 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19607 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19608 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19609 * sysdeps/posix/clock.c (clock): Likewise.
19610 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19611 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19612 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19613 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19614 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19616 (__get_nprocs_conf): Likewise.
19617 (__get_phys_pages): Likewise.
19618 (__get_avphys_pages): Likewise.
19619 * time/clock.c (clock): Likewise.
19620 * time/tzset.c (__tzname_max): Likewise.
19622 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19624 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19625 (__bswap_32): Do not use "register".
19626 * crypt/crypt.c (_ufc_doit_r): Likewise.
19627 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19628 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19629 * gmon/gmon.c (__monstartup): Likewise.
19630 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19631 * hurd/hurdmalloc.c (more_memory): Likewise.
19632 (malloc): Likewise.
19634 (realloc): Likewise.
19635 (malloc_fork_prepare): Likewise.
19636 (malloc_fork_parent): Likewise.
19637 (malloc_fork_child): Likewise.
19638 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19639 (_svcauth_des): Likewise.
19640 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19641 * inet/inet_net.c (inet_network): Likewise.
19642 * inet/inet_netof.c (inet_netof): Likewise.
19643 * inet/rcmd.c (__validuser2_sa): Likewise.
19644 * io/fts.c (fts_open): Likewise.
19645 (fts_load): Likewise.
19646 (fts_close): Likewise.
19647 (fts_read): Likewise.
19648 (fts_children): Likewise.
19649 (fts_build): Likewise.
19650 (fts_stat): Likewise.
19651 (fts_sort): Likewise.
19652 (fts_alloc): Likewise.
19653 (fts_lfree): Likewise.
19654 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19655 (_IO_file_xsgetn): Likewise.
19656 (_IO_file_xsgetn_mmap): Likewise.
19657 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19658 (_IO_cookie_write): Likewise.
19659 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19660 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19661 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19662 * malloc/obstack.c (_obstack_begin): Likewise.
19663 (_obstack_begin_1): Likewise.
19664 (_obstack_newchunk): Likewise.
19665 (_obstack_allocated_p): Likewise.
19666 (obstack_free): Likewise.
19667 (_obstack_memory_used): Likewise.
19668 * misc/getttyent.c (getttynam): Likewise.
19669 (getttyent): Likewise.
19672 * misc/getusershell.c (initshells): Likewise.
19673 * misc/syslog.c (__vsyslog_chk): Likewise.
19674 * misc/ttyslot.c (ttyslot): Likewise.
19675 * nis/nis_hash.c (__nis_hash): Likewise.
19676 * posix/fnmatch_loop.c (FCT): Likewise.
19677 * posix/getconf.c (print_all): Likewise.
19679 * posix/getopt.c (exchange): Likewise.
19680 * posix/glob.c (globfree): Likewise.
19681 (prefix_array): Likewise.
19682 (__glob_pattern_type): Likewise.
19683 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19684 (NS_GET32): Likewise.
19685 (NS_PUT16): Likewise.
19686 (NS_PUT32): Likewise.
19687 * resolv/gethnamaddr.c (getanswer): Likewise.
19688 (gethostbyname2): Likewise.
19689 (gethostbyaddr): Likewise.
19690 (_gethtent): Likewise.
19691 (_gethtbyname2): Likewise.
19692 (_gethtbyaddr): Likewise.
19693 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19694 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19695 * resolv/res_init.c (__res_vinit): Likewise.
19696 (net_mask): Likewise.
19697 * resolv/res_mkquery.c (outchar): Likewise.
19699 * stdio-common/printf_fp.c (outchar): Likewise.
19701 * stdio-common/printf_fphex.c (outchar): Likewise.
19703 * stdio-common/printf_size.c (outchar): Likewise.
19705 * stdio-common/test_rdwr.c (main): Likewise.
19706 * stdio-common/tfformat.c (matches): Likewise.
19707 * stdio-common/vfprintf.c (outchar): Likewise.
19708 (printf_unknown): Likewise.
19709 (buffered_vfprintf): Likewise.
19710 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19711 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19712 (ReadFile): Likewise.
19713 * stdlib/qsort.c (SWAP): Likewise.
19714 (_quicksort): Likewise.
19715 * stdlib/setenv.c (__add_to_environ): Likewise.
19716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19717 * stdlib/strtol_l.c (__strtol_l): Likewise.
19718 * stdlib/tst-strtod.c (main): Likewise.
19719 * stdlib/tst-strtol.c (main): Likewise.
19720 * stdlib/tst-strtoll.c (main): Likewise.
19721 * string/bits/string2.h (__strcmp_cc): Likewise.
19722 (__strcmp_cg): Likewise.
19723 (__strcspn_c1): Likewise.
19724 (__strcspn_c2): Likewise.
19725 (__strcspn_c3): Likewise.
19726 (__strspn_c1): Likewise.
19727 (__strspn_c2): Likewise.
19728 (__strspn_c3): Likewise.
19729 (__strsep_1c): Likewise.
19730 (__strsep_2c): Likewise.
19731 (__strsep_3c): Likewise.
19732 * string/memccpy.c (__memccpy): Likewise.
19733 * string/stpcpy.c (__stpcpy): Likewise.
19734 * string/strcmp.c (strcmp): Likewise.
19735 * string/strrchr.c (strrchr): Likewise.
19736 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19738 * sysdeps/mach/hurd/getcwd.c
19739 (_hurd_canonicalize_directory_name_internal): Likewise.
19740 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19741 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19742 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19743 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19744 Likewise, in both definitions.
19745 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19747 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19748 64] (__bswap_64): Likewise.
19749 * time/test_time.c (main): Likewise.
19750 * time/tzfile.c (__tzfile_read): Likewise.
19751 (__tzfile_compute): Likewise.
19752 * time/tzset.c (__tzset_parse_tz): Likewise.
19753 (tzset_internal): Likewise.
19754 (compute_change): Likewise.
19755 * wcsmbs/wcscat.c (__wcscat): Likewise.
19756 * wcsmbs/wcschr.c (wcschr): Likewise.
19757 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19758 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19759 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19760 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19761 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19762 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19763 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19764 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19765 * wcsmbs/wmemset.c (wmemset): Likewise.
19767 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19769 * scripts/config.guess: Update to version 2013-05-16.
19770 * scripts/config.sub: Update to version 2013-04-24.
19771 * scripts/install-sh: Update to version 2011-11-20.07.
19772 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19773 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19775 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19777 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19778 * elf/sln.c: Likewise.
19779 * hurd/hurd/ioctl.h: Likewise.
19780 * hurd/hurdmalloc.c: Likewise.
19781 * hurd/xattr.c: Likewise.
19782 * include/shlib-compat.h: Likewise.
19783 * inet/ruserpass.c: Likewise.
19784 * libio/iofgets_u.c: Likewise.
19785 * libio/iofgetws_u.c: Likewise.
19786 * locale/programs/ld-identification.c: Likewise.
19787 * locale/programs/ld-time.c: Likewise.
19788 * mach/msg-destroy.c: Likewise.
19789 * nss/nss_files/files-netgrp.c: Likewise.
19790 * resolv/res_data.c: Likewise.
19791 * soft-fp/op-1.h: Likewise.
19792 * soft-fp/op-2.h: Likewise.
19793 * soft-fp/op-4.h: Likewise.
19794 * soft-fp/op-common.h: Likewise.
19795 * stdio-common/printf_fphex.c: Likewise.
19796 * stdlib/strtod_l.c: Likewise.
19797 * sunrpc/rpc/clnt.h: Likewise.
19798 * sysdeps/generic/framestate.c: Likewise.
19799 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19800 * sysdeps/i386/bsd-setjmp.S: Likewise.
19801 * sysdeps/i386/__longjmp.S: Likewise.
19802 * sysdeps/i386/setjmp.S: Likewise.
19803 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19805 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19809 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19819 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19821 * sysdeps/ieee754/support.c: Likewise.
19822 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19823 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19824 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19825 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19826 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19827 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19828 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19829 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19830 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19831 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19832 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19833 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19835 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19836 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19837 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19838 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19841 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19843 * posix/transbug.c: Remove executable mode.
19845 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19847 * crypt/speeds.c: Remove trailing whitespace.
19848 * dlfcn/default.c: Likewise.
19849 * elf/ifuncdep2.c: Likewise.
19850 * elf/ifuncmain1.c: Likewise.
19851 * elf/ifuncmain1vis.c: Likewise.
19852 * elf/testobj.h: Likewise.
19853 * elf/tst-stackguard1.c: Likewise.
19854 * gmon/sys/gmon.h: Likewise.
19855 * hurd/hurdmsg.c: Likewise.
19856 * hurd/new-fd.c: Likewise.
19857 * hurd/ports-get.c: Likewise.
19858 * iconvdata/ibm1008_420.c: Likewise.
19859 * inet/tst-getni1.c: Likewise.
19860 * inet/tst-getni2.c: Likewise.
19861 * libio/ioungetc.c: Likewise.
19862 * libio/wfiledoalloc.c: Likewise.
19863 * manual/libm-err-tab.pl: Likewise.
19864 * math/w_dremf.c: Likewise.
19865 * misc/ftruncate.c: Likewise.
19866 * posix/bug-glob2.c: Likewise.
19867 * posix/tst-pcre.c: Likewise.
19868 * posix/wait4.c: Likewise.
19869 * resolv/README: Likewise.
19870 * resolv/res_debug.h: Likewise.
19871 * resolv/tst-inet_ntop.c: Likewise.
19872 * setjmp/bug269-setjmp.c: Likewise.
19873 * soft-fp/extended.h: Likewise.
19874 * soft-fp/op-1.h: Likewise.
19875 * soft-fp/op-2.h: Likewise.
19876 * soft-fp/op-4.h: Likewise.
19877 * soft-fp/op-8.h: Likewise.
19878 * soft-fp/testit.c: Likewise.
19879 * stdio-common/bug16.c: Likewise.
19880 * stdlib/random.c: Likewise.
19881 * sunrpc/rpcsvc/rquota.x: Likewise.
19882 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19883 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19884 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19885 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19886 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19887 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19888 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19889 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19890 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19891 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19892 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19893 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19894 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19895 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19896 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19897 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19898 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19900 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19901 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19902 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19903 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19904 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19905 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19907 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19911 * sysdeps/ieee754/s_lib_version.c: Likewise.
19912 * sysdeps/mach/hurd/check_fds.c: Likewise.
19913 * sysdeps/mach/hurd/getsockname.c: Likewise.
19914 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19915 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19916 * sysdeps/powerpc/bits/link.h: Likewise.
19917 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19918 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19919 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19920 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19921 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19922 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19923 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19924 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19925 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19926 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19927 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19928 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19929 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19930 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19931 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19932 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19934 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19936 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19937 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19938 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19940 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19941 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19942 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19943 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19945 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19947 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19948 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19949 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19950 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19951 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19952 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19953 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19954 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19955 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19956 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19957 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19958 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19959 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19960 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19961 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19962 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19963 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19964 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19965 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19966 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19969 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19970 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19971 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19972 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19973 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19974 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19975 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19977 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19978 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19979 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19980 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19981 * sysdeps/powerpc/sysdep.h: Likewise.
19982 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19983 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19984 * sysdeps/sh/dl-trampoline.S: Likewise.
19985 * sysdeps/sh/memset.S: Likewise.
19986 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19987 * sysdeps/sh/strlen.S: Likewise.
19988 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19989 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19990 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19991 * sysdeps/sparc/sparc32/rem.S: Likewise.
19992 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19993 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19994 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19995 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19996 * sysdeps/sparc/sparc32/urem.S: Likewise.
19997 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19998 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19999 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20000 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20001 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20002 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20003 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20004 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20005 * sysdeps/unix/bsd/times.c: Likewise.
20006 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20007 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20011 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20012 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20013 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20014 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20015 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20016 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20017 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20018 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20019 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20020 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20021 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20022 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20023 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20024 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20025 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20026 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20027 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20028 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20029 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20030 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20031 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20032 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20033 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20034 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20035 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20036 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20037 * sysdeps/x86_64/strcspn.S: Likewise.
20039 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20041 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20042 generated file. Regenerate properly from gen-translit.pl.
20043 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20044 locale/C-translit.h.
20046 2013-06-05 Andreas Schwab <schwab@suse.de>
20049 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20050 week as 6 instead of -1.
20051 * time/tst-strptime.c (day_tests): Add test case.
20053 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20055 * sysdeps/generic/math_private.h
20056 (libc_feholdexcept_setround_53bit): Replace with
20057 libc_feholdsetround_53bit.
20058 (libc_feupdateenv_53bit): Replace with
20059 libc_feresetround_53bit.
20060 (SET_RESTORE_ROUND_53BIT): Adjust.
20062 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20064 * string/test-strchrnul.c: Add copyright header.
20066 * posix/tst-getaddrinfo4.c: Increase test timeout.
20068 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20071 * math/libm-test.inc (MAX_EXP): Remove
20073 (ulp): Use MIN_EXP - MANT_DIG.
20074 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20076 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20078 * po/be.po: Revert last change.
20079 * po/zh_CN.po: Likewise.
20080 * po/header.pot: Likewise.
20082 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20084 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20085 link-libc-deps to empty as target-specific variable.
20086 * Makerules (link-libc-args): New variable.
20087 (libc-for-link): Likewise.
20088 (link-libc-deps): Likewise.
20089 (lib%.so): Depend on $(link-libc-deps). Link with
20091 (build-module): Link with $(link-libc-args).
20092 (build-module-asneeded): Likewise.
20093 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20095 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20096 target-specific variable.
20097 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20098 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20099 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20101 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20103 ($(objpfx)libpcprofile.so): Likewise.
20104 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20106 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20107 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20108 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20110 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20111 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20112 * login/Makefile ($(objpfx)libutil.so): Likewise.
20113 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20114 * math/Makefile ($(objpfx)libm.so): Likewise.
20115 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20116 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20117 variable instead of depending directly on libc.
20118 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20119 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20121 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20123 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20124 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20125 ($(objpfx)libanl.so): Likewise.
20126 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20128 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20130 * sysdeps/i386/fpu/Makefile: Remove file.
20131 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20132 ($(objpfx)libm.so): Remove dependency on ld.so.
20134 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20137 * nis/yp_xdr.c (XDRMAXNAME): Define.
20138 (XDRMAXRECORD): Define.
20139 (xdr_domainname): Use XDRMAXNAME.
20140 (xdr_mapname): Likewise.
20141 (xdr_peername): Likewise.
20142 (xdr_keydat): Use XDRMAXRECORD.
20143 (xdr_valdat): Likewise.
20145 2013-05-30 Jeff Law <law@redhat.com>
20148 * manual/errno.texi (ESTALE): Update to account for more than
20149 just NFS file systems.
20150 * sysdeps/gnu/errlist.c: Regenerated.
20152 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20155 * elf/Makefile (tests): Add tst-null-argv.
20156 (modules-names): Add tst-null-argv-lib.
20157 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20158 (tst-null-argv-ENV): Set environment for tst-null-argv.
20159 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20160 (RTLD_PROGNAME): New macro.
20161 * elf/tst-null-argv.c: New test case.
20162 * elf/tst-null-argv-lib.c: Library for test case.
20163 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20164 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20165 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20166 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20167 * elf/dl-init.c (call_init): Likewise.
20168 (_dl_init): Likewise.
20169 * elf/dl-load.c (print_search_path): Likewise.
20170 (_dl_map_object): Likewise.
20171 * elf/dl-lookup.c (do_lookup_x): Likewise.
20172 (add_dependency): Likewise.
20173 (_dl_lookup_symbol_x): Likewise.
20174 (_dl_debug_bindings): Likewise.
20175 * elf/dl-open.c (_dl_show_scope): Likewise.
20176 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20177 * elf/dl-version.c (match_symbol): Likewise.
20178 (_dl_check_map_versions): Likewise.
20179 * elf/rtld.c (dl_main): Likewise.
20180 (print_unresolved): Use RTLD_PROGNAME.
20181 (print_missing_version): Likewise.
20182 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20183 (elf_machine_rela): Likewise.
20184 * sysdeps/powerpc/powerpc32/dl-machine.c
20185 (__process_machine_rela): Likewise.
20186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20190 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20192 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20199 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20201 * po/be.po: Add descriptive title.
20202 * po/zh_CN.po: Likewise.
20203 * po/header.pot: Likewise.
20205 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20207 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20209 (enlarge_archive): Likewise.
20211 2013-05-28 Ben North <ben@redfrontdoor.org>
20213 * manual/arith.texi (frexp): It is the magnitude of the return
20214 value which lies in [0.5, 1), not the return value itself.
20216 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20220 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20222 * stdio-common/bug26.c (main): Correct fscanf template.
20224 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20225 declare _dl_skip_args.
20227 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20230 * manual/platform.texi: Add missing @end deftypefun.
20232 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20235 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20236 bit of mantissa of 2^16382.
20237 * math/libm-test.inc (hypot_test_data): Add more tests.
20239 * math/libm-test.inc: Add drem and pow10 to list of tested
20241 (pow10_test): New function.
20242 (drem_test): Likewise.
20243 (drem_test_tonearest): Likewise.
20244 (drem_test_towardzero): Likewise.
20245 (drem_test_downward): Likewise.
20246 (drem_test_upward): Likewise.
20247 (main): Call the new functions.
20249 * math/libm-test.inc (finite_test_data): Remove.
20250 (finite_test): Run tests from isfinite_test_data.
20251 (gamma_test_data): Remove.
20252 (gamma_test): Run tests from lgamma_test_data.
20253 * sysdeps/i386/fpu/libm-test-ulps: Update.
20254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20256 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20258 * manual/platform.texi: Add PowerPC PPR function set documentation.
20259 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20262 2013-05-24 Carlos O'Donell <carlos@redhat.com>
20264 * math/libm-test.inc (MAX_EXP): Define.
20266 (ulp): New function.
20267 (check_float_internal): Use ULPDIFF.
20268 (cpow_test): Disable failing test.
20269 (check_ulp): Test ulp() implemetnation.
20270 (main): Call check_ulp before starting tests.
20272 2013-05-24 Joseph Myers <joseph@codesourcery.com>
20274 * math/gen-libm-test.pl (generate_testfile): Do not handle
20275 START_DATA and END_DATA.
20276 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20278 (acos_tonearest_test_data): Likewise.
20279 (acos_towardzero_test_data): Likewise.
20280 (acos_downward_test_data): Likewise.
20281 (acos_upward_test_data): Likewise.
20282 (acosh_test_data): Likewise.
20283 (asin_test_data): Likewise.
20284 (asin_tonearest_test_data): Likewise.
20285 (asin_towardzero_test_data): Likewise.
20286 (asin_downward_test_data): Likewise.
20287 (asin_upward_test_data): Likewise.
20288 (asinh_test_data): Likewise.
20289 (atan_test_data): Likewise.
20290 (atanh_test_data): Likewise.
20291 (atan2_test_data): Likewise.
20292 (cabs_test_data): Likewise.
20293 (cacos_test_data): Likewise.
20294 (cacosh_test_data): Likewise.
20295 (carg_test_data): Likewise.
20296 (casin_test_data): Likewise.
20297 (casinh_test_data): Likewise.
20298 (catan_test_data): Likewise.
20299 (catanh_test_data): Likewise.
20300 (cbrt_test_data): Likewise.
20301 (ccos_test_data): Likewise.
20302 (ccosh_test_data): Likewise.
20303 (ceil_test_data): Likewise.
20304 (cexp_test_data): Likewise.
20305 (cimag_test_data): Likewise.
20306 (clog_test_data): Likewise.
20307 (clog10_test_data): Likewise.
20308 (conj_test_data): Likewise.
20309 (copysign_test_data): Likewise.
20310 (cos_test_data): Likewise.
20311 (cos_tonearest_test_data): Likewise.
20312 (cos_towardzero_test_data): Likewise.
20313 (cos_downward_test_data): Likewise.
20314 (cos_upward_test_data): Likewise.
20315 (cosh_test_data): Likewise.
20316 (cosh_tonearest_test_data): Likewise.
20317 (cosh_towardzero_test_data): Likewise.
20318 (cosh_downward_test_data): Likewise.
20319 (cosh_upward_test_data): Likewise.
20320 (cpow_test_data): Likewise.
20321 (cproj_test_data): Likewise.
20322 (creal_test_data): Likewise.
20323 (csin_test_data): Likewise.
20324 (csinh_test_data): Likewise.
20325 (csqrt_test_data): Likewise.
20326 (ctan_test_data): Likewise.
20327 (ctan_tonearest_test_data): Likewise.
20328 (ctan_towardzero_test_data): Likewise.
20329 (ctan_downward_test_data): Likewise.
20330 (ctan_upward_test_data): Likewise.
20331 (ctanh_test_data): Likewise.
20332 (ctanh_tonearest_test_data): Likewise.
20333 (ctanh_towardzero_test_data): Likewise.
20334 (ctanh_downward_test_data): Likewise.
20335 (ctanh_upward_test_data): Likewise.
20336 (erf_test_data): Likewise.
20337 (erfc_test_data): Likewise.
20338 (exp_test_data): Likewise.
20339 (exp_tonearest_test_data): Likewise.
20340 (exp_towardzero_test_data): Likewise.
20341 (exp_downward_test_data): Likewise.
20342 (exp_upward_test_data): Likewise.
20343 (exp10_test_data): Likewise.
20344 (exp2_test_data): Likewise.
20345 (expm1_test_data): Likewise.
20346 (fabs_test_data): Likewise.
20347 (fdim_test_data): Likewise.
20348 (finite_test_data): Likewise.
20349 (floor_test_data): Likewise.
20350 (fma_test_data): Likewise.
20351 (fma_towardzero_test_data): Likewise.
20352 (fma_downward_test_data): Likewise.
20353 (fma_upward_test_data): Likewise.
20354 (fmax_test_data): Likewise.
20355 (fmin_test_data): Likewise.
20356 (fmod_test_data): Likewise.
20357 (fpclassify_test_data): Likewise.
20358 (frexp_test_data): Likewise.
20359 (gamma_test_data): Likewise.
20360 (hypot_test_data): Likewise.
20361 (ilogb_test_data): Likewise.
20362 (isfinite_test_data): Likewise.
20363 (isgreater_test_data): Likewise.
20364 (isgreaterequal_test_data): Likewise.
20365 (isinf_test_data): Likewise.
20366 (isless_test_data): Likewise.
20367 (islessequal_test_data): Likewise.
20368 (islessgreater_test_data): Likewise.
20369 (isnan_test_data): Likewise.
20370 (isnormal_test_data): Likewise.
20371 (issignaling_test_data): Likewise.
20372 (isunordered_test_data): Likewise.
20373 (j0_test_data): Likewise.
20374 (j1_test_data): Likewise.
20375 (jn_test_data): Likewise.
20376 (ldexp_test_data): Likewise.
20377 (lgamma_test_data): Likewise.
20378 (lrint_test_data): Likewise.
20379 (lrint_tonearest_test_data): Likewise.
20380 (lrint_towardzero_test_data): Likewise.
20381 (lrint_downward_test_data): Likewise.
20382 (lrint_upward_test_data): Likewise.
20383 (llrint_test_data): Likewise.
20384 (llrint_tonearest_test_data): Likewise.
20385 (llrint_towardzero_test_data): Likewise.
20386 (llrint_downward_test_data): Likewise.
20387 (llrint_upward_test_data): Likewise.
20388 (log_test_data): Likewise.
20389 (log10_test_data): Likewise.
20390 (log1p_test_data): Likewise.
20391 (log2_test_data): Likewise.
20392 (logb_test_data): Likewise.
20393 (logb_downward_test_data): Likewise.
20394 (lround_test_data): Likewise.
20395 (llround_test_data): Likewise.
20396 (modf_test_data): Likewise.
20397 (nearbyint_test_data): Likewise.
20398 (nextafter_test_data): Likewise.
20399 (nexttoward_test_data): Likewise.
20400 (pow_test_data): Likewise.
20401 (pow_tonearest_test_data): Likewise.
20402 (pow_towardzero_test_data): Likewise.
20403 (pow_downward_test_data): Likewise.
20404 (pow_upward_test_data): Likewise.
20405 (remainder_test_data): Likewise.
20406 (remainder_tonearest_test_data): Likewise.
20407 (remainder_towardzero_test_data): Likewise.
20408 (remainder_downward_test_data): Likewise.
20409 (remainder_upward_test_data): Likewise.
20410 (remquo_test_data): Likewise.
20411 (rint_test_data): Likewise.
20412 (rint_tonearest_test_data): Likewise.
20413 (rint_towardzero_test_data): Likewise.
20414 (rint_downward_test_data): Likewise.
20415 (rint_upward_test_data): Likewise.
20416 (round_test_data): Likewise.
20417 (scalb_test_data): Likewise.
20418 (scalbn_test_data): Likewise.
20419 (scalbln_test_data): Likewise.
20420 (signbit_test_data): Likewise.
20421 (sin_test_data): Likewise.
20422 (sin_tonearest_test_data): Likewise.
20423 (sin_towardzero_test_data): Likewise.
20424 (sin_downward_test_data): Likewise.
20425 (sin_upward_test_data): Likewise.
20426 (sincos_test_data): Likewise.
20427 (sinh_test_data): Likewise.
20428 (sinh_tonearest_test_data): Likewise.
20429 (sinh_towardzero_test_data): Likewise.
20430 (sinh_downward_test_data): Likewise.
20431 (sinh_upward_test_data): Likewise.
20432 (sqrt_test_data): Likewise.
20433 (tan_test_data): Likewise.
20434 (tan_tonearest_test_data): Likewise.
20435 (tan_towardzero_test_data): Likewise.
20436 (tan_downward_test_data): Likewise.
20437 (tan_upward_test_data): Likewise.
20438 (tanh_test_data): Likewise.
20439 (tgamma_test_data): Likewise.
20440 (trunc_test_data): Likewise.
20441 (y0_test_data): Likewise.
20442 (y1_test_data): Likewise.
20443 (yn_test_data): Likewise.
20444 (significand_test_data): Likewise.
20446 * math/gen-libm-test.pl (@functions): Remove variable.
20447 (generate_testfile): Don't handle START and END lines.
20448 * math/libm-test.inc (START): New macro.
20450 (END_COMPLEX): Likewise.
20451 (acos_test): Use END macro without arguments.
20452 (acos_test_tonearest): Likewise.
20453 (acos_test_towardzero): Likewise.
20454 (acos_test_downward): Likewise.
20455 (acos_test_upward): Likewise.
20456 (acosh_test): Likewise.
20457 (asin_test): Likewise.
20458 (asin_test_tonearest): Likewise.
20459 (asin_test_towardzero): Likewise.
20460 (asin_test_downward): Likewise.
20461 (asin_test_upward): Likewise.
20462 (asinh_test): Likewise.
20463 (atan_test): Likewise.
20464 (atanh_test): Likewise.
20465 (atan2_test): Likewise.
20466 (cabs_test): Likewise.
20467 (cacos_test): Use END_COMPLEX macro without arguments.
20468 (cacosh_test): Likewise.
20469 (carg_test): Use END macro without arguments.
20470 (casin_test): Use END_COMPLEX macro without arguments.
20471 (casinh_test): Likewise.
20472 (catan_test): Likewise.
20473 (catanh_test): Likewise.
20474 (cbrt_test): Use END macro without arguments.
20475 (ccos_test): Use END_COMPLEX macro without arguments.
20476 (ccosh_test): Likewise.
20477 (ceil_test): Use END macro without arguments.
20478 (cexp_test): Use END_COMPLEX macro without arguments.
20479 (cimag_test): Use END macro without arguments.
20480 (clog_test): Use END_COMPLEX macro without arguments.
20481 (clog10_test): Likewise.
20482 (conj_test): Likewise.
20483 (copysign_test): Use END macro without arguments.
20484 (cos_test): Likewise.
20485 (cos_test_tonearest): Likewise.
20486 (cos_test_towardzero): Likewise.
20487 (cos_test_downward): Likewise.
20488 (cos_test_upward): Likewise.
20489 (cosh_test): Likewise.
20490 (cosh_test_tonearest): Likewise.
20491 (cosh_test_towardzero): Likewise.
20492 (cosh_test_downward): Likewise.
20493 (cosh_test_upward): Likewise.
20494 (cpow_test): Use END_COMPLEX macro without arguments.
20495 (cproj_test): Likewise.
20496 (creal_test): Use END macro without arguments.
20497 (csin_test): Use END_COMPLEX macro without arguments.
20498 (csinh_test): Likewise.
20499 (csqrt_test): Likewise.
20500 (ctan_test): Likewise.
20501 (ctan_test_tonearest): Likewise.
20502 (ctan_test_towardzero): Likewise.
20503 (ctan_test_downward): Likewise.
20504 (ctan_test_upward): Likewise.
20505 (ctanh_test): Likewise.
20506 (ctanh_test_tonearest): Likewise.
20507 (ctanh_test_towardzero): Likewise.
20508 (ctanh_test_downward): Likewise.
20509 (ctanh_test_upward): Likewise.
20510 (erf_test): Use END macro without arguments.
20511 (erfc_test): Likewise.
20512 (exp_test): Likewise.
20513 (exp_test_tonearest): Likewise.
20514 (exp_test_towardzero): Likewise.
20515 (exp_test_downward): Likewise.
20516 (exp_test_upward): Likewise.
20517 (exp10_test): Likewise.
20518 (exp2_test): Likewise.
20519 (expm1_test): Likewise.
20520 (fabs_test): Likewise.
20521 (fdim_test): Likewise.
20522 (finite_test): Likewise.
20523 (floor_test): Likewise.
20524 (fma_test): Likewise.
20525 (fma_test_towardzero): Likewise.
20526 (fma_test_downward): Likewise.
20527 (fma_test_upward): Likewise.
20528 (fmax_test): Likewise.
20529 (fmin_test): Likewise.
20530 (fmod_test): Likewise.
20531 (fpclassify_test): Likewise.
20532 (frexp_test): Likewise.
20533 (gamma_test): Likewise.
20534 (hypot_test): Likewise.
20535 (ilogb_test): Likewise.
20536 (isfinite_test): Likewise.
20537 (isgreater_test): Likewise.
20538 (isgreaterequal_test): Likewise.
20539 (isinf_test): Likewise.
20540 (isless_test): Likewise.
20541 (islessequal_test): Likewise.
20542 (islessgreater_test): Likewise.
20543 (isnan_test): Likewise.
20544 (isnormal_test): Likewise.
20545 (issignaling_test): Likewise.
20546 (isunordered_test): Likewise.
20547 (j0_test): Likewise.
20548 (j1_test): Likewise.
20549 (jn_test): Likewise.
20550 (ldexp_test): Likewise.
20551 (lgamma_test): Likewise.
20552 (lrint_test): Likewise.
20553 (lrint_test_tonearest): Likewise.
20554 (lrint_test_towardzero): Likewise.
20555 (lrint_test_downward): Likewise.
20556 (lrint_test_upward): Likewise.
20557 (llrint_test): Likewise.
20558 (llrint_test_tonearest): Likewise.
20559 (llrint_test_towardzero): Likewise.
20560 (llrint_test_downward): Likewise.
20561 (llrint_test_upward): Likewise.
20562 (log_test): Likewise.
20563 (log10_test): Likewise.
20564 (log1p_test): Likewise.
20565 (log2_test): Likewise.
20566 (logb_test): Likewise.
20567 (logb_test_downward): Likewise.
20568 (lround_test): Likewise.
20569 (llround_test): Likewise.
20570 (modf_test): Likewise.
20571 (nearbyint_test): Likewise.
20572 (nextafter_test): Likewise.
20573 (nexttoward_test): Likewise.
20574 (pow_test): Likewise.
20575 (pow_test_tonearest): Likewise.
20576 (pow_test_towardzero): Likewise.
20577 (pow_test_downward): Likewise.
20578 (pow_test_upward): Likewise.
20579 (remainder_test): Likewise.
20580 (remainder_test_tonearest): Likewise.
20581 (remainder_test_towardzero): Likewise.
20582 (remainder_test_downward): Likewise.
20583 (remainder_test_upward): Likewise.
20584 (remquo_test): Likewise.
20585 (rint_test): Likewise.
20586 (rint_test_tonearest): Likewise.
20587 (rint_test_towardzero): Likewise.
20588 (rint_test_downward): Likewise.
20589 (rint_test_upward): Likewise.
20590 (round_test): Likewise.
20591 (scalb_test): Likewise.
20592 (scalbn_test): Likewise.
20593 (scalbln_test): Likewise.
20594 (signbit_test): Likewise.
20595 (sin_test): Likewise.
20596 (sin_test_tonearest): Likewise.
20597 (sin_test_towardzero): Likewise.
20598 (sin_test_downward): Likewise.
20599 (sin_test_upward): Likewise.
20600 (sincos_test): Likewise.
20601 (sinh_test): Likewise.
20602 (sinh_test_tonearest): Likewise.
20603 (sinh_test_towardzero): Likewise.
20604 (sinh_test_downward): Likewise.
20605 (sinh_test_upward): Likewise.
20606 (sqrt_test): Likewise.
20607 (tan_test): Likewise.
20608 (tan_test_tonearest): Likewise.
20609 (tan_test_towardzero): Likewise.
20610 (tan_test_downward): Likewise.
20611 (tan_test_upward): Likewise.
20612 (tanh_test): Likewise.
20613 (tgamma_test): Likewise.
20614 (trunc_test): Likewise.
20615 (y0_test): Likewise.
20616 (y1_test): Likewise.
20617 (yn_test): Likewise.
20618 (significand_test): Likewise.
20620 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20623 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20625 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20628 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20629 __ppc_mdoio and __ppc_mdoom.
20630 * manual/platform.texi: Document new functions __ppc_yield,
20631 __ppc_mdoio and __ppc_mdoom.
20633 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20635 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20636 (main): Mention "tls" pseudo-hwcap is legacy.
20637 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20639 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20641 * math/gen-libm-test.pl (parse_args): Output only string of
20642 arguments as text for test name, not full call or descriptions of
20643 tests for extra outputs.
20644 (generate_testfile): Do not pass function name to parse_args.
20645 Generate this_func variable from START.
20646 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20648 (struct test_ff_f_data): Likewise.
20649 (test_ff_f_data_nexttoward): Likewise.
20650 (struct test_fi_f_data): Likewise.
20651 (struct test_fl_f_data): Likewise.
20652 (struct test_if_f_data): Likewise.
20653 (struct test_fff_f_data): Likewise.
20654 (struct test_c_f_data): Likewise.
20655 (struct test_f_f1_data): Likewise. Remove field extra_name.
20656 (struct test_fF_f1_data): Likewise.
20657 (struct test_ffI_f1_data): Likewise.
20658 (struct test_c_c_data): Rename test_name field to arg_str.
20659 (struct test_cc_c_data): Likewise.
20660 (struct test_f_i_data): Likewise.
20661 (struct test_ff_i_data): Likewise.
20662 (struct test_f_l_data): Likewise.
20663 (struct test_f_L_data): Likewise.
20664 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20666 (COMMON_TEST_SETUP): New macro.
20667 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20668 (COMMON_TEST_CLEANUP): Likewise.
20669 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20670 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20672 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20673 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20675 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20676 (RUN_TEST_fff_f): Take argument string. Call new setup and
20678 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20679 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20681 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20682 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20684 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20685 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20687 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20688 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20690 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20691 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20693 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20694 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20696 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20697 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20699 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20700 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20702 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20703 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20705 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20706 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20708 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20709 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20711 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20712 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20714 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20715 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20717 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20718 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20720 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20721 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20723 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20725 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20727 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20728 to _sifields.sigfault.
20729 (si_addr_lsb): Define new macro.
20730 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20732 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20734 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20737 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20739 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20741 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20742 loading the domain.
20744 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20746 * math/gen-libm-test.pl (parse_args): Do not include expected
20747 result in test name.
20748 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20750 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20751 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20755 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20757 * benchtests/Makefile: Sort function entries.
20759 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20760 tanh, asinh, acosh, atanh.
20761 * benchtests/acos-inputs: New file.
20762 * benchtests/acosh-inputs: New file.
20763 * benchtests/asin-inputs: New file.
20764 * benchtests/asinh-inputs: New file.
20765 * benchtests/atanh-inputs: New file.
20766 * benchtests/cosh-inputs: New file.
20767 * benchtests/log-inputs: New file.
20768 * benchtests/sinh-inputs: New file.
20769 * benchtests/tanh-inputs: New file.
20771 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20774 * posix/tst-getaddrinfo4.c: New test.
20775 * posix/Makefile (tests): Add it.
20777 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20780 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20781 when no services were used.
20782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20783 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20785 2013-05-21 Andreas Schwab <schwab@suse.de>
20788 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20789 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20791 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20792 redundant variable declarations and reallocation of buffer when
20793 parsing as IPv6 address. Always set NSS status when called from
20794 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20795 buffer too small. Correct computation of needed size.
20796 * nss/Makefile (tests): Add test-digits-dots.
20797 * nss/test-digits-dots.c: New test.
20799 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20801 * benchtests/Makefile: Remove instructions for adding
20803 * benchtests/README: New file to explain how to execute and
20804 enhance the benchmark tests.
20806 2013-05-21 Andreas Schwab <schwab@suse.de>
20809 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20810 * setjmp/tst-sigsetjmp.c: New test.
20812 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20814 * sysdeps/x86_64/memset.S (memset): New implementation.
20815 (__bzero): Likewise.
20816 (__memset_tail): New function.
20818 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20820 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20821 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20822 __memcpy_sse2_unaligned ifunc selection.
20823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20824 Add memcpy-sse2-unaligned.S.
20825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20826 Add: __memcpy_sse2_unaligned.
20828 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20831 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20832 math_force_eval before restoring floating-point envrionment.
20833 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20834 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20836 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20838 (__nearbyintl): Use math_force_eval before restoring
20839 floating-point environment.
20840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20842 * math/gen-libm-test.pl (special_functions): Remove.
20843 (parse_args): Don't handle TEST_extra. Handle functions with no
20845 * math/libm-test.inc (struct test_sincos_data): Replace with
20846 struct test_fFF_11_data.
20847 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20848 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20849 (sincos_test_data): Change element type to struct
20850 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20851 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20852 RUN_TEST_LOOP_sincos.
20853 * math/README.libm-test: Don't mention special handling of
20854 individual functions.
20855 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20857 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20858 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20859 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20862 * math/gen-libm-test.pl (get_variable): Remove function.
20863 (parse_args): Don't show pointer parameters to call in test
20864 names. Use "extra output N" in test names for extra outputs
20865 rather than naming variables.
20867 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20870 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20871 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20872 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20874 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20876 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20879 * math/gen-libm-test.pl (@tests): Remove variable.
20880 ($count): Likewise.
20881 (new_test): Remove function.
20882 (show_exceptions): New function.
20883 (special_functions): Use show_exceptions instead of new_test.
20884 (parse_args): Likewise.
20885 (generate_testfile): Pass only function name in generated call to
20886 print_max_error or print_complex_max_error.
20887 (get_ulps): Do not handle complex tests specially.
20888 (output_test): Rename to ...
20889 (get_all_ulps_for_test): ... this. Return a string rather than
20890 printing to a file. Require ulps to be present.
20891 (output_ulps): Generate arrays rather than #defines.
20892 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20893 (struct ulp_data): New type.
20894 (BUILD_COMPLEX_ULP): Remove macro.
20895 (compare_ulp_data): New function.
20896 (find_ulps): Likewise.
20897 (find_test_ulps): Likewise.
20898 (find_function_ulps): Likewise.
20899 (find_complex_function_ulps): Likewise.
20900 (print_max_error): Determine allowed ulps using
20901 find_function_ulps.
20902 (print_complex_max_error): Determine allowed ulps using
20903 find_complex_function_ulps.
20904 (check_float_internal): Determine max ulps using find_test_ulps.
20905 (check_float): Do not take max_ulp parameter. Update call to
20906 check_float_internal.
20907 (check_complex): Likewise.
20908 (check_int): Do not take max_ulp parameter.
20909 (check_long): Likewise.
20910 (check_bool): Likewise.
20911 (check_longlong): Likewise.
20912 (struct test_f_f_data): Remove max_ulp field.
20913 (struct test_ff_f_data): Likewise.
20914 (struct test_ff_f_data_nexttoward): Likewise.
20915 (struct test_fi_f_data): Likewise.
20916 (struct test_fl_f_data): Likewise.
20917 (struct test_if_f_data): Likewise.
20918 (struct test_fff_f_data): Likewise.
20919 (struct test_c_f_data): Likewise.
20920 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20921 (struct test_fF_f1_data): Likewise.
20922 (struct test_ffI_f1_data): Likewise.
20923 (struct test_c_c_data): Remove max_ulp field.
20924 (struct test_cc_c_data): Likewise.
20925 (struct test_f_i_data): Likewise.
20926 (struct test_ff_i_data): Likewise.
20927 (struct test_f_l_data): Likewise.
20928 (struct test_f_L_data): Likewise.
20929 (struct test_sincos_data): Likewise.
20930 (RUN_TEST_f_f): Do not handle ulps.
20931 (RUN_TEST_LOOP_f_f): Likewise.
20932 (RUN_TEST_2_f): Likewise.
20933 (RUN_TEST_LOOP_2_f): Likewise.
20934 (RUN_TEST_fff_f): Likewise.
20935 (RUN_TEST_LOOP_fff_f): Likewise.
20936 (RUN_TEST_c_f): Likewise.
20937 (RUN_TEST_LOOP_c_f): Likewise.
20938 (RUN_TEST_f_f1): Likewise.
20939 (RUN_TEST_LOOP_f_f1): Likewise.
20940 (RUN_TEST_fF_f1): Likewise.
20941 (RUN_TEST_LOOP_fF_f1): Likewise.
20942 (RUN_TEST_fI_f1): Likewise.
20943 (RUN_TEST_LOOP_fI_f1): Likewise.
20944 (RUN_TEST_ffI_f1): Likewise.
20945 (RUN_TEST_LOOP_ffI_f1): Likewise.
20946 (RUN_TEST_c_c): Likewise.
20947 (RUN_TEST_LOOP_c_c): Likewise.
20948 (RUN_TEST_cc_c): Likewise.
20949 (RUN_TEST_LOOP_cc_c): Likewise.
20950 (RUN_TEST_f_i): Likewise.
20951 (RUN_TEST_LOOP_f_i): Likewise.
20952 (RUN_TEST_f_i_tg): Likewise.
20953 (RUN_TEST_LOOP_f_i_tg): Likewise.
20954 (RUN_TEST_ff_i_tg): Likewise.
20955 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20956 (RUN_TEST_f_b): Likewise.
20957 (RUN_TEST_LOOP_f_b): Likewise.
20958 (RUN_TEST_f_b_tg): Likewise.
20959 (RUN_TEST_LOOP_f_b_tg): Likewise.
20960 (RUN_TEST_f_l): Likewise.
20961 (RUN_TEST_LOOP_f_l): Likewise.
20962 (RUN_TEST_f_L): Likewise.
20963 (RUN_TEST_LOOP_f_L): Likewise.
20964 (RUN_TEST_sincos): Likewise.
20965 (RUN_TEST_LOOP_sincos): Likewise.
20967 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20971 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20972 main case of finite arguments, set rounding mode to FE_TONEAREST
20973 and discard exceptions.
20974 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20976 (remainder_tonearest_test_data): New variable.
20977 (remainder_test_tonearest): New function.
20978 (remainder_towardzero_test_data): New variable.
20979 (remainder_test_towardzero): New function.
20980 (remainder_downward_test_data): New variable.
20981 (remainder_test_downward): New function.
20982 (remainder_upward_test_data): New variable.
20983 (remainder_test_upward): New function.
20984 (main): Call the new test functions.
20986 * math/libm-test.inc (struct test_f_f1_data): Remove field
20988 (struct test_fF_f1_data): Likewise.
20989 (struct test_ffI_f1_data): Likewise.
20990 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20991 based on value of EXTRA_EXPECTED.
20992 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20993 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20994 EXTRA_VAR based on value of EXTRA_EXPECTED.
20995 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20996 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20997 EXTRA_VAR based on value of EXTRA_EXPECTED.
20998 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20999 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21000 EXTRA_VAR based on value of EXTRA_EXPECTED.
21001 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21002 * math/gen-libm-test.pl (parse_args): Don't output initializers
21003 for extra output values.
21005 * math/libm-test.inc (check_int): Expect result to be exactly
21006 equal to expected value and do not handle ulps.
21007 (check_long): Likewise.
21008 (check_longlong): Likewise.
21010 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21012 (cimag_test_data): Likewise.
21013 (conj_test_data): Likewise.
21014 (copysign_test_data): Likewise.
21015 (cproj_test_data): Likewise.
21016 (creal_test_data): Likewise.
21017 (fabs_test_data): Likewise.
21018 (fdim_test_data): Likewise.
21019 (finite_test_data): Likewise.
21020 (floor_test_data): Likewise.
21021 (fmax_test_data): Likewise.
21022 (fmin_test_data): Likewise.
21023 (fmod_test_data): Likewise.
21024 (fpclassify_test_data): Likewise.
21025 (frexp_test_data): Likewise.
21026 (ilogb_test_data): Likewise.
21027 (isfinite_test_data): Likewise.
21028 (isgreater_test_data): Likewise.
21029 (isgreaterequal_test_data): Likewise.
21030 (isinf_test_data): Likewise.
21031 (isless_test_data): Likewise.
21032 (islessequal_test_data): Likewise.
21033 (islessgreater_test_data): Likewise.
21034 (isnan_test_data): Likewise.
21035 (isnormal_test_data): Likewise.
21036 (issignaling_test_data): Likewise.
21037 (isunordered_test_data): Likewise.
21038 (ldexp_test_data): Likewise.
21039 (lrint_test_data): Likewise.
21040 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21041 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21042 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21043 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21044 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21045 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21047 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21048 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21049 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21050 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21052 (lrint_downward_test_data): Test for "inexact" exceptions.
21053 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21054 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21055 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21057 (lrint_upward_test_data): Test for "inexact" exceptions.
21058 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21060 (llrint_test_data): Test for "inexact" exceptions.
21061 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21062 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21063 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21064 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21065 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21066 (llrint_downward_test_data): Test for "inexact" exceptions.
21067 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21068 (llrint_upward_test_data): Test for "inexact" exceptions.
21069 (logb_test_data): Likewise.
21070 (logb_downward_test_data): Likewise.
21071 (nextafter_test_data): Likewise.
21072 (nexttoward_test_data): Likewise.
21073 (remainder_test_data): Likewise.
21074 (remquo_test_data): Likewise.
21075 (scalbn_test_data): Likewise.
21076 (scalbln_test_data): Likewise.
21077 (signbit_test_data): Likewise.
21078 (sqrt_test_data): Likewise.
21079 (significand_test_data): Likewise.
21081 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21084 * benchtests/bench-modf.c (struct args): Mark arg0 as
21086 * scripts/bench.pl: Mark members of struct args as volatile.
21088 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21091 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21092 negative infinity on POWER6 or lower.
21093 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21095 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21098 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21099 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21100 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21101 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21102 (_FP_SETQNAN): New macro.
21103 (_FP_SETQNAN_SEMIRAW): Likewise.
21104 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21105 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21106 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21107 (FP_EXTEND): Use _FP_FRAC_SNANP.
21108 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21109 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21111 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21113 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21116 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21118 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21119 with DIVIDE_BY_ZERO_EXCEPTION.
21120 (gamma_test_data): Likewise.
21121 (lgamma_test_data): Likewise.
21122 (log_test_data): Likewise.
21123 (log10_test_data): Likewise.
21124 (log2_test_data): Likewise.
21125 (tgamma_test_data): Likewise.
21127 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21128 (acos_test_tonearest): Likewise.
21129 (acos_test_towardzero): Likewise.
21130 (acos_test_downward): Likewise.
21131 (acos_test_upward): Likewise.
21132 (acosh_test): Likewise.
21133 (asin_test): Likewise.
21134 (asin_test_tonearest): Likewise.
21135 (asin_test_towardzero): Likewise.
21136 (asin_test_downward): Likewise.
21137 (asin_test_upward): Likewise.
21138 (asinh_test): Likewise.
21139 (atan_test): Likewise.
21140 (atanh_test): Likewise.
21141 (atan2_test): Likewise.
21142 (cabs_test): Likewise.
21143 (cacos_test): Likewise.
21144 (cacosh_test): Likewise.
21145 (casin_test): Likewise.
21146 (casinh_test): Likewise.
21147 (catan_test): Likewise.
21148 (catanh_test): Likewise.
21149 (cbrt_test): Likewise.
21150 (ccos_test): Likewise.
21151 (ccosh_test): Likewise.
21152 (cexp_test): Likewise.
21153 (clog_test): Likewise.
21154 (clog10_test): Likewise.
21155 (cos_test): Likewise.
21156 (cos_test_tonearest): Likewise.
21157 (cos_test_towardzero): Likewise.
21158 (cos_test_downward): Likewise.
21159 (cos_test_upward): Likewise.
21160 (cosh_test): Likewise.
21161 (cosh_test_tonearest): Likewise.
21162 (cosh_test_towardzero): Likewise.
21163 (cosh_test_downward): Likewise.
21164 (cosh_test_upward): Likewise.
21165 (cpow_test): Likewise.
21166 (csin_test): Likewise.
21167 (csinh_test): Likewise.
21168 (csqrt_test): Likewise.
21169 (ctan_test): Likewise.
21170 (ctan_test_tonearest): Likewise.
21171 (ctan_test_towardzero): Likewise.
21172 (ctan_test_downward): Likewise.
21173 (ctan_test_upward): Likewise.
21174 (ctanh_test): Likewise.
21175 (ctanh_test_tonearest): Likewise.
21176 (ctanh_test_towardzero): Likewise.
21177 (ctanh_test_downward): Likewise.
21178 (ctanh_test_upward): Likewise.
21179 (erf_test): Likewise.
21180 (erfc_test): Likewise.
21181 (exp_test): Likewise.
21182 (exp_test_tonearest): Likewise.
21183 (exp_test_towardzero): Likewise.
21184 (exp_test_downward): Likewise.
21185 (exp_test_upward): Likewise.
21186 (exp10_test): Likewise.
21187 (exp2_test): Likewise.
21188 (expm1_test): Likewise.
21189 (fmod_test): Likewise.
21190 (gamma_test): Likewise.
21191 (hypot_test): Likewise.
21192 (j0_test): Likewise.
21193 (j1_test): Likewise.
21194 (jn_test): Likewise.
21195 (lgamma_test): Likewise.
21196 (log_test): Likewise.
21197 (log10_test): Likewise.
21198 (log1p_test): Likewise.
21199 (log2_test): Likewise.
21200 (logb_test_downward): Likewise.
21201 (pow_test): Likewise.
21202 (pow_test_tonearest): Likewise.
21203 (pow_test_towardzero): Likewise.
21204 (pow_test_downward): Likewise.
21205 (pow_test_upward): Likewise.
21206 (remainder_test): Likewise.
21207 (remquo_test): Likewise.
21208 (sin_test): Likewise.
21209 (sin_test_tonearest): Likewise.
21210 (sin_test_towardzero): Likewise.
21211 (sin_test_downward): Likewise.
21212 (sin_test_upward): Likewise.
21213 (sincos_test): Likewise.
21214 (sinh_test): Likewise.
21215 (sinh_test_tonearest): Likewise.
21216 (sinh_test_towardzero): Likewise.
21217 (sinh_test_downward): Likewise.
21218 (sinh_test_upward): Likewise.
21219 (sqrt_test): Likewise.
21220 (tan_test): Likewise.
21221 (tan_test_tonearest): Likewise.
21222 (tan_test_towardzero): Likewise.
21223 (tan_test_downward): Likewise.
21224 (tan_test_upward): Likewise.
21225 (tanh_test): Likewise.
21226 (tgamma_test): Likewise.
21227 (y0_test): Likewise.
21228 (y1_test): Likewise.
21229 (yn_test): Likewise.
21231 * math/gen-libm-test.pl (adjust_arg): Remove function.
21232 (special_function): Remove argument $in_func. Only handle
21233 generating output for tables of tests, not inside functions.
21234 (parse_args): Likewise.
21235 (generate_testfile): Remove variable $in_func. Update call to
21237 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21238 (MINUS_ZERO_INIT): Rename macro to minus_zero.
21239 (PLUS_INFTY_INIT): Rename macro to plus_infty.
21240 (MINUS_INFTY_INIT): Rename macro to minus_infty.
21241 (QNAN_VALUE_INIT): Rename macro to qnan_value.
21242 (MAX_VALUE_INIT): Rename macro to max_value.
21243 (MIN_VALUE_INIT): Rename macro to min_value.
21244 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21245 (plus_zero): Remove variable.
21246 (minus_zero): Likewise.
21247 (plus_infty): Likewise.
21248 (minus_infty): Likewise.
21249 (qnan_value): Likewise.
21250 (max_value): Likewise.
21251 (min_value): Likewise.
21252 (min_subnorm_value): Likewise.
21254 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21256 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21257 uint64_t or uint32_t usage.
21258 * crypt/sha256-block.c: Likewise.
21259 * crypt/sha256-crypt.c: Likewise.
21260 * crypt/sha256.c: Likewise.
21261 * crypt/sha512-block.c: Likewise.
21262 * crypt/sha512-crypt.c: Likewise.
21263 * crypt/sha512.c: Likewise.
21264 * debug/backtrace-tst.c: Likewise.
21265 * debug/pcprofiledump.c: Likewise.
21266 * elf/cache.c: Likewise.
21267 * elf/dl-cache.c: Likewise.
21268 * elf/dl-misc.c: Likewise.
21269 * elf/dl-profile.c: Likewise.
21270 * elf/dl-support.c: Likewise.
21271 * elf/ldconfig.c: Likewise.
21272 * elf/sprof.c: Likewise.
21273 * iconv/dummy-repertoire.c: Likewise.
21274 * iconv/iconv_charmap.c: Likewise.
21275 * iconv/skeleton.c: Likewise.
21276 * iconvdata/8bit-generic.c: Likewise.
21277 * iconvdata/cp737.h: Likewise.
21278 * iconvdata/cp775.h: Likewise.
21279 * iconvdata/ibm1008.h: Likewise.
21280 * iconvdata/ibm1025.h: Likewise.
21281 * iconvdata/ibm1046.h: Likewise.
21282 * iconvdata/ibm1097.h: Likewise.
21283 * iconvdata/ibm1112.h: Likewise.
21284 * iconvdata/ibm1122.h: Likewise.
21285 * iconvdata/ibm1123.h: Likewise.
21286 * iconvdata/ibm1124.h: Likewise.
21287 * iconvdata/ibm1129.h: Likewise.
21288 * iconvdata/ibm1130.h: Likewise.
21289 * iconvdata/ibm1132.h: Likewise.
21290 * iconvdata/ibm1133.h: Likewise.
21291 * iconvdata/ibm1137.h: Likewise.
21292 * iconvdata/ibm1140.h: Likewise.
21293 * iconvdata/ibm1141.h: Likewise.
21294 * iconvdata/ibm1142.h: Likewise.
21295 * iconvdata/ibm1143.h: Likewise.
21296 * iconvdata/ibm1144.h: Likewise.
21297 * iconvdata/ibm1145.h: Likewise.
21298 * iconvdata/ibm1146.h: Likewise.
21299 * iconvdata/ibm1147.h: Likewise.
21300 * iconvdata/ibm1148.h: Likewise.
21301 * iconvdata/ibm1149.h: Likewise.
21302 * iconvdata/ibm1153.h: Likewise.
21303 * iconvdata/ibm1154.h: Likewise.
21304 * iconvdata/ibm1155.h: Likewise.
21305 * iconvdata/ibm1156.h: Likewise.
21306 * iconvdata/ibm1157.h: Likewise.
21307 * iconvdata/ibm1158.h: Likewise.
21308 * iconvdata/ibm1160.h: Likewise.
21309 * iconvdata/ibm1161.h: Likewise.
21310 * iconvdata/ibm1162.h: Likewise.
21311 * iconvdata/ibm1163.h: Likewise.
21312 * iconvdata/ibm1164.h: Likewise.
21313 * iconvdata/ibm1166.h: Likewise.
21314 * iconvdata/ibm1167.h: Likewise.
21315 * iconvdata/ibm12712.h: Likewise.
21316 * iconvdata/ibm1390.h: Likewise.
21317 * iconvdata/ibm1399.h: Likewise.
21318 * iconvdata/ibm16804.h: Likewise.
21319 * iconvdata/ibm4517.h: Likewise.
21320 * iconvdata/ibm4899.h: Likewise.
21321 * iconvdata/ibm4909.h: Likewise.
21322 * iconvdata/ibm4971.h: Likewise.
21323 * iconvdata/ibm5347.h: Likewise.
21324 * iconvdata/ibm803.h: Likewise.
21325 * iconvdata/ibm856.h: Likewise.
21326 * iconvdata/ibm901.h: Likewise.
21327 * iconvdata/ibm902.h: Likewise.
21328 * iconvdata/ibm9030.h: Likewise.
21329 * iconvdata/ibm9066.h: Likewise.
21330 * iconvdata/ibm921.h: Likewise.
21331 * iconvdata/ibm922.h: Likewise.
21332 * iconvdata/ibm9448.h: Likewise.
21333 * iconvdata/isiri-3342.h: Likewise.
21334 * iconvdata/jis0201.h: Likewise.
21335 * include/link.h: Likewise.
21336 * include/netdb.h: Likewise.
21337 * inet/check_native.c: Likewise.
21338 * inet/check_pf.c: Likewise.
21339 * inet/getipv4sourcefilter.c: Likewise.
21340 * inet/getnameinfo.c: Likewise.
21341 * inet/getsourcefilter.c: Likewise.
21342 * inet/htonl.c: Likewise.
21343 * inet/setipv4sourcefilter.c: Likewise.
21344 * inet/setsourcefilter.c: Likewise.
21345 * inet/test-inet6_opt.c: Likewise.
21346 * inet/tst-network.c: Likewise.
21347 * locale/C-collate.c: Likewise.
21348 * locale/C-ctype.c: Likewise.
21349 * locale/C-time.c: Likewise.
21350 * locale/C-translit.h: Likewise.
21351 * locale/loadarchive.c: Likewise.
21352 * locale/programs/3level.h: Likewise.
21353 * locale/programs/charmap.c: Likewise.
21354 * locale/programs/charmap.h: Likewise.
21355 * locale/programs/ld-address.c: Likewise.
21356 * locale/programs/ld-collate.c: Likewise.
21357 * locale/programs/ld-ctype.c: Likewise.
21358 * locale/programs/ld-identification.c: Likewise.
21359 * locale/programs/ld-measurement.c: Likewise.
21360 * locale/programs/ld-messages.c: Likewise.
21361 * locale/programs/ld-monetary.c: Likewise.
21362 * locale/programs/ld-name.c: Likewise.
21363 * locale/programs/ld-numeric.c: Likewise.
21364 * locale/programs/ld-paper.c: Likewise.
21365 * locale/programs/ld-telephone.c: Likewise.
21366 * locale/programs/ld-time.c: Likewise.
21367 * locale/programs/linereader.c: Likewise.
21368 * locale/programs/locale.c: Likewise.
21369 * locale/programs/locarchive.c: Likewise.
21370 * locale/programs/locfile.h: Likewise.
21371 * locale/programs/repertoire.c: Likewise.
21372 * locale/programs/simple-hash.c: Likewise.
21373 * locale/programs/simple-hash.h: Likewise.
21374 * malloc/memusage.c: Likewise.
21375 * malloc/memusagestat.c: Likewise.
21376 * nis/nis_defaults.c: Likewise.
21377 * nis/nis_hash.c: Likewise.
21378 * nis/nis_print.c: Likewise.
21379 * nis/nis_xdr.c: Likewise.
21380 * nscd/connections.c: Likewise.
21381 * nscd/hstcache.c: Likewise.
21382 * nscd/nscd_gethst_r.c: Likewise.
21383 * nscd/nscd_getserv_r.c: Likewise.
21384 * nscd/nscd_helper.c: Likewise.
21385 * nscd/servicescache.c: Likewise.
21386 * nss/makedb.c: Likewise.
21387 * nss/nss_db/db-XXX.c: Likewise.
21388 * nss/nss_db/db-initgroups.c: Likewise.
21389 * nss/nss_db/db-netgrp.c: Likewise.
21390 * nss/nss_files/files-network.c: Likewise.
21391 * nss/nss_files/files-parse.c: Likewise.
21392 * posix/bug-regex5.c: Likewise.
21393 * posix/fnmatch_loop.c: Likewise.
21394 * posix/regcomp.c: Likewise.
21395 * posix/regexec.c: Likewise.
21396 * posix/tst-rfc3484-2.c: Likewise.
21397 * posix/tst-rfc3484-3.c: Likewise.
21398 * posix/tst-rfc3484.c: Likewise.
21399 * resolv/nss_dns/dns-canon.c: Likewise.
21400 * resolv/nss_dns/dns-network.c: Likewise.
21401 * resolv/res_init.c: Likewise.
21402 * resolv/res_mkquery.c: Likewise.
21403 * resolv/tst-aton.c: Likewise.
21404 * stdlib/cxa_atexit.c: Likewise.
21405 * stdlib/cxa_finalize.c: Likewise.
21406 * stdlib/gen-fpioconst.c: Likewise.
21407 * stdlib/strtol_l.c: Likewise.
21408 * string/tst-endian.c: Likewise.
21409 * sunrpc/auth_des.c: Likewise.
21410 * sunrpc/clnt_udp.c: Likewise.
21411 * sunrpc/rtime.c: Likewise.
21412 * sunrpc/svcauth_des.c: Likewise.
21413 * sunrpc/xdr.c: Likewise.
21414 * sunrpc/xdr_intXX_t.c: Likewise.
21415 * sunrpc/xdr_rec.c: Likewise.
21416 * sysdeps/generic/ldconfig.h: Likewise.
21417 * sysdeps/generic/ldsodefs.h: Likewise.
21418 * sysdeps/generic/memusage.h: Likewise.
21419 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21421 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21425 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21428 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21429 * sysdeps/posix/getaddrinfo.c: Likewise.
21430 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21431 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21432 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21433 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21434 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21435 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21436 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21437 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21438 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21439 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21440 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21441 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21442 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21443 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21444 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21445 * sysdeps/x86_64/dl-tls.h: Likewise.
21446 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21447 * time/alt_digit.c: Likewise.
21448 * time/era.c: Likewise.
21449 * wcsmbs/tst-c16c32-1.c: Likewise.
21451 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21453 * math/libm-test.inc (struct test_sincos_data): New type.
21454 (RUN_TEST_LOOP_sincos): New macro.
21455 (sincos_test_data): New variable.
21456 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21458 2013-05-16 Richard Henderson <rth@redhat.com>
21460 * math/atest-exp2.c (LIMB64): New macro.
21461 (CONSTSZ): New macro.
21462 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21464 (print_mpn_fp): ... to function scope.
21465 (read_mpn_hex): Remove.
21466 (get_log2): Remove.
21467 (exp2_mpn): Use mp_log2.
21468 (main): Use mp_exp1.
21470 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21472 * math/libm-test.inc: Remove comment about not testing "inexact"
21474 (INEXACT_EXCEPTION): New macro.
21475 (NO_INEXACT_EXCEPTION): Likewise.
21476 (INVALID_EXCEPTION_OK): Update value.
21477 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21478 (OVERFLOW_EXCEPTION_OK): Likewise.
21479 (UNDERFLOW_EXCEPTION_OK): Likewise.
21480 (IGNORE_ZERO_INF_SIGN): Likewise.
21481 (ERRNO_UNCHANGED): Likewise.
21482 (ERRNO_EDOM): Likewise.
21483 (ERRNO_ERANGE): Likewise.
21484 (test_exceptions): Handle testing "inexact" exceptions.
21485 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21486 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21487 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21488 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21490 (rint_towardzero_test_data): Likewise.
21491 (rint_downward_test_data): Likewise.
21492 (rint_upward_test_data): Likewise.
21494 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21495 with OVERFLOW_EXCEPTION.
21496 (exp10_test_data): Likewise.
21497 (exp2_test_data): Likewise.
21498 (expm1_test_data): Likewise.
21499 (lgamma_test_data): Likewise.
21500 (pow_test_data): Likewise.
21501 (tgamma_test_data): Likewise.
21502 (yn_test_data): Remove duplicate test of overflow.
21504 * math/libm-test.inc (struct test_cc_c_data): New type.
21505 (RUN_TEST_LOOP_cc_c): New macro.
21506 (cpow_test_data): New variable.
21507 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21509 * math/libm-test.inc (struct test_f_L_data): New type.
21510 (RUN_TEST_LOOP_f_L): New macro.
21511 (llrint_test_data): New variable.
21512 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21513 (llrint_tonearest_test_data): New variable.
21514 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21515 (llrint_towardzero_test_data): New variable.
21516 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21517 (llrint_downward_test_data): New variable.
21518 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21519 (llrint_upward_test_data): New variable.
21520 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21521 (llround_test_data): New variable.
21522 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21524 2013-05-13 Peter Collingbourne <pcc@google.com>
21526 * math/atest-exp2.c (get_log2): Remove const attribute.
21528 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21530 * math/libm-test.inc (struct test_f_l_data): New type.
21531 (RUN_TEST_LOOP_f_l): New macro.
21532 (lrint_test_data): New variable.
21533 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21534 (lrint_tonearest_test_data): New variable.
21535 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21536 (lrint_towardzero_test_data): New variable.
21537 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21538 (lrint_downward_test_data): New variable.
21539 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21540 (lrint_upward_test_data): New variable.
21541 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21542 (lround_test_data): New variable.
21543 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21545 2013-05-15 Peter Collingbourne <pcc@google.com>
21547 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21548 (EXTRACT_WORDS64) Use where appropriate.
21549 (INSERT_WORDS64) Likewise.
21551 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21552 constraints with x constraints.
21553 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21555 * malloc/obstack.c (_obstack_compat): Add initializer.
21557 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21559 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21560 si_trapno and add si_addr_lsb to _sifields.sigfault.
21561 (si_trapno): Remove macro.
21562 (si_addr_lsb): Define new macro.
21563 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21565 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21567 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21568 instead of TEST_f_l.
21569 (llrint_test_tonearest): Likewise.
21570 (llrint_test_towardzero): Likewise.
21571 (llrint_test_downward): Likewise.
21572 (llrint_test_upward): Likewise.
21573 (llround_test): Likewise.
21575 * math/libm-test.inc (struct test_f_i_data): Add comment.
21576 (RUN_TEST_LOOP_f_b): New macro.
21577 (RUN_TEST_LOOP_f_b_tg): Likewise.
21578 (finite_test_data): New variable.
21579 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21580 (isfinite_test_data): New variable.
21581 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21582 (isinf_test_data): New variable.
21583 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21584 (isnan_test_data): New variable.
21585 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21586 (isnormal_test_data): New variable.
21587 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21588 (issignaling_test_data): New variable.
21589 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21590 (signbit_test_data): New variable.
21591 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21593 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21594 with INVALID_EXCEPTION.
21595 (acosh_test_data): Likewise.
21596 (asin_test_data): Likewise.
21597 (atanh_test_data): Likewise.
21598 (fmod_test_data): Likewise.
21599 (log_test_data): Likewise.
21600 (log10_test_data): Likewise.
21601 (log2_test_data): Likewise.
21602 (pow_test_data): Likewise.
21603 (sqrt_test_data): Likewise.
21604 (y0_test_data): Likewise.
21605 (y1_test_data): Likewise.
21606 (yn_test_data): Likewise.
21608 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21611 * math/libm-test.inc (struct test_ff_i_data): New type.
21612 (RUN_TEST_LOOP_ff_i_tg): New macro.
21613 (isgreater_test_data): New variable.
21614 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21615 (isgreaterequal_test_data): New variable.
21616 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21617 (isless_test_data): New variable.
21618 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21619 (islessequal_test_data): New variable.
21620 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21621 (islessgreater_test_data): New variable.
21622 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21623 (isunordered_test_data): New variable.
21624 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21626 2013-05-14 David S. Miller <davem@davemloft.net>
21628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21630 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21632 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21634 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21636 (struct test_f_i_data): Change type of max_ulp to int.
21638 * math/libm-test.inc (test_ffI_f1_data): New type.
21639 (RUN_TEST_LOOP_ffI_f1): New macro.
21640 (remquo_test_data): New variable.
21641 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21643 * setjmp/tst-setjmp-fp.c: New file.
21644 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21645 (link-libm): New variable.
21646 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21648 * math/libm-test.inc (struct test_f_i_data): New type.
21649 (RUN_TEST_LOOP_f_i): New macro.
21650 (RUN_TEST_LOOP_f_i_tg): Likewise.
21651 (fpclassify_test_data): New variable.
21652 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21653 (ilogb_test_data): New variable.
21654 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21656 * math/libm-test.inc (scalbln_test): Correct function name in END
21659 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21660 (RUN_TEST_LOOP_fI_f1): New macro.
21661 (frexp_test_data): New variable.
21662 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21664 * math/libm-test.inc (struct test_fF_f1_data): New type.
21665 (RUN_TEST_LOOP_fF_f1): New macro.
21666 (modf_test_data): New variable.
21667 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21669 * math/libm-test.inc (struct test_f_f1_data): New type.
21670 (RUN_TEST_LOOP_f_f1): New macro.
21671 (gamma_test_data): New variable.
21672 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21673 (lgamma_test_data): New variable.
21674 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21676 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21678 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21679 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21680 (main): Comment "tls" pseudo-hwcap.
21682 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21684 * math/libm-test.inc (struct test_fl_f_data): New type.
21685 (RUN_TEST_LOOP_fl_f): New variable.
21686 (scalbln_test_data): New variable.
21687 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21689 * math/libm-test.inc (struct test_fi_f_data): New type.
21690 (RUN_TEST_LOOP_fi_f): New macro.
21691 (ldexp_test_data): New variable.
21692 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21693 (scalbn_test_data): New variable.
21694 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21696 * math/libm-test.inc (struct test_c_f_data): New type.
21697 (RUN_TEST_LOOP_c_f): New macro.
21698 (cabs_test_data): New variable.
21699 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21700 (carg_test_data): New variable.
21701 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21702 (cimag_test_data): New variable.
21703 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21704 (creal_test_data): New variable.
21705 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21707 * math/libm-test.inc (struct test_if_f_data): New type.
21708 (RUN_TEST_LOOP_if_f): New macro.
21709 (jn_test_data): New variable.
21710 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21711 (yn_test_data): New variable.
21712 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21714 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21716 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21718 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21719 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21721 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21723 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21724 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21725 (bench-deps): Add bench-timing.h.
21726 * benchtests-bench-skeleton.c: Include bench-timing.h.
21727 (main): Use TIMING_* macros instead of clock_gettime.
21728 * benchtests/bench-timing.h: New file.
21731 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21732 Renamed from _LIB_VERSION.
21733 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21735 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21737 * math/libm-test.inc (struct test_fff_f_data): New type.
21738 (RUN_TEST_LOOP_fff_f): New macro.
21739 (fma_test_data): New variable.
21740 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21741 (fma_towardzero_test_data): New variable.
21742 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21743 (fma_downward_test_data): New variable.
21744 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21745 (fma_upward_test_data): New variable.
21746 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21748 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21749 (struct test_c_c_data): New type.
21750 (RUN_TEST_LOOP_c_c): New macro.
21751 (cacos_test_data): New variable.
21752 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21753 (cacosh_test_data): New variable.
21754 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21755 (casin_test_data): New variable.
21756 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21757 (casinh_test_data): New variable.
21758 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21759 (catan_test_data): New variable.
21760 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21761 (catanh_test_data): New variable.
21762 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21763 (ccos_test_data): New variable.
21764 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21765 (ccosh_test_data): New variable.
21766 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21767 (cexp_test_data): New variable.
21768 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21769 (clog_test_data): New variable.
21770 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21771 (clog10_test_data): New variable.
21772 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21773 (conj_test_data): New variable.
21774 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21775 (cproj_test_data): New variable.
21776 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21777 (csin_test_data): New variable.
21778 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21779 (csinh_test_data): New variable.
21780 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21781 (csqrt_test_data): New variable.
21782 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21783 (ctan_test_data): New variable.
21784 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21785 (ctan_tonearest_test_data): New variable.
21786 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21787 (ctan_towardzero_test_data): New variable.
21788 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21789 (ctan_downward_test_data): New variable.
21790 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21791 (ctan_upward_test_data): New variable.
21792 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21793 (ctanh_test_data): New variable.
21794 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21795 (ctanh_tonearest_test_data): New variable.
21796 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21797 (ctanh_towardzero_test_data): New variable.
21798 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21799 (ctanh_downward_test_data): New variable.
21800 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21801 (ctanh_upward_test_data): New variable.
21802 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21803 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21806 * math/libm-test.inc (struct test_ff_f_data): New type.
21807 (struct test_ff_f_data_nexttoward): Likewise.
21808 (RUN_TEST_LOOP_2_f): New macro.
21809 (RUN_TEST_LOOP_ff_f): Likewise.
21810 (atan2_test_data): New variable.
21811 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21812 (copysign_test_data): New variable.
21813 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21814 (fdim_test_data): New variable.
21815 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21816 (fmax_test_data): New variable.
21817 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21818 (fmin_test_data): New variable.
21819 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21820 (fmod_test_data): New variable.
21821 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21822 (hypot_test_data): New variable.
21823 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21824 (nextafter_test_data): New variable.
21825 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21826 (nexttoward_test_data): New variable.
21827 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21828 (pow_test_data): New variable.
21829 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21830 (pow_tonearest_test_data): New variable.
21831 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21832 (pow_towardzero_test_data): New variable.
21833 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21834 (pow_downward_test_data): New variable.
21835 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21836 (pow_upward_test_data): New variable.
21837 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21838 (remainder_test_data): New variable.
21839 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21840 (scalb_test_data): New variable.
21841 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21842 * sysdeps/i386/fpu/libm-test-ulps: Update.
21844 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21846 * math/libm-test.inc (fma_test): Use max_value instead of local
21848 (nextafter_test): Likewise.
21850 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21851 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21852 (acos_downward_test_data): New variable.
21853 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21854 (acos_upward_test_data): New variable.
21855 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21856 (acosh_test_data): New variable.
21857 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21858 (asin_test_data): New variable.
21859 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21860 (asin_tonearest_test_data): New variable.
21861 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21862 (asin_towardzero_test_data): New variable.
21863 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21864 (asin_downward_test_data): New variable.
21865 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21866 (asin_upward_test_data): New variable.
21867 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21868 (asinh_test_data): New variable.
21869 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21870 (atan_test_data): New variable.
21871 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21872 (atanh_test_data): New variable.
21873 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21874 (cbrt_test_data): New variable.
21875 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21876 (ceil_test_data): New variable.
21877 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21878 (cos_test_data): New variable.
21879 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21880 (cos_tonearest_test_data): New variable.
21881 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21882 (cos_towardzero_test_data): New variable.
21883 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21884 (cos_downward_test_data): New variable.
21885 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21886 (cos_upward_test_data): New variable.
21887 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21888 (cosh_test_data): New variable.
21889 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21890 (cosh_tonearest_test_data): New variable.
21891 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21892 (cosh_towardzero_test_data): New variable.
21893 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21894 (cosh_downward_test_data): New variable.
21895 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21896 (cosh_upward_test_data): New variable.
21897 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21898 (erf_test_data): New variable.
21899 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21900 (erfc_test_data): New variable.
21901 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21902 (exp_test_data): New variable.
21903 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21904 (exp_tonearest_test_data): New variable.
21905 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21906 (exp_towardzero_test_data): New variable.
21907 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21908 (exp_downward_test_data): New variable.
21909 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21910 (exp_upward_test_data): New variable.
21911 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21912 (exp10_test_data): New variable.
21913 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21914 (exp2_test_data): New variable.
21915 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21916 (expm1_test_data): New variable.
21917 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21918 (fabs_test_data): New variable.
21919 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21920 (floor_test_data): New variable.
21921 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21922 (j0_test_data): New variable.
21923 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21924 (j1_test_data): New variable.
21925 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21926 (log_test_data): New variable.
21927 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21928 (log10_test_data): New variable.
21929 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21930 (log1p_test_data): New variable.
21931 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21932 (log2_test_data): New variable.
21933 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21934 (logb_test_data): New variable.
21935 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21936 (logb_downward_test_data): New variable.
21937 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21938 (nearbyint_test_data): New variable.
21939 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21940 (rint_test_data): New variable.
21941 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21942 (rint_tonearest_test_data): New variable.
21943 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21944 (rint_towardzero_test_data): New variable.
21945 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21946 (rint_downward_test_data): New variable.
21947 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21948 (rint_upward_test_data): New variable.
21949 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21950 (round_test_data): New variable.
21951 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21952 (sin_test_data): New variable.
21953 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21954 (sin_tonearest_test_data): New variable.
21955 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21956 (sin_towardzero_test_data): New variable.
21957 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21958 (sin_downward_test_data): New variable.
21959 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21960 (sin_upward_test_data): New variable.
21961 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21962 (sinh_test_data): New variable.
21963 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21964 (sinh_tonearest_test_data): New variable.
21965 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21966 (sinh_towardzero_test_data): New variable.
21967 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21968 (sinh_downward_test_data): New variable.
21969 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21970 (sinh_upward_test_data): New variable.
21971 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21972 (sqrt_test_data): New variable.
21973 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21974 (tan_test_data): New variable.
21975 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21976 (tan_tonearest_test_data): New variable.
21977 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21978 (tan_towardzero_test_data): New variable.
21979 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21980 (tan_downward_test_data): New variable.
21981 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21982 (tan_upward_test_data): New variable.
21983 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21984 (tanh_test_data): New variable.
21985 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21986 (tgamma_test_data): New variable.
21987 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21988 (trunc_test_data): New variable.
21989 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21990 (y0_test_data): New variable.
21991 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21992 (y1_test_data): New variable.
21993 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21994 (significand_test_data): New variable.
21995 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21997 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22000 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22002 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22004 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22006 2013-05-10 Andreas Jaeger <aj@suse.de>
22009 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22010 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22012 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22014 * math/gen-libm-test.pl (adjust_arg): New function.
22015 (special_functions): Handle generating output in both functions
22017 (parse_args): Likewise.
22018 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22019 $in_func argument to parse_args.
22020 * math/libm-test.inc (struct test_f_f_data): New type.
22021 (IF_ROUND_INIT_): New macro.
22022 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22023 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22024 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22025 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22026 (ROUND_RESTORE_): Likewise.
22027 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22028 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22029 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22030 (ROUND_RESTORE_FE_UPWARD): Likewise.
22031 (RUN_TEST_LOOP_f_f): New macro.
22032 (acos_test_data): New variable.
22033 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22034 (acos_tonearest_test_data): New variable.
22035 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22037 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22039 * benchtests/bench-skeleton.c (startup): Fix coding style.
22041 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22044 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22045 negative infinity argument.
22046 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22047 negative infinity argument.
22048 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22049 negative infinity argument.
22050 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22053 2013-05-10 Florian Weimer <fweimer@redhat.com>
22055 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22056 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22057 * iconv/iconv_prog.c (main): Likewise.
22058 * locale/programs/charmap-dir.c (charmap_readdir)
22059 (fopen_uncompressed): Likewise.
22060 * locale/programs/locfile.c (siblings_uncached)
22061 (write_locale_data): Use lstat64 instead of lstat.
22062 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22065 2013-05-10 Andreas Jaeger <aj@suse.de>
22068 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22070 Include <locale.h>.
22072 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22074 * elf/dl-close.c (_dl_close_worker): Add comments.
22076 2013-05-09 Joseph Myers <joseph@codesourcery.com>
22079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22081 (__ieee754_rem_pio2l): Update comments.
22084 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22086 (__ieee754_rem_pio2l): Update comments.
22088 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22089 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22091 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22094 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22095 (M_PI_34_LOG10El): Likewise.
22096 (M_PI2_LOG10El): Likewise.
22097 (M_PI4_LOG10El): Likewise.
22098 (M_PI_LOG10El): Likewise.
22100 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22104 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22106 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22107 (MINUS_ZERO_INIT): Likewise.
22108 (PLUS_INFTY_INIT): Likewise.
22109 (MINUS_INFTY_INIT): Likewise.
22110 (QNAN_VALUE_INIT): Likewise.
22111 (MAX_VALUE_INIT): Likewise.
22112 (MIN_VALUE_INIT): Likewise.
22113 (MIN_SUBNORM_VALUE_INIT): Likewise.
22114 (plus_zero): Initialize with PLUS_ZERO_INIT.
22115 (minus_zero): Initialize with MINUS_ZERO_INIT.
22116 (plus_infty): Initialize with PLUS_INFTY_INIT.
22117 (minus_infty): Initialize with MINUS_INFTY_INIT.
22118 (qnan_value): Initialize with QNAN_VALUE_INIT.
22119 (max_value): Initialize with MAX_VALUE_INIT.
22120 (min_value): Initialize with MIN_VALUE_INIT.
22121 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22123 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22124 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22125 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22126 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22128 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22129 (RUN_TEST_2_f): Likewise.
22130 (RUN_TEST_ff_f): Likewise.
22131 (RUN_TEST_fi_f): Likewise.
22132 (RUN_TEST_fl_f): Likewise.
22133 (RUN_TEST_fff_f): Likewise.
22134 (RUN_TEST_c_f): Likewise.
22135 (RUN_TEST_f_f1): Likewise.
22136 (RUN_TEST_fF_f1): Likewise.
22137 (RUN_TEST_fI_f1): Likewise.
22138 (RUN_TEST_ffI_f1): Likewise.
22139 (RUN_TEST_c_c): Likewise.
22140 (RUN_TEST_cc_c): Likewise.
22141 (RUN_TEST_f_i): Likewise.
22142 (RUN_TEST_f_i_tg): Likewise.
22143 (RUN_TEST_ff_i_tg): Likewise.
22144 (RUN_TEST_f_b): Likewise.
22145 (RUN_TEST_f_b_tg): Likewise.
22146 (RUN_TEST_f_l): Likewise.
22147 (RUN_TEST_f_L): Likewise.
22148 (RUN_TEST_sincos): Likewise.
22149 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22150 whether to show exceptions. Do not include ");\n" in return
22152 (special_functions): Output call to RUN_TEST_sincos instead of
22153 check_float calls. Update calls to new_test.
22154 (parse_args): Output call to single RUN_TEST_* macro instead of
22155 check_* calls and other assignments. Update calls to new_test.
22161 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22162 input to result for tgamma overflow.
22163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22164 (gamma_coeff): New variable.
22165 (NCOEFF): New macro.
22166 (gamma_positive): New function.
22167 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22168 underflow here. Use gamma_positive instead of exp (lgamma) for
22170 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22171 (gamma_coeff): New variable.
22172 (NCOEFF): New macro.
22173 (gammaf_positive): New function.
22174 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22175 underflow here. Use gamma_positive instead of exp (lgamma) for
22177 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22178 (gamma_coeff): New variable.
22179 (NCOEFF): New macro.
22180 (gammal_positive): New function.
22181 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22182 underflow here. Use gamma_positive instead of exp (lgamma) for
22184 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22185 (gamma_coeff): New variable.
22186 (NCOEFF): New macro.
22187 (gammal_positive): New function.
22188 (__ieee754_gammal_r): Handle positive infinity, overflow and
22189 underflow here. Handle NaN the same as positive infinity. Remove
22190 check x < 0xffffffff for negative integers. Use gamma_positive
22191 instead of exp (lgamma) for other arguments.
22192 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22193 (gamma_coeff): New variable.
22194 (NCOEFF): New macro.
22195 (gammal_positive): New function.
22196 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22197 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22201 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22202 * sysdeps/generic/math_private.h (__gamma_productf): New
22204 (__gamma_product): Likewise.
22205 (__gamma_productl): Likewise.
22206 * math/Makefile (libm-calls): Add gamma_product.
22207 * math/libm-test.inc (tgamma_test): Add more tests.
22208 * sysdeps/i386/fpu/libm-test-ulps: Update.
22209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22211 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22213 * benchtests/bench-skeleton.c (main): Preheat CPU.
22215 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22217 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22219 2013-05-07 Roland McGrath <roland@hack.frob.com>
22221 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22222 and _dl_skip_args_internal.
22224 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22226 * manual/message.texi (Message Translation): Talk about users.
22227 Message to key mapping impacts design.
22229 2013-05-06 Roland McGrath <roland@hack.frob.com>
22231 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22233 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22235 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22236 * sysdeps/wordsize-64/glob64.c: ... here.
22238 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22239 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22242 * debug/getlogin_r_chk.c: Moved to ...
22243 * login/getlogin_r_chk.c: ... here.
22244 * debug/Makefile (routines): Move getlogin_r_chk to ...
22245 * login/Makefile (routines): ... here.
22246 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22247 * login/Versions (libc: GLIBC_2.4): ... here.
22249 * io/poll.c (__poll): Renamed from poll.
22250 Add libc_hidden_def.
22251 (poll): Define as weak alias.
22253 * debug/ptsname_r_chk.c: Moved to ...
22254 * login/ptsname_r_chk.c: ... here.
22255 * debug/Makefile (routines): Move ptsname_r_chk to ...
22256 * login/Makefile (routines): ... here.
22257 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22258 * login/Versions (libc: GLIBC_2.4): ... here.
22260 * posix/getlogin.c: Moved to ...
22261 * login/getlogin.c: ... here.
22262 * posix/getlogin_r.c: Moved to ...
22263 * login/getlogin_r.c: ... here.
22264 * posix/getlogin_r.c: Moved to ...
22265 * login/getlogin_r.c: ... here.
22266 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22267 * login/Makefile (routines): ... here.
22268 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22269 * login/Versions (libc: GLIBC_2.0): ... here.
22271 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22272 (setrlimit): Define as weak alias.
22274 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22275 Call __ names for open, ftruncate, and close.
22276 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22277 (truncate): Define as weak alias.
22279 2013-05-06 Joseph Myers <joseph@codesourcery.com>
22281 * math/gen-libm-test.pl (parse_args): Initialize x before each
22282 test of frexp, modf and remquo.
22284 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22285 test signgam value.
22287 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22291 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22293 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22295 2013-05-06 Roland McGrath <roland@hack.frob.com>
22297 * elf/dl-writev.h: New file.
22298 * elf/dl-misc.c: Include it.
22299 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22300 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22302 2013-05-04 Joseph Myers <joseph@codesourcery.com>
22304 * math/libm-test.inc (noXFails): Remove variable.
22305 (noXPasses): Likewise.
22306 (BUILD_COMPLEX_INT): Remove macro.
22307 (print_screen): Remove xfail argument.
22308 (print_screen_max_error): Likewise.
22309 (update_stats): Likewise.
22310 (print_max_error): Likewise. Update calls to other affected
22312 (print_complex_max_error): Likewise.
22313 (test_single_exception): Update calls to print_screen.
22314 (test_single_errno): Likewise.
22315 (check_float_internal): Remove xfail argument. Update calls to
22316 other affected functions.
22317 (check_float): Likewise.
22318 (check_complex): Likewise.
22319 (check_int): Likewise.
22320 (check_long): Likewise.
22321 (check_bool): Likewise.
22322 (check_longlong): Likewise.
22323 (main): Don't print noXFails and noXPasses.
22324 * math/gen-libm-test.pl (top level): Don't mention expected
22325 failure handling in comment.
22326 (new_test): Don't handle expected failures.
22327 (parse_args): Don't mention expected failure handling in comment.
22328 (generate_testfile): Don't handle expected failures.
22329 (parse_ulps): Likewise.
22330 (print_ulps_file): Likewise.
22331 (get_failure): Remove function.
22332 (output_test): Don't handle expected failures.
22333 * make/README.libm-test: Don't mention expected failure handling.
22335 * math/libm-test.inc (plus_zero): Make const. Add initializer.
22336 (minus_zero): Likewise.
22337 (plus_infty): Likewise.
22338 (minus_infty): Likewise.
22339 (qnan_value): Likewise.
22340 (max_value): Likewise.
22341 (min_value): Likewise.
22342 (min_subnorm_value): Likewise.
22343 (initialize): Do not initialize those variables dynamically.
22345 2013-05-03 Roland McGrath <roland@hack.frob.com>
22347 * io/open.c (__open_2): Moved to ...
22348 * io/open_2.c: ... this new file.
22349 * io/open64.c (__open64_2): Moved to ...
22350 * io/open64_2.c: ... this new file.
22351 * io/openat.c (__openat_2): Moved to ...
22352 * io/openat_2.c: ... this new file.
22353 * io/openat64.c (__openat64_2): Moved to ...
22354 * io/openat64_2.c: ... this new file.
22355 * io/Makefile (routines): Add them.
22356 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22357 * sysdeps/unix/sysv/linux/open_2.c: File removed.
22358 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22359 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22360 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22361 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22362 (__openat64): Add hidden_ver.
22363 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22364 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22366 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22367 Separately conditionalize setting of GLRO(dl_sysinfo) so
22368 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22369 as well, but the actual setting is only under [NEED_DL_SYSINFO].
22371 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22373 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22376 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22377 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22378 (_libc_vdso_platform_setup): Add __vdso_time initialization.
22379 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22380 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22382 2013-05-03 Joseph Myers <joseph@codesourcery.com>
22384 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22385 test signgam value.
22387 * math/libm-test.inc (hypot_test): Do not use
22388 IGNORE_ZERO_INF_SIGN.
22390 2013-05-03 Andreas Jaeger <aj@suse.de>
22392 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22394 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22395 (PF_MAX): Adjust for VSOCK change.
22397 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22401 2013-05-02 Carlos O'Donell <carlos@redhat.com>
22404 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22405 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22406 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22408 2013-05-02 David S. Miller <davem@davemloft.net>
22410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22412 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
22414 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22416 2013-05-01 Roland McGrath <roland@hack.frob.com>
22418 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22420 2013-05-01 Richard Smith <richard@metafoo.co.uk>
22423 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22424 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22425 Use __attribute__ ((__gnu_inline__)).
22426 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22427 Don't use __attribute__ ((__gnu_inline__)).
22429 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22432 * math/s_catan.c (__catan): Handle small real or imaginary part of
22433 input specially to avoid spurious underflow.
22434 * math/s_catanf.c (__catanf): Likewise.
22435 * math/s_catanh.c (__catanh): Likewise.
22436 * math/s_catanhf.c (__catanhf): Likewise.
22437 * math/s_catanhl.c (__catanhl): Likewise.
22438 * math/s_catanl.c (__catanl): Likewise.
22439 * math/libm-test.inc (catan_test): Add more tests.
22440 (catanh_test): Likewise.
22441 * sysdeps/i386/fpu/libm-test-ulps: Update.
22442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22444 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22448 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22451 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22452 accurately for denominator in atan2.
22453 * math/s_catanf.c (__catanf): Likewise.
22454 * math/s_catanh.c (__catanh): Likewise.
22455 * math/s_catanhf.c (__catanhf): Likewise.
22456 * math/s_catanhl.c (__catanhl): Likewise.
22457 * math/s_catanl.c (__catanl): Likewise.
22458 * math/libm-test.inc (catan_test): Add more tests.
22459 (catanh_test): Likewise.
22460 * sysdeps/i386/fpu/libm-test-ulps: Update.
22461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22463 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22465 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22467 * benchtests/Makefile (bench): Remove slow benchmarks.
22468 * benchtests/atan-inputs: Add slow benchmark inputs.
22469 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22470 (BENCH_FUNC): Accept variant offset.
22472 * benchtests/bench-skeleton.c (main): Run benchmark for each
22474 * benchtests/cos-inputs: Add slow benchmark inputs.
22475 * benchtests/exp-inputs: Likewise.
22476 * benchtests/pow-inputs: Likewise.
22477 * benchtests/sin-inputs: Likewise.
22478 * benchtests/slowatan-inputs: Remove.
22479 * benchtests/slowatan.c: Remove.
22480 * benchtests/slowcos-inputs: Remove.
22481 * benchtests/slowcos.c: Remove.
22482 * benchtests/slowexp-inputs: Remove.
22483 * benchtests/slowexp.c: Remove.
22484 * benchtests/slowpow-inputs: Remove.
22485 * benchtests/slowpow.c: Remove.
22486 * benchtests/slowsin-inputs: Remove.
22487 * benchtests/slowsin.c: Remove.
22488 * benchtests/slowtan-inputs: Remove.
22489 * benchtests/slowtan.c: Remove.
22490 * benchtests/tan-inputs: Add slow benchmark inputs.
22491 * scripts/bench.pl: Parse comments and directives.
22493 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22495 ($(objpfx)bench-%.c): Remove *-ITER.
22496 * benchtests/bench-modf.c: Remove definition of ITER.
22497 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22498 (main): Loop for DURATION seconds instead of fixed number of
22500 * scripts/bench.pl: Don't expect iterations in parameters.
22502 2013-04-29 Roland McGrath <roland@hack.frob.com>
22504 * io/fchdir.c (__fchdir): Renamed from fchdir.
22505 (fchdir): Define as weak alias.
22507 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22509 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22510 (ERRNO_EDOM): Likewise.
22511 (ERRNO_ERANGE): Likewise.
22512 (noErrnoTests): New variable.
22513 (init_max_error): Set errno to 0.
22514 (test_single_errno): New function.
22515 (test_errno): Likewise.
22516 (check_float_internal): Call test_errno. Set errno to 0.
22517 (check_complex): Refer to errno tests in comment.
22518 (check_int): Call test_errno. Set errno to 0.
22519 (check_long): Likewise.
22520 (check_bool): Likewise.
22521 (check_longlong): Likewise.
22522 (cos_test): Use ERRNO_* flags for errno tests instead of
22524 (expm1_test): Likewise.
22525 (fmod_test): Likewise.
22526 (ilogb_test): Likewise.
22527 (lgamma_test): Likewise.
22528 (pow_test): Likewise.
22529 (remainder_test): Likewise.
22530 (sin_test): Likewise.
22531 (tan_test): Likewise.
22532 (yn_test): Likewise.
22533 (initialize): Set errno to 0.
22534 (main): Print number of errno tests.
22535 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22537 2013-04-29 Andreas Jaeger <aj@suse.de>
22540 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22544 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22545 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22549 * stdlib/random.c (__initstate): Return NULL if
22553 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22554 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22557 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22561 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22563 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22564 of individual tests.
22565 (casin_test): Likewise.
22566 (casinh_test): Likewise.
22568 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22571 * math/s_catan.c (__catan): Handle arguments with large real or
22572 imaginary part separately without squaring.
22573 * math/s_catanf.c (__catanf): Likewise.
22574 * math/s_catanh.c (__catanh): Likewise.
22575 * math/s_catanhf.c (__catanhf): Likewise.
22576 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22578 (__catanhl): Handle arguments with large real or imaginary part
22579 separately without squaring.
22580 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22582 (__catanl): Handle arguments with large real or imaginary part
22583 separately without squaring.
22584 * math/libm-test.inc (catan_test): Add more tests.
22585 (catanh_test): Likewise.
22586 * sysdeps/i386/fpu/libm-test-ulps: Update.
22587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22589 2013-04-27 Andreas Jaeger <aj@suse.de>
22592 * stdlib/stdlib.h: Update guards for qecvt.
22593 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22596 2013-04-27 Allan McRae <allan@archlinux.org>
22598 * sysdeps/i386/fpu/libm-test-ulps: Update.
22600 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22603 * math/s_catan.c: Include <float.h>.
22604 (__catan): Ensure underflow exception occurs for underflowed
22606 * math/s_catanf.c: Include <float.h>.
22607 (__catanf): Ensure underflow exception occurs for underflowed
22609 * math/s_catanh.c: Include <float.h>.
22610 (__catanh): Ensure underflow exception occurs for underflowed
22612 * math/s_catanhf.c: Include <float.h>.
22613 (__catanhf): Ensure underflow exception occurs for underflowed
22615 * math/s_catanhl.c: Include <float.h>.
22616 (__catanhl): Ensure underflow exception occurs for underflowed
22618 * math/s_catanl.c: Include <float.h>.
22619 (__catanl): Ensure underflow exception occurs for underflowed
22621 * math/libm-test.inc (catan_test): Add more tests.
22622 (catanh_test): Likewise.
22625 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22626 underflowed result.
22627 * math/s_ccoshf.c (__ccoshf): Likewise.
22628 * math/s_ccoshl.c (__ccoshl): Likewise.
22629 * math/s_csin.c (__csin): Likewise.
22630 * math/s_csinf.c (__csinf): Likewise.
22631 * math/s_csinh.c (__csinh): Likewise.
22632 * math/s_csinhf.c (__csinhf): Likewise.
22633 * math/s_csinhl.c (__csinhl): Likewise.
22634 * math/s_csinl.c (__csinl): Likewise.
22635 * math/libm-test.inc (ccos_test): Add more tests.
22636 (ccosh_test): Likewise.
22637 (csin_test): Likewise.
22638 (csinh_test): Likewise.
22640 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22642 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22643 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22644 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22645 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22646 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22647 powerpc/power5+/fpu folders.
22648 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22651 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22655 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22657 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22658 additions to variable.
22659 [$(config-machine) = x86_64] (modules-names): Likewise.
22660 ($(objpfx)tst-audit3): Remove dependency.
22661 ($(objpfx)tst-audit3.out): Likewise.
22662 ($(objpfx)tst-audit4): Likewise.
22663 ($(objpfx)tst-audit4.out): Likewise.
22664 ($(objpfx)tst-audit5): Likewise.
22665 ($(objpfx)tst-audit5.out): Likewise.
22666 ($(objpfx)tst-audit6): Likewise.
22667 ($(objpfx)tst-audit6.out): Likewise.
22668 ($(objpfx)tst-audit7): Likewise.
22669 ($(objpfx)tst-audit7.out): Likewise.
22670 (tst-audit3-ENV): Remove variable.
22671 (tst-audit4-ENV): Likewise.
22672 (tst-audit5-ENV): Likewise.
22673 (tst-audit6-ENV): Likewise.
22674 (tst-audit7-ENV): Likewise.
22675 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22676 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22677 addition to variable.
22678 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22682 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22683 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22684 tst-audit3, tst-audit4 and tst-audit5.
22685 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22686 tst-audit6 and tst-audit7.
22687 [$(subdir) = elf] (modules-names): Add audit modules for those
22689 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22690 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22691 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22692 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22693 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22694 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22695 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22696 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22697 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22698 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22699 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22700 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22701 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22702 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22703 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22704 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22706 [$(subdir) = elf && $(config-cflags-avx) = yes]
22707 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22708 [$(subdir) = elf && $(config-cflags-avx) = yes]
22709 (CFLAGS-tst-auditmod4a.c): Likewise.
22710 [$(subdir) = elf && $(config-cflags-avx) = yes]
22711 (CFLAGS-tst-auditmod4b.c): Likewise.
22712 [$(subdir) = elf && $(config-cflags-avx) = yes]
22713 (CFLAGS-tst-auditmod6b.c): Likewise.
22714 [$(subdir) = elf && $(config-cflags-avx) = yes]
22715 (CFLAGS-tst-auditmod6c.c): Likewise.
22716 [$(subdir) = elf && $(config-cflags-avx) = yes]
22717 (CFLAGS-tst-auditmod7b.c): Likewise.
22718 * elf/tst-audit3.c: Move to ...
22719 * sysdeps/x86_64/tst-audit3.c: ... here.
22720 * elf/tst-audit4.c: Move to ...
22721 * sysdeps/x86_64/tst-audit4.c: ... here.
22722 * elf/tst-audit5.c: Move to ...
22723 * sysdeps/x86_64/tst-audit5.c: ... here.
22724 * elf/tst-audit6.c: Move to ...
22725 * sysdeps/x86_64/tst-audit6.c: ... here.
22726 * elf/tst-audit7.c: Move to ...
22727 * sysdeps/x86_64/tst-audit7.c: ... here.
22728 * elf/tst-auditmod3a.c: Move to ...
22729 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22730 * elf/tst-auditmod3b.c: Move to ...
22731 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22732 * elf/tst-auditmod4a.c: Move to ...
22733 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22734 * elf/tst-auditmod4b.c: Move to ...
22735 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22736 * elf/tst-auditmod5a.c: Move to ...
22737 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22738 * elf/tst-auditmod5b.c: Move to ...
22739 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22740 * elf/tst-auditmod6a.c: Move to ...
22741 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22742 * elf/tst-auditmod6b.c: Move to ...
22743 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22744 * elf/tst-auditmod6c.c: Move to ...
22745 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22746 * elf/tst-auditmod7a.c: Move to ...
22747 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22748 * elf/tst-auditmod7b.c: Move to ...
22749 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22751 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22754 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22755 define unconditionally.
22756 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22757 define unconditionally.
22758 (INT8_C, INT16_C, etc.): Likewise.
22760 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22762 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22763 __ehdr_start with hidden visibility.
22765 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22767 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22769 * math/libm-test.inc (cos_test): Use accurate hex constants.
22770 (sincost_test): Likewise.
22772 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22774 * math/libm-test.inc (catan_test): Add more tests.
22775 (catanh_test): Likewise.
22777 * math/s_catanf.c (__catanf): Use suffixed floating-point
22779 * math/s_catanhf.c (__catanhf): Likewise.
22780 * math/s_catanhl.c (__catanhl): Likewise.
22781 * math/s_catanl.c (__catanl): Likewise.
22784 * math/s_catan.c (__catan): Calculate imaginary part of result
22785 with log1p not log unless computing log of number close to 0.
22786 * math/s_catanf.c (__catanf): Likewise.
22787 * math/s_catanl.c (__catanl): Likewise.
22788 * math/s_catanh.c (__catanh): Calculate real part of result with
22789 log1p not log unless computing log of number close to 0.
22790 * math/s_catanhf.c (__catanhf): Likewise.
22791 * math/s_catanhl.c (__catanhl): Likewise.
22792 * math/libm-test.inc (catan_test): Add more tests.
22793 (catanh_test): Likewise.
22794 * sysdeps/i386/fpu/libm-test-ulps: Update.
22795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22797 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22799 * benchtests/Makefile: Mention files in which fast and slow
22800 paths of math functions are implemented.
22802 2013-04-23 Roland McGrath <roland@hack.frob.com>
22804 * sysdeps/posix/timespec_get.c: New file.
22806 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22808 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22810 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22812 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22813 powerpc/power5/fpu folders.
22814 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22815 * benchtests/Makefile: Add modf testcase.
22816 * benchtests/bench-modf.c: New file: Benchmark test for mo
22818 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22821 * time/Makefile (tests): Add tst-strptime-whitespace.
22822 * time/strptime_l.c (get_number): Use ISSPACE.
22823 (__strptime_internal): Likewise.
22824 * time/tst-strptime-whitespace.c: New test case.
22826 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22828 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22830 (_nss_files_init): Set it here.
22832 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22834 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22835 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22838 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22840 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22842 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22847 2013-04-21 David S. Miller <davem@davemloft.net>
22849 * po/ru.po: Update Russion translation from translation project.
22851 2013-04-17 Adam Conrad <adconrad@0c3.net>
22853 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22856 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22858 * configure.in: Remove i386 configure warning. Remove i386 case.
22859 * configure: Regenerate.
22860 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22861 Add example to error message.
22862 * sysdeps/i386/configure: Regenerate.
22864 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22866 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22868 * benchtests/cos-inputs: New file.
22869 * benchtests/slowcos-inputs: New file.
22870 * benchtests/slowcos.c: New file.
22871 * benchtests/slowtan-inputs: New file.
22872 * benchtests/slowtan.c: New file.
22873 * benchtests/tan-inputs: New file.
22875 2013-04-16 Roland McGrath <roland@hack.frob.com>
22877 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22880 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22882 * benchtests/Makefile: Include cppflags-iterator.mk to add
22883 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22885 * Makefile.in (bench-clean): New target.
22886 * benchtests/Makefile (bench-clean): Likewise.
22888 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22890 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22892 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22894 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22896 2013-04-15 Andreas Schwab <schwab@suse.de>
22898 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22900 * nscd/pwdcache.c (cache_addpw): Likewise.
22901 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22904 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22906 * benchtests/Makefile (bench): Write all output to
22907 bench-out.tmp together.
22909 2013-04-15 Andreas Schwab <schwab@suse.de>
22911 * nscd/nscd.c (main): Don't fork again after closing files.
22913 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22915 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22917 * benchtests/Rules (bench-deps): Collect dependencies into a
22918 single variable. Add Makefile to dependencies.
22919 ($(objpfx)bench-%.c): Depend on bench-deps.
22921 2013-04-12 Roland McGrath <roland@hack.frob.com>
22922 Xavier Roche <roche+kml2@exalead.com>
22925 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22926 just that it's a file descriptor.
22927 * manual/llio.texi (Synchronizing AIO Operations): Update description
22928 for EBADF error from aio_fsync.
22930 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22932 * Rules (bench): Move target definition...
22933 * benchtests/Makefile: ... here.
22935 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22937 * math/libm-test.inc (cos_test): Fix PI/2 test.
22938 (sincos_test): Likewise.
22939 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22940 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22942 2013-04-11 Andreas Schwab <schwab@suse.de>
22945 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22946 accept exponent character only when digits were seen.
22947 * stdio-common/Makefile (tests): Add bug26.
22948 * stdio-common/bug26.c: New file.
22951 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22954 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22956 * Makeconfig (rtld-prefix): Define built linker prefix.
22957 * Rules (run-bench): Use it.
22958 * math/Makefile (run-regen-ulps): Likewise.
22960 * Rules (bench): Remove eval.
22962 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22963 Roland McGrath <roland@hack.frob.com>
22964 Ondrej Bilka <neleai@seznam.cz>
22967 * time/getdate.c: Include ctype.h and alloca.h.
22968 (__getdate_r): Trim leading and trailing spaces of input.
22969 * time/tst-getdate.c (tests): Add tests with leading and
22972 2013-04-08 Roland McGrath <roland@hack.frob.com>
22975 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22976 when computing value.
22978 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22980 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22981 Use testrun.sh to run libm tests.
22984 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22986 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22989 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22991 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22993 * Makefile.in (regen-ulps): New target.
22994 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22995 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22996 [ifneq (no,$(PERL)] (regen-ulps): New target.
22997 [ifeq (no,$(PERL)] (regen-ulps): New target.
22998 * math/libm-test.inc (ulps_file_name): Define.
22999 (output_dir): New variable.
23000 (options): Add "output-dir" option.
23001 (parse_opt): Handle 'o' case.
23002 (main): If output_dir is non-NULL use it as a prefix
23004 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23006 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23008 [BZ #10060, #10062]
23009 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23010 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23011 fail configure if __sync_val_compare_and_swap is not inlined.
23012 * sysdeps/i386/configure: Regenerate.
23013 * configure.in: Build for i686 when configured for i386.
23014 * configure: Regenerate.
23015 * README: Remove i386 reference.
23017 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23019 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23020 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23022 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23024 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23025 (lmsnanval): New variables.
23026 (F): Add conversion tests.
23027 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23028 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23030 * stdio-common/tstdiomisc.c (F): Properly collect individual
23033 [BZ #14686, #15336]
23034 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23035 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23036 Instead, use input NaN values or generate a qNaN by arithmetic
23037 operation. Also fix bugs to comply with the standard.
23038 * math/libm-test.inc (remainder_test): Add more tests.
23040 [BZ #15335, #15342]
23041 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23043 input NaN values or generate a qNaN by arithmetic operation.
23045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23048 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23051 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23054 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23055 underflowed result.
23056 * math/s_cexpf.c (__cexpf): Likewise.
23057 * math/s_cexpl.c (__cexpl): Likewise.
23058 * math/libm-test.inc (cexp_test): Add more tests.
23060 2013-04-03 Andreas Schwab <schwab@suse.de>
23063 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23064 order arrays from heap if bigger than alloca cutoff.
23066 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23068 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23069 (SNAN_TESTS_double): Refer to GCC PR56831.
23070 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23073 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23075 * Rules (bench): Move bench.out after the run is complete.
23077 * Rules (bench): Echo currently running benchmark.
23079 * benchtests/Makefile (bench): Add atan and slowatan.
23080 * benchtests/atan-inputs: New file.
23081 * benchtests/slowatan-inputs: New file.
23082 * benchtests/slowatan.c: New file.
23084 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23085 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23089 * sysdeps/unix/sysv/linux/kernel-features.h
23090 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23091 __ASSUME_XFS_RESTRICTED_CHOWN.
23092 * sysdeps/unix/sysv/linux/pathconf.c
23093 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23094 Save and restore errno.
23096 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23099 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23100 arguments using __kernel_casinh.
23101 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23102 arguments using __kernel_casinhf.
23103 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23104 arguments using __kernel_casinhl.
23105 * math/libm-test.inc (cacosh_test): Add more tests.
23106 * sysdeps/i386/fpu/libm-test-ulps: Update.
23107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23109 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23111 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23114 * bench/Makefile (bench): Add sin and slowsin.
23115 * benchtests/sin-inputs: New file.
23116 * benchtests/slowsin-inputs: New file.
23117 * benchtests/slowsin.c: New file.
23119 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23120 (bench): Add slowexp and slowpow.
23121 (exp-ITER): Increase iterations.
23122 (pow-ITER): Likewise.
23123 * benchtests/exp-inputs: Change input.
23124 * benchtests/pow-inputs: Likewise.
23125 * benchtests/slowexp-inputs: New file.
23126 * benchtests/slowexp.c: New file.
23127 * benchtests/slowpow-inputs: New file.
23128 * benchtests/slowpow.c: New file.
23130 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23132 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23134 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23135 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23136 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23137 * benchtests/Makefile: Add rint benchtest.
23138 * benchtests/rint-inputs: Input for rint benchtest.
23140 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23142 * Versions.def (libm): Add GLIBC_2.18.
23143 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23144 hidden libm prototypes.
23145 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23146 * math/Makefile (libm-calls): Add s_issignaling.
23147 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23148 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23149 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23151 * math/math.h [__USE_GNU] (issignaling): New macro.
23152 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23153 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23155 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23156 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23157 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23158 * manual/arith.texi (issignaling): New section.
23159 * manual/libm-err-tab.pl (@all_functions): Update comment.
23160 * math/gen-libm-test.pl (parse_args): Apply special handling for
23162 * math/libm-test.inc (print_float, issignaling_test): New
23164 (check_float_internal): Add issignaling checks.
23165 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23166 default definition.
23167 * sysdeps/powerpc/math-tests.h: New file.
23168 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23170 * math/test-snan.c (TEST_FUNC): Likewise.
23172 2013-03-30 David S. Miller <davem@davemloft.net>
23174 * po/de.po: Update from translation team.
23176 2013-03-30 Joseph Myers <joseph@codesourcery.com>
23179 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23180 imaginary part less than 1.0 and real part less than 0.5
23182 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23183 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23184 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23185 (cacos_test): Add more tests.
23186 (casin_test): Likewise.
23187 (casinh_test): Likewise.
23188 * sysdeps/i386/fpu/libm-test-ulps: Update.
23189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23191 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23193 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23194 ONE with its value.
23196 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23197 (__pow_mp): Replace ONE and MONE with their values.
23198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23201 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23202 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23203 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23205 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23207 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23208 (__pow_mp): Replace ZERO and MZERO with their values.
23209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23211 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23213 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23214 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23217 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23219 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23221 2013-03-28 Roland McGrath <roland@hack.frob.com>
23223 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23224 Declare with __attribute__ ((weak)).
23225 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23226 Call __call_tls_dtors only if it's not NULL.
23228 2013-03-28 Roland McGrath <roland@hack.frob.com>
23230 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23231 didn't do it already, then set _dl_phdr and _dl_phnum based on the
23232 magic __ehdr_start linker symbol if it's defined.
23233 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23234 them up here if it was already done.
23236 * elf/dl-support.c (_dl_phdr): Make pointer to const.
23237 (_dl_aux_init): Use const in cast when setting it.
23238 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23239 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23240 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23242 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23244 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23245 * csu/libc-tls.c: Nor here.
23246 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23248 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23249 (__libc_message): Never call vsyslog.
23251 2013-03-28 Alan Modra <amodra@gmail.com>
23253 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23255 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23258 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23261 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23265 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23268 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23269 Don't add gid passed as argument.
23271 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23273 2013-03-27 Joseph Myers <joseph@codesourcery.com>
23276 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23277 imaginary part between 1.0 and 1.5 and real part less than 0.5
23279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23281 * math/libm-test.inc (cacos_test): Add more tests.
23282 (casin_test): Likewise.
23283 (casinh_test): Likewise.
23284 * sysdeps/i386/fpu/libm-test-ulps: Update.
23285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23287 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23289 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23292 (denorm): Likewise.
23293 (__dbl_mp): Likewise.
23294 (add_magnitudes): Likewise.
23295 (sub_magnitudes): Likewise.
23303 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23305 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23306 (__dubcos): Likewise.
23307 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23308 (__ieee754_acos): Likewise.
23309 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23310 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23311 (__exp1): Likewise.
23312 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23315 (my_log2): Likewise.
23316 (checkint): Likewise.
23317 * sysdeps/ieee754/dbl-64/e_remainder.c
23318 (__ieee754_remainder): Likewise.
23319 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23321 (bsloww): Likewise.
23322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23324 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23325 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23326 MANTISSA_STORE_T to store computations on mantissa. Use
23327 macros for rounding and division.
23328 (denorm): Likewise.
23329 (__dbl_mp): Likewise.
23330 (add_magnitudes): Likewise.
23331 (sub_magnitudes): Likewise.
23334 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23335 powers of two in terms of TWOPOW macro.
23336 (mp_no): Make type of mantissa as MANTISSA_T.
23337 [!RADIXI]: Define RADIXI.
23338 [!TWO52]: Define TWO52.
23339 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23341 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23343 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23344 llroundl symbol when building for PPC32.
23346 2013-03-24 Mark H Weaver <mhw@netris.org>
23348 * manual/arith.texi (Normalization Functions): Fix prototypes for
23349 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23351 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23355 high value to check if expl overflow.
23356 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23357 to check for underflow and overflow.
23358 * math/libm-test.inc: Add exp test.
23360 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
23363 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23366 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23368 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23371 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
23373 * math/gen-libm-test.pl (parse_args, special_functions): Properly
23374 wrap blocks consisting of several statements.
23376 * sysdeps/generic/math-tests.h: New file.
23377 * sysdeps/i386/fpu/math-tests.h: Likewise.
23378 * math/test-snan.c: Include it.
23379 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23381 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23384 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23385 (__ieee754_j0l): Do not improve calculations using cos of twice
23386 input for inputs above LDBL_MAX / 2.0L.
23387 (__ieee754_y0l): Likewise.
23388 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23389 (__ieee754_j1l): Do not improve calculations using cos of twice
23390 input for inputs above LDBL_MAX / 2.0L.
23391 (__ieee754_y1l): Likewise.
23392 * math/libm-test.inc (j0_test): Add another test.
23393 (j1_test): Likewise.
23394 (y0_test): Likewise.
23395 (y1_test): Likewise.
23396 * sysdeps/i386/fpu/libm-test-ulps: Update.
23398 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23400 * Rules ($(objpfx)bench-%.c): Include code from a C source
23403 2013-03-21 Joseph Myers <joseph@codesourcery.com>
23406 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23407 imaginary part 1.0 and real part less than 0.5 specially.
23408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23410 * math/libm-test.inc (cacos_test): Add more tests.
23411 (casin_test): Likewise.
23412 (casinh_test): Likewise.
23413 * sysdeps/i386/fpu/libm-test-ulps: Update.
23414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23416 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23418 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23419 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23421 2013-03-20 Joseph Myers <joseph@codesourcery.com>
23423 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23424 * config.make.in (config-cflags-sse4): Remove variable.
23425 (config-cflags-avx): Likewise.
23426 (config-cflags-sse2avx): Likewise.
23427 (config-cflags-novzeroupper): Likewise.
23428 (config-asflags-i686): Likewise.
23429 (have-mfma4): Likewise.
23430 (have-as-vis3): Likewise.
23432 * configure.in (MIG): Do not AC_SUBST.
23433 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23434 (libc_cv_cc_sse4): Do not AC_SUBST.
23435 (libc_cv_cc_avx): Likewise.
23436 (libc_cv_cc_sse2avx): Likewise.
23437 (libc_cv_cc_novzeroupper): Likewise.
23438 (libc_cv_cc_fma4): Likewise.
23439 (libc_cv_as_i686): Likewise.
23440 (libc_cv_sparc_as_vis3): Likewise.
23441 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23443 (config-asflags-i686): Likewise.
23444 (config-cflags-avx): Likewise.
23445 (config-cflags-sse2avx): Likewise.
23446 (have-mfma4): Likewise.
23447 (config-cflags-novzeroupper): Likewise.
23448 * sysdeps/mach/configure.in (MIG): Likewise.
23449 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23450 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23452 (config-cflags-avx): Likewise.
23453 (config-cflags-sse2avx): Likewise.
23454 (have-mfma4): Likewise.
23455 (config-cflags-novzeroupper): Likewise.
23456 * configure: Regenerated.
23457 * sysdeps/i386/configure: Likewise.
23458 * sysdeps/mach/configure: Likewise.
23459 * sysdeps/sparc/configure: Likewise.
23460 * sysdeps/x86_64/configure: Likewise.
23462 2013-03-20 Roland McGrath <roland@hack.frob.com>
23465 * locale/programs/localedef.c (options): Put N_ translation marker
23466 on argument names, not just descriptions.
23468 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23470 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23472 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23475 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23477 2013-03-19 Roland McGrath <roland@hack.frob.com>
23479 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23480 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23481 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23482 [!BEFORE_ABORT] (before_abort): New function.
23483 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23484 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23485 (writev_for_fatal): New function.
23486 (WRITEV_FOR_FATAL): New macro; call that.
23487 (backtrace_and_maps): New function.
23488 (BEFORE_ABORT): New macro; call that.
23489 (struct str_list): Type removed.
23490 (__libc_message, __libc_fatal): Functions removed.
23491 Include <sysdeps/posix/libc_fatal.c> instead.
23493 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23495 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23497 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23500 2013-03-19 Andreas Schwab <schwab@suse.de>
23502 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23503 * sysdeps/gnu/configure: Regenerate.
23505 * configure.in: Substitute libc_cv_rtlddir.
23506 * configure: Regenerate.
23507 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23508 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23509 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23510 * elf/Makefile (install-others, CFLAGS-interp.c)
23511 (ldso_install, common-ldd-rewrite): Likewise.
23512 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23513 $(inst_slibdir)/$(rtld-installed-name).
23514 * scripts/rellns-sh: Add -p option.
23515 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23518 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23520 * manual/nptl.texi: Renamed to ...
23521 * manual/threads.texi: ... this.
23522 * manual/Makefile (chapters): Update.
23524 2013-03-18 Roland McGrath <roland@hack.frob.com>
23527 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23528 on argument names, not just descriptions.
23529 * malloc/memusagestat.c (options): Likewise.
23530 * nss/getent.c (options): Likewise.
23532 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23535 * iconv/iconv_prog.c (options): Put N_ translation marker
23536 on argument names, not just descriptions.
23537 * iconv/iconvconfig.c (options): Likewise.
23539 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23541 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23542 implementation which is faster on all x86_64 architectures.
23543 Tested on AMD, Intel Nehalem, SNB, IVB.
23544 * sysdeps/x86_64/strnlen.S: Likewise.
23546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23547 Remove all multiarch strlen and strnlen versions.
23548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23549 Remove strlen and strnlen related parts.
23551 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23552 Inline strlen part.
23553 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23555 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23556 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23557 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23558 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23559 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23560 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23562 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23564 * manual/memory.texi (Malloc Tunable Parameters):
23565 Sort parameters alphabetically. Add comments for missing entries.
23567 2013-03-17 David S. Miller <davem@davemloft.net>
23569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23571 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23574 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23575 for arguments at most half maximum finite value.
23576 * math/libm-test.inc (j0_test): Add more tests.
23577 (j1_test): Likewise.
23578 (y0_test): Likewise.
23579 (y1_test): Likewise.
23580 * sysdeps/i386/fpu/libm-test-ulps: Update.
23581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23584 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23585 1 / x and functions P and Q for arguments above 0x1p256L.
23586 (__ieee754_y0l): Likewise.
23587 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23588 (__ieee754_y1l): Likewise.
23589 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23590 (j1_test): Likewise.
23591 (y0_test): Likewise.
23592 (y1_test): Likewise.
23594 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23596 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23599 2013-03-15 Roland McGrath <roland@hack.frob.com>
23601 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23602 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23603 zero since it's initialized to EXEC_PAGESIZE.
23605 * sysdeps/unix/sysv/linux/ldsodefs.h
23606 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23607 * sysdeps/generic/ldsodefs.h: ... here.
23609 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23611 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23613 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23615 * math/test-snan.c: Renamed from
23616 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23617 * math/Makefile (tests): Add test-snan.
23618 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23621 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23622 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23624 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23625 __builtin_nan family of functions.
23626 * math/libm-test.inc (initialize): Initialize qnan_value with
23627 __builtin_nan family of functions.
23628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23630 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23632 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23633 storage class. Initialize qNaN_var and sNaN_var with
23634 __builtin_nan and __builtin_nans families of functions,
23637 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23638 (sqrt_test): Remove duplicate test with qNaN input.
23639 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23640 (round_test, signbit_test, significand_test): Note missing +/-Inf
23641 as well as qNaN tests.
23643 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23644 qNaN_var. Fix a few strings, too.
23645 * math/libm-test.inc (nan_value): Rename to qnan_value.
23646 * math/gen-libm-test.pl (%beautify): Adjust to that.
23647 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23648 * math/test-misc.c (main): Likewise.
23649 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23650 to __qnan_bytes, and __qnan_union, respectively.
23651 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23653 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23654 and lqnanval, respectively.
23655 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23656 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23657 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23658 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23660 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23661 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23664 * math/test-misc.c (main): Fix copy'n'pastos.
23665 * misc/tst-efgcvt.c (special): Likewise.
23667 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23668 Remove declarations.
23670 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23672 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23673 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23674 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23675 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23677 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23679 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23680 macro to return vdso values correctly in IFUNC implementations.
23681 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23682 Optimization by using IFUNC.
23684 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23685 Richard Henderson <rth@redhat.com>
23686 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23688 * Makefile.in (bench): New target.
23689 * NEWS: Mention the benchmark framework.
23690 * Rules (bench): Likewise.
23691 (binaries-bench): Generate binaries for functions to
23693 * benchtests/Makefile: New makefile for benchmark tests.
23694 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23696 * benchtests/exp-inputs: New input file for EXP function.
23697 * benchtests/pow-inputs: New input file for POW function.
23698 * scripts/bench.pl: New script to generate source files for
23699 benchmark programs.
23701 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23703 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23705 computations on mantissa. Use macros for rounding and
23707 (denorm): Likewise.
23708 (__dbl_mp): Likewise.
23709 (add_magnitudes): Likewise.
23710 (sub_magnitudes): Likewise.
23713 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23714 powers of two in terms of TWOPOW macro.
23715 (mp_no): Make type of mantissa as MANTISSA_T.
23716 [!RADIXI]: Define RADIXI.
23717 [!TWO52]: Define TWO52.
23718 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23720 * manual/nptl.texi (cindex): Modify threads to pthreads.
23722 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23724 * sysdeps/x86_64/preconfigure: Regenerated.
23726 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23729 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23731 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23732 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23734 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23735 * math/libm-test.inc (j0_test): Do not allow one spurious
23736 underflow exception.
23737 (y1_test): Likewise.
23739 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23741 * manual/Makefile (chapters): Add nptl.
23742 * manual/debug.texi (Debugging Support): Add link to Threads
23744 * manual/nptl.texi: New file.
23746 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23748 2013-03-14 Petr Baudis <pasky@ucw.cz>
23750 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23751 for non-NULL pointer before the memory validity test. Pointed
23752 out by Holger Brunck <holger.brunck@keymile.com>.
23754 2013-03-13 Andreas Schwab <schwab@suse.de>
23756 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23759 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23761 * timezone/zic.c: Update from tzcode 2013b.
23763 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23765 * manual/install.texi (Configuring and compiling):
23766 Mention i686 and i586.
23767 * INSTALL: Regenerate.
23769 2013-03-12 Roland McGrath <roland@hack.frob.com>
23771 * sysdeps/init_array/elf-init.c: New file.
23773 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23774 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23776 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23777 __gmon_start__ as global, but as static with a .preinit_array pointer.
23778 * sysdeps/init_array/gmon-start.c: New file. Use that.
23779 * sysdeps/init_array/crti.S: New file, empty except for comments.
23780 * sysdeps/init_array/crtn.S: Likewise.
23782 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23784 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23787 Remove Prefer_SSE_for_memop.
23788 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23789 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23790 HAS_PREFER_SSE_FOR_MEMOP.
23791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23794 Remove bzero, memset ifunc support.
23795 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23796 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23797 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23798 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23800 2013-03-11 Andreas Schwab <schwab@suse.de>
23803 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23806 (GLIBC_2.16): Remove pthread_atfork.
23808 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23810 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23811 (ptestcases.h): Likewise.
23813 2013-03-08 Roland McGrath <roland@hack.frob.com>
23815 * Makeconfig ($(common-objpfx)config.status): Depend on
23816 sysdeps/*/preconfigure{,.in} too.
23818 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23820 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23821 (__free_hook): Use void * instead of __malloc_ptr_t.
23822 (__malloc_hook): Likewise.
23823 (__realloc_hook): Likewise.
23824 (__memalign_hook): Likewise.
23825 (__after_morecore_hook): Likewise.
23826 * malloc/arena.c (save_malloc_hook): Likewise.
23827 (save_free_hook): Likewise.
23828 * malloc/hooks.c (malloc_hook_ini): Likewise.
23829 (realloc_hook_ini): Likewise.
23830 (memalign_hook_ini): Likewise.
23831 * malloc/malloc.c (malloc_hook_ini): Likewise.
23832 (realloc_hook_ini): Likewise.
23833 (memalign_hook_ini): Likewise.
23834 (__free_hook): Likewise.
23835 (__malloc_hook): Likewise.
23836 (__realloc_hook): Likewise.
23837 (__memalign_hook): Likewise.
23838 (__libc_malloc): Likewise.
23839 (__libc_free): Likewise.
23840 (__libc_realloc): Likewise.
23841 (__libc_memalign): Likewise.
23842 (__libc_valloc): Likewise.
23843 (__libc_pvalloc): Likewise.
23844 (__libc_calloc): Likewise.
23845 (__posix_memalign): Likewise.
23846 * malloc/morecore.c (__sbrk): Likewise.
23847 (__default_morecore): Likewise.
23849 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23851 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23852 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23853 __malloc_ptrdiff_t.
23855 * malloc/malloc.h (__malloc_size_t): Remove macro.
23856 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23858 (old_memalign_hook): Likewise.
23859 (old_realloc_hook): Likewise.
23860 (struct hdr): Likewise.
23862 (mallochook): Likewise.
23863 (memalignhook): Likewise.
23864 (reallochook): Likewise.
23865 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23866 (tr_old_realloc_hook): Likewise.
23867 (tr_old_memalign_hook): Likewise.
23868 (tr_mallochook): Likewise.
23869 (tr_reallochook): Likewise.
23870 (tr_memalignhook): Likewise.
23872 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23874 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23875 default_ldbl_pack and using as default implementation.
23876 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23878 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23879 redundant definition.
23880 (ldbl_insert_mantissa): Likewise.
23881 (ldbl_canonicalize): Likewise.
23882 (ldbl_nearbyint): Likewise.
23883 (ldbl_pack): Rename to ldbl_pack_ppc.
23884 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23885 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23886 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23888 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23891 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23892 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23893 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23895 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23896 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23897 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23899 2013-03-07 Andreas Jaeger <aj@suse.de>
23901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23904 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23906 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23907 Include mpa.h and declare __MPEXP.
23908 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23909 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23910 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23911 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23912 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23913 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23914 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23916 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23917 (__slowpow): Use long double EXPL and LOGL functions to
23919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23920 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23921 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23922 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23923 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23924 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23927 intermediate variable to calculate exponent.
23929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23933 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23934 [!NO__SQR]: Define __sqr.
23935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23936 and NO__SQR. Remove all code except __mul and __sqr. Include
23937 sysdeps/ieee754/dbl-64/mpa.c.
23938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23941 * posix/Makefile (tests): Add tst-pathconf.
23942 * posix/tst-pathconf.c: New test case.
23943 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23945 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23947 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23949 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23951 2013-03-06 Andreas Jaeger <aj@suse.de>
23953 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23954 definition via __MAP_ANONYMOUS.
23956 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23957 it's not part of Linux headers.
23959 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23960 (MAP_HUGE_MASK): Define.
23962 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23968 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23970 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23973 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23975 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23976 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23977 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23978 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23979 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23980 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23985 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23986 Handle f2fs and efivarfs.
23988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23991 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23992 (EFIVARFS_MAGIC): Add.
23993 (F2FS_LINK_MAX): Add.
23995 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23997 * stdio-common/vfprintf.c: Replace __builtin_expect with
24000 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24003 * sysdeps/generic/bp-sym.h: Remove file.
24004 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24005 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24006 <bp-sym.h> and <bp-asm.h>.
24007 (__longjmp): Don't use BP_SYM.
24008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24010 (memcpy): Don't use BP_SYM.
24011 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24012 <bp-sym.h> and <bp-asm.h>.
24013 (memcpy): Don't use BP_SYM.
24014 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24016 (memcpy): Don't use BP_SYM.
24017 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24019 (memset): Don't use BP_SYM.
24020 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24021 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24022 (__bzero): Don't use BP_SYM.
24023 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24024 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24025 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24026 <bp-sym.h> and <bp-asm.h>.
24027 (memcmp): Don't use BP_SYM. Remove comment about bounded
24029 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24030 <bp-sym.h> and <bp-asm.h>.
24031 (memcpy): Don't use BP_SYM.
24032 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24033 <bp-sym.h> and <bp-asm.h>.
24034 (memset): Don't use BP_SYM.
24035 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24036 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24037 (__bzero): Don't use BP_SYM.
24038 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24039 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24040 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24041 <bp-sym.h> and <bp-asm.h>.
24042 (strncmp): Don't use BP_SYM. Remove comment about bounded
24044 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24045 <bp-sym.h> and <bp-asm.h>.
24046 (memcpy): Don't use BP_SYM.
24047 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24048 <bp-sym.h> and <bp-asm.h>.
24049 (memset): Don't use BP_SYM.
24050 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24051 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24052 (__bzero): Don't use BP_SYM.
24053 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24054 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24055 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24056 <bp-sym.h> and <bp-asm.h>.
24057 (__memchr): Don't use BP_SYM.
24058 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24059 <bp-sym.h> and <bp-asm.h>.
24060 (memcmp): Don't use BP_SYM. Remove comment about bounded
24062 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24063 <bp-sym.h> and <bp-asm.h>.
24064 (memcpy): Don't use BP_SYM.
24065 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24066 <bp-sym.h> and <bp-asm.h>.
24067 (__mempcpy): Don't use BP_SYM.
24068 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24069 <bp-sym.h> and <bp-asm.h>.
24070 (__memrchr): Don't use BP_SYM.
24071 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24072 <bp-sym.h> and <bp-asm.h>.
24073 (memset): Don't use BP_SYM.
24074 (__bzero): Likewise.
24075 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24076 <bp-sym.h> and <bp-asm.h>.
24077 (__rawmemchr): Don't use BP_SYM.
24078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24079 <bp-sym.h> and <bp-asm.h>.
24080 (__STRCMP): Don't use BP_SYM.
24081 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24082 <bp-sym.h> and <bp-asm.h>.
24083 (strchr): Don't use BP_SYM.
24084 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24085 <bp-sym.h> and <bp-asm.h>.
24086 (__strchrnul): Don't use BP_SYM.
24087 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24088 <bp-sym.h> and <bp-asm.h>.
24089 (strlen): Don't use BP_SYM.
24090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24091 <bp-sym.h> and <bp-asm.h>.
24092 (strncmp): Don't use BP_SYM. Remove comment about bounded
24094 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24095 <bp-sym.h> and <bp-asm.h>.
24096 (__strnlen): Don't use BP_SYM.
24097 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24098 <bp-sym.h> and <bp-asm.h>.
24099 (__GI__setjmp): Don't use BP_SYM.
24100 (_setjmp): Likewise.
24101 (__sigsetjmp): Likewise.
24102 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24103 (L(start_addresses)): Don't use BP_SYM.
24104 (_start): Likewise.
24105 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24107 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24108 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24109 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24110 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24111 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24113 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24114 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24115 about bounded pointers.
24116 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24117 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24118 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24120 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24121 about bounded pointers. Remove GKM FIXME comments.
24122 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24123 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24125 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24126 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24127 Remove GKM FIXME comments.
24128 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24129 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24130 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24132 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24133 about bounded pointers. Remove GKM FIXME comment.
24134 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24136 (strncmp): Don't use BP_SYM. Remove comment about bounded
24138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24139 <bp-sym.h> and <bp-asm.h>.
24140 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24142 <bp-sym.h> and <bp-asm.h>.
24143 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24146 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24148 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24151 2013-03-05 David S. Miller <davem@davemloft.net>
24153 * po/es.po: Update from translation team.
24155 2013-03-05 Andreas Jaeger <aj@suse.de>
24157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24158 <bits/mman-linux.h>.
24159 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24161 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24162 <bits/mman-linux.h> to end of file.
24163 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24165 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24166 <bits/mman-linux.h> to end of file.
24167 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24169 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24170 <bits/mman-linux.h> to end of file.
24172 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24173 (MCL_CURRENT, MCL_FUTURE): Define here.
24175 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24178 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24180 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24182 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24184 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24185 fourth parameter needed for rt_sigprocmask syscall.
24186 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24187 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24188 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24189 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24190 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24191 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24193 2013-03-04 Joseph Myers <joseph@codesourcery.com>
24196 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24197 comment about bounded pointers.
24198 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24199 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24201 2013-03-04 Andreas Jaeger <aj@suse.de>
24203 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24204 common definitions.
24206 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24207 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24208 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24209 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24211 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24213 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24217 __ieee754_sqrl instead of __sqrl.
24219 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24221 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24222 * sysdeps/powerpc/fpu_control.h: ... here.
24223 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24224 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24225 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24226 * sysdeps/powerpc/bits/mathinline.h: ... here.
24228 2013-03-01 Roland McGrath <roland@hack.frob.com>
24230 * elf/dl-hwcaps.c (_dl_important_hwcaps):
24231 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24232 to just [NEED_DL_SYSINFO_DSO].
24233 * elf/dl-support.c: Likewise.
24234 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24235 * elf/rtld.c (dl_main): Likewise.
24236 * elf/setup-vdso.h (setup_vdso): Likewise.
24237 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24238 * sysdeps/unix/sysv/linux/dl-sysdep.c
24239 (_dl_discover_osversion): Likewise.
24241 2013-03-01 Carlos O'Donell <carlos@redhat.com>
24243 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24244 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24246 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
24248 * NEWS: Mention libm performance improvements and non-x86 PI
24251 * csu/libc-start.c (__pthread_initialize_minimal): Change
24252 function arguments.
24253 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24255 2013-02-28 Joseph Myers <joseph@codesourcery.com>
24258 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24259 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24260 <bp-sym.h> and <bp-asm.h>.
24261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24262 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24264 (memcpy): Don't use BP_SYM.
24265 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24267 (__mpn_add_n): Don't use BP_SYM.
24268 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24269 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24271 (__mpn_addmul_1): Don't use BP_SYM.
24272 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24273 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24275 (_setjmp): Don't use BP_SYM.
24276 (__novmx_setjmp): Likewise.
24277 (__GI__setjmp): Likewise.
24278 (__vmx_setjmp): Likewise.
24279 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24281 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24282 (__bzero): Don't use BP_SYM.
24283 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24284 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24285 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24286 <bp-sym.h> and <bp-asm.h>.
24287 (memcpy): Don't use BP_SYM.
24288 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24289 <bp-sym.h> and <bp-asm.h>.
24290 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24291 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24292 <bp-sym.h> and <bp-asm.h>.
24293 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24294 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24296 (__mpn_lshift): Don't use BP_SYM.
24297 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24298 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24300 (memset): Don't use BP_SYM.
24301 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24302 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24303 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24305 (__mpn_mul_1): Don't use BP_SYM.
24306 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24307 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24308 <bp-sym.h> and <bp-asm.h>.
24309 (memcmp): Don't use BP_SYM.
24310 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24311 <bp-sym.h> and <bp-asm.h>.
24312 (memcpy): Don't use BP_SYM.
24313 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24314 <bp-sym.h> and <bp-asm.h>.
24315 (memset): Don't use BP_SYM.
24316 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24317 <bp-sym.h> and <bp-asm.h>.
24318 (strncmp): Don't use BP_SYM.
24319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24320 <bp-sym.h> and <bp-asm.h>.
24321 (memcpy): Don't use BP_SYM.
24322 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24323 <bp-sym.h> and <bp-asm.h>.
24324 (memset): Don't use BP_SYM.
24325 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24326 <bp-sym.h> and <bp-asm.h>.
24327 (__memchr): Don't use BP_SYM.
24328 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24329 <bp-sym.h> and <bp-asm.h>.
24330 (memcmp): Don't use BP_SYM.
24331 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24332 <bp-sym.h> and <bp-asm.h>.
24333 (memcpy): Don't use BP_SYM.
24334 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24335 <bp-sym.h> and <bp-asm.h>.
24336 (__mempcpy): Don't use BP_SYM.
24337 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24338 <bp-sym.h> and <bp-asm.h>.
24339 (__memrchr): Don't use BP_SYM.
24340 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24341 <bp-sym.h> and <bp-asm.h>.
24342 (memset): Don't use BP_SYM.
24343 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24344 <bp-sym.h> and <bp-asm.h>.
24345 (__rawmemchr): Don't use BP_SYM.
24346 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24347 <bp-sym.h> and <bp-asm.h>.
24348 (__STRCMP): Don't use BP_SYM.
24349 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24350 <bp-sym.h> and <bp-asm.h>.
24351 (strchr): Don't use BP_SYM.
24352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24353 <bp-sym.h> and <bp-asm.h>.
24354 (__strchrnul): Don't use BP_SYM.
24355 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24356 <bp-sym.h> and <bp-asm.h>.
24357 (strlen): Don't use BP_SYM.
24358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24359 <bp-sym.h> and <bp-asm.h>.
24360 (strncmp): Don't use BP_SYM.
24361 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24362 <bp-sym.h> and <bp-asm.h>.
24363 (__strnlen): Don't use BP_SYM.
24364 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24366 (__mpn_rshift): Don't use BP_SYM.
24367 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24368 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24369 <bp-sym.h> and <bp-asm.h>.
24370 (__sigsetjmp): Don't use BP_SYM.
24371 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24372 (L(start_addresses)): Don't use BP_SYM.
24373 (_start): Likewise.
24374 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24376 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24377 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24378 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24379 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24381 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24382 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24383 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24384 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24386 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24388 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24389 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24391 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
24393 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24394 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24395 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24397 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
24399 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24401 (strncmp): Don't use BP_SYM,
24402 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24404 (__mpn_sub_n): Don't use BP_SYM.
24405 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24406 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24408 (__mpn_submul_1): Don't use BP_SYM.
24409 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24411 <bp-sym.h> and <bp-asm.h>.
24412 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24414 <bp-sym.h> and <bp-asm.h>.
24415 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24418 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24421 Use ZK to minimize writes to Z.
24422 (sub_magnitudes): Simplify code a bit.
24423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24424 Use ZK to minimize writes to Z.
24425 (sub_magnitudes): Simplify code a bit.
24427 2013-02-27 Roland McGrath <roland@hack.frob.com>
24429 * csu/gmon-start.c: Add special exception to license text.
24431 2013-02-27 Richard Henderson <rth@redhat.com>
24433 * scripts/config.guess: Update from config.git.
24434 * scripts/config.sub: Likewise.
24436 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24438 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24440 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24442 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24444 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24446 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24448 2013-02-26 Roland McGrath <roland@hack.frob.com>
24450 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24451 [$(build-shared = yes].
24453 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24455 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24456 (__mul): Reduce iterations for calculating mantissa.
24458 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24460 (__mpranred): Likewise.
24463 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24464 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24466 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24468 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24469 Define __attribute__.
24471 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24473 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24475 * posix/regex_internal.h (__attribute): Remove.
24476 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24477 (re_string_context_at): Likewise.
24478 (bitset_not): Use __attribute__ and mark function as possibly
24480 (bitset_merge): Likewise.
24481 (bitset_mask): Likewise.
24482 (re_string_char_size_at): Likewise.
24483 (re_string_wchar_at): Likewise.
24484 (re_string_elem_size_at): Likewise.
24486 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24488 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24492 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24496 (denorm): Likewise.
24497 (__dbl_mp): Likewise.
24498 (add_magnitudes): Likewise.
24499 (sub_magnitudes): Likewise.
24503 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24506 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24509 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24513 up changes with default code.
24514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24517 2013-02-24 Allan McRae <allan@archlinux.org>
24519 * manual/socket.texi (The Internet Namespace): Order menu items
24520 to match that in the file.
24522 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24523 node listing of the info page menu.
24525 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24528 * sysdeps/i386/bp-asm.h: Remove file.
24529 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24530 (PARMS): Do not use macros from bp-asm.h.
24534 (__mpn_add_n): Do not use BP_SYM
24535 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24537 (PARMS): Do not use macros from bp-asm.h.
24540 (__mpn_addmul_1): Do not use BP_SYM
24541 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24543 (PARMS): Do not use macros from bp-asm.h.
24544 (SIGMSK): Likewise.
24545 (_setjmp): Likewise. Do not use BP_SYM.
24546 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24548 (PARMS): Do not use macros from bp-asm.h.
24549 (SIGMSK): Likewise.
24550 (setjmp): Likewise. Do not use BP_SYM.
24551 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24553 (PARMS): Do not use macros from bp-asm.h.
24554 (__frexp): Do not use BP_SYM.
24556 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24558 (PARMS): Do not use macros from bp-asm.h.
24559 (__frexpf): Do not use BP_SYM.
24560 (frexpf): Likewise.
24561 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24563 (PARMS): Do not use macros from bp-asm.h.
24564 (__frexpl): Do not use BP_SYM.
24565 (frexpl): Likewise.
24566 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24568 (PARMS): Do not use macros from bp-asm.h.
24569 (__remquo): Do not use BP_SYM.
24570 (remquo): Likewise.
24571 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24573 (PARMS): Do not use macros from bp-asm.h.
24574 (__remquof): Do not use BP_SYM.
24575 (remquof): Likewise.
24576 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24578 (PARMS): Do not use macros from bp-asm.h.
24579 (__remquol): Do not use BP_SYM.
24580 (remquol): Likewise.
24581 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24583 (PARMS): Do not use macros from bp-asm.h.
24586 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24587 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24589 (PARMS): Do not use macros from bp-asm.h.
24590 (strlen): Do not use BP_SYM.
24591 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24593 (PARMS): Do not use macros from bp-asm.h.
24597 (__mpn_add_n): Do not use BP_SYM.
24598 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24600 (PARMS): Do not use macros from bp-asm.h.
24603 (__mpn_addmul_1): Do not use BP_SYM.
24604 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24607 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24609 (PARMS): Do not use macros from bp-asm.h.
24612 (__mpn_lshift): Do not use BP_SYM.
24613 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24615 (PARMS): Do not use macros from bp-asm.h.
24619 (memcpy): Likewise. Do not use BP_SYM.
24620 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24621 libc_hidden_def and weak_alias.
24622 (mempcpy): Do not use BP_SYM in weak_alias.
24623 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24625 (PARMS): Do not use macros from bp-asm.h.
24628 [!BZERO_P] (CHR): Likewise.
24629 (memset): Likewise. Do not use BP_SYM.
24630 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24632 (PARMS): Do not use macros from bp-asm.h.
24635 (__mpn_mul_1): Do not use BP_SYM.
24636 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24638 (PARMS): Do not use macros from bp-asm.h.
24641 (__mpn_rshift): Do not use BP_SYM.
24642 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24644 (PARMS): Do not use macros from bp-asm.h.
24647 (strchr): Likewise. Do not use BP_SYM.
24648 (index): Do not use BP_SYM in weak_alias.
24649 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24651 (PARMS): Do not use macros from bp-asm.h.
24654 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24655 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24657 (PARMS): Do not use macros from bp-asm.h.
24658 (strlen): Do not use BP_SYM.
24659 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24661 (PARMS): Do not use macros from bp-asm.h.
24665 (__mpn_sub_n): Do not use BP_SYM.
24666 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24668 (PARMS): Do not use macros from bp-asm.h.
24671 (__mpn_submul_1): Do not use BP_SYM.
24672 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24674 (PARMS): Do not use macros from bp-asm.h.
24678 (__mpn_add_n): Do not use BP_SYM.
24679 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24682 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24684 (PARMS): Do not use macros from bp-asm.h.
24687 (memcmp): Do not use BP_SYM.
24688 (bcmp): Do not use BP_SYM in weak_alias.
24689 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24691 (PARMS): Do not use macros from bp-asm.h.
24695 (memcpy): Likewise. Do not use BP_SYM.
24696 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24698 (PARMS): Do not use macros from bp-asm.h.
24702 (memmove): Likewise. Do not use BP_SYM.
24703 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24705 (PARMS): Do not use macros from bp-asm.h.
24709 (__mempcpy): Likewise. Do not use BP_SYM.
24710 (mempcpy): Do not use BP_SYM in weak_alias.
24711 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24713 (PARMS): Do not use macros from bp-asm.h.
24716 [!BZERO_P] (CHR): Likewise.
24717 (memset): Likewise. Do not use BP_SYM.
24718 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24720 (PARMS): Do not use macros from bp-asm.h.
24722 (strcmp): Do not use BP_SYM.
24723 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24725 (PARMS): Do not use macros from bp-asm.h.
24728 [USE_AS_STRTOK_R] (SAVE): Likewise.
24729 (FUNCTION): Likewise. Do not use BP_SYM.
24730 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24732 (strtok_r): Likewise.
24733 (__GI___strtok_r): Likewise.
24734 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24735 (PARMS): Do not use macros from bp-asm.h.
24738 (__mpn_lshift): Do not use BP_SYM.
24739 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24740 (PARMS): Do not use macros from bp-asm.h.
24743 (__memchr): Do not use BP_SYM.
24744 (memchr): Do not use BP_SYM in weak_alias.
24745 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24746 (PARMS): Do not use macros from bp-asm.h.
24749 (memcmp): Do not use BP_SYM.
24750 (bcmp): Do not use BP_SYM in weak_alias.
24751 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24752 (PARMS): Do not use macros from bp-asm.h.
24755 (__mpn_mul_1): Do not use BP_SYM.
24756 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24758 (PARMS): Do not use macros from bp-asm.h.
24761 (__rawmemchr): Do not use BP_SYM.
24762 (rawmemchr): Do not use BP_SYM in weak_alias.
24763 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24764 (PARMS): Do not use macros from bp-asm.h.
24767 (__mpn_rshift): Do not use BP_SYM.
24768 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24769 (PARMS): Do not use macros from bp-asm.h.
24770 (SIGMSK): Likewise.
24771 (__sigsetjmp): Likewise. Do not use BP_SYM.
24772 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24773 (_start): Do not use BP_SYM.
24774 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24775 (PARMS): Do not use macros from bp-asm.h.
24778 (__stpcpy): Likewise. Do not use BP_SYM.
24779 (stpcpy): Do not use BP_SYM in weak_alias.
24780 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24782 (PARMS): Do not use macros from bp-asm.h.
24786 (__stpncpy): Likewise. Do not use BP_SYM.
24787 (stpncpy): Do not use BP_SYM in weak_alias.
24788 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24789 (PARMS): Do not use macros from bp-asm.h.
24792 (strchr): Likewise. Do not use BP_SYM.
24793 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24795 (PARMS): Do not use macros from bp-asm.h.
24798 (__strchrnul): Likewise. Do not use BP_SYM.
24799 (strchrnul): Do not use BP_SYM in weak_alias.
24800 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24802 (PARMS): Do not use macros from bp-asm.h.
24804 (strcspn): Do not use BP_SYM.
24805 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24807 (PARMS): Do not use macros from bp-asm.h.
24810 (strpbrk): Likewise. Do not use BP_SYM.
24811 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24813 (PARMS): Do not use macros from bp-asm.h.
24816 (strrchr): Likewise. Do not use BP_SYM.
24817 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24818 (PARMS): Do not use macros from bp-asm.h.
24820 (strspn): Do not use BP_SYM.
24821 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24822 (PARMS): Do not use macros from bp-asm.h.
24826 (FUNCTION): Likewise. Do not use BP_SYM.
24827 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24829 (strtok_r): Likewise.
24830 (__GI___strtok_r): Likewise.
24831 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24832 (PARMS): Do not use macros from bp-asm.h.
24836 (__mpn_sub_n): Do not use BP_SYM.
24837 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24839 (PARMS): Do not use macros from bp-asm.h.
24842 (__mpn_submul_1): Do not use BP_SYM.
24843 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24845 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24847 (PARMS): Do not use macros from bp-asm.h.
24852 (__clone): Do not use BP_SYM.
24853 (clone): Do not use BP_SYM in weak_alias.
24854 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24856 (PARMS): Do not use macros from bp-asm.h.
24858 (__mmap64): Do not use BP_SYM.
24859 (mmap64): Do not use BP_SYM in weak_alias.
24860 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24861 <bp-sym.h> and <bp-asm.h>.
24862 (PARMS): Do not use macros from bp-asm.h.
24863 (__posix_fadvise64_l64): Do not use BP_SYM.
24864 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24865 (PARMS): Do not use macros from bp-asm.h.
24867 (semtimedop): Do not use BP_SYM.
24868 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24871 2013-02-21 Allan McRae <allan@archlinux.org>
24873 * manual/message.texi (Charset conversion in gettext):
24874 Move @end statement to beginning of line.
24876 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24883 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24884 (denorm): Likewise.
24885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24888 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24890 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24891 tail-call to the resolved function if pltexit isn't needed.
24893 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24896 or Y being zero as being unlikely.
24897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24900 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24902 * manual/nss.texi (System Databases and Name Service Switch):
24903 Remove frobnicate @pxref.
24905 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24907 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24908 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24910 2013-02-20 Petr Machata <pmachata@redhat.com>
24912 * elf/elf.h (R_ARM_TARGET1): New macro.
24913 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24914 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24915 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24916 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24917 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24918 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24919 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24920 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24921 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24922 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24923 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24924 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24925 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24926 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24927 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24928 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24929 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24930 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24931 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24932 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24933 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24934 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24935 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24936 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24937 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24938 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24939 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24940 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24941 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24942 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24943 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24944 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24945 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24946 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24947 (R_ARM_THM_GOT_BREL12): Likewise.
24948 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24949 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24950 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24951 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24952 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24953 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24954 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24955 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24956 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24958 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24960 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24961 __attribute_used__ to __attribute__ ((unused)).
24963 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24965 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24968 comment formatting.
24969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24971 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24974 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24976 (ENTER): Remove both macro definitions.
24978 (CHECK_BOUNDS_LOW): Likewise.
24979 (CHECK_BOUNDS_HIGH): Likewise.
24980 (CHECK_BOUNDS_BOTH): Likewise.
24981 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24982 (RETURN_BOUNDED_POINTER): Likewise.
24983 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24984 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24985 (POP_ERRNO_LOCATION_RETURN): Likewise.
24986 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24987 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24988 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24990 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24991 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24992 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24993 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24994 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24995 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24996 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24997 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24998 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24999 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25000 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25001 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25002 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25003 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25005 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25006 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25008 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25009 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25010 * sysdeps/i386/i586/memset.S (memset): Likewise.
25011 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25012 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25013 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25015 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25016 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25017 Change uses of L(2) to L(out).
25018 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25019 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25020 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25021 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25022 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25024 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25025 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25027 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25028 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25029 (RETURN): Do not use macro LEAVE.
25030 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25031 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25032 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25033 * sysdeps/i386/i686/memset.S (memset): Likewise.
25034 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25035 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25036 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25037 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25039 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25040 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25041 L(1_2) and L(1_3) into L(1).
25042 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25043 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25044 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25045 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25046 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25047 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25048 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25049 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25050 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25052 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25053 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25054 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25055 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25056 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25057 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25058 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25059 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25060 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25061 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25062 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25063 * sysdeps/i386/strspn.S (strspn): Likewise.
25064 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25066 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25067 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25068 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25069 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25070 L(1_3) into L(1_1).
25071 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25072 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25073 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25075 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25077 2013-02-19 Jakub Jelinek <jakub@redhat.com>
25079 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25082 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25084 * math/atest-exp.c (exp_mpn): Remove ROUND.
25085 * math/atest-exp2.c (exp_mpn): Likewise.
25086 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25088 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25089 * stdlib/tst-tls-atexit-lib.c: Likewise.
25090 * stdlib/tst-tls-atexit.c: Likewise.
25092 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25094 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25095 and __attribute_alloc_size__.
25097 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25099 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25100 __attribute_alloc_size__.
25101 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25102 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25104 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25106 * include/programs/xmalloc.h: New file.
25107 * catgets/gencat.c: Include it.
25108 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25109 * elf/pldd.c: Likewise.
25110 * iconv/iconv_charmap.c: Likewise.
25111 * iconv/iconvconfig.c: Likewise.
25112 * iconv/strtab.c: Likewise.
25113 * locale/programs/locale.c: Likewise.
25114 * locale/programs/localedef.h: Likewise.
25115 * locale/programs/simple-hash.c: Likewise.
25116 * nscd/nscd.h: Likewise.
25117 * nss/makedb.c: Likewise.
25118 * sysdeps/generic/ldconfig.h: Likewise.
25120 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25122 * Versions.def: Add GLIBC_2.18.
25123 * include/link.h (struct link_map): New member l_tls_dtor_count.
25124 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25125 (__call_tls_dtors): Likewise.
25126 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25127 __cxa_thread_atexit_impl.
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25144 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25145 (tests): Add test case tst-tls-atexit.
25146 (modules-names): Add shared library for tst-tls-atexit.
25147 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25148 (GLIBC_PRIVATE): Add __call_tls_dtors.
25149 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25151 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25152 * stdlib/tst-tls-atexit.c: New test case.
25153 * stdlib/tst-tls-atexit-lib.c: New test case.
25155 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25157 * elf/Versions (ld): Add _dl_find_dso_for_object.
25158 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25159 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25160 (dl_open_worker): Use _dl_find_dso_for_object.
25161 * elf/dl-sym.c (do_sym): Likewise.
25162 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25164 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25166 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25167 Syntactic changes only.
25168 (_dl_runtime_profile): Do a tail-call to the resolved function.
25170 2013-02-17 Joseph Myers <joseph@codesourcery.com>
25173 * sysdeps/x86_64/bp-asm.h: Remove file.
25174 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25175 <bp-sym.h> and <bp-asm.h>.
25176 (__clone): Do not use BP_SYM.
25177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25178 <bp-sym.h> and <bp-asm.h>.
25179 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25180 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25182 (_setjmp): Do not use BP_SYM.
25183 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25185 (setjmp): Do not use BP_SYM.
25186 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25188 (mempcpy): Do not use BP_SYM in weak_alias.
25189 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25191 (strchr): Do not use BP_SYM.
25192 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25194 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25195 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25196 (_start): Do not use BP_SYM.
25197 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25199 (strcat): Do not use BP_SYM.
25200 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25202 (STRCMP): Do not use BP_SYM.
25203 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25205 (STRCPY): Do not use BP_SYM.
25206 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25208 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25210 (FUNCTION): Do not use BP_SYM.
25211 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25213 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25215 2013-02-17 Andreas Jaeger <aj@suse.de>
25217 * time/Versions: Sort entries.
25218 * string/Versions: Likewise.
25219 * resolv/Versions: Likewise.
25220 * posix/Versions: Likewise.
25221 * iconv/Versions: Likewise.
25222 * elf/Versions: Likewise.
25223 * wcsmbs/Versions: Likewise.
25225 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25227 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25228 loop termination condition.
25230 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25231 variable to calculate EZ.
25234 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25235 the lower precision input.
25237 2013-02-15 Joseph Myers <joseph@codesourcery.com>
25240 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25241 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25242 (run-via-rtld-prefix): Do not handle %-bp tests.
25243 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25244 (all-object-suffixes): Remove .ob.
25245 (bppfx): Remove variable.
25246 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25247 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25248 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25249 [$(build-bounded) = yes] (libtype.ob): Likewise.
25250 * Makerules (elide-routines.ob): Remove variable.
25251 (do-tests-clean): Do not handle *-bp.out.
25252 (common-mostlyclean): Do not handle *-bp and *-bp.out.
25253 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25254 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25255 (tests): Do not include $(tests-bp.out).
25256 (xtests): Do not include $(xtests-bp.out).
25257 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25258 [$(build-bounded) = yes] ($(addprefix
25259 $(objpfx),$(binaries-bounded))): Remove rule.
25260 ($(objpfx)%-bp.out): Remove rule.
25261 * config.make.in (build-bounded): Remove variable.
25262 * crypt/Makefile [$(build-bounded) = yes]
25263 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25264 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25265 append to variable.
25266 [$(build-bounded) = yes] (install-lib): Likewise.
25267 [$(build-bounded) = yes] (generated): Likewise.
25268 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25270 * intl/Makefile [$(build-bounded) = yes]
25271 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25272 * math/Makefile [$(build-bounded) = yes]
25273 ($(tests:%=$(objpfx)%-bp): Likewise.
25274 * misc/Makefile [$(build-bounded) = yes]
25275 ($(objpfx)tst-tsearch-bp): Likewise.
25276 * nptl/Makeconfig (bounded-thread-library): Remove variable.
25277 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25279 * string/Makefile (o-objects.ob): Remove variable.
25280 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25281 (CFLAGS-.ob): Remove variable.
25282 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25283 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25284 both definitions of variable.
25285 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25286 (ASFLAGS-.ob): Remove variable.
25288 2013-02-14 Joseph Myers <joseph@codesourcery.com>
25291 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25292 Remove __BOUNDED_POINTERS__ from condition.
25293 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25294 * string/bits/string2.h [!__NO_STRING_INLINES &&
25295 !__BOUNDED_POINTERS__]: Likewise.
25296 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25298 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25299 Remove conditional code.
25300 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25301 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25302 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25306 * csu/libc-start.c: Do not include <bp-sym.h>.
25307 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25308 * elf/dl-open.c: Do not include <bp-sym.h>.
25309 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25310 * math/fegetenv.c: Do not include <bp-sym.h>.
25311 (fegetenv): Do not use BP_SYM in versioned symbols.
25312 * nptl/sysdeps/pthread/bits/libc-lockP.h
25313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25316 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25318 (__pthread_mutex_destroy): Likewise.
25319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25320 (__pthread_mutex_lock): Likewise.
25321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25322 (__pthread_mutex_trylock): Likewise.
25323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25324 (__pthread_mutex_unlock): Likewise.
25325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25326 (__pthread_mutexattr_init): Likewise.
25327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25328 (__pthread_mutexattr_destroy): Likewise.
25329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25330 (__pthread_mutexattr_settype): Likewise.
25331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25332 (__pthread_rwlock_init): Likewise.
25333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25334 (__pthread_rwlock_destroy): Likewise.
25335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25336 (__pthread_rwlock_rdlock): Likewise.
25337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25338 (__pthread_rwlock_tryrdlock): Likewise.
25339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25340 (__pthread_rwlock_wrlock): Likewise.
25341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25342 (__pthread_rwlock_trywrlock): Likewise.
25343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25344 (__pthread_rwlock_unlock): Likewise.
25345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25346 (__pthread_key_create): Likewise.
25347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25348 (__pthread_setspecific): Likewise.
25349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25350 (__pthread_getspecific): Likewise.
25351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25354 (_pthread_cleanup_push_defer): Likewise.
25355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25356 (_pthread_cleanup_pop_restore): Likewise.
25357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25358 (pthread_setcancelstate): Likewise.
25359 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25361 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25362 (memchr): Do not use BP_SYM in weak_alias.
25363 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25364 (fegetenv): Do not use BP_SYM in versioned symbols.
25365 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25366 (fesetenv): Do not use BP_SYM in versioned symbols.
25367 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25368 (feupdateenv): Do not use BP_SYM in versioned symbols.
25369 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25370 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25371 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25372 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25373 (open64): Do not use BP_SYM in weak_alias.
25374 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25375 (fegetenv): Do not use BP_SYM in versioned symbols.
25376 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25377 (fesetenv): Do not use BP_SYM in versioned symbols.
25378 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25379 (feupdateenv): Do not use BP_SYM in versioned symbols.
25380 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25381 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25382 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25383 (feraiseexcept): Do not use BP_SYM in versioned symbols.
25384 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25385 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25386 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25388 (__libc_start_main): Do not use BP_SYM.
25390 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25393 redundant return line.
25395 (denorm): Likewise.
25396 (dbl_mp): Likewise.
25397 (sub_magnitudes): Likewise.
25403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25405 (denorm): Likewise.
25406 (dbl_mp): Likewise.
25407 (sub_magnitudes): Likewise.
25414 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25416 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25417 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25420 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25421 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25423 of __mul for squares.
25424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25428 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25429 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25431 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25434 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25436 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25437 prototype or function definition. Rename ubp_* variables and
25438 parameters. Remove argv definitions conditional on
25439 [__BOUNDED_POINTERS__].
25440 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25441 * elf/dl-runtime.c (_dl_fixup): Likewise.
25442 * include/set-hooks.h (RUN_HOOK): Likewise.
25443 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25445 * string/strcpy.c (strcpy): Do not use __unbounded.
25446 * sysdeps/generic/frame.h (struct layout): Likewise.
25447 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25448 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25449 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25450 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25451 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25452 (__backtrace): Likewise.
25453 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25455 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25456 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25457 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25459 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25460 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25461 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25462 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25463 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25464 Do not use __unbounded.
25465 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25466 Rename __unboundedrlimits parameter to rlimits in prototype.
25467 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25468 Do not use __unbounded.
25469 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25470 not use __ptrvalue.
25471 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25472 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25473 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25474 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25475 __ptrvalue or __unbounded.
25476 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25477 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25479 (__new_msgctl): Do not use __ptrvalue.
25480 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25482 (__libc_msgrcv): Do not use __ptrvalue.
25483 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25484 startup_info): Do not use __unbounded.
25485 (__libc_start_main): Likewise. Rename ubp_* variables and
25486 parameters. Remove argv definitions conditional on
25487 [__BOUNDED_POINTERS__].
25488 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25490 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25492 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25494 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25496 (__new_shmctl): Do not use __ptrvalue.
25497 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25498 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25500 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25501 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25502 (__libc_sigaction): Likewise.
25503 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25504 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25506 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25508 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25510 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25512 * string/mempcpy.c: Implement by calling memcpy.
25514 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25521 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25522 values in the mantissa.
25524 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25525 minimize writes to Z.
25526 (sub_magnitudes): Simplify code a bit.
25528 2013-02-12 Roland McGrath <roland@hack.frob.com>
25530 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25531 from the message. The linker prefixes all warnings with that already.
25533 2013-02-12 Andreas Schwab <schwab@suse.de>
25536 * posix/regexec.c (extend_buffers): Add parameter min_len.
25537 (check_matching): Pass minimum needed length.
25538 (clean_state_log_if_needed): Likewise.
25539 (get_subexp): Likewise.
25540 * posix/Makefile (tests): Add bug-regex34.
25541 (bug-regex34-ENV): Define.
25542 * posix/bug-regex34.c: New file.
25545 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25546 elements compare against the byte sequence of it, not its name.
25547 * posix/Makefile (tests): Add bug-regex35.
25548 (bug-regex35-ENV): Define.
25549 * posix/bug-regex35.c: New file.
25551 2013-02-11 Tom de Vries <tom@codesourcery.com>
25553 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25555 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25556 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25557 (CHECK_EOL): Add undef.
25559 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25561 * bits/stdlib-bsearch.h: New file.
25562 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25563 * stdlib/stdlib.h: Likewise.
25565 2013-02-11 Roland McGrath <roland@hack.frob.com>
25567 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25568 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25570 * manual/search.texi (Array Search Function): Add missing const in
25572 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25573 declaration to use rlim_t.
25574 (Basic Scheduling Functions): Remove erroneous const from
25575 sched_getparam prototype. Remove erroneous * from
25576 sched_get_priority_max and sched_get_priority_min prototypes.
25577 (Resource Usage): Fix summary @comment on vtimes to refer to
25578 sys/vtimes.h rather than vtimes.h.
25579 Add missing *s in vtimes prototype.
25580 (Limits on Resources): Fix ulimit prototype to return long int.
25581 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25582 prototypes to use long int rather than double.
25583 (BSD Random): Fix initstate and setstate to use char *, not void *.
25584 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25585 prototype to make second argument 'struct aiocb64 *const[]'.
25586 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25587 (Status of AIO Operations): Remove erroneous const in aio_return and
25588 aio_return64 prototypes.
25589 (Synchronizing I/O): Fix sync prototype to return void.
25590 * manual/startup.texi (Suboptions): Remove an erroneous const in
25591 getsubopt prototype.
25592 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25593 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25594 use size_t rather than int.
25595 (Scanning All Users): Likewise for getpwent_r.
25596 (Setting Groups): Add missing const to setgroups prototype.
25597 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25598 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25599 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25600 'const void *' rather than 'const char *'.
25601 (Host Address Functions): Likewise for inet_ntop.
25602 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25603 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25604 ssize_t for return value.
25605 (Sending Data): Likewise for send, sendto, sendmsg.
25606 (Socket Option Functions): Add a missing const in setsockopt prototype.
25607 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25608 use wchar_t for the argument.
25609 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25610 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25612 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25613 double/float/long double for second argument.
25614 Fix return types of significand, significandf, significandl.
25615 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25616 argument in fchmod prototype.
25617 (File Owner): Use uid_t and gid_t in fchown prototype.
25618 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25619 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25620 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25621 use 'const struct dirent **' as argument types to CMP function pointer
25623 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25624 (File Times): Fix summary magic @comment for struct utimbuf and utime
25625 to refer to utime.h, not time.h.
25626 * manual/string.texi (Argz Functions): Add missing const in
25627 argz_extract and argz_next prototypes.
25628 (Finding Tokens in a String): Likewise for basename.
25629 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25630 (Copying and Concatenation): Fix typo in wmemmove prototype.
25631 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25632 (Signal Stack): Remove erroneous const in sigstack prototype.
25633 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25635 (Simple Calendar Time): Likewise for stime.
25636 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25638 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25639 say sys/sysctl.h instead.
25640 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25641 and vsyslog prototypes.
25643 2013-02-11 Tom de Vries <tom@codesourcery.com>
25645 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25648 2013-02-11 Roland McGrath <roland@hack.frob.com>
25650 * misc/sys/mman.h: Fix typo in mremap comment.
25652 2013-02-08 Roland McGrath <roland@hack.frob.com>
25654 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25655 the '\0' terminator.
25657 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25660 * debug/segfault.c: Don't include <bp-checks.h>.
25661 * sysdeps/generic/bp-checks.h: Remove file.
25662 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25663 (__GETDENTS): Don't use CHECK_N.
25664 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25665 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25666 (__getgroups): Don't use CHECK_N.
25667 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25668 (setgroups): Don't use CHECK_N.
25669 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25670 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25671 (__libc_msgrcv): Don't use CHECK_N.
25672 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25673 (__libc_msgsnd): Don't use CHECK_N.
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25676 (__libc_pread): Don't use CHECK_N.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25678 include <bp-checks.h>.
25679 (__libc_pread64): Don't use CHECK_N.
25680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25681 include <bp-checks.h>.
25682 (__libc_pwrite): Don't use CHECK_N.
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25684 include <bp-checks.h>.
25685 (__libc_pwrite64): Don't use CHECK_N.
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25688 (__libc_pread): Don't use CHECK_N.
25689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25690 include <bp-checks.h>.
25691 (__libc_pread64): Don't use CHECK_N.
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25693 include <bp-checks.h>.
25694 (__libc_pwrite): Don't use CHECK_N.
25695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25696 include <bp-checks.h>.
25697 (__libc_pwrite64): Don't use CHECK_N.
25698 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25699 (do_pread): Don't use CHECK_N.
25700 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25701 (do_pread64): Don't use CHECK_N.
25702 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25703 (do_pwrite): Don't use CHECK_N.
25704 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25705 (do_pwrite64): Don't use CHECK_N.
25706 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25707 (__libc_readv): Don't use CHECK_N.
25708 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25709 (semop): Don't use CHECK_N.
25710 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25712 (semtimedop): Don't use CHECK_N.
25713 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25714 (__libc_pread): Don't use CHECK_N.
25715 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25717 (__libc_pread64): Don't use CHECK_N.
25718 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25720 (__libc_pwrite): Don't use CHECK_N.
25721 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25723 (__libc_pwrite64): Don't use CHECK_N.
25724 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25726 (__libc_msgrcv): Don't use CHECK_N.
25727 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25728 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25729 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25730 (__libc_writev): Don't use CHECK_N.
25732 2013-02-08 Roland McGrath <roland@hack.frob.com>
25734 * string/strcpy.c: Removed unused variable.
25736 * Makeconfig (+sysdep-includes): Define with := rather than =.
25737 Use an existing include/ subdir of each sysdeps dir before it.
25739 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25741 * nscd/connection.c (register_traced_file): Comment function.
25742 [HAVE_INOTIFY] (union __inev): Define.
25743 [HAVE_INOTIFY] (inotify_check_files): New function.
25744 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25745 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25747 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25749 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25751 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25752 loaded if not already and that a failure is permanent.
25754 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25757 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25758 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25760 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25763 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25764 (CHECK_1_NULL_OK): Likewise.
25765 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25766 (__fxstat): Do not use CHECK_1.
25767 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25769 (___fxstat64): Do not use CHECK_1.
25770 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25772 (__fxstatat): Do not use CHECK_1.
25773 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25775 (__fxstatat64): Do not use CHECK_1.
25776 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25778 (__fxstat): Do not use CHECK_1.
25779 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25781 (__fxstatat): Do not use CHECK_1.
25782 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25784 (__getresgid): Do not use CHECK_1.
25785 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25787 (__getresuid): Do not use CHECK_1.
25788 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25790 (__lxstat): Do not use CHECK_1.
25791 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25793 (__old_msgctl): Do not use CHECK_1.
25794 (__new_msgctl): Likewise.
25795 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25797 (__new_setrlimit): Do not use CHECK_1.
25798 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25800 (__old_shmctl): Do not use CHECK_1.
25801 (__new_shmctl): Likewise.
25802 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25804 (__xstat): Do not use CHECK_1.
25805 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25806 (__lxstat): Do not use CHECK_1.
25807 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25809 (___lxstat64): Do not use CHECK_1.
25810 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25811 (__old_msgctl): Do not use CHECK_1.
25812 (__new_msgctl): Likewise.
25813 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25815 (__gettimeofday): Do not use CHECK_1.
25816 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25817 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25818 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25820 (__gettimeofday): Do not use CHECK_1.
25821 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25822 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25823 (__new_shmctl): Do not use CHECK_1.
25824 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25826 (do_sigtimedwait): Do not use CHECK_1.
25827 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25829 (do_sigwaitinfo): Do not use CHECK_1.
25830 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25832 (msgctl): Do not use CHECK_1.
25833 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25835 (shmctl): Do not use CHECK_1.
25836 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25837 (ustat): Do not use CHECK_1.
25838 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25840 (__fxstat): Do not use CHECK_1.
25841 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25843 (__fxstatat): Do not use CHECK_1.
25844 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25846 (__lxstat): Do not use CHECK_1.
25847 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25849 (__xstat): Do not use CHECK_1.
25850 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25851 (__xstat): Do not use CHECK_1.
25852 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25853 (___xstat64): Do not use CHECK_1.
25856 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25858 (CHECK_BOUNDS_HIGH): Likewise.
25859 * string/strcpy.c: Do not include <bp-checks.h>.
25860 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25862 2013-02-07 Roland McGrath <roland@hack.frob.com>
25864 * nscd/nscd-client.h (__nscd_drop_map_ref):
25865 Add __attribute__ ((unused)).
25866 * nis/nss-nisplus.h (niserr2nss): Likewise.
25868 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25869 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25871 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25872 Remove inline keyword.
25873 * include/rounding-mode.h (round_away): Likewise.
25874 * libio/wfileops.c (adjust_wide_data): Likewise.
25875 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25876 (__m128i_strloadu_tolower): Likewise.
25877 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25878 (__m128i_strloadu_tolower): Likewise.
25879 * time/mktime.c (ydhms_diff): Likewise.
25880 * locale/elem-hash.h (elem_hash): Likewise.
25881 * locale/setlocale.c (setdata): Likewise.
25882 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25883 (re_string_wchar_at): Likewise.
25884 (bitset_not, bitset_merge, bitset_mask): Likewise.
25885 [!(__GNUC__ > 3)] (inline): Remove macro.
25886 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25887 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25888 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25889 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25890 * string/memcmp.c (memcmp_bytes): Likewise.
25891 * locale/programs/locarchive.c (compute_hashval): Likewise.
25892 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25893 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25894 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25895 * nss/getent.c (print_rpc, print_protocols): Likewise.
25896 (print_passwd, print_group, print_aliases): Likewise.
25897 * nis/nss-nisplus.h (niserr2nss): Likewise.
25898 * nscd/connections.c (restart_p): Likewise.
25899 Change return type to bool.
25901 2013-02-05 Roland McGrath <roland@hack.frob.com>
25903 * Makeconfig (all-Depend-files): Add existing
25904 $(sorted-subdirs:=/Depend) files.
25905 (all-subdirs): Remove nss.
25906 * sysdeps/unix/inet/Subdirs: Add it here instead.
25907 * hesiod/Depend: New file.
25909 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25910 instead of calling alloca.
25912 * io/lseek.c (__lseek): Rename to __libc_lseek.
25913 Define __lseek as an alias.
25915 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25917 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25919 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25920 else clause and remove check for non-standard endianness.
25922 2013-02-04 David S. Miller <davem@davemloft.net>
25924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25926 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25929 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25930 (__ubp_memchr): Remove prototype.
25931 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25932 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25933 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25934 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25935 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25937 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25938 (__ubp_memchr): Likewise.
25939 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25940 (__ubp_memchr): Likewise.
25941 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25942 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25943 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25944 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25946 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25947 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25948 (__getcwd): Do not use CHECK_STRING.
25949 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25951 (__real_chown): Do not use CHECK_STRING.
25952 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25954 (fchownat): Do not use CHECK_STRING.
25955 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25957 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25959 (__lchown): Do not use CHECK_STRING.
25960 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25961 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25962 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25963 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25965 include <bp-checks.h>.
25966 (truncate64): Do not use CHECK_STRING.
25967 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25969 (__real_chown): Do not use CHECK_STRING.
25970 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25972 (__lchown): Do not use CHECK_STRING.
25973 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25975 (__chown): Do not use CHECK_STRING.
25976 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25978 (truncate64): Do not use CHECK_STRING.
25979 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25981 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25982 (__xmknod): Do not use CHECK_STRING.
25983 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25985 (__xmknodat): Do not use CHECK_STRING.
25986 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25987 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25989 2013-02-04 Andreas Schwab <schwab@suse.de>
25992 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25993 * include/netdb.h: Likewise for h_errno.
25994 * elf/tst-stackguard1.c: Include <tls.h>.
25996 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25998 * elf/link.h (struct link_map): Extend the l_addr comment.
25999 * include/link.h (struct link_map): Likewise.
26001 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26004 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26005 (BOUNDED_1): Remove macro.
26006 * debug/backtrace.c: Don't include <bp-checks.h>.
26007 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26008 (__backtrace): Likewise.
26009 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26011 (__backtrace): Don't use BOUNDED_1.
26012 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26014 (__backtrace): Don't use BOUNDED_1.
26015 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26016 (__backtrace): Don't use BOUNDED_1.
26017 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26018 (shmat): Don't use BOUNDED_N.
26020 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26023 * sysdeps/generic/bp-start.h: Remove file.
26024 * csu/libc-start.c: Don't include <bp-start.h>.
26025 (LIBC_START_MAIN): Set up __environ directly instead of using
26026 INIT_ARGV_and_ENVIRON.
26027 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26031 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26033 (CHECK_FCNTL): Likewise.
26034 (CHECK_N_PAGES): Likewise.
26037 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26039 (CHECK_SIGSET_NULL_OK): Likewise.
26040 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26042 (sigpending): Don't use CHECK_SIGSET.
26043 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26045 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26046 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26048 (do_sigsuspend): Don't use CHECK_SIGSET.
26049 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26051 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26052 (do_sigwait): Don't use CHECK_SIGSET.
26053 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26055 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26056 include <bp-checks.h>.
26057 (sigpending): Don't use CHECK_SIGSET.
26058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26059 include <bp-checks.h>.
26060 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26061 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26063 (sigpending): Don't use CHECK_SIGSET.
26064 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26066 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26069 * sysdeps/generic/bp-semctl.h: Remove file.
26070 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26071 <bp-checks.h> and <bp-semctl.h>.
26072 (__old_semctl): Don't use CHECK_SEMCTL.
26073 (__new_semctl): Likewise.
26074 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26076 (__old_semctl): Don't use CHECK_SEMCTL.
26077 (__new_semctl): Likewise.
26078 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26079 <bp-checks.h> and <bp-semctl.h>.
26080 (__old_semctl): Don't use CHECK_SEMCTL.
26081 (__new_semctl): Likewise.
26082 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26083 <bp-checks.h> and <bp-semctl.h>.
26084 (semctl): Don't use CHECK_SEMCTL.
26087 * Makerules (elide-bp-thunks): Remove variable.
26088 (elide-routines.oS): Don't use $(elide-bp-thunks).
26089 (elide-routines.os): Likewise.
26090 (elide-routines.o): Likewise.
26091 (elide-routines.op): Likewise.
26092 (elide-routines.og): Likewise.
26093 (objects): Don't use $(bp-thunks).
26094 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26096 (common-generated): Do not add s-proto-bp.d.
26097 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26100 Do not generate makefile rules for bounded-pointer thunks.
26101 * sysdeps/generic/bp-thunks.h: Remove file.
26102 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26103 * sysdeps/unix/s-proto-bp.S: Likewise.
26106 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26107 parts of result separately when argument is not close to line from
26108 -i to i and one part of argument is small.
26109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26111 * math/libm-test.inc (cacos_test): Add more tests.
26112 (casin_test): Likewise.
26113 (casinh_test): Likewise.
26114 * sysdeps/i386/fpu/libm-test-ulps: Update.
26115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26117 2013-01-31 David S. Miller <davem@davemloft.net>
26119 * po/de.po: Update from translation team.
26121 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26123 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26125 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26127 * configure.in (_AC_PROG_CC_C89): New definition.
26128 * configure: Regenerate.
26130 * configure.in (AC_PROG_CPP): New definition.
26131 * configure: Regenerate.
26133 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26135 * debug/tst-backtrace.h: New file.
26136 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26137 (ret): Remove variable.
26139 (FAIL): Remove macro.
26140 (NO_INLINE): Likewise.
26141 (fn1): Use match function instead of strstr.
26142 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26143 (ret): Remove variable.
26145 (FAIL): Remove macro.
26146 (NO_INLINE): Likewise.
26147 (fn): Use match function instead of strstr.
26148 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26149 (ret): Remove variable.
26151 (FAIL): Remove macro.
26152 (NO_INLINE): Likewise.
26153 (handle_signal): Use match function instead of strstr.
26154 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26155 (ret): Remove variable.
26157 (FAIL): Remove macro.
26158 (NO_INLINE): Likewise.
26159 (handle_signal): Use match function instead of strstr.
26161 2013-01-23 Roland McGrath <roland@hack.frob.com>
26163 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26165 2013-01-23 David S. Miller <davem@davemloft.net>
26167 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26168 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26169 argument of CAS if possible.
26170 * sysdeps/sparc/sparc64/bits/atomic.h
26171 (__arch_compare_and_exchange_val_32_acq): Likewise.
26172 (__arch_compare_and_exchange_val_64_acq): Likewise.
26174 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26176 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26177 * sysdeps/posix/ulimit.c: ... this.
26178 Include <limits.h>.
26179 * sysdeps/unix/bsd/ulimit.c: Remove file.
26181 2013-01-23 Adam Conrad <adconrad@0c3.net>
26183 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26184 (LDFLAGS-tst-array5): Likewise.
26186 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26189 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26190 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26191 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26192 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26194 2013-01-21 David S. Miller <davem@davemloft.net>
26196 * sysdeps/sparc/backtrace.c: New file.
26197 * sysdeps/sparc/sparc32/backtrace.h: New file.
26198 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26199 * sysdeps/sparc/sparc64/backtrace.h: New file.
26200 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26201 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26204 2013-01-21 Andreas Schwab <schwab@suse.de>
26207 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26210 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26216 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26217 Mark Mitchell <mark@codesourcery.com>
26218 Tom de Vries <tom@codesourcery.com>
26219 Paul Pluzhnikov <ppluzhnikov@google.com>
26221 * debug/tst-backtrace2.c: New file.
26222 * debug/tst-backtrace3.c: Likewise.
26223 * debug/tst-backtrace4.c: Likewise.
26224 * debug/tst-backtrace5.c: Likewise.
26225 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26226 (CFLAGS-tst-backtrace3.c): Likewise.
26227 (CFLAGS-tst-backtrace4.c): Likewise.
26228 (CFLAGS-tst-backtrace5.c): Likewise.
26229 (LDFLAGS-tst-backtrace2): Likewise.
26230 (LDFLAGS-tst-backtrace3): Likewise.
26231 (LDFLAGS-tst-backtrace4): Likewise.
26232 (LDFLAGS-tst-backtrace5): Likewise.
26233 (tests): Add new tests tst-backtrace2, tst-backtrace3,
26234 tst-backtrace4 and tst-backtrace5.
26236 2013-01-18 Anton Blanchard <anton@samba.org>
26237 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26239 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26240 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26241 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26242 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26244 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26245 "+r" and remove output regs list as redundant. Add explicit inline
26246 asm to specify register of return val to work around compiler codegen
26247 bug. Remove (int) cast on return value. Add return type parameter to
26248 use in macro so that this macro does not truncate return value for
26250 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26251 pass to INTERNAL_VSYSCALL_NCS.
26252 (INLINE_VSYSCALL): Add 'long int' as return type to
26253 INTERNAL_VSYSCALL_NCS macro invocation.
26254 (INTERNAL_VSYSCALL): Add 'long int' as return type to
26255 INTERNAL_VSYSCALL_NCS macro invocation.
26256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26258 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26261 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26262 Fix application of SIMD FP exception mask.
26264 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26265 mp_no from a power of two.
26266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26267 __mpexp_twomm1. Use __pow_mp.
26269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26272 2013-01-17 David S. Miller <davem@davemloft.net>
26274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26276 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26279 * include/complex.h: Condition contents on [!_COMPLEX_H].
26280 (__kernel_casinhf): New prototype.
26281 (__kernel_casinh): Likewise.
26282 (__kernel_casinhl): Likewise.
26283 * math/Makefile (libm_calls): Add k_casinh.
26284 * math/k_casinh.c: New file.
26285 * math/k_casinhf.c: Likewise.
26286 * math/k_casinhl.c: Likewise.
26287 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26288 finite nonzero arguments.
26289 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26290 finite nonzero arguments.
26291 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26292 finite nonzero arguments.
26293 * math/s_casinh.c: Do not include <float.h>.
26294 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26295 * math/s_casinhf.c: Do not include <float.h>.
26296 (__casinhf): Move code for finite nonzero arguments to
26298 * math/s_casinhl.c: Do not include <float.h>.
26299 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26301 (__casinhl): Move code for finite nonzero arguments to
26303 * math/libm-test.inc (cacos_test): Add more tests.
26304 * sysdeps/i386/fpu/libm-test-ulps: Update.
26305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26307 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
26309 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26310 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26311 [!HAVE_MREMAP]: Remove [defined linux] case.
26312 * malloc/arena.c: Do not include <malloc-sysdep.h>.
26314 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26316 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26318 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
26320 * elf/elf.h (R_386_SIZE32): New relocation.
26321 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26323 (elf_machine_rela): Likewise.
26324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26325 R_X86_64_SIZE64 and R_X86_64_SIZE32.
26327 2013-01-17 Joseph Myers <joseph@codesourcery.com>
26329 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26330 (FP_FAST_FMA): Do not define.
26331 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26332 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26333 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26334 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26335 !_SOFT_FLOAT]: Likewise.
26336 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26339 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26340 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26341 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26343 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26344 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26347 2013-01-16 Andreas Schwab <schwab@suse.de>
26350 * include/stdlib.h (__mktemp): Add declaration.
26351 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26352 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26354 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26356 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26358 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26359 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26360 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26362 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26363 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26365 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26367 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26368 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26371 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26372 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26374 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26376 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26378 2013-01-15 David S. Miller <davem@davemloft.net>
26380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26381 trunc{,f} to libm-sysdep_routes.
26382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26392 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26393 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26395 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26396 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26397 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26400 nearbyint{,f} to libm-sysdep_routes.
26401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26418 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26419 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26422 libc_feholdexcept and libc_fesetenv.
26424 2013-01-15 Mike Frysinger <vapier@gentoo.org>
26426 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26428 2013-01-14 David S. Miller <davem@davemloft.net>
26430 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26431 (SPARC_ASM_VIS2_IFUNC): Likewise.
26432 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26434 use of 'siam' instruction.
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26468 routines to libm-sysdep_routines.
26469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26472 fdim/fdimf to libm-sysdep_routines.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26481 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26482 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26483 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26484 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26486 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26488 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26489 to optimize copies.
26491 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26496 local variable MPTWO.
26497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26500 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26502 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26505 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26507 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26509 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26511 * manual/pattern.texi (glob_t): Document gl_flags.
26512 (glob64_t): Likewise.
26514 2013-01-11 David S. Miller <davem@davemloft.net>
26516 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26517 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26518 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26519 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26520 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26521 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26522 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26523 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26524 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26525 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26526 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26527 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26528 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26530 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26531 sparc V9 rather than using V8 code.
26532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26535 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26537 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26540 2013-01-11 Roland McGrath <roland@hack.frob.com>
26542 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26543 not in the main loop.
26544 * configure: Regenerated.
26546 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26548 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26549 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26551 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26552 [!__GLIBC_HAVE_LONG_LONG] case.
26553 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26554 condition to just #else.
26555 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26556 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26557 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26558 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26560 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26561 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26562 #elif condition to just #else.
26563 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26564 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26565 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26566 #elif condition to just #else.
26568 2013-01-11 Steve Ellcey <sellcey@mips.com>
26570 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26571 (EF_MIPS_ARCH_64): Fix value.
26572 (EF_MIPS_ARCH_32R2): New.
26573 (EF_MIPS_ARCH_64R2): New.
26575 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26577 * Makeconfig (+link-pie-before-libc): New.
26578 (+link-pie-after-libc): Likewise.
26579 (+link-pie-tests): Likewise.
26580 (+link-pie): Rewritten.
26581 (link-before-libc): Remove $(config-LDFLAGS).
26582 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26583 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26584 (config-LDFLAGS): Renamed to ...
26585 (rtld-LDFLAGS): This.
26586 (rtld-tests-LDFLAGS): New macro.
26587 (link-libc-rpath-link): Likewise.
26588 (link-libc-tests-rpath-link): Likewise.
26589 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26590 (link-libc): Prepand $(link-libc-rpath-link).
26591 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26592 (test-program-prefix): New macro.
26593 (test-via-rtld-prefix): Likewise.
26594 (test-program-cmd): Likewise.
26595 (host-test-program-cmd): Likewise.
26596 * Makefile ($(common-objpfx)testrun.sh): Replace
26597 $(run-program-prefix) with $(test-program-prefix).
26598 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26600 ($(common-objpfx)shlib.lds): Likewise.
26601 (build-module-helper): Likewise.
26602 ($(common-objpfx)format.lds): Likewise.
26603 * Rules (binaries-pie-tests): New.
26604 (binaries-pie-notests): Likewise.
26605 (binaries-pie): Rewritten.
26606 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26607 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26608 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26609 (make-test-out): Replace $(host-built-program-cmd) with
26610 $(host-test-program-cmd).
26611 * config.make.in (build-hardcoded-path-in-tests): New variable.
26612 * configure.in (--enable-hardcoded-path-in-tests): New configure
26614 (hardcoded_path_in_tests): New AC_SUBST.
26615 * configure: Regenerated.
26616 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26617 $(built-program-cmd) with $(test-program-cmd).
26618 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26619 (test_program_cmd): This.
26620 * elf/Makefile ($(objpfx)order.out): Run test with
26621 $(test-program-prefix).
26622 ($(objpfx)order2.out): Likewise.
26623 ($(objpfx)tst-initorder.out): Likewise.
26624 ($(objpfx)tst-initorder2.out): Likewise.
26625 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26626 $(test-program-cmd).
26627 ($(objpfx)tst-array1-static.out): Likewise.
26628 ($(objpfx)tst-array2.out): Likewise.
26629 ($(objpfx)tst-array3.out): Likewise.
26630 ($(objpfx)tst-array4.out): Likewise.
26631 ($(objpfx)tst-array5.out): Likewise.
26632 ($(objpfx)tst-array5-static.out): Likewise.
26633 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26634 $(test-program-cmd).
26635 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26636 $(run-program-prefix) with $(test-program-prefix).
26637 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26638 (test_program_prefix): This.
26639 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26640 $(run-program-prefix) with $(test-program-prefix).
26641 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26642 (test_program_prefix): This.
26643 * iconvdata/tst-tables.sh: Likewise.
26644 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26645 $(run-program-prefix) with $(test-program-prefix).
26646 ($(objpfx)tst-translit.out): Likewise.
26647 ($(objpfx)tst-gettext2.out): Likewise.
26648 ($(objpfx)tst-gettext4.out): Likewise.
26649 ($(objpfx)tst-gettext6.out): Likewise.
26650 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26651 (test_program_prefix): This.
26652 * intl/tst-gettext2.sh: Likewise.
26653 * intl/tst-gettext4.sh Likewise.
26654 * intl/tst-gettext6.sh: Likewise.
26655 * intl/tst-translit.sh: Likewise.
26656 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26657 with $(test-program-cmd).
26658 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26659 $(run-program-prefix) with $(test-program-prefix).
26660 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26661 (test_program_prefix): This.
26662 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26663 $(run-program-prefix) with $(test-program-prefix).
26664 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26665 (test_program_prefix): This.
26666 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26667 * posix/Makefile ($(objpfx)globtest.out): Replace
26668 $(run-via-rtld-prefix) and $(test-wrapper) with
26669 $(test-program-prefix) and $(test-via-rtld-prefix).
26670 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26671 $(test-program-prefix).
26672 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26673 $(host-test-program-cmd).
26674 (tst-spawn-ARGS): Likewise.
26675 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26676 $(test-program-prefix).
26677 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26678 (test_via_rtld_prefix): This.
26679 (test_wrapper): Renamed to ...
26680 (test_program_prefix): This.
26681 (run_program_prefix): Replaced by test_program_prefix.
26682 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26683 (test_program_prefix): This.
26684 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26685 with $(host-test-program-cmd).
26686 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26687 $(run-program-prefix) with $(test-program-prefix).
26688 ($(objpfx)tst-printf.out): Likewise.
26689 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26690 $(test-program-cmd).
26691 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26692 (test_program_prefix): This.
26693 * stdio-common/tst-unbputc.sh: Likewise.
26694 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26695 $(run-program-prefix) with $(test-program-prefix).
26696 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26697 (test_program_prefix): This.
26698 * string/Makefile ($(objpfx)tst-svc.out): Replace
26699 $(built-program-cmd) with $(test-program-cmd).
26701 2013-01-11 Andreas Jaeger <aj@suse.de>
26704 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26705 value. Sync with Linux 3.7.
26707 2013-01-10 David S. Miller <davem@davemloft.net>
26709 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26710 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26711 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26713 2013-01-10 Roland McGrath <roland@hack.frob.com>
26715 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26717 * configure: Regenerated.
26719 2013-01-10 David S. Miller <davem@davemloft.net>
26721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26722 sparc V9 rather than using V8 code.
26723 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26724 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26726 2013-01-10 Roland McGrath <roland@hack.frob.com>
26728 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26729 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26730 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26731 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26732 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26733 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26734 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26735 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26736 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26737 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26738 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26739 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26740 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26741 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26742 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26743 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26744 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26745 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26746 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26747 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26748 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26749 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26750 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26751 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26752 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26753 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26754 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26756 2013-01-10 David S. Miller <davem@davemloft.net>
26758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26760 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26762 * posix/Makefile (tests-static): New variable.
26763 (tests): Add $(tests-static).
26764 (tst-exec-static-ARGS): New variable.
26765 (tst-spawn-static-ARGS): Likewise.
26766 * posix/tst-exec-static.c: New file.
26767 * posix/tst-spawn-static.c: Likewise.
26768 * posix/tst-exec.c: Support run directly.
26769 * posix/tst-spawn.c: Likewise.
26771 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26773 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26775 * math/bits/mathcalls.h (llrint): Likewise.
26776 (llround): Likewise.
26777 * stdlib/stdlib.h (struct drand48_data): Likewise.
26778 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26779 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26780 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26782 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26784 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26785 (elf_greg_t): Likewise.
26786 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26787 (__jmp_buf): Likewise.
26788 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26790 (llrint): Likewise, for all definitions.
26791 (llrintl): Likewise.
26793 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26794 Remove [__GNUC__] condition.
26795 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26796 condition to just [__USE_ISOC99].
26797 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26799 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26802 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26803 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26805 (_POSIX_V6_ILP32_OFF32): Likewise.
26806 (_XBS5_ILP32_OFF32): Likewise.
26807 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26808 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26810 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26812 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26815 doubles __mpexp_twomm1. Adjust usage.
26816 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26819 2013-01-10 Andreas Schwab <schwab@suse.de>
26822 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26823 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26825 2013-01-09 David S. Miller <davem@davemloft.net>
26828 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26829 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26830 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26831 (TCP_FASTOPEN): Define.
26832 (tcp_repair_opt): New structure.
26833 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26835 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26836 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26837 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26838 (tcp_cookie_transactions): New structure.
26840 2013-01-09 Anton Blanchard <anton@samba.org>
26842 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26843 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26845 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26847 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26849 * include/features.h (__USE_ANSI): Remove.
26851 2013-01-09 Roland McGrath <roland@hack.frob.com>
26853 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26855 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26857 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26859 * sysdeps/s390/fpu/libm-test-ulps: Update.
26861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26863 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26867 (denorm): Likewise.
26868 (__mp_dbl): Likewise.
26869 (__dbl_mp): Likewise.
26870 (add_magnitudes): Likewise.
26871 (sub_magnitudes): Likewise.
26877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26881 (denorm): Likewise.
26882 (__mp_dbl): Likewise.
26883 (__dbl_mp): Likewise.
26884 (add_magnitudes): Likewise.
26885 (sub_magnitudes): Likewise.
26891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26895 (denorm): Likewise.
26896 (__mp_dbl): Likewise.
26897 (__dbl_mp): Likewise.
26898 (add_magnitudes): Likewise.
26899 (sub_magnitudes): Likewise.
26906 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26908 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26909 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26910 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26911 2 && __USE_EXTERN_INLINES]: Likewise.
26913 2013-01-08 Andreas Jaeger <aj@suse.de>
26916 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26918 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26919 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26921 2013-01-07 Anton Blanchard <anton@samba.org>
26923 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26924 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26925 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26926 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26927 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26928 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26929 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26930 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26936 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26937 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26941 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26943 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26944 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26946 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26947 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26948 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26949 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26950 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26952 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26953 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26956 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26957 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26959 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26960 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26961 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26963 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26965 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26967 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26969 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26970 (__MALLOC_PMT): Likewise.
26971 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26972 [__GNUC__], only on [_LIBC].
26973 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26974 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26975 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26976 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26977 forward declaration.
26978 (realloc_hook_ini): Likewise.
26979 (memalign_hook_ini): Likewise.
26980 (__libc_memalign): Do not use __MALLOC_PMT in variable
26982 (__libc_valloc): Likewise.
26983 (__libc_pvalloc): Likewise.
26984 (__libc_calloc): Likewise.
26985 (__posix_memalign): Likewise.
26988 * math/s_casinh.c: Include <float.h>.
26989 (__casinh): Do not do computation with squaring and square root
26990 for large arguments.
26991 * math/s_casinhf.c: Include <float.h>.
26992 (__casinhf): Do not do computation with squaring and square root
26993 for large arguments.
26994 * math/s_casinhl.c: Include <float.h>.
26995 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26996 (__casinhl): Do not do computation with squaring and square root
26997 for large arguments.
26998 * math/libm-test.inc (casin_test): Add more tests.
26999 (casinh_test): Likewise.
27000 * sysdeps/i386/fpu/libm-test-ulps: Update.
27001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27003 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27005 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27006 (__x86_64_raw_data_cache_size): Likewise.
27007 (__x86_64_data_cache_size_half): Likewise.
27008 (__x86_64_raw_data_cache_size_half): Likewise.
27009 (__x86_64_shared_cache_size): Likewise.
27010 (__x86_64_raw_shared_cache_size): Likewise.
27011 (__x86_64_shared_cache_size_half): Likewise.
27012 (__x86_64_raw_shared_cache_size_half): Likewise.
27013 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27015 (__x86_data_cache_size): This.
27016 (__x86_64_raw_data_cache_size): Renamed to ...
27017 (__x86_raw_data_cache_size): This.
27018 (__x86_64_data_cache_size_half): Renamed to ...
27019 (__x86_data_cache_size_half): This.
27020 (__x86_64_raw_data_cache_size_half): Renamed to ...
27021 (__x86_raw_data_cache_size_half): This.
27022 (__x86_64_shared_cache_size): Renamed to ...
27023 (__x86_shared_cache_size): This.
27024 (__x86_64_raw_shared_cache_size): Renamed to ...
27025 (__x86_raw_shared_cache_size): This.
27026 (__x86_64_shared_cache_size_half): Renamed to ...
27027 (__x86_shared_cache_size_half): This.
27028 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27029 (__x86_raw_shared_cache_size_half): This.
27030 * sysdeps/x86_64/memcpy.S: Updated.
27031 * sysdeps/x86_64/memset.S: Likewise.
27032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27036 2013-01-04 David S. Miller <davem@davemloft.net>
27038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27040 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27042 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27043 1 to avoid redefinition warning.
27044 (__USE_GNU): Don't define.
27045 (init_signaling_nan): Protoize.
27047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27049 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27051 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27053 (__cpymn): Likewise.
27054 (norm): Remove commented code.
27055 (denorm): Likewise.
27056 (__mp_dbl): Likewise.
27058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27059 (__cpymn): Likewise.
27060 (norm): Remove commented code.
27061 (denorm): Likewise.
27062 (__mp_dbl): Likewise.
27065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27066 mp_no value for 1.0 and 2.0.
27067 (norm): Use RADIXI instead of radixi.d.
27068 (denorm): Likewise.
27069 (__mul): Use 0.0 instead of zero.d.
27070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27071 mp_no value for 1.0 and 2.0.
27072 (norm): Use RADIXI instead of radixi.d.
27073 (denorm): Likewise.
27074 (__mul): Use 0.0 instead of zero.d.
27076 2013-01-04 Joseph Myers <joseph@codesourcery.com>
27079 * math/s_casinh.c (__casinh): Reduce finite argument to first
27080 quadrant then set signs of results at the end.
27081 * math/s_casinhf.c (__casinhf): Likewise.
27082 * math/s_casinhl.c (__casinhl): Likewise.
27083 * math/libm-test.inc (casin_test): Add more tests.
27084 (casinh_test): Likewise.
27085 * sysdeps/i386/fpu/libm-test-ulps: Update.
27086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27088 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27090 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27092 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27094 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27096 (denorm): Likewise.
27097 (__mp_dbl): Likewise.
27100 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27101 and adjust the header comment.
27103 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27104 variable name from declaration.
27106 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27109 Initialize COMMON_CPUID_INDEX_7 element.
27110 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27111 (CPUID_RTM): Likewise.
27112 (HAS_RTM): Likewise.
27113 (COMMON_CPUID_INDEX_7): New enum.
27115 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27118 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27119 size is zero, record memory as freed.
27121 2013-01-03 Andreas Jaeger <aj@suse.de>
27123 * po/ia.po: Add new Interlingua translation.
27125 2012-01-03 Allan McRae <allan@archlinux.org>
27127 * locale/programs/localedef.c: Fix description of '--posix' flag.
27129 2013-01-02 Joseph Myers <joseph@codesourcery.com>
27131 * NEWS: Update dates in second copyright notice.
27132 * README: Update copyright dates in example.
27133 * manual/libc.texinfo: Update copyright dates.
27134 * scripts/test-installation.pl: Update copyright date in --version
27137 * hurd/ctty-input.c: Fix copyright notice formatting.
27138 * hurd/ctty-output.c: Likewise.
27139 * hurd/dtable.c: Likewise.
27140 * hurd/hurd-raise.c: Likewise.
27141 * hurd/hurdprio.c: Likewise.
27142 * hurd/msgportdemux.c: Likewise.
27143 * misc/sys/file.h: Likewise.
27144 * misc/sys/ioctl.h: Likewise.
27145 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27146 * sysdeps/mach/hurd/chdir.c: Likewise.
27147 * sysdeps/mach/hurd/fchdir.c: Likewise.
27148 * sysdeps/mach/hurd/rename.c: Likewise.
27149 * sysdeps/mach/hurd/rmdir.c: Likewise.
27150 * sysdeps/mach/hurd/seekdir.c: Likewise.
27151 * sysdeps/mach/hurd/setsid.c: Likewise.
27152 * sysdeps/posix/wait3.c: Likewise.
27154 * All files with FSF copyright notices: Update copyright dates
27155 using scripts/update-copyrights.
27156 * intl/plural.c: Regenerated.
27157 * locale/programs/charmap-kw.h: Likewise.
27158 * locale/programs/locfile-kw.h: Likewise.
27160 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27162 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27165 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27166 calculation loop and add branch prediction.
27168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27169 check access beyond bounds of m1np.
27171 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27173 (__inv): Remove local variable MPTWO to use the global
27175 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27178 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27179 MP3HALFS static const.
27181 2013-01-01 David S. Miller <davem@davemloft.net>
27183 * po/ca.po: Update from translation team.
27185 2013-01-01 Joseph Myers <joseph@codesourcery.com>
27187 * scripts/update-copyrights: New file.
27188 * Makeconfig: Reformat copyright notice.
27189 * ctype/ctype.h: Likewise.
27190 * debug/swprintf_chk.c: Likewise.
27191 * elf/dl-cache.c: Likewise.
27192 * elf/dl-debug.c: Likewise.
27193 * elf/dl-object.c: Likewise.
27194 * grp/initgroups.c: Likewise.
27195 * hurd/Makefile: Likewise.
27196 * hurd/hurd/signal.h: Likewise.
27197 * hurd/hurdfault.c: Likewise.
27198 * hurd/hurdioctl.c: Likewise.
27199 * hurd/hurdlookup.c: Likewise.
27200 * hurd/intr-msg.c: Likewise.
27201 * iconv/gconv_open.c: Likewise.
27202 * libio/swprintf.c: Likewise.
27203 * locale/lc-ctype.c: Likewise.
27204 * locale/nl_langinfo.c: Likewise.
27205 * mach/Machrules: Likewise.
27206 * mach/Makefile: Likewise.
27207 * malloc/obstack.h: Likewise.
27208 * manual/Makefile: Likewise.
27209 * manual/tsort.awk: Likewise.
27210 * misc/bits/stab.def: Likewise.
27211 * nis/nis_print_group_entry.c: Likewise.
27212 * nis/nis_table.c: Likewise.
27213 * nis/nss_compat/compat-pwd.c: Likewise.
27214 * nis/nss_compat/compat-spwd.c: Likewise.
27215 * po/Makefile: Likewise.
27216 * posix/fnmatch.c: Likewise.
27217 * posix/regex.h: Likewise.
27218 * resolv/Makefile: Likewise.
27219 * resolv/nss_dns/dns-network.c: Likewise.
27220 * resolv/res_hconf.c: Likewise.
27221 * scripts/gen-sorted.awk: Likewise.
27222 * soft-fp/soft-fp.h: Likewise.
27223 * stdio-common/printf.h: Likewise.
27224 * stdlib/monetary.h: Likewise.
27225 * stdlib/random.c: Likewise.
27226 * stdlib/random_r.c: Likewise.
27227 * sysdeps/generic/Makefile: Likewise.
27228 * sysdeps/gnu/Makefile: Likewise.
27229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27257 * sysdeps/mach/hurd/errnos.awk: Likewise.
27258 * sysdeps/mach/hurd/fork.c: Likewise.
27259 * sysdeps/mach/hurd/getcwd.c: Likewise.
27260 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27261 * sysdeps/mach/hurd/mmap.c: Likewise.
27262 * sysdeps/mach/hurd/utimes.c: Likewise.
27263 * sysdeps/mach/hurd/xmknod.c: Likewise.
27264 * sysdeps/posix/profil.c: Likewise.
27265 * sysdeps/posix/readdir_r.c: Likewise.
27266 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27267 * sysdeps/powerpc/bits/setjmp.h: Likewise.
27268 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27269 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27271 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27272 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27273 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27275 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27276 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27277 * sysdeps/pthread/lio_listio.c: Likewise.
27278 * sysdeps/sparc/dl-procinfo.h: Likewise.
27279 * sysdeps/unix/i386/sysdep.S: Likewise.
27280 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27281 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27282 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27283 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27285 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27286 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27287 * sysdeps/unix/sysv/linux/speed.c: Likewise.
27288 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27289 * sysdeps/wordsize-32/divdi3.c: Likewise.
27290 * time/sys/time.h: Likewise.
27291 * wcsmbs/Makefile: Likewise.
27293 2013-01-01 David S. Miller <davem@davemloft.net>
27295 * po/fr.po: Update from translation team.
27297 * catgets/gencat.c: Update copyright year.
27298 * csu/version.c: Likewise.
27299 * debug/catchsegv.sh: Likewise.
27300 * debug/pcprofiledump.c: Likewise.
27301 * debug/xtrace.sh: Likewise.
27302 * elf/ldconfig.c: Likewise.
27303 * elf/ldd.bash.in: Likewise.
27304 * elf/pldd.c: Likewise.
27305 * elf/sotruss.ksh: Likewise.
27306 * elf/sprof.c: Likewise.
27307 * iconv/iconv_prog.c: Likewise.
27308 * iconv/iconvconfig.c: Likewise.
27309 * locale/programs/locale.c: Likewise.
27310 * locale/programs/localedef.c: Likewise.
27311 * login/programs/pt_chown.c: Likewise.
27312 * malloc/memusage.sh: Likewise.
27313 * malloc/memusagestat.c: Likewise.
27314 * malloc/mtrace.pl: Likewise.
27315 * nscd/nscd.c: Likewise.
27316 * nss/getent.c: Likewise.
27317 * nss/makedb.c: Likewise.
27318 * posix/getconf.c: Likewise.
27320 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27322 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27325 2012-12-30 Mike Frysinger <vapier@gentoo.org>
27327 * math/bits/mathcalls.h (modf): Use __nonnull.
27329 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27331 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27332 (split): Use macro CN instead of the bare value.
27333 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27336 instead of the bare value.
27337 (power1): Likewise.
27339 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27343 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27345 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27347 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27348 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27349 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27350 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27352 2012-12-28 Andreas Jaeger <aj@suse.de>
27354 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27355 values are from Linux 3.7.
27357 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27358 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
27360 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27362 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27365 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27367 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27368 variables with preprocessor constants.
27369 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27370 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27371 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27373 2012-12-27 Bruno Haible <bruno@clisp.org>
27376 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27379 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27382 and use variable directly.
27383 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27385 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27387 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27388 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27390 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27392 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27393 include directive. Remove local variable MPONE.
27394 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27395 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27396 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27398 2012-12-25 David S. Miller <davem@davemloft.net>
27400 * version.h (RELEASE): Set to "development".
27401 (VERSION): Set to "2.17.90".
27402 * NEWS: Add 2.18 section.
27404 2012-12-21 David S. Miller <davem@davemloft.net>
27406 * po/hr.po: Update from translation team.
27408 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27410 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27412 2012-12-19 Steve Ellcey <sellcey@mips.com>
27414 * NEWS: Mention new memcpy for MIPS.
27416 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27418 * manual/contrib.texi (Contributors): Spelling correction.
27420 2012-12-15 David S. Miller <davem@davemloft.net>
27422 * po/ru.po: Update from translation team.
27424 2012-12-13 David S. Miller <davem@davemloft.net>
27426 * NEWS: Mention IFUNC testsuite enhancements.
27428 * po/pl.po: Update from translation team.
27429 * po/bg.po: Likewise.
27431 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27432 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27434 2012-12-11 David S. Miller <davem@davemloft.net>
27436 * po/sv.po: Update from translation team.
27438 * po/vi.po: Update from translation team.
27440 * po/cs.po: Update from translation team.
27442 * po/de.po: Update from translation team.
27443 * po/eo.po: Likewise.
27444 * po/nl.po: Likewise.
27446 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27449 * manual/argp.texi (Argp Helper Functions): Move node to follow
27450 Argp Parsing State.
27453 * manual/conf.texi (Limits on File System Capacity): Mention if
27454 terminating null is included in the max size.
27456 2012-12-10 Andreas Jaeger <aj@suse.de>
27458 * po/cs.po: Update from translation team.
27460 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27462 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27463 void pointer and cast to uintptr_t.
27464 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27466 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27467 * sysdeps/s390/s390-64/memset.S: Likewise.
27469 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27472 * menual/message.texi (Message Translation): Fix typos.
27473 (Helper programs for gettext): Likewise.
27475 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27478 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27481 2012-12-07 David S. Miller <davem@davemloft.net>
27483 * po/libc.pot: Update.
27485 2012-12-07 Richard Henderson <rth@redhat.com>
27488 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27489 normal/normal case to before the switch.
27490 (_FP_DIV): Likewise.
27492 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27493 Mike Frysinger <vapier@gentoo.org>
27495 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27496 check for __NR_fadvise64_64.
27498 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27500 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27501 0, not just to plain "0" as a statement.
27502 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27505 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27507 * NEWS: Use sourceware.org in Bugzilla URL.
27509 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27512 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27514 * stdio-common/tst-put-error.c (do_test): Add newline to the
27515 padded test to ensure flush.
27517 2012-12-05 Jeff Law <law@redhat.com>
27519 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27521 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27523 * README: Don't refer to ports add-on as distributed separately.
27524 Mention AArch64 in list of systems supported in the ports add-on.
27526 * LICENSES: Add more non-FSF copyright and license notices.
27528 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27531 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27533 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27534 10000 as width of padded output.
27536 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27538 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27541 variable LX with __attribute__ ((unused)).
27542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27544 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27546 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27547 with __attribute__ ((unused)).
27549 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27551 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27553 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27555 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27556 (CFLAGS-nldbl-acos.c): New variable.
27557 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27558 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27559 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27560 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27561 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27562 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27563 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27564 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27565 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27566 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27567 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27568 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27569 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27570 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27571 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27572 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27573 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27574 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27575 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27576 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27577 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27578 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27579 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27580 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27581 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27582 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27583 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27584 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27585 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27586 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27587 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27588 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27589 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27590 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27591 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27592 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27593 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27594 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27595 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27596 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27597 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27598 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27599 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27600 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27601 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27602 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27603 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27604 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27605 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27606 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27607 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27608 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27609 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27610 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27611 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27612 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27613 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27614 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27615 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27616 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27617 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27618 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27619 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27620 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27621 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27622 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27623 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27624 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27625 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27626 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27627 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27628 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27629 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27630 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27631 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27632 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27633 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27634 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27635 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27636 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27637 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27638 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27639 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27640 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27641 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27642 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27643 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27644 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27645 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27646 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27647 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27648 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27649 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27650 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27651 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27652 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27653 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27656 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27660 whole low double instead of just low 47 bits when splitting values
27663 2012-12-03 Allan McRae <allan@archlinux.org>
27665 * manual/stdio.texi (Predefined Printf Handlers): Remove
27666 @hsep and @vsep usage.
27668 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27670 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27671 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27673 2012-12-03 Jeff Law <law@redhat.com>
27675 * time/sys/time.h (settimeofday): Do not mark TV argument
27678 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27680 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27681 when currently writing and seek to current position when not.
27682 * libio/Makefile (tests): Remove bug-fclose1.
27683 * libio/bug-fclose1.c: Delete.
27685 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27687 * manual/arith.texi (feenableexcept): Fix typo.
27688 (fedisableexcept): Likewise.
27690 2012-11-30 Roland McGrath <roland@hack.frob.com>
27692 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27693 second, differently-typed declaration, rather than a cast.
27695 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27697 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27698 * include/rpc/svc.h: ... here.
27700 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27703 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27704 depending n and resplen2 to catch cases where answer
27707 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27709 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27710 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27712 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27714 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27716 2012-11-29 Roland McGrath <roland@hack.frob.com>
27718 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27720 2012-11-28 Jeff Law <law@redhat.com>
27723 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27724 dataset_temporary. Track alloca usage into alloca_used.
27725 If dataset is large allocate and release it via malloc/free.
27727 2012-06-04 Florian Weimer <fweimer@redhat.com>
27730 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27732 2012-11-28 David S. Miller <davem@davemloft.net>
27734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27736 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27739 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27740 of pi/2 rounded to nearest to 64 bits.
27741 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27742 nearest to 64 bits.
27743 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27746 2012-11-28 Jeff Law <law@redhat.com>
27747 Martin Osvald <mosvald@redhat.com>
27750 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27751 * sunrpc/svc.c: Include time.h.
27752 (__svc_accept_failed): New function.
27753 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27754 any reason other than EINTR, call __svc_accept_failed.
27755 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27756 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27758 2012-11-28 Andreas Schwab <schwab@suse.de>
27760 * scripts/abilist.awk: Also handle indirect functions in .opd
27763 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27766 * sysdeps/x86/fpu/powl_helper.c: New file.
27767 * sysdeps/x86/fpu/Makefile: Likewise.
27768 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27770 (__ieee754_powl): Use __powl_helper for finite arguments except
27771 integer exponents below 8.
27772 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27774 (__ieee754_powl): Use __powl_helper for finite arguments except
27775 integer exponents below 8.
27776 * math/libm-test.inc (pow_test): Add more tests and enable some
27777 previously disabled tests.
27778 * sysdeps/i386/fpu/libm-test-ulps: Update.
27779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27781 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27782 Carlos O'Donell <carlos_odonell@mentor.com>
27784 * nss/makedb.c (is_prime): Assert that input is odd and greater
27785 than 4. Note that fact in a comment too.
27786 (next_prime): Add 4 to input.
27788 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27791 * libio/Makefile (tests): Add test case tst-fwrite-error.
27792 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27793 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27794 * libio/tst-fwrite-error.c: New test case.
27796 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27798 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27799 before casting to void *.
27800 * include/libc-internal.h (__pointer_type): New macro.
27801 (__integer_if_pointer_type_sub): Likewise.
27802 (__integer_if_pointer_type): Likewise.
27803 (cast_to_integer): Likewise.
27804 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27805 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27806 before casting to atomic64_t.
27807 (atomic_exchange_acq): Likewise.
27808 (__arch_exchange_and_add_body): Likewise.
27809 (__arch_add_body): Likewise.
27810 (atomic_add_negative): Likewise.
27811 (atomic_add_zero): Likewise.
27813 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27815 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27816 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27817 (add_fdes): Likewise.
27818 (linear_search_fdes): Likewise.
27819 (binary_search_unencoded_fdes): Likewise.
27821 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27823 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27825 2012-11-24 Adam Conrad <adconrad@0c3.net>
27827 * configure.in: Autodetect C++ header directories.
27828 * configure: Regenerated.
27830 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27832 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27834 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27838 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27840 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27841 LDBL_MANT_DIG == 106]: Disable some tests.
27842 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27844 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27848 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27849 input for small inputs. Return +/- pi/2 for large inputs.
27850 * math/libm-test.inc (atan_test): Add more tests.
27852 * sysdeps/generic/unwind-dw2-fde-glibc.c
27853 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27854 __attribute__ ((unused)).
27857 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27858 x * y if x and y are nonzero and z is zero.
27861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27862 nonzero exponents with absolute value below 0x1p-117 to +/-
27866 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27867 up arguments below 2**-450, not just those below 2**-500.
27868 * math/libm-test.inc (hypot_test): Add another test.
27871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27872 Return a+b for ratio over 2**120, not 2**60.
27873 * math/libm-test.inc (hypot_test): Add another test.
27875 * math/libm-test.inc (clog_test): Use
27876 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27877 (clog10_test): Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27882 2012-11-22 Andreas Schwab <schwab@suse.de>
27884 * sysdeps/i386/fpu/libm-test-ulps: Update.
27886 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27888 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27889 printf output with newline.
27891 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27894 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27895 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27896 -z nodlopen, -z initfirst and -z execstack support.
27897 * configure: Regenerated.
27899 * elf/elf.h (DF_1_NODIRECT): New macro.
27900 (DF_1_IGNMULDEF): Likewise.
27901 (DF_1_NOKSYMS): Likewise.
27902 (DF_1_NOHDR): Likewise.
27903 (DF_1_EDITED): Likewise.
27904 (DF_1_NORELOC): Likewise.
27905 (DF_1_SYMINTPOSE): Likewise.
27906 (DF_1_GLOBAUDIT): Likewise.
27907 (DF_1_SINGLETON): Likewise.
27908 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27909 DT_1_SUPPORTED_MASK bits.
27910 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27912 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27914 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27916 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27918 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27921 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27922 (sendmmsg): Move declarations...
27923 * socket/sys/socket.h: ... here.
27924 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27925 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27927 * socket/recvmmsg.c: ... this new file.
27928 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27929 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27930 definition of __sendmmsg hidden.
27931 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27932 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27933 Move ENOSYS stub into and include it from...
27934 * socket/sendmmsg.c: ... this new file.
27935 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27936 (sysdep_routines): Move recvmmsg and sendmmsg...
27937 * socket/Makefile (routines): ... here.
27938 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27939 (GLIBC_PRIVATE): Add __sendmmsg.
27940 * include/sys/socket.h (__sendmmsg): Add declarations.
27941 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27944 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27946 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27947 variable I1 with __attribute__ ((unused)).
27948 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27950 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27952 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27953 DUMMY variables with __attribute__ ((unused)).
27955 * bits/byteswap.h: Include <bits/types.h>.
27956 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27958 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27960 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27961 string_t. Do not manually set errno.
27962 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27963 length with __strnlen. Make sure to both set errno and return it on
27966 2012-11-19 David S. Miller <davem@davemloft.net>
27968 With help from Joseph Myers.
27969 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27970 very large arguments properly.
27971 * math/libm-test.inc (atan_test): New tests.
27972 (atan2_test): New tests.
27973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27976 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27979 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27982 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27983 [POSIX] (EADDRNOTAVAIL): Likewise.
27984 [POSIX] (EAFNOSUPPORT): Likewise.
27985 [POSIX] (EALREADY): Likewise.
27986 [POSIX] (ECONNABORTED): Likewise.
27987 [POSIX] (ECONNREFUSED): Likewise.
27988 [POSIX] (ECONNRESET): Likewise.
27989 [POSIX] (EDESTADDRREQ): Likewise.
27990 [POSIX] (EDQUOT): Likewise.
27991 [POSIX] (EHOSTUNREACH): Likewise.
27992 [POSIX] (EIDRM): Likewise.
27993 [POSIX] (EISCONN): Likewise.
27994 [POSIX] (ELOOP): Likewise.
27995 [POSIX] (EMULTIHOP): Likewise.
27996 [POSIX] (ENETDOWN): Likewise.
27997 [POSIX] (ENETUNREACH): Likewise.
27998 [POSIX] (ENOBUFS): Likewise.
27999 [POSIX] (ENODATA): Likewise.
28000 [POSIX] (ENOLINK): Likewise.
28001 [POSIX] (ENOMSG): Likewise.
28002 [POSIX] (ENOPROTOOPT): Likewise.
28003 [POSIX] (ENOSR): Likewise.
28004 [POSIX] (ENOSTR): Likewise.
28005 [POSIX] (ENOTCONN): Likewise.
28006 [POSIX] (ENOTSOCK): Likewise.
28007 [POSIX] (EOPNOTSUPP): Likewise.
28008 [POSIX] (EOVERFLOW): Likewise.
28009 [POSIX] (EPROTO): Likewise.
28010 [POSIX] (EPROTONOSUPPORT): Likewise.
28011 [POSIX] (EPROTOTYPE): Likewise.
28012 [POSIX] (ESTALE): Likewise.
28013 [POSIX] (ETIME): Likewise.
28014 [POSIX] (ETXTBSY): Likewise.
28015 [POSIX] (EWOULDBLOCK): Likewise.
28016 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28017 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28018 [POSIX] (SEEK_CUR): Likewise.
28019 [POSIX] (SEEK_END): Likewise.
28020 [POSIX || UNIX98] (mode_t): Do not require.
28021 [POSIX] (off_t): Likewise.
28022 [POSIX] (pid_t): Likewise.
28023 [POSIX] (sys/stat.h): Do not allow header.
28024 [POSIX] (unistd.h): Likewise.
28025 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28026 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28027 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28028 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28030 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28031 sigevent): Specify elements.
28032 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28034 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28035 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28037 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28038 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28039 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28040 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28041 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28042 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28043 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28044 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28045 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28046 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28047 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28048 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28049 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28058 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28060 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28061 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28062 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28063 Specify lower bound on value.
28064 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28065 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28066 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28067 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28068 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28069 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28070 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28071 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28073 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28075 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28076 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28077 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28078 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28079 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28080 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28081 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28082 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28083 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28084 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28085 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28086 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28087 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28088 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28089 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28090 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28092 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28094 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28095 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28096 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28097 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28098 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28099 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28101 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28102 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28103 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28104 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28105 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28106 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28107 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28111 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28112 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28113 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28114 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28115 specify as optional.
28116 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28117 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28118 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28119 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28120 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28121 [XPG3] (NL_LANGMAX): Likewise.
28122 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28123 [POSIX || XPG3] (NL_NMAX): Likewise.
28124 [POSIX || XPG3] (NL_SETMAX): Likewise.
28125 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28126 [XPG3] (NZERO): Likewise.
28127 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28128 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28129 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28130 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28131 (REG_ERANGE): Expect.
28132 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28134 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28135 Use (void) in prototype.
28136 [POSIX] (*_t): Allow.
28137 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28138 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28139 (WRDE_BADVAL): Expect.
28141 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28143 [XPG3 || XPG4] (O_RSYNC): Likewise.
28144 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28146 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28147 [XPG3 || XPG4] (sigqueue): Likewise.
28148 [XPG3 || XPG4] (sigtimedwait): Likewise.
28149 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28150 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28151 [XPG3 || XPG4] (vsnprintf): Likewise.
28152 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28154 [XPG3 || XPG4] (blksize_t): Likewise.
28155 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28157 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28158 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28159 [XPG3 || XPG4] (struct itimerspec): Likewise.
28160 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28161 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28162 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28163 [XPG3 || XPG4] (clockid_t): Likewise.
28164 [XPG3 || XPG4] (timer_t): Likewise.
28165 [XPG3 || XPG4] (clock_getres): Likewise.
28166 [XPG3 || XPG4] (clock_gettime): Likewise.
28167 [XPG3 || XPG4] (clock_settime): Likewise.
28168 [XPG3 || XPG4] (nanosleep): Likewise.
28169 [XPG3 || XPG4] (timer_create): Likewise.
28170 [XPG3 || XPG4] (timer_delete): Likewise.
28171 [XPG3 || XPG4] (timer_gettime): Likewise.
28172 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28173 [XPG3 || XPG4] (timer_settime): Likewise.
28174 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28175 [XPG3 || XPG4] (getlogin_r): Likewise.
28176 [XPG3 || XPG4] (pread): Likewise.
28177 [XPG3 || XPG4] (pthread_atfork): Likewise.
28178 [XPG3 || XPG4] (pwrite): Likewise.
28181 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28184 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28186 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28187 finalizing MALLSTREAM.
28189 * sysdeps/mach/hurd/syncfs.c: New file.
28191 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28194 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28195 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28197 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28198 (_nss_dns_gethostbyname4_r): Likewise.
28199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28200 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28202 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28205 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28207 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28209 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28210 * elf/cache.c (print_entry): Print ",AArch64" for
28213 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28214 * elf/cache.c (print_entry): Print ",hard-float" for
28217 2012-11-18 David S. Miller <davem@davemloft.net>
28219 With help from Joseph Myers.
28220 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28222 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28224 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28225 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28227 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28228 * math/libm-test.inc (y0_test): New tests.
28229 (y1_test): New tests.
28230 * sysdeps/i386/fpu/libm-test-ulps: Update.
28231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28234 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
28236 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28238 * configure: Regenerated.
28240 2012-11-17 David S. Miller <davem@davemloft.net>
28243 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28244 nonzero exponents with absolute value below 0x1p-128 to +/-
28247 2012-11-17 Joseph Myers <joseph@codesourcery.com>
28249 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28251 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28253 * posix/getconf-speclist.c: New file.
28254 * posix/posix-envs.def: Likewise.
28255 * posix/confstr.c (START_ENV_GROUP): New macro.
28256 (END_ENV_GROUP): Likewise.
28257 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28258 (KNOWN_PRESENT_ENV_STRING): Likewise.
28259 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28260 (UNKNOWN_ENVIRONMENT): Likewise.
28261 (confstr): Include posix-envs.def instead of handling
28262 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28263 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28264 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28265 (END_ENV_GROUP): Likewise.
28266 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28267 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28268 (UNKNOWN_ENVIRONMENT): Likewise.
28269 (__sysconf): Include posix-envs.def instead of handling associated
28270 cases directly here.
28271 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28272 preprocessing getconf-speclist.c rather than running getconf or
28273 generating empty file.
28275 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
28277 * scripts/check-local-headers.sh: Ignore 'mach' headers.
28279 2012-11-16 Andrej Lajovic <natrij@gmail.com>
28282 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28284 2012-11-16 David S. Miller <davem@davemloft.net>
28286 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28287 smaller than LDBL_EPSILON/2.0L, just return xm1.
28289 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
28291 * elf/tst-array1.c (init): Set constructor priority to 1000.
28292 (fini): Set destructor priority to 1000.
28293 * elf/tst-array2dep.c: Likewise.
28295 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28298 * libio/fileops.c (_IO_new_file_write): Correctly return error.
28299 (_IO_new_file_xsputn): Also return EOF if none of the input
28300 data was written when overflow failed.
28301 * libio/iopadn.c (_IO_padn): Likewise.
28302 * libio/iowpadn.c (_IO_wpadn): Likewise.
28303 * stdio-common/tst-put-error.c: Add copyright notice.
28304 (do_test): Add case for printing padded string.
28305 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28306 _IO_padn returned error.
28307 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28308 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28311 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28313 * libio/libioP.h: Add comment note that the references to C++
28314 bits are now obsolete.
28316 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28318 * math/libm-test.inc (check_complex): Use asprintf.
28320 2012-11-14 Joseph Myers <joseph@codesourcery.com>
28322 * debug/pcprofiledump.c (print_version): Update copyright year.
28323 * malloc/memusagestat.c (print_version): Likewise.
28325 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
28328 * elf/Makefile (tests): Add tst-audit8.
28329 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28330 ($(objpfx)tst-audit8.out): New target.
28331 (tst-audit8-ENV): New variable.
28332 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28333 audit if l_reloc_result is NULL.
28334 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28335 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28336 * elf/tst-audit8.c: New file.
28338 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28340 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28341 * misc/Makefile (CFLAGS-select.c): Define.
28342 * posix/Makefile (CFLAGS-pause.c): Define.
28344 2012-11-13 David S. Miller <davem@davemloft.net>
28346 * crypt/Makefile: Move test targets after toplevel Rules
28347 inclusion. Grab any necessary sysdep routines when linking.
28348 * crypt/md5.c (md5_process_block): Remove define, we will always
28349 name it __md5_process_block.
28350 (md5_finish_ctx): Update md5_process_block call.
28351 (md5_stream): Likewise.
28352 (md5_process_bytes): Likewise.
28353 (md5_process_block): Rename to __md5_process_block and move to ...
28354 * crypt/md5-block.c: ... here.
28355 * crypt/sha256.c (sha256_process_block): Move to ...
28356 * crypt/sha256-block.c: ... here.
28357 * crypt/sha512.c (sha512_process_block): Move to ...
28358 * crypt/sha512-block.c: ... here.
28359 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28361 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28362 * sysdeps/sparc/sparc64/multiarch/Makefile
28363 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28365 (localedef-aux): Add md5 crypto assembler when in locale subdir.
28366 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28368 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28369 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28370 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28371 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28372 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28373 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28374 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28375 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28378 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28383 2012-11-13 Joseph Myers <joseph@codesourcery.com>
28385 * timezone/tzselect.ksh: Update from tzcode git revision
28386 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28387 * timezone/zdump.c: Likewise.
28388 * timezone/zic.c: Likewise.
28389 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28390 in TZVERSION setting, not $(PKGVERSION).
28391 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
28392 REPORT_BUGS_TO settings.
28395 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28398 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28400 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28401 detection to immediately after _FP_ROUND().
28402 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28405 2012-11-11 David S. Miller <davem@davemloft.net>
28407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28409 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28410 __close rather than their public counterparts.
28412 2012-11-10 Joseph Myers <joseph@codesourcery.com>
28414 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28416 [UNIX98] (sem_timedwait): Do not expect.
28417 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28418 [XPG4 || UNIX98] (sockatmark): Do not expect.
28419 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28420 (clock_getcpuclockid): Do not expect.
28421 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28422 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28424 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28425 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28426 [UNIX98] (vwscanf): Likewise.
28427 [UNIX98] (vswscanf): Likewise.
28429 2012-11-09 Joseph Myers <joseph@codesourcery.com>
28431 * timezone/version.h: Remove file.
28432 * timezone/README: Do not refer to version.h.
28433 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28434 $(objpfx)version.h.
28435 ($(objpfx)zdump.o): Likewise.
28436 ($(objpfx)version.h): New target.
28438 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28440 * timezone/README: Don't mention modification to tzselect.ksh.
28441 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28442 work on unmodified tzselect.ksh. Substitute version numbers in
28445 * Makefile (format-me): Remove.
28446 (INSTALL): Adjust indentation. Use commands directly instead of
28447 using $(format-me).
28449 * aclocal.m4 (ACX_PKGVERSION): New macro.
28450 (ACX_BUGURL): Likewise.
28451 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28452 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28453 (REPORT_BUGS_TO): Likewise.
28454 * configure: Regenerated.
28455 * config.h.in (PKGVERSION): New macro.
28456 (REPORT_BUGS_TO): Likewise.
28457 * config.make.in (PKGVERSION): New variable.
28458 (PKGVERSION_TEXI): Likewise.
28459 (REPORT_BUGS_TO): Likewise.
28460 (REPORT_BUGS_TEXI): Likewise.
28461 * Makefile (format-me): Use -I$(common-objpfx)manual.
28462 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28463 ($(common-objpfx)manual/%): New target.
28464 (manual/%): Remove target.
28465 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28466 (print_version): Use PKGVERSION.
28467 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28468 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28469 and REPORT_BUGS_TO.
28470 ($(objpfx)xtrace): Likewise.
28471 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28472 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28473 (print_version): Use PKGVERSION.
28474 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28475 (do_version): Use PKGVERSION.
28476 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28478 (common-ldd-rewrite): Likewise.
28479 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28480 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28481 (print_version): Use PKGVERSION.
28482 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28483 * elf/pldd.c (argp_program_bug_address): Remove variable.
28484 (more_help): New function.
28485 (argp): Use more_help.
28486 (print_version): Use PKGVERSION.
28487 * elf/sln.c (main): Use PKGVERSION.
28488 (usage): Use REPORT_BUGS_TO.
28489 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28490 (top level): Use PKGVERSION.
28491 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28492 (print_version): Use PKGVERSION.
28493 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28494 (print_version): Use PKGVERSION.
28495 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28496 (print_version): Use PKGVERSION.
28497 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28498 (print_version): Use PKGVERSION.
28499 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28500 (print_version): Use PKGVERSION.
28501 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28502 (print_version): Use PKGVERSION.
28503 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28505 ($(objpfx)memusage): Likewise.
28506 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28507 (do_version): Use PKGVERSION.
28508 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28509 (print_version): Use PKGVERSION.
28510 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28511 ($PKGVERSION): New variable.
28512 ($REPORT_BUGS_TO): Likewise.
28513 (usage): Use $REPORT_BUGS_TO.
28514 (top level): Use $PKGVERSION.
28515 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28516 ($(objpfx)pkgvers.texi): New rule.
28517 ($(objpfx)stamp-pkgvers): Likewise.
28518 * manual/install.texi: Include pkgvers.texi.
28519 (--with-pkgversion): Document new configure option.
28520 (--with-bugurl): Likewise.
28521 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28522 than necessarily for this particular distribution. Use
28523 REPORT_BUGS_TO for where to report bugs.
28524 * INSTALL: Regenerated.
28525 * manual/libc.texinfo: Include pkgvers.texi.
28526 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28527 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28528 (print_version): Use PKGVERSION.
28529 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28530 (print_version): Use PKGVERSION.
28531 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28532 (print_version): Use PKGVERSION.
28533 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28534 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28536 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28537 (print_version): Use PKGVERSION.
28538 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28539 (print_version): Use PKGVERSION.
28540 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28543 * timezone/checktab.awk: Update from tzcode 2012i.
28544 * timezone/ialloc.c: Likewise.
28545 * timezone/private.h: Likewise.
28546 * timezone/scheck.c: Likewise.
28547 * timezone/tzfile.h: Likewise.
28548 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28549 (TZVERSION): Hardcode tzcode version number.
28550 * timezone/zdump.c: Update from tzcode 2012i.
28551 * timezone/zic.c: Likewise.
28552 * timezone/version.h: New file.
28553 * timezone/README: Describe version.h. Update upstream location.
28556 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28557 (mktemp): Enable declaration.
28558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28575 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28576 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28577 for copies of such integer values.
28578 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28579 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28581 2012-11-09 Andreas Jaeger <aj@suse.de>
28583 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28584 definitions and declarations that are provided by
28585 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28587 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28589 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28590 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28591 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28594 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28596 * elf/elf.h: Update comment before AArch64 relocations.
28598 2012-11-07 David S. Miller <davem@davemloft.net>
28600 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28601 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28602 (__start_context): Declare.
28603 (__makecontext_ret): Delete.
28604 (__makecontext): Hook up __start_context instead of
28606 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28607 (sysdep_routines): Add __start_context when in stdlib.
28609 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28611 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28612 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28613 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28615 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28616 (READELF): New variable. Use it instead of hardcoded "readelf".
28618 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28620 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28621 * sysdeps/x86/Makefile: Here.
28622 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28623 * sysdeps/x86/tst-xmmymm.sh: This.
28625 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28627 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28629 [UNIX98] (pthread_barrier_t): Do not expect.
28630 [UNIX98] (pthread_barrierattr_t): Likewise.
28631 [UNIX98] (pthread_spinlock_t): Likewise.
28632 [UNIX98] (pthread_barrier_destroy): Likewise.
28633 [UNIX98] (pthread_barrier_init): Likewise.
28634 [UNIX98] (pthread_barrier_wait): Likewise.
28635 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28636 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28637 [UNIX98] (pthread_barrierattr_init): Likewise.
28638 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28639 [UNIX98] (pthread_getcpuclockid): Likewise.
28640 [UNIX98] (pthread_mutex_timedlock): Likewise.
28641 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28642 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28643 [UNIX98] (pthread_sigmask): Likewise.
28644 [UNIX98] (pthread_spin_destroy): Likewise.
28645 [UNIX98] (pthread_spin_init): Likewise.
28646 [UNIX98] (pthread_spin_lock): Likewise.
28647 [UNIX98] (pthread_spin_trylock): Likewise.
28648 [UNIX98] (pthread_spin_unlock): Likewise.
28649 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28651 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28652 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28653 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28654 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28655 [XPG3 || XPG4] (pthread_key_t): Likewise.
28656 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28657 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28658 [XPG3 || XPG4] (pthread_once_t): Likewise.
28659 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28660 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28661 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28662 [XPG3 || XPG4] (pthread_t): Likewise.
28664 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28666 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28668 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28669 Change function return type to int.
28671 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28672 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28673 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28674 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28675 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28676 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28677 [!POSIX] (posix_madvise): Likewise.
28678 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28680 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28681 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28682 (mode_t): Likewise.
28683 (posix_mem_offset): Likewise.
28684 (posix_typed_mem_get_info): Likewise.
28685 (posix_typed_mem_open): Likewise.
28687 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28688 Change condition to [XOPEN2K8].
28690 * conform/conformtest.pl: Preprocess allow-header data with -x c
28691 instead of from stdin.
28692 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28693 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28694 [C99-based standards] (cerfc): Likewise.
28695 [C99-based standards] (cexp2): Likewise.
28696 [C99-based standards] (cexpm1): Likewise.
28697 [C99-based standards] (clog10): Likewise.
28698 [C99-based standards] (clog1p): Likewise.
28699 [C99-based standards] (clog2): Likewise.
28700 [C99-based standards] (clgamma): Likewise.
28701 [C99-based standards] (ctgamma): Likewise.
28702 [C99-based standards] (cerff): Likewise.
28703 [C99-based standards] (cerfcf): Likewise.
28704 [C99-based standards] (cexp2f): Likewise.
28705 [C99-based standards] (cexpm1f): Likewise.
28706 [C99-based standards] (clog10f): Likewise.
28707 [C99-based standards] (clog1pf): Likewise.
28708 [C99-based standards] (clog2f): Likewise.
28709 [C99-based standards] (clgammaf): Likewise.
28710 [C99-based standards] (ctgammaf): Likewise.
28711 [C99-based standards] (cerfl): Likewise.
28712 [C99-based standards] (cerfcl): Likewise.
28713 [C99-based standards] (cexp2l): Likewise.
28714 [C99-based standards] (cexpm1l): Likewise.
28715 [C99-based standards] (clog10l): Likewise.
28716 [C99-based standards] (clog1pl): Likewise.
28717 [C99-based standards] (clog2l): Likewise.
28718 [C99-based standards] (clgammal): Likewise.
28719 [C99-based standards] (ctgammal): Likewise.
28720 * conform/data/inttypes.h-data [C99-based standards]: Include
28721 stdint.h-data. Remove all expectations for stdint.h contents.
28722 [C99-based standards] (PRI*): Do not allow.
28723 [C99-based standards] (SCN*): Likewise.
28724 [C99-based standards] (*_t): Likewise.
28725 [C99-based-standards] (PRId8): Expect macro.
28726 [C99-based-standards] (PRIi8): Likewise.
28727 [C99-based-standards] (PRIo8): Likewise.
28728 [C99-based-standards] (PRIu8): Likewise.
28729 [C99-based-standards] (PRIx8): Likewise.
28730 [C99-based-standards] (PRIX8): Likewise.
28731 [C99-based-standards] (SCNd8): Likewise.
28732 [C99-based-standards] (SCNi8): Likewise.
28733 [C99-based-standards] (SCNo8): Likewise.
28734 [C99-based-standards] (SCNu8): Likewise.
28735 [C99-based-standards] (SCNx8): Likewise.
28736 [C99-based-standards] (PRIdLEAST8): Likewise.
28737 [C99-based-standards] (PRIiLEAST8): Likewise.
28738 [C99-based-standards] (PRIoLEAST8): Likewise.
28739 [C99-based-standards] (PRIuLEAST8): Likewise.
28740 [C99-based-standards] (PRIxLEAST8): Likewise.
28741 [C99-based-standards] (PRIXLEAST8): Likewise.
28742 [C99-based-standards] (SCNdLEAST8): Likewise.
28743 [C99-based-standards] (SCNiLEAST8): Likewise.
28744 [C99-based-standards] (SCNoLEAST8): Likewise.
28745 [C99-based-standards] (SCNuLEAST8): Likewise.
28746 [C99-based-standards] (SCNxLEAST8): Likewise.
28747 [C99-based-standards] (PRIdFAST8): Likewise.
28748 [C99-based-standards] (PRIiFAST8): Likewise.
28749 [C99-based-standards] (PRIoFAST8): Likewise.
28750 [C99-based-standards] (PRIuFAST8): Likewise.
28751 [C99-based-standards] (PRIxFAST8): Likewise.
28752 [C99-based-standards] (PRIXFAST8): Likewise.
28753 [C99-based-standards] (SCNdFAST8): Likewise.
28754 [C99-based-standards] (SCNiFAST8): Likewise.
28755 [C99-based-standards] (SCNoFAST8): Likewise.
28756 [C99-based-standards] (SCNuFAST8): Likewise.
28757 [C99-based-standards] (SCNxFAST8): Likewise.
28758 [C99-based-standards] (PRId16): Likewise.
28759 [C99-based-standards] (PRIi16): Likewise.
28760 [C99-based-standards] (PRIo16): Likewise.
28761 [C99-based-standards] (PRIu16): Likewise.
28762 [C99-based-standards] (PRIx16): Likewise.
28763 [C99-based-standards] (PRIX16): Likewise.
28764 [C99-based-standards] (SCNd16): Likewise.
28765 [C99-based-standards] (SCNi16): Likewise.
28766 [C99-based-standards] (SCNo16): Likewise.
28767 [C99-based-standards] (SCNu16): Likewise.
28768 [C99-based-standards] (SCNx16): Likewise.
28769 [C99-based-standards] (PRIdLEAST16): Likewise.
28770 [C99-based-standards] (PRIiLEAST16): Likewise.
28771 [C99-based-standards] (PRIoLEAST16): Likewise.
28772 [C99-based-standards] (PRIuLEAST16): Likewise.
28773 [C99-based-standards] (PRIxLEAST16): Likewise.
28774 [C99-based-standards] (PRIXLEAST16): Likewise.
28775 [C99-based-standards] (SCNdLEAST16): Likewise.
28776 [C99-based-standards] (SCNiLEAST16): Likewise.
28777 [C99-based-standards] (SCNoLEAST16): Likewise.
28778 [C99-based-standards] (SCNuLEAST16): Likewise.
28779 [C99-based-standards] (SCNxLEAST16): Likewise.
28780 [C99-based-standards] (PRIdFAST16): Likewise.
28781 [C99-based-standards] (PRIiFAST16): Likewise.
28782 [C99-based-standards] (PRIoFAST16): Likewise.
28783 [C99-based-standards] (PRIuFAST16): Likewise.
28784 [C99-based-standards] (PRIxFAST16): Likewise.
28785 [C99-based-standards] (PRIXFAST16): Likewise.
28786 [C99-based-standards] (SCNdFAST16): Likewise.
28787 [C99-based-standards] (SCNiFAST16): Likewise.
28788 [C99-based-standards] (SCNoFAST16): Likewise.
28789 [C99-based-standards] (SCNuFAST16): Likewise.
28790 [C99-based-standards] (SCNxFAST16): Likewise.
28791 [C99-based-standards] (PRId32): Likewise.
28792 [C99-based-standards] (PRIi32): Likewise.
28793 [C99-based-standards] (PRIo32): Likewise.
28794 [C99-based-standards] (PRIu32): Likewise.
28795 [C99-based-standards] (PRIx32): Likewise.
28796 [C99-based-standards] (PRIX32): Likewise.
28797 [C99-based-standards] (SCNd32): Likewise.
28798 [C99-based-standards] (SCNi32): Likewise.
28799 [C99-based-standards] (SCNo32): Likewise.
28800 [C99-based-standards] (SCNu32): Likewise.
28801 [C99-based-standards] (SCNx32): Likewise.
28802 [C99-based-standards] (PRIdLEAST32): Likewise.
28803 [C99-based-standards] (PRIiLEAST32): Likewise.
28804 [C99-based-standards] (PRIoLEAST32): Likewise.
28805 [C99-based-standards] (PRIuLEAST32): Likewise.
28806 [C99-based-standards] (PRIxLEAST32): Likewise.
28807 [C99-based-standards] (PRIXLEAST32): Likewise.
28808 [C99-based-standards] (SCNdLEAST32): Likewise.
28809 [C99-based-standards] (SCNiLEAST32): Likewise.
28810 [C99-based-standards] (SCNoLEAST32): Likewise.
28811 [C99-based-standards] (SCNuLEAST32): Likewise.
28812 [C99-based-standards] (SCNxLEAST32): Likewise.
28813 [C99-based-standards] (PRIdFAST32): Likewise.
28814 [C99-based-standards] (PRIiFAST32): Likewise.
28815 [C99-based-standards] (PRIoFAST32): Likewise.
28816 [C99-based-standards] (PRIuFAST32): Likewise.
28817 [C99-based-standards] (PRIxFAST32): Likewise.
28818 [C99-based-standards] (PRIXFAST32): Likewise.
28819 [C99-based-standards] (SCNdFAST32): Likewise.
28820 [C99-based-standards] (SCNiFAST32): Likewise.
28821 [C99-based-standards] (SCNoFAST32): Likewise.
28822 [C99-based-standards] (SCNuFAST32): Likewise.
28823 [C99-based-standards] (SCNxFAST32): Likewise.
28824 [C99-based-standards] (PRId64): Likewise.
28825 [C99-based-standards] (PRIi64): Likewise.
28826 [C99-based-standards] (PRIo64): Likewise.
28827 [C99-based-standards] (PRIu64): Likewise.
28828 [C99-based-standards] (PRIx64): Likewise.
28829 [C99-based-standards] (PRIX64): Likewise.
28830 [C99-based-standards] (SCNd64): Likewise.
28831 [C99-based-standards] (SCNi64): Likewise.
28832 [C99-based-standards] (SCNo64): Likewise.
28833 [C99-based-standards] (SCNu64): Likewise.
28834 [C99-based-standards] (SCNx64): Likewise.
28835 [C99-based-standards] (PRIdLEAST64): Likewise.
28836 [C99-based-standards] (PRIiLEAST64): Likewise.
28837 [C99-based-standards] (PRIoLEAST64): Likewise.
28838 [C99-based-standards] (PRIuLEAST64): Likewise.
28839 [C99-based-standards] (PRIxLEAST64): Likewise.
28840 [C99-based-standards] (PRIXLEAST64): Likewise.
28841 [C99-based-standards] (SCNdLEAST64): Likewise.
28842 [C99-based-standards] (SCNiLEAST64): Likewise.
28843 [C99-based-standards] (SCNoLEAST64): Likewise.
28844 [C99-based-standards] (SCNuLEAST64): Likewise.
28845 [C99-based-standards] (SCNxLEAST64): Likewise.
28846 [C99-based-standards] (PRIdFAST64): Likewise.
28847 [C99-based-standards] (PRIiFAST64): Likewise.
28848 [C99-based-standards] (PRIoFAST64): Likewise.
28849 [C99-based-standards] (PRIuFAST64): Likewise.
28850 [C99-based-standards] (PRIxFAST64): Likewise.
28851 [C99-based-standards] (PRIXFAST64): Likewise.
28852 [C99-based-standards] (SCNdFAST64): Likewise.
28853 [C99-based-standards] (SCNiFAST64): Likewise.
28854 [C99-based-standards] (SCNoFAST64): Likewise.
28855 [C99-based-standards] (SCNuFAST64): Likewise.
28856 [C99-based-standards] (SCNxFAST64): Likewise.
28857 [C99-based-standards] (PRIdMAX): Likewise.
28858 [C99-based-standards] (PRIiMAX): Likewise.
28859 [C99-based-standards] (PRIoMAX): Likewise.
28860 [C99-based-standards] (PRIuMAX): Likewise.
28861 [C99-based-standards] (PRIxMAX): Likewise.
28862 [C99-based-standards] (PRIXMAX): Likewise.
28863 [C99-based-standards] (SCNdMAX): Likewise.
28864 [C99-based-standards] (SCNiMAX): Likewise.
28865 [C99-based-standards] (SCNoMAX): Likewise.
28866 [C99-based-standards] (SCNuMAX): Likewise.
28867 [C99-based-standards] (SCNxMAX): Likewise.
28868 [C99-based-standards] (PRIdPTR): Likewise.
28869 [C99-based-standards] (PRIiPTR): Likewise.
28870 [C99-based-standards] (PRIoPTR): Likewise.
28871 [C99-based-standards] (PRIuPTR): Likewise.
28872 [C99-based-standards] (PRIxPTR): Likewise.
28873 [C99-based-standards] (PRIXPTR): Likewise.
28874 [C99-based-standards] (SCNdPTR): Likewise.
28875 [C99-based-standards] (SCNiPTR): Likewise.
28876 [C99-based-standards] (SCNoPTR): Likewise.
28877 [C99-based-standards] (SCNuPTR): Likewise.
28878 [C99-based-standards] (SCNxPTR): Likewise.
28879 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28881 * conform/data/stdint.h-data: Update comments to clarify
28883 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28885 [C99-based standards] (INT8_MAX): Likewise.
28886 [C99-based standards] (INT16_MIN): Likewise.
28887 [C99-based standards] (INT16_MAX): Likewise.
28888 [C99-based standards] (INT32_MIN): Likewise.
28889 [C99-based standards] (INT32_MAX): Likewise.
28890 [C99-based standards] (INT64_MIN): Likewise.
28891 [C99-based standards] (INT64_MAX): Likewise.
28892 [C99-based standards] (UINT8_MAX): Likewise.
28893 [C99-based standards] (UINT16_MAX): Likewise.
28894 [C99-based standards] (UINT32_MAX): Likewise.
28895 [C99-based standards] (UINT64_MAX): Likewise.
28896 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28897 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28898 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28899 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28900 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28901 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28902 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28903 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28904 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28905 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28906 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28907 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28908 [C99-based standards] (INT_FAST8_MIN): Likewise.
28909 [C99-based standards] (INT_FAST8_MAX): Likewise.
28910 [C99-based standards] (INT_FAST16_MIN): Likewise.
28911 [C99-based standards] (INT_FAST16_MAX): Likewise.
28912 [C99-based standards] (INT_FAST32_MIN): Likewise.
28913 [C99-based standards] (INT_FAST32_MAX): Likewise.
28914 [C99-based standards] (INT_FAST64_MIN): Likewise.
28915 [C99-based standards] (INT_FAST64_MAX): Likewise.
28916 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28917 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28918 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28919 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28920 [C99-based standards] (INTPTR_MIN): Likewise.
28921 [C99-based standards] (INTPTR_MAX): Likewise.
28922 [C99-based standards] (UINTPTR_MAX): Likewise.
28923 [C99-based standards] (INTMAX_MIN): Likewise.
28924 [C99-based standards] (INTMAX_MAX): Likewise.
28925 [C99-based standards] (UINTMAX_MAX): Likewise.
28926 [C99-based standards] (PTRDIFF_MIN): Likewise.
28927 [C99-based standards] (PTRDIFF_MAX): Likewise.
28928 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28929 [C99-based standards] (SIZE_MAX): Likewise.
28930 [C99-based standards] (WCHAR_MAX): Likewise.
28931 [C99-based standards] (WINT_MAX): Likewise.
28932 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28933 constraint on value.
28934 [C99-based standards] (WCHAR_MIN): Likewise.
28935 [C99-based standards] (WINT_MIN): Likewise.
28936 [C99-based standards] (*_t): Allow.
28937 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28938 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28939 Include math.h-data and complex.h-data. Remove all expectations
28940 of math.h and complex.h contents.
28941 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28943 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28944 (struct tm): Expect tag.
28945 [C99-based-standards] (wcstof): Expect function.
28946 [C99-based-standards] (wcstold): Likewise.
28947 [C99-based-standards] (wcstoll): Likewise.
28948 [C99-based-standards] (wcstoull): Likewise.
28949 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28950 macro-int-constant. Specify type.
28951 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28952 constraint on value.
28953 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28955 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28957 [ISO C standards]: Do not allow headers.
28958 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28959 wcs[abcdefghijklmnopqrstuvwxyz]*.
28960 [ISO C standards] (*_t): Do not allow.
28961 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28963 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28964 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28966 [ISO C standards]: Do not allow headers.
28967 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28968 is[abcdefghijklmnopqrstuvwxyz]*.
28969 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28970 to[abcdefghijklmnopqrstuvwxyz]*.
28971 [ISO C standards] (*_t): Do not allow.
28972 * conform/data/stdalign.h-data: New file.
28973 * conform/data/stdbool.h-data: Likewise.
28974 * conform/data/stdnoreturn.h-data: Likewise.
28976 2012-11-07 Roland McGrath <roland@hack.frob.com>
28979 * manual/filesys.texi (Directory Entries): Typo fix.
28980 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28982 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28984 * elf/elf.h (EM_AARCH64): New macro.
28985 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28986 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28987 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28988 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28989 (R_AARCH64_TLSDESC): Likewise.
28990 (NT_ARM_TLS): Likewise.
28991 (NT_ARM_HW_BREAK): Likewise.
28992 (NT_ARM_HW_WATCH): Likewise.
28994 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28997 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28998 (__ieee754_powl): Saturate nonzero exponents with absolute value
28999 below 0x1p-79 to +/- 0x1p-79.
29000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29001 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29002 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29003 nonzero exponents with absolute value below 0x1p-32 to +/-
29005 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29006 (__ieee754_powl): Saturate nonzero exponents with absolute value
29007 below 0x1p-79 to +/- 0x1p-79.
29008 * math/libm-test.inc (pow_test): Add more tests.
29010 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29012 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29013 _dl_s390_cap_flags with kernel. Increase string length.
29014 (_dl_s390_platforms): Add z196 and zEC12.
29016 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29018 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29019 Change XOPEN21K to XOPEN2K.
29021 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29023 * string/memmove.c: Use memcpy when possible.
29025 2012-11-06 Andreas Jaeger <aj@suse.de>
29027 * po/eo.po: Update from translation team.
29029 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29033 exponent and small x and y exponents, scale x or y up. Increase
29034 by 2 the exponent used in scaling up.
29035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29037 * math/libm-test.inc (fma_test): Add more tests.
29038 (fma_test_towardzero): Likewise.
29039 (fma_test_downward): Likewise.
29040 (fma_test_upward): Likewise.
29042 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29045 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29049 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29050 namespace for names of struct fields.
29051 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29053 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29054 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29056 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29059 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29061 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29063 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29067 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29070 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29074 definitely overflow as x * y not x * y + z.
29075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29076 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29077 * math/libm-test.inc (fma_test): Add more tests.
29078 (fma_test_towardzero): Likewise.
29079 (fma_test_downward): Likewise.
29080 (fma_test_upward): Likewise.
29082 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29086 * include/stub-tag.h: Remove file.
29087 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29089 * manual/maint.texi (Porting): Don't reference it.
29090 * Makerules ($(objpfx)stubs): Likewise.
29091 * dirent/closedir.c: Don't include <stub-tag.h>.
29092 * dirent/dirfd.c: Likewise.
29093 * dirent/fdopendir.c: Likewise.
29094 * dirent/getdents.c: Likewise.
29095 * dirent/getdents64.c: Likewise.
29096 * dirent/opendir.c: Likewise.
29097 * dirent/readdir.c: Likewise.
29098 * dirent/readdir64.c: Likewise.
29099 * dirent/readdir64_r.c: Likewise.
29100 * dirent/readdir_r.c: Likewise.
29101 * dirent/rewinddir.c: Likewise.
29102 * dirent/seekdir.c: Likewise.
29103 * dirent/telldir.c: Likewise.
29104 * gmon/profil.c: Likewise.
29105 * grp/setgroups.c: Likewise.
29106 * inet/if_index.c: Likewise.
29107 * io/access.c: Likewise.
29108 * io/chdir.c: Likewise.
29109 * io/chmod.c: Likewise.
29110 * io/chown.c: Likewise.
29111 * io/close.c: Likewise.
29112 * io/dup.c: Likewise.
29113 * io/dup2.c: Likewise.
29114 * io/dup3.c: Likewise.
29115 * io/euidaccess.c: Likewise.
29116 * io/faccessat.c: Likewise.
29117 * io/fchdir.c: Likewise.
29118 * io/fchmod.c: Likewise.
29119 * io/fchmodat.c: Likewise.
29120 * io/fchown.c: Likewise.
29121 * io/fchownat.c: Likewise.
29122 * io/fcntl.c: Likewise.
29123 * io/flock.c: Likewise.
29124 * io/fstatfs.c: Likewise.
29125 * io/fstatfs64.c: Likewise.
29126 * io/fstatvfs.c: Likewise.
29127 * io/fstatvfs64.c: Likewise.
29128 * io/futimens.c: Likewise.
29129 * io/fxstat.c: Likewise.
29130 * io/fxstat64.c: Likewise.
29131 * io/fxstatat.c: Likewise.
29132 * io/fxstatat64.c: Likewise.
29133 * io/getcwd.c: Likewise.
29134 * io/isatty.c: Likewise.
29135 * io/lchmod.c: Likewise.
29136 * io/lchown.c: Likewise.
29137 * io/link.c: Likewise.
29138 * io/linkat.c: Likewise.
29139 * io/lseek.c: Likewise.
29140 * io/lseek64.c: Likewise.
29141 * io/lxstat64.c: Likewise.
29142 * io/mkdir.c: Likewise.
29143 * io/mkdirat.c: Likewise.
29144 * io/mkfifo.c: Likewise.
29145 * io/mkfifoat.c: Likewise.
29146 * io/open.c: Likewise.
29147 * io/open64.c: Likewise.
29148 * io/openat.c: Likewise.
29149 * io/openat64.c: Likewise.
29150 * io/pipe.c: Likewise.
29151 * io/pipe2.c: Likewise.
29152 * io/poll.c: Likewise.
29153 * io/posix_fadvise.c: Likewise.
29154 * io/posix_fadvise64.c: Likewise.
29155 * io/posix_fallocate.c: Likewise.
29156 * io/posix_fallocate64.c: Likewise.
29157 * io/read.c: Likewise.
29158 * io/readlink.c: Likewise.
29159 * io/readlinkat.c: Likewise.
29160 * io/rmdir.c: Likewise.
29161 * io/sendfile.c: Likewise.
29162 * io/sendfile64.c: Likewise.
29163 * io/statfs.c: Likewise.
29164 * io/statfs64.c: Likewise.
29165 * io/statvfs.c: Likewise.
29166 * io/statvfs64.c: Likewise.
29167 * io/symlink.c: Likewise.
29168 * io/symlinkat.c: Likewise.
29169 * io/ttyname.c: Likewise.
29170 * io/ttyname_r.c: Likewise.
29171 * io/umask.c: Likewise.
29172 * io/unlink.c: Likewise.
29173 * io/unlinkat.c: Likewise.
29174 * io/utime.c: Likewise.
29175 * io/utimensat.c: Likewise.
29176 * io/write.c: Likewise.
29177 * io/xmknod.c: Likewise.
29178 * io/xmknodat.c: Likewise.
29179 * io/xstat.c: Likewise.
29180 * io/xstat64.c: Likewise.
29181 * login/getpt.c: Likewise.
29182 * login/grantpt.c: Likewise.
29183 * login/unlockpt.c: Likewise.
29184 * math/e_acoshl.c: Likewise.
29185 * math/e_acosl.c: Likewise.
29186 * math/e_asinl.c: Likewise.
29187 * math/e_atan2l.c: Likewise.
29188 * math/e_atanhl.c: Likewise.
29189 * math/e_coshl.c: Likewise.
29190 * math/e_expl.c: Likewise.
29191 * math/e_fmodl.c: Likewise.
29192 * math/e_gammal_r.c: Likewise.
29193 * math/e_hypotl.c: Likewise.
29194 * math/e_j0l.c: Likewise.
29195 * math/e_j1l.c: Likewise.
29196 * math/e_jnl.c: Likewise.
29197 * math/e_lgammal_r.c: Likewise.
29198 * math/e_log10l.c: Likewise.
29199 * math/e_log2l.c: Likewise.
29200 * math/e_logl.c: Likewise.
29201 * math/e_powl.c: Likewise.
29202 * math/e_rem_pio2l.c: Likewise.
29203 * math/e_sinhl.c: Likewise.
29204 * math/e_sqrtl.c: Likewise.
29205 * math/fclrexcpt.c: Likewise.
29206 * math/fedisblxcpt.c: Likewise.
29207 * math/feenablxcpt.c: Likewise.
29208 * math/fegetenv.c: Likewise.
29209 * math/fegetexcept.c: Likewise.
29210 * math/fegetround.c: Likewise.
29211 * math/feholdexcpt.c: Likewise.
29212 * math/fesetenv.c: Likewise.
29213 * math/fesetround.c: Likewise.
29214 * math/feupdateenv.c: Likewise.
29215 * math/fgetexcptflg.c: Likewise.
29216 * math/fraiseexcpt.c: Likewise.
29217 * math/fsetexcptflg.c: Likewise.
29218 * math/ftestexcept.c: Likewise.
29219 * math/k_cosl.c: Likewise.
29220 * math/k_rem_pio2l.c: Likewise.
29221 * math/k_sinl.c: Likewise.
29222 * math/k_tanl.c: Likewise.
29223 * math/s_asinhl.c: Likewise.
29224 * math/s_atanl.c: Likewise.
29225 * math/s_cbrtl.c: Likewise.
29226 * math/s_erfl.c: Likewise.
29227 * math/s_expm1l.c: Likewise.
29228 * math/s_log1pl.c: Likewise.
29229 * math/s_tanhl.c: Likewise.
29230 * misc/acct.c: Likewise.
29231 * misc/brk.c: Likewise.
29232 * misc/chflags.c: Likewise.
29233 * misc/chroot.c: Likewise.
29234 * misc/fchflags.c: Likewise.
29235 * misc/fgetxattr.c: Likewise.
29236 * misc/flistxattr.c: Likewise.
29237 * misc/fremovexattr.c: Likewise.
29238 * misc/fsetxattr.c: Likewise.
29239 * misc/fsync.c: Likewise.
29240 * misc/ftruncate.c: Likewise.
29241 * misc/futimes.c: Likewise.
29242 * misc/futimesat.c: Likewise.
29243 * misc/getdomain.c: Likewise.
29244 * misc/getdtsz.c: Likewise.
29245 * misc/gethostid.c: Likewise.
29246 * misc/gethostname.c: Likewise.
29247 * misc/getloadavg.c: Likewise.
29248 * misc/getpagesize.c: Likewise.
29249 * misc/getsysstats.c: Likewise.
29250 * misc/getxattr.c: Likewise.
29251 * misc/gtty.c: Likewise.
29252 * misc/ioctl.c: Likewise.
29253 * misc/lgetxattr.c: Likewise.
29254 * misc/listxattr.c: Likewise.
29255 * misc/llistxattr.c: Likewise.
29256 * misc/lremovexattr.c: Likewise.
29257 * misc/lsetxattr.c: Likewise.
29258 * misc/lutimes.c: Likewise.
29259 * misc/madvise.c: Likewise.
29260 * misc/mincore.c: Likewise.
29261 * misc/mlock.c: Likewise.
29262 * misc/mlockall.c: Likewise.
29263 * misc/mmap.c: Likewise.
29264 * misc/mprotect.c: Likewise.
29265 * misc/msync.c: Likewise.
29266 * misc/munlock.c: Likewise.
29267 * misc/munlockall.c: Likewise.
29268 * misc/munmap.c: Likewise.
29269 * misc/preadv.c: Likewise.
29270 * misc/preadv64.c: Likewise.
29271 * misc/ptrace.c: Likewise.
29272 * misc/pwritev.c: Likewise.
29273 * misc/pwritev64.c: Likewise.
29274 * misc/readv.c: Likewise.
29275 * misc/reboot.c: Likewise.
29276 * misc/remap_file_pages.c: Likewise.
29277 * misc/removexattr.c: Likewise.
29278 * misc/revoke.c: Likewise.
29279 * misc/select.c: Likewise.
29280 * misc/setdomain.c: Likewise.
29281 * misc/setegid.c: Likewise.
29282 * misc/seteuid.c: Likewise.
29283 * misc/sethostid.c: Likewise.
29284 * misc/sethostname.c: Likewise.
29285 * misc/setregid.c: Likewise.
29286 * misc/setreuid.c: Likewise.
29287 * misc/setxattr.c: Likewise.
29288 * misc/sstk.c: Likewise.
29289 * misc/stty.c: Likewise.
29290 * misc/swapoff.c: Likewise.
29291 * misc/swapon.c: Likewise.
29292 * misc/sync.c: Likewise.
29293 * misc/syncfs.c: Likewise.
29294 * misc/syscall.c: Likewise.
29295 * misc/truncate.c: Likewise.
29296 * misc/ualarm.c: Likewise.
29297 * misc/usleep.c: Likewise.
29298 * misc/ustat.c: Likewise.
29299 * misc/utimes.c: Likewise.
29300 * misc/vhangup.c: Likewise.
29301 * misc/writev.c: Likewise.
29302 * posix/_exit.c: Likewise.
29303 * posix/alarm.c: Likewise.
29304 * posix/execve.c: Likewise.
29305 * posix/fexecve.c: Likewise.
29306 * posix/fork.c: Likewise.
29307 * posix/fpathconf.c: Likewise.
29308 * posix/getaddrinfo.c: Likewise.
29309 * posix/getegid.c: Likewise.
29310 * posix/geteuid.c: Likewise.
29311 * posix/getgid.c: Likewise.
29312 * posix/getgroups.c: Likewise.
29313 * posix/getlogin.c: Likewise.
29314 * posix/getlogin_r.c: Likewise.
29315 * posix/getpgid.c: Likewise.
29316 * posix/getpid.c: Likewise.
29317 * posix/getppid.c: Likewise.
29318 * posix/getresgid.c: Likewise.
29319 * posix/getresuid.c: Likewise.
29320 * posix/getsid.c: Likewise.
29321 * posix/getuid.c: Likewise.
29322 * posix/glob64.c: Likewise.
29323 * posix/nanosleep.c: Likewise.
29324 * posix/pathconf.c: Likewise.
29325 * posix/pause.c: Likewise.
29326 * posix/posix_madvise.c: Likewise.
29327 * posix/pread.c: Likewise.
29328 * posix/pread64.c: Likewise.
29329 * posix/pwrite.c: Likewise.
29330 * posix/pwrite64.c: Likewise.
29331 * posix/sched_getaffinity.c: Likewise.
29332 * posix/sched_getp.c: Likewise.
29333 * posix/sched_gets.c: Likewise.
29334 * posix/sched_primax.c: Likewise.
29335 * posix/sched_primin.c: Likewise.
29336 * posix/sched_rr_gi.c: Likewise.
29337 * posix/sched_setaffinity.c: Likewise.
29338 * posix/sched_setp.c: Likewise.
29339 * posix/sched_sets.c: Likewise.
29340 * posix/sched_yield.c: Likewise.
29341 * posix/setgid.c: Likewise.
29342 * posix/setlogin.c: Likewise.
29343 * posix/setpgid.c: Likewise.
29344 * posix/setresgid.c: Likewise.
29345 * posix/setresuid.c: Likewise.
29346 * posix/setsid.c: Likewise.
29347 * posix/setuid.c: Likewise.
29348 * posix/sleep.c: Likewise.
29349 * posix/spawni.c: Likewise.
29350 * posix/sysconf.c: Likewise.
29351 * posix/times.c: Likewise.
29352 * posix/wait.c: Likewise.
29353 * posix/wait3.c: Likewise.
29354 * posix/wait4.c: Likewise.
29355 * posix/waitpid.c: Likewise.
29356 * resolv/gai_sigqueue.c: Likewise.
29357 * resource/getpriority.c: Likewise.
29358 * resource/getrlimit.c: Likewise.
29359 * resource/getrusage.c: Likewise.
29360 * resource/nice.c: Likewise.
29361 * resource/setpriority.c: Likewise.
29362 * resource/setrlimit.c: Likewise.
29363 * resource/ulimit.c: Likewise.
29364 * rt/aio_cancel.c: Likewise.
29365 * rt/aio_fsync.c: Likewise.
29366 * rt/aio_read.c: Likewise.
29367 * rt/aio_sigqueue.c: Likewise.
29368 * rt/aio_suspend.c: Likewise.
29369 * rt/aio_write.c: Likewise.
29370 * rt/clock_getres.c: Likewise.
29371 * rt/clock_gettime.c: Likewise.
29372 * rt/clock_nanosleep.c: Likewise.
29373 * rt/clock_settime.c: Likewise.
29374 * rt/lio_listio.c: Likewise.
29375 * rt/mq_close.c: Likewise.
29376 * rt/mq_getattr.c: Likewise.
29377 * rt/mq_notify.c: Likewise.
29378 * rt/mq_open.c: Likewise.
29379 * rt/mq_receive.c: Likewise.
29380 * rt/mq_send.c: Likewise.
29381 * rt/mq_setattr.c: Likewise.
29382 * rt/mq_timedreceive.c: Likewise.
29383 * rt/mq_timedsend.c: Likewise.
29384 * rt/mq_unlink.c: Likewise.
29385 * rt/shm_open.c: Likewise.
29386 * rt/shm_unlink.c: Likewise.
29387 * rt/timer_create.c: Likewise.
29388 * rt/timer_delete.c: Likewise.
29389 * rt/timer_getoverr.c: Likewise.
29390 * rt/timer_gettime.c: Likewise.
29391 * rt/timer_settime.c: Likewise.
29392 * setjmp/__longjmp.c: Likewise.
29393 * setjmp/setjmp.c: Likewise.
29394 * signal/kill.c: Likewise.
29395 * signal/killpg.c: Likewise.
29396 * signal/raise.c: Likewise.
29397 * signal/sigaction.c: Likewise.
29398 * signal/sigaltstack.c: Likewise.
29399 * signal/sigblock.c: Likewise.
29400 * signal/sigignore.c: Likewise.
29401 * signal/sigintr.c: Likewise.
29402 * signal/signal.c: Likewise.
29403 * signal/sigpause.c: Likewise.
29404 * signal/sigpending.c: Likewise.
29405 * signal/sigqueue.c: Likewise.
29406 * signal/sigreturn.c: Likewise.
29407 * signal/sigset.c: Likewise.
29408 * signal/sigsetmask.c: Likewise.
29409 * signal/sigstack.c: Likewise.
29410 * signal/sigsuspend.c: Likewise.
29411 * signal/sigtimedwait.c: Likewise.
29412 * signal/sigvec.c: Likewise.
29413 * signal/sigwait.c: Likewise.
29414 * signal/sigwaitinfo.c: Likewise.
29415 * signal/sysv_signal.c: Likewise.
29416 * socket/accept.c: Likewise.
29417 * socket/accept4.c: Likewise.
29418 * socket/bind.c: Likewise.
29419 * socket/connect.c: Likewise.
29420 * socket/getpeername.c: Likewise.
29421 * socket/getsockname.c: Likewise.
29422 * socket/getsockopt.c: Likewise.
29423 * socket/isfdtype.c: Likewise.
29424 * socket/listen.c: Likewise.
29425 * socket/recv.c: Likewise.
29426 * socket/recvfrom.c: Likewise.
29427 * socket/recvmsg.c: Likewise.
29428 * socket/send.c: Likewise.
29429 * socket/sendmsg.c: Likewise.
29430 * socket/sendto.c: Likewise.
29431 * socket/setsockopt.c: Likewise.
29432 * socket/shutdown.c: Likewise.
29433 * socket/sockatmark.c: Likewise.
29434 * socket/socket.c: Likewise.
29435 * socket/socketpair.c: Likewise.
29436 * stdio-common/ctermid.c: Likewise.
29437 * stdio-common/cuserid.c: Likewise.
29438 * stdio-common/remove.c: Likewise.
29439 * stdio-common/rename.c: Likewise.
29440 * stdio-common/renameat.c: Likewise.
29441 * stdio-common/tempname.c: Likewise.
29442 * stdlib/getcontext.c: Likewise.
29443 * stdlib/makecontext.c: Likewise.
29444 * stdlib/setcontext.c: Likewise.
29445 * stdlib/swapcontext.c: Likewise.
29446 * stdlib/system.c: Likewise.
29447 * streams/fattach.c: Likewise.
29448 * streams/fdetach.c: Likewise.
29449 * streams/getmsg.c: Likewise.
29450 * streams/getpmsg.c: Likewise.
29451 * streams/putmsg.c: Likewise.
29452 * streams/putpmsg.c: Likewise.
29453 * sysdeps/unix/bsd/getpt.c: Likewise.
29454 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29455 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29459 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29460 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29461 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29462 * sysvipc/msgctl.c: Likewise.
29463 * sysvipc/msgget.c: Likewise.
29464 * sysvipc/msgrcv.c: Likewise.
29465 * sysvipc/msgsnd.c: Likewise.
29466 * sysvipc/semctl.c: Likewise.
29467 * sysvipc/semget.c: Likewise.
29468 * sysvipc/semop.c: Likewise.
29469 * sysvipc/semtimedop.c: Likewise.
29470 * sysvipc/shmat.c: Likewise.
29471 * sysvipc/shmctl.c: Likewise.
29472 * sysvipc/shmdt.c: Likewise.
29473 * sysvipc/shmget.c: Likewise.
29474 * termios/tcdrain.c: Likewise.
29475 * termios/tcflow.c: Likewise.
29476 * termios/tcflush.c: Likewise.
29477 * termios/tcgetattr.c: Likewise.
29478 * termios/tcgetpgrp.c: Likewise.
29479 * termios/tcsendbrk.c: Likewise.
29480 * termios/tcsetattr.c: Likewise.
29481 * termios/tcsetpgrp.c: Likewise.
29482 * time/adjtime.c: Likewise.
29483 * time/clock.c: Likewise.
29484 * time/getitimer.c: Likewise.
29485 * time/gettimeofday.c: Likewise.
29486 * time/setitimer.c: Likewise.
29487 * time/settimeofday.c: Likewise.
29488 * time/stime.c: Likewise.
29489 * time/time.c: Likewise.
29491 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29493 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29496 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29498 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29500 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29504 FE_TONEAREST before applying Dekker multiplication and Knuth
29505 addition. Clear inexact exceptions and check for exact zero
29506 results afterwards.
29507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29508 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29510 * math/libm-test.inc (fma_test): Add more tests.
29511 (fma_test_towardzero): Likewise.
29512 (fma_test_downward): Likewise.
29513 (fma_test_upward): Likewise.
29514 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29516 (libc_fesetround): New macro.
29517 (libc_fesetroundf): Likewise.
29518 (libc_fesetroundl): Likewise.
29519 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29521 (libc_fesetround_387): Likewise.
29522 (libc_fesetroundf): New macro.
29523 (libc_fesetround): Likewise.
29524 (libc_fesetroundl): Likewise.
29525 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29527 (libc_fesetroundf): New macro.
29528 (libc_fesetround): Likewise.
29529 (libc_fesetroundl): Likewise.
29530 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29531 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29532 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29534 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29535 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29537 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29538 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29540 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29544 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29545 integer constant usable in #if and use that to give value to enum
29547 (FE_DIVBYZERO): Likewise.
29548 (FE_UNDERFLOW): Likewise.
29549 (FE_OVERFLOW): Likewise.
29550 (FE_INVALID): Likewise.
29551 (FE_INVALID_SNAN): Likewise.
29552 (FE_INVALID_ISI): Likewise.
29553 (FE_INVALID_IDI): Likewise.
29554 (FE_INVALID_ZDZ): Likewise.
29555 (FE_INVALID_IMZ): Likewise.
29556 (FE_INVALID_COMPARE): Likewise.
29557 (FE_INVALID_SOFTWARE): Likewise.
29558 (FE_INVALID_SQRT): Likewise.
29559 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29560 (FE_TONEAREST): Likewise.
29561 (FE_TOWARDZERO): Likewise.
29562 (FE_UPWARD): Likewise.
29563 (FE_DOWNWARD): Likewise.
29564 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29565 (FE_DIVBYZERO): Likewise.
29566 (FE_OVERFLOW): Likewise.
29567 (FE_UNDERFLOW): Likewise.
29568 (FE_INEXACT): Likewise.
29569 (FE_TONEAREST): Likewise.
29570 (FE_DOWNWARD): Likewise.
29571 (FE_UPWARD): Likewise.
29572 (FE_TOWARDZERO): Likewise.
29573 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29574 (FE_UNDERFLOW): Likewise.
29575 (FE_OVERFLOW): Likewise.
29576 (FE_DIVBYZERO): Likewise.
29577 (FE_INVALID): Likewise.
29578 (FE_TONEAREST): Likewise.
29579 (FE_TOWARDZERO): Likewise.
29580 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29581 (FE_OVERFLOW): Likewise.
29582 (FE_UNDERFLOW): Likewise.
29583 (FE_DIVBYZERO): Likewise.
29584 (FE_INEXACT): Likewise.
29585 (FE_TONEAREST): Likewise.
29586 (FE_TOWARDZERO): Likewise.
29587 (FE_UPWARD): Likewise.
29588 (FE_DOWNWARD): Likewise.
29589 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29590 (FE_DIVBYZERO): Likewise.
29591 (FE_OVERFLOW): Likewise.
29592 (FE_UNDERFLOW): Likewise.
29593 (FE_INEXACT): Likewise.
29594 (FE_TONEAREST): Likewise.
29595 (FE_DOWNWARD): Likewise.
29596 (FE_UPWARD): Likewise.
29597 (FE_TOWARDZERO): Likewise.
29599 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29601 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29603 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29605 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29606 commands. Quote $PWD.
29607 (blacklist_exports): Don't use remove_newlines. Replace "declare
29609 (remove_newlines): Remove.
29611 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29613 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29614 * stdlib/stdlib.h (atof): Moved to ...
29615 * include/bits/stdlib-float.h: Here. New file.
29616 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29617 * stdlib/bits/stdlib-float.h: New file.
29618 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29620 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29623 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29625 * conform/conformtest.pl (@headers): Add fenv.h.
29626 * conform/data/fenv.h-data: New file.
29627 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29628 include of <math/fenv.h>.
29630 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29631 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29632 && !UNIX98]. Enables tests for XOPEN2K8.
29633 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29634 POSIX2008]: Likewise.
29636 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29637 (struct rusage): Do not expect type or its members.
29640 * math/math.h (FP_NAN): Define macro to integer constant usable in
29641 #if and use that to give value to enum constant.
29642 (FP_INFINITE): Likewise.
29643 (FP_ZERO): Likewise.
29644 (FP_SUBNORMAL): Likewise.
29645 (FP_NORMAL): Likewise.
29647 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29649 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29650 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29653 2012-11-02 Roland McGrath <roland@hack.frob.com>
29655 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29656 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29657 autoconf-time if not.
29658 * configure.in: Remove AC_PREREQ.
29660 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29662 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29663 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29664 of the internal implementation.
29666 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29668 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29669 except include of <misc/sys/syslog.h>.
29671 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29674 function returns with a NULL context exit with zero.
29676 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29678 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29680 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29682 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29683 (run_program_cmd): This.
29684 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29685 (tst_langinfo): New variable. Use it.
29687 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29689 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29690 floating point opcodes.
29692 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29694 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29697 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29699 * sysdeps/mach/hurd/powerpc: Remove directory.
29700 * sysdeps/mach/powerpc: Likewise.
29702 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29704 * scripts/check-local-headers.sh: Ignore c++ headers.
29706 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29708 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29709 __libc_cleanup_region_start argument.
29711 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29716 x * y using scaling, not as x * y + z.
29717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29719 * math/libm-test.inc (fma_test): Add more tests.
29720 (fma_test_towardzero): Likewise.
29721 (fma_test_downward): Likewise.
29722 (fma_test_upward): Likewise.
29724 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29726 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29728 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29730 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29733 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29735 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29737 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29744 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29747 Fix the order of the list for glibc 2.17.
29748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29751 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29755 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29758 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29759 for low part of x being zero before using __atanl (y).
29760 * math/libm-test.inc (atan2_test): Add another test.
29762 * manual/install.texi (Configuring and compiling): Document
29763 general use of test-wrapper and test-wrapper-env.
29764 * INSTALL: Regenerated.
29766 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29767 (__fma): Do not extract and scale down low bits on after-rounding
29768 systems when result rounded to normal precision would have normal
29770 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29771 (__fmal): Do not extract and scale down low bits on after-rounding
29772 systems when result rounded to normal precision would have normal
29774 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29775 (__fmal): Do not extract and scale down low bits on after-rounding
29776 systems when result rounded to normal precision would have normal
29778 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29780 (fma_test): Add more tests.
29781 (fma_test_towardzero): Likewise.
29782 (fma_test_downward): Likewise.
29783 (fma_test_upward): Likewise.
29785 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29787 * sysdeps/i386/tininess.h: Renamed to ...
29788 * sysdeps/x86/tininess.h: This.
29789 * sysdeps/x86_64/tininess.h: Removed.
29791 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29793 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29794 input. Use $(build-program-cmd).
29795 ($(objpfx)tst-array1-static.out): Likewise.
29796 ($(objpfx)tst-array2.out): Likewise.
29797 ($(objpfx)tst-array3.out): Likewise.
29798 ($(objpfx)tst-array4.out): Likewise.
29799 ($(objpfx)tst-array5.out): Likewise.
29800 ($(objpfx)tst-array5-static.out): Likewise.
29802 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29804 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29807 * nss/nsswitch.h (nss_interface_function): Provide new
29808 macro for use with NSS functions.
29809 * grp/initgroups.c: Use new macro.
29810 * nss/getXXbyYY.c: Likewise.
29811 * nss/getXXbyYY_r.c: Likewise.
29812 * nss/getXXent.c: Likewise.
29813 * nss/getXXent_r.c: Likewise.
29814 * sysdeps/posix/getaddrinfo.c: Likewise.
29816 2012-10-30 Andreas Jaeger <aj@suse.de>
29818 * po/ru.po: Update Russion translation from translation project.
29820 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29825 result and shift together with sticky bit instead of replicating
29826 round-to-nearest rounding.
29827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29829 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29830 missing underflow exceptions.
29831 (fma_test_towardzero): Add more tests.
29832 (fma_test_downward): Likewise.
29833 (fma_test_upward): Likewise.
29836 * sysdeps/generic/tininess.h: New file.
29837 * sysdeps/i386/tininess.h: Likewise.
29838 * sysdeps/sh/tininess.h: Likewise.
29839 * sysdeps/x86_64/tininess.h: Likewise.
29840 * stdlib/tst-strtod-underflow.c: Likewise.
29841 * stdlib/tst-tininess.c: Likewise.
29842 * stdlib/strtod_l.c: Include <tininess.h>.
29843 (round_and_return): Do not set errno for exact underflow cases.
29844 Force an underflow exception when setting errno for underflow.
29845 Determine underflow based on rounding to normal precision if
29846 TININESS_AFTER_ROUNDING.
29847 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29848 ERANGE for exact underflow cases.
29849 * stdlib/Makefile (tests): Add tst-tininess and
29850 tst-strtod-underflow.
29851 ($(objpfx)tst-tininess): Use $(link-libm).
29852 ($(objpfx)tst-strtod-underflow): Likewise.
29854 2012-10-30 Andreas Jaeger <aj@suse.de>
29857 * elf/Makefile (tests): Remove conditional for have-initfini-array
29858 since this is now always required and the variable does not exist
29860 (tests-static): Likewise.
29861 (modules-names): Likewise.
29863 * po/eo.po: Add Esperanto translation from translation project.
29865 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29866 merged with constructor/destructor.
29867 (init_array): Likewise.
29868 * elf/tst-array2dep.c (fini_array): Likewise.
29869 (init_array): Likewise.
29871 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29873 * manual/message.texi: Delete @cartouche tags.
29875 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29877 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29879 * sysdeps/mach/hurd/fsync.c: Likewise.
29881 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29882 [_POSIX_REALTIME_SIGNALS]: Change condition to
29883 [_POSIX_REALTIME_SIGNALS > 0].
29885 2012-10-27 Andreas Jaeger <aj@suse.de>
29887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29888 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29890 [__WORDSIZE != 64]: Likewise.
29892 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29894 * iconvdata/tst-table.sh: Remove ${SHELL}.
29895 * iconvdata/tst-tables.sh: Likewise.
29897 2012-10-25 David S. Miller <davem@davemloft.net>
29899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29900 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29906 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29907 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29910 2012-10-25 Roland McGrath <roland@hack.frob.com>
29912 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29913 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29916 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29917 Jim Blandy <jimb@codesourcery.com>
29919 * scripts/cross-test-ssh.sh: New file.
29920 * manual/install.texi (Configuring and compiling): Document use of
29922 * INSTALL: Regenerated.
29924 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29926 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29929 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29931 * Makeconfig (run-program-prefix): Fix comment.
29933 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29934 Jim Blandy <jimb@codesourcery.com>
29936 * Makeconfig (test-wrapper): New variable,
29937 (test-wrapper-env): Likewise.
29938 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29939 (run-built-tests): Define to yes.
29940 (run-program-prefix): Use $(test-wrapper).
29941 (built-program-cmd): Likewise.
29942 * Rules (make-test-out): Use $(test-wrapper-env) and
29943 $(host-built-program-cmd).
29944 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29945 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29947 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29948 $(test-wrapper-env) to tst-rtld-load-self.sh.
29949 ($(objpfx)order2.out): Use $(test-wrapper).
29950 ($(objpfx)tst-initorder.out): Likewise.
29951 ($(objpfx)tst-initorder2.out): Likewise.
29952 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29953 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29954 (test_wrapper_env): New variable. Use it to run ld.so.
29955 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29956 Use it to run ld.so.
29957 (test_wrapper_env): Likewise.
29958 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29959 $(test-wrapper) to run-iconv-test.sh.
29960 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29961 (ICONV): Use $test_wrapper.
29962 * posix/Makefile ($(objpfx)globtest.out): Pass
29963 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29964 globtest.sh, not $(run-program-prefix).
29965 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29966 (test_wrapper): Likewise.
29967 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29968 set together with run_via_rtld_prefix.
29969 (run_program_prefix): Define in terms of test_wrapper and
29970 run_via_rtld_prefix.
29972 2012-10-24 Roland McGrath <roland@hack.frob.com>
29974 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29975 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29979 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29980 Declare __clock_getres, __clock_gettime, __clock_settime,
29981 __clock_nanosleep, and __clock_getcpuclockid.
29982 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29983 Remove librt_hidden_def (clock_gettime).
29984 * sysdeps/unix/clock_gettime.c: Likewise.
29985 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29986 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29987 * rt/clock_getres.c: Define __clock_getres as an alias.
29988 * sysdeps/posix/clock_getres.c: Likewise.
29989 * rt/clock_settime.c: Define __clock_settime as an alias.
29990 * sysdeps/unix/clock_settime.c: Likewise.
29991 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29992 * sysdeps/unix/clock_nanosleep.c: Likewise.
29993 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29994 * rt/clock-compat.c: New file.
29995 * rt/Makefile (librt-routines): Add clock-compat and move
29996 $(clock-routines) to ...
29997 (routines): ... here, new variable.
29998 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29999 Don't add get_clockfreq here.
30000 * rt/Versions (libc: GLIBC_2.17): New version set.
30001 Add clock_* symbols here.
30002 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30004 (GLIBC_2.17): Add clock_* symbols.
30005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30016 * NEWS: Mention the move.
30018 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30019 Use __open, __read, __close rather than their public counterparts.
30020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30021 (__get_clockfreq_via_cpuinfo): Likewise.
30022 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30023 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30025 * config.h.in (HAVE_IFUNC): New #undef.
30026 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30028 * configure: Regenerated.
30030 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30032 * configure.in: Move READELF check to start of file.
30033 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30034 libc_cv_asm_gnu_indirect_function in the process.
30035 * configure: Regenerated.
30037 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30039 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30040 send the output to /dev/null.
30041 (libc_cv_cc_with_libunwind): Likewise.
30042 (libc_cv_as_noexecstack): Likewise.
30043 * configure: Regenerate.
30045 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30047 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30049 * posix/globtest.sh (TMPDIR): Do not set.
30050 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30051 (testout): Likewise.
30053 2012-10-24 Andreas Jaeger <aj@suse.de>
30055 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30056 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30057 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30058 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30059 posix_fadvise64, posix_fallocate64.
30061 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30062 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30063 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30065 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30067 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30070 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30071 <bits/fcntl-linux.h>.
30072 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30075 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30076 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30077 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30078 [__WORDSIZE != 64]: Likewise.
30080 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30082 * Makeconfig (run-built-tests): New variable.
30083 * Rules [$(cross-compiling) = yes]: Change condition to
30084 [$(run-built-tests) = no].
30085 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30086 to [$(run-built-tests) = yes].
30087 * elf/Makefile [$(cross-compiling) = no]: Likewise
30088 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30089 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30090 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30091 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30092 * io/Makefile [$(cross-compiling) = no]: Likewise.
30093 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30094 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30095 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30096 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30097 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30098 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30099 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30100 * string/Makefile [$(cross-compiling) = no]: Likewise.
30102 * posix/Makefile ($(objpfx)globtest.out): Pass
30103 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30104 $(rtld-installed-name).
30105 * posix/globtest.sh (elf_objpfx): Remove variable.
30106 (rtld_installed_name): Likewise.
30107 (library_path): Likewise.
30108 (run_program_prefix): New variable. Use for running globtest
30111 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30112 Joseph Myers <joseph@codesourcery.com>
30114 * Makeconfig (host-built-program-cmd): New variable.
30115 * elf/Makefile (tst-stackguard1-ARGS): Use
30116 $(host-built-program-cmd).
30117 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30118 (tst-spawn-ARGS): Likewise.
30119 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30121 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30122 Jim Blandy <jimb@codesourcery.com>
30124 * Makeconfig (run-via-rtld-prefix): New variable.
30125 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30126 (built-program-cmd): Likewise.
30128 2012-10-22 Andreas Jaeger <aj@suse.de>
30130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30131 __O_RSYNC if it exists, otherwise to O_SYNC.
30133 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30134 Joseph Myers <joseph@codesourcery.com>
30136 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30138 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30140 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30143 2012-10-22 Andreas Jaeger <aj@suse.de>
30145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30150 bits/fcntl-linux.h.
30152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30153 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30160 2012-10-21 Jim Blandy <jimb@codesourcery.com>
30161 Joseph Myers <joseph@codesourcery.com>
30163 * config.make.in (NM): New variable.
30165 2012-10-21 Andreas Jaeger <aj@suse.de>
30167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30168 definitions and declarations that are provided by
30169 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30171 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30174 * elf/Makefile (tests-static): Add tst-leaks1-static.
30175 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30176 ($(objpfx)tst-leaks1-static): New rule.
30177 ($(objpfx)tst-leaks1-static-mem): Likewise.
30178 (tst-leaks1-static-ENV): New macro.
30179 * elf/dl-open.c (dl_open_worker): Check the main application
30180 only if SHARED is defined.
30181 * elf/tst-leaks1-static.c: New file.
30183 2012-10-20 Andreas Jaeger <aj@suse.de>
30185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30186 generic values for Linux.
30187 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30188 and declarations that are provided by <bits/fcntl-linux.h> and
30189 include <bits/fcntl-linux.h>.
30190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30193 2012-10-20 Roland McGrath <roland@hack.frob.com>
30195 * io/fcntl.h: Move include of <bits/types.h> to the top and
30196 include it unconditionally.
30198 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30200 * wcsmbs/Makefile (tests-ifunc): New variable.
30201 (tests): Add $(tests-ifunc).
30202 * wcsmbs/test-wcschr-ifunc.c: New file.
30203 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30204 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30205 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30206 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30207 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30209 * string/Makefile (tests-ifunc): New variable.
30210 (tests): Add $(tests-ifunc).
30211 * string/test-memccpy.c (TEST_NAME): New macro.
30212 * string/test-memchr.c (TEST_NAME): Likewise.
30213 * string/test-memcmp.c (TEST_NAME): Likewise.
30214 * string/test-memcpy.c (TEST_NAME): Likewise.
30215 * string/test-memmem.c (TEST_NAME): Likewise.
30216 * string/test-memmove.c (TEST_NAME): Likewise.
30217 * string/test-memset.c (TEST_NAME): Likewise.
30218 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30219 * string/test-stpcpy.c (TEST_NAME): Likewise.
30220 * string/test-stpncpy.c (TEST_NAME): Likewise.
30221 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30222 * string/test-strcasestr.c (TEST_NAME): Likewise.
30223 * string/test-strcat.c (TEST_NAME): Likewise.
30224 * string/test-strchr.c (TEST_NAME): Likewise.
30225 * string/test-strcmp.c(TEST_NAME): Likewise.
30226 * string/test-strcpy.c (TEST_NAME): Likewise.
30227 * string/test-strcspn.c (TEST_NAME): Likewise.
30228 * string/test-strlen.c (TEST_NAME): Likewise.
30229 * string/test-strncasecmp.c (TEST_NAME): Likewise.
30230 * string/test-strncmp.c (TEST_NAME): Likewise.
30231 * string/test-strncpy.c (TEST_NAME): Likewise.
30232 * string/test-strnlen.c (TEST_NAME): Likewise.
30233 * string/test-strpbrk.c (TEST_NAME): Likewise.
30234 * string/test-strrchr.c (TEST_NAME): Likewise.
30235 * string/test-strspn.c (TEST_NAME): Likewise.
30236 * string/test-strstr.c (TEST_NAME): Likewise.
30237 * string/test-bcopy-ifunc.c: New file.
30238 * string/test-bzero-ifunc.c: Likewise.
30239 * string/test-memccpy-ifunc.c: Likewise.
30240 * string/test-memchr-ifunc.c: Likewise.
30241 * string/test-memcmp-ifunc.c: Likewise.
30242 * string/test-memcpy-ifunc.c: Likewise.
30243 * string/test-memmem-ifunc.c: Likewise.
30244 * string/test-memmove-ifunc.c: Likewise.
30245 * string/test-mempcpy-ifunc.c: Likewise.
30246 * string/test-memset-ifunc.c: Likewise.
30247 * string/test-rawmemchr-ifunc.c: Likewise.
30248 * string/test-stpcpy-ifunc.c: Likewise.
30249 * string/test-stpncpy-ifunc.c: Likewise.
30250 * string/test-strcasecmp-ifunc.c: Likewise.
30251 * string/test-strcasestr-ifunc.c: Likewise.
30252 * string/test-strcat-ifunc.c: Likewise.
30253 * string/test-strchr-ifunc.c: Likewise.
30254 * string/test-strchrnul-ifunc.c: Likewise.
30255 * string/test-strcmp-ifunc.c: Likewise.
30256 * string/test-strcpy-ifunc.c: Likewise.
30257 * string/test-strcspn-ifunc.c: Likewise.
30258 * string/test-strlen-ifunc.c: Likewise.
30259 * string/test-strncasecmp-ifunc.c: Likewise.
30260 * string/test-strncat-ifunc.c: Likewise.
30261 * string/test-strncmp-ifunc.c: Likewise.
30262 * string/test-strncpy-ifunc.c: Likewise.
30263 * string/test-strnlen-ifunc.c: Likewise.
30264 * string/test-strpbrk-ifunc.c: Likewise.
30265 * string/test-strrchr-ifunc.c: Likewise.
30266 * string/test-strspn-ifunc.c: Likewise.
30267 * string/test-strstr-ifunc.c: Likewise.
30269 * debug/Makefile (tests-ifunc): New variable.
30270 (tests): Add $(tests-ifunc).
30271 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30272 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30273 * debug/test-stpcpy_chk-ifunc.c: New file.
30274 * debug/test-strcpy_chk-ifunc.c: Likewise.
30276 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30279 * elf/dl-load.c (open_verify): Retry read if the entire ELF
30280 header is not read in.
30282 2012-10-19 Joseph Myers <joseph@codesourcery.com>
30284 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
30285 script to $(SHELL) as $<. Pass $(common-objpfx) to script
30286 directly. Pass built executable to script as
30287 $(built-program-cmd).
30288 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
30289 $testprogram without using LD_LIBRARY_PATH and $ldso.
30291 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30292 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30293 $(rtld-installed-name).
30294 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30295 (rtld_installed_name): Likewise.
30296 (library_path): Likewise.
30297 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
30298 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30299 $(run-program-prefix) to tst-tables.sh.
30300 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
30301 it to run tst-table-from and tst-table-to.
30302 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30303 Pass it to tst-table.sh.
30304 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30305 $(run-program-prefix) to tst-gettext.sh.
30306 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30308 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30310 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
30311 to run tst-gettext.
30312 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
30313 to run tst-gettext2.
30314 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
30315 to run tst-translit.
30316 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30317 $(run-program-prefix) to tst-mtrace.sh.
30318 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
30320 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30321 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30322 $(rtld-installed-name).
30323 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30324 (rtld_installed_name): Likewise.
30325 (run_program_prefix): New variable. Use it to run wordexp-test.
30327 * Makeconfig (ARCH): Remove all definitions.
30328 (machine): Likewise.
30329 [ARCH]: Remove conditional code.
30330 [!objdir]: Give error.
30331 [!objdir] (objpfx): Remove.
30332 [!objdir] (common-objpfx): Likewise.
30333 [!objdir] (common-objdir): Likewise.
30334 * configure.in (config_makefile): Remove. Hardcode Makefile in
30335 AC_CONFIG_FILES call.
30336 * configure: Regenerated.
30339 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30341 (testout): Likewise.
30343 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30344 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30345 $(rtld-installed-name).
30346 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30347 (rtld_installed_name): Likwise.
30348 (runit): Remove function.
30349 (run_getconf): New variable, Use it for running getconf binary.
30351 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
30354 * string/test-memmem.c (check_result): New function.
30355 (do_one_test): Use it.
30356 (check1): New function.
30357 (test_main): Use it.
30359 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
30361 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30363 2012-10-18 Joseph Myers <joseph@codesourcery.com>
30365 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30366 (_G_LSEEK64): Likewise.
30367 (_G_MMAP64): Likewise.
30368 (_G_FSTAT64): Likewise.
30369 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30370 (_G_LSEEK64): Likewise.
30371 (_G_MMAP64): Likewise.
30372 (_G_FSTAT64): Likewise.
30373 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30374 unconditional. Call __mmap64 directly.
30375 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30376 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
30377 __lseek64 directly.
30378 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30379 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
30381 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30382 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
30383 __lseek64 directly.
30384 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30385 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
30386 __lseek64 directly.
30387 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30388 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
30389 __lseek64 directly.
30390 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30391 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
30392 __fxstat64 directly.
30393 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30394 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30396 (freopen64) [!_G_OPEN64]: Remove conditional code.
30397 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30399 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30400 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30402 (ftello64) [!_G_LSEEK64]: Remove conditional code.
30403 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30405 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30406 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30408 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30409 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30411 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30412 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30414 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30415 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30417 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30419 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30422 * manual/memory.texi (Malloc Tunable Parameters): Add note
30423 about free list pointers overwriting some perturb bytes.
30424 Wording suggested by Roland McGrath.
30426 2012-10-17 Joseph Myers <joseph@codesourcery.com>
30428 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30429 (lgamma_test): Likewise.
30430 (tgamma_test): Likewise.
30432 2012-10-16 Florian Weimer <fweimer@redhat.com>
30435 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30436 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30438 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30440 * NEWS: Mention BZ #14716.
30441 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30442 when removing AVAILABLE1_USES_J macro.
30444 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30446 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30447 (__bswap_64): __uint64_t for unsigned 64-bit int.
30449 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30451 * include/string.h (memmem): Declare libc hidden alias.
30452 * string/memmem.c (memmem): Define libc hidden alias.
30453 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30454 __read, __close instead of open, read, close.
30456 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30459 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30461 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30462 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30463 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30465 (__rawmemchr_sse2): Likewise.
30466 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30467 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30468 (__strchr_sse2): Likewise.
30469 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30470 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30471 (__strcasecmp_sse2): Likewise.
30472 (__strncasecmp_sse2): Likewise.
30473 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30474 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30475 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30476 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30477 (__strrchr_sse2): Likewise.
30478 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30480 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30481 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30482 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30483 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30484 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30485 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30486 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30487 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30488 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30489 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30490 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30491 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30492 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30493 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30494 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30495 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30496 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30497 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30498 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30499 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30500 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30501 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30502 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30503 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30504 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30505 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30506 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30507 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30508 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30509 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30511 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30513 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30514 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30515 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30516 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30518 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30520 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30521 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30522 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30523 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30525 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30526 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30527 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30528 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30529 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30530 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30531 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30532 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30537 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30538 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30539 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30541 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30542 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30543 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30544 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30545 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30546 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30547 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30548 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30550 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30552 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30554 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30555 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30556 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30557 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30558 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30560 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30561 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30563 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30565 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30567 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30568 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30569 * include/ifunc-impl-list.h: New file.
30570 * misc/ifunc-impl-list.c: Likewise.
30571 * misc/Makefile (routines): Add ifunc-impl-list.
30572 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30573 * string/test-string.h: Include <ifunc-impl-list.h>.
30574 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30575 TEST_NAME]: New variables.
30576 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30578 (test_init): Call __libc_ifunc_impl_list to initialize
30579 func_list if TEST_IFUNC and TEST_NAME are defined.
30581 * string/Makefile (strop-tests): Add bcopy and bzero.
30582 * string/test-bcopy.c: New file.
30583 * string/test-bzero.c: Likewise.
30584 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30586 * string/test-memset.c: Support bzero test if TEST_BZERO is
30588 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30590 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30592 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30595 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30597 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30598 * configure: Regenerated.
30600 * Makeconfig (+link-static-before-libc): Don't include
30601 $(link-static-libc).
30603 * libio/libio.h (_IO_pos_t): Remove.
30605 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30607 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30610 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30612 * crypt/crypt-entry.c: Include fips-private.h.
30613 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30614 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30615 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30616 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30618 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30620 * crypt/crypt-private.h: Include stdbool.h.
30621 (_ufc_setup_salt_r): Return bool.
30622 * crypt/crypt-entry.c: Include errno.h.
30623 (__crypt_r): Return NULL with EINVAL for bad salt.
30624 * crypt/crypt_util.c (bad_for_salt): New.
30625 (_ufc_setup_salt_r): Check that salt is long enough and within
30626 the specified alphabet.
30627 * crypt/badsalttest.c: New file.
30628 * crypt/Makefile (tests): Add it.
30629 ($(objpfx)badsalttest): New.
30631 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30633 * NEWS: Add entry for BZ #14602.
30635 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30637 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30639 * math/libm-test.inc: Update comment listing what functions and
30641 (isgreater_test): New function.
30642 (isgreaterequal_test): Likewise.
30643 (isless_test): Likewise.
30644 (islessequal_test): Likewise.
30645 (islessgreater_test): Likewise.
30646 (isunordered_test): Likewise.
30647 (main): Call the new functions.
30649 2012-10-09 Roland McGrath <roland@hack.frob.com>
30651 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30652 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30653 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30654 * sysdeps/i386/configure: Regenerated.
30655 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30656 * sysdeps/mach/configure: Regenerated.
30657 * sysdeps/mach/hurd/configure: Regenerated.
30658 * sysdeps/powerpc/configure: Regenerated.
30659 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30660 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30661 * sysdeps/s390/s390-32/configure: Regenerated.
30662 * sysdeps/s390/s390-64/configure: Regenerated.
30663 * sysdeps/sh/configure: Regenerated.
30664 * sysdeps/sparc/configure: Regenerated.
30665 * sysdeps/unix/sysv/linux/configure: Regenerated.
30666 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30667 * sysdeps/x86_64/configure: Regenerated.
30669 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30670 defined. Don't check if MAP is NULL.
30672 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30674 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30675 (_G_stat64): Likewise.
30676 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30677 (_G_stat64): Likewise.
30678 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30679 instead of struct _G_stat64.
30680 * libio/fileops.c (mmap_remap_check): Likewise.
30681 (decide_maybe_mmap): Likewise.
30682 (_IO_new_file_seekoff): Likewise.
30683 (_IO_file_stat): Likewise.
30684 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30686 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30687 instead of struct _G_stat64.
30688 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30690 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30693 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30695 (CHECK_EOL): New macro.
30696 (two_way_short_needle): Check beginning of haystack for EOL. Use
30698 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30699 Replace with CHECK_EOL.
30700 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30701 Replace with CHECK_EOL.
30703 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30705 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30707 * math/libm-test.inc: Update comment listing what functions and
30709 (finite_test): New function.
30710 (isinf_test): Likewise.
30711 (isnan_test): Likewise.
30712 (fpclassify_test): Test subnormal input.
30713 (isfinite_test): Likewise.
30714 (isnormal_test): Likewise.
30715 (main): Call the new functions.
30717 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30720 * Makerules (%.dynsym): Force C locale when running
30721 $(OBJDUMP) --dynamic-syms.
30723 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30725 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30728 2012-10-06 David S. Miller <davem@davemloft.net>
30730 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30731 upper 32-bits of the length value in %o2 since we use branch-on-register
30732 tests which consider the entire 64-bit register.
30734 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30736 * string/test-strstr.c (check2): Add a test for page boundary.
30738 2012-10-05 David S. Miller <davem@davemloft.net>
30740 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30741 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30743 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30746 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30747 and bzero when HWCAP_SPARC_CRYPTO is present.
30749 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30752 * string/test-strstr.c (check2): New function.
30753 (test_main): Call check2.
30755 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30757 * string/bug-strcasestr1.c (do_test): Moved to ...
30758 * string/test-strcasestr.c (check1): Here. New function.
30759 (do_one_test): Break out result checking code into ...
30760 (check_result): This. New function.
30761 (do_one_test): Call check_result.
30762 (test_main): Call check1.
30763 * string/bug-strchr1.c (do_test): Moved to ...
30764 * string/test-strchr.c (check1): Here. New function.
30765 (do_one_test): Break out result checking code into ...
30766 (check_result): This. New function.
30767 (do_one_test): Call check_result.
30768 (test_main): Call check1.
30769 * string/bug-strstr1.c (main): Moved to ...
30770 * string/test-strstr.c (check1): Here. New function.
30771 (do_one_test): Break out result checking code into ...
30772 (check_result): This. New function.
30773 (do_one_test): Call check_result.
30774 (test_main): Call check1.
30775 * string/bug-strcasestr1.c: Removed.
30776 * string/bug-strchr1.c: Likewise.
30777 * string/bug-strstr1.c: Likewise.
30779 * elf/Makefile (dl-routines): Add hwcaps.
30780 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30781 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30782 (_dl_important_hwcaps): Moved to ...
30783 * elf/dl-hwcaps.c: Here. New file.
30784 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30787 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30788 if IS_IN_rtld isn't defined.
30790 * elf/dl-support.c (_dl_sysinfo_map): New.
30791 Include "get-dynamic-info.h" and "setup-vdso.h".
30792 (_dl_non_dynamic_init): Call setup_vdso.
30793 * elf/dynamic-link.h: Don't include <assert.h>.
30794 (elf_get_dynamic_info): Moved to ...
30795 * elf/get-dynamic-info.h: Here. New file.
30796 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30797 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30798 * elf/setup-vdso.h: Here. New file.
30799 * elf/rtld.c: Include "setup-vdso.h".
30800 (dl_main): Call setup_vdso.
30802 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30804 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30805 creal in comment listing functions tested. List finite, isinf,
30806 isnan, isless, islessequal, isgreater, isgreaterequal,
30807 islessgreater, isunordered, lgamma_r and pow10 as functions and
30808 macros not tested. Mention which functions not tested are aliases
30809 for other functions. Fix typo. Note that signs of NaNs are not
30812 * scripts/config.guess: Update from config.git.
30813 * scripts/config.sub: Likewise.
30815 2012-10-04 Roland McGrath <roland@hack.frob.com>
30817 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30818 * misc/madvise.c (madvise): Renamed to __madvise.
30819 Make madvise a weak alias.
30820 * include/sys/mman.h: Declare __madvise.
30821 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30822 * sysdeps/unix/syscalls.list
30823 (madvise): Make __madvise the strong name, and madvise a weak alias.
30824 * sysdeps/unix/sysv/linux/syscalls.list
30825 (madvise, mmap): Remove redundant entries.
30826 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30827 * malloc/malloc.c (mtrim): Likewise.
30828 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30830 2012-10-03 Roland McGrath <roland@hack.frob.com>
30832 * sysdeps/mach/hurd/dl-cache.c: File removed.
30833 * config.h.in (USE_LDCONFIG): New #undef.
30834 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30835 * configure: Regenerated.
30836 * elf/Makefile (dl-routines): Add dl-cache only under
30837 [$(use-ldconfig) = yes].
30838 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30839 cache on [USE_LDCONFIG].
30840 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30842 * elf/rtld.c (dl_main): Likewise.
30844 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30846 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30847 _SC_LEVEL4_CACHE_LINESIZE.
30849 2012-10-03 Roland McGrath <roland@hack.frob.com>
30851 * sysdeps/unix/bsd/confstr.h: File removed.
30853 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30855 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30858 2012-10-02 Roland McGrath <roland@hack.frob.com>
30860 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30861 Make 'mapoff' field ElfW(Off) rather than off_t.
30863 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30865 * nscd/Makefile: Remove nscd-cflags and all its users.
30866 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30867 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30870 * malloc.c (malloc_printerr): Clarify error message.
30872 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30876 Set bit_FMA_Usable if FMA is supported.
30877 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30879 (bit_FMA4_Usable): Updated.
30880 (index_FMA_Usable): New macro.
30881 (CPUID_FMA): Likewise
30882 (HAS_FMA): Defined with bit_FMA_Usable.
30884 2012-10-01 Roland McGrath <roland@hack.frob.com>
30886 * bits/types.h (__swblk_t): Type removed.
30887 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30888 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30890 (__SWBLK_T_TYPE): Likewise.
30891 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30892 (__SWBLK_T_TYPE): Likewise.
30893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30894 (__SWBLK_T_TYPE): Likewise.
30895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30896 (__SWBLK_T_TYPE): Likewise.
30898 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30899 Honza Horak <hhorak@redhat.com>
30901 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30902 (xdr_mapname): Use YPMAXMAP as maxsize.
30903 (xdr_peername): Use YPMAXPEER as maxsize.
30904 (xdr_keydat): Use YPAXRECORD as maxsize.
30905 (xdr_valdat): Use YPMAXRECORD as maxsize.
30907 2012-10-01 Roland McGrath <roland@hack.frob.com>
30909 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30911 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30912 * csu/init-first.c: ... here.
30913 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30914 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30915 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30916 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30917 * sysdeps/i386/init-first.c: File removed.
30918 * sysdeps/sh/init-first.c: File removed.
30920 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30924 if x * y might underflow to zero and z is zero.
30925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30927 * math/libm-test.inc (min_subnorm_value): New variable.
30928 (fma_test): Add more tests.
30929 (fma_test_towardzero): Likewise.
30930 (fma_test_downward): Likewise
30931 (fma_test_upward): Likewise.
30932 (initialize): Set min_subnorm_value.
30934 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30940 mode for addition resulting in exact zero.
30941 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30944 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30946 * math/libm-test.inc (fma_test): Add more tests.
30947 (fma_test_towardzero): New function.
30948 (fma_test_downward): Likewise.
30949 (fma_test_upward): Likewise.
30950 (main): Call the new functions.
30952 2012-09-28 David S. Miller <davem@davemloft.net>
30954 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30956 2012-09-28 Roland McGrath <roland@hack.frob.com>
30958 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30959 instead of SIGALRM.
30961 * sysdeps/gnu/_G_config.h: Moved to ...
30962 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30963 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30964 * sysdeps/generic/_G_config.h: ... here.
30966 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30968 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30970 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30971 Conditionalize target on [libnss_test1.so-version].
30973 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30975 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30976 (elfobjdir): Move out of conditionals.
30978 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30979 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30980 (__nss_lookup_function): Conditionalize label remove_from_tree on
30981 [!DO_STATIC_NSS || SHARED], matching its only use.
30983 2012-09-28 David S. Miller <davem@davemloft.net>
30985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30986 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30988 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30990 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30992 when HWCAP_SPARC_CRYPTO is present.
30994 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30996 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30998 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31001 * stdio-common/vfprintf.c (process_string_arg): Revert
31004 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31006 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31008 * stdio-common/tst-sprintf.c: Include <locale.h>
31009 (main): Test sprintf's handling of incomplete multibyte
31012 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31014 * elf/dl-runtime.c (VERSYMIDX): Removed.
31015 * elf/dl-version.c (VERSYMIDX): Likewise.
31016 * elf/do-rel.h (VERSYMIDX): Likewise.
31017 (VALIDX): Likewise.
31018 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31019 * elf/rtld.c (VALIDX): Likewise.
31020 (ADDRIDX): Likewise.
31021 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31022 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31023 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31024 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31025 (VALIDX): Likewise.
31026 (ADDRIDX): Likewise.
31028 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31030 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31032 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31035 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31037 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31038 addresses are in the same scope as 192.0.2/24.
31039 * posix/gai.conf: Document new scope table defaults.
31041 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31044 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31045 for ftell. Compute offsets from write pointers instead.
31046 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31048 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31051 * libio/Makefile (tests): New test case tst-fseek.
31052 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31053 combination works in wide mode.
31054 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31055 state when the external buffer state changes.
31057 2012-09-27 David S. Miller <davem@davemloft.net>
31060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31061 pass reloc->r_addend in as the 'high' argument to
31062 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31066 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31068 * rt/tst-aio2.c: Include <pthread.h>.
31069 * rt/tst-aio3.c: Likewise.
31071 2012-09-27 Steve Ellcey <sellcey@mips.com>
31073 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31075 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31077 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31078 contents on [SHARED].
31080 2012-09-26 Marek Polacek <polacek@redhat.com>
31084 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31085 for C++ and GCC <4.3 as well as for non GCC compilers.
31087 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31091 2012-09-25 Roland McGrath <roland@hack.frob.com>
31093 * Makefile.in (all, install): Declare with .PHONY.
31094 Reported by Michael Hope <michael.hope@linaro.org>.
31096 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31098 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31099 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31101 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31103 (sydep_routines): Add the new and the internal functions.
31104 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31105 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31107 (GLIBC_2.17): Add the new function.
31108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31109 (GLIBC_2.17): Likewise.
31110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31111 (GLIBC_2.17): Likewise.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31113 (GLIBC_2.17): Likewise.
31114 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31116 2012-09-25 Alan Modra <amodra@gmail.com>
31118 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31119 Add release barrier before setting once_control to say
31120 initialisation is done. Add hints on lwarx. Use macro in
31122 (clear_once_control): Add release barrier.
31124 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31127 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31129 * math/s_clog10.c (__clog10): Likewise.
31130 * math/s_clog10f.c (__clog10f): Likewise.
31131 * math/s_clog10l.c (__clog10l): Likewise.
31132 * math/s_clogf.c (__clogf): Likewise.
31133 * math/s_clogl.c (__clogl): Likewise.
31134 * math/Makefile (libm-calls): Add x2y2m1.
31135 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31136 (__x2y2m1): Likewise.
31137 (__x2y2m1l): Likewise.
31138 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31139 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31142 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31143 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31144 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31145 * sysdeps/i386/fpu/libm-test-ulps: Update.
31146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31149 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31150 int as type of variable DEPTH.
31151 (glob): Use size_t instead of int as type of variables NEWCOUNT
31154 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31156 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31157 Add s_sincosf-sse2.
31158 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31159 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31160 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31161 macros for using routine as __sincosf_ia32.
31162 Use macro for function declaration and weak_alias.
31163 * sysdeps/i386/fpu/libm-test-ulps: Update.
31165 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31168 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31169 subnormal argument.
31170 * math/s_cexpf.c (__cexpf): Likewise.
31171 * math/s_csinf.c (__csinf): Likewise.
31172 * math/s_csinhf.c (__csinhf): Likewise.
31173 * math/s_ctanf.c (__ctanf): Likewise.
31174 * math/s_ctanhf.c (__ctanhf): Likewise.
31175 * math/s_ccosh.c (__ccoshf): Likewise.
31176 * math/s_cexp.c (__cexpl): Likewise.
31177 * math/s_csin.c (__csin): Likewise.
31178 * math/s_csinh.c (__csinh): Likewise.
31179 * math/s_ctan.c (__ctan): Likewise.
31180 * math/s_ctanh.c (ctanh): Likewise.
31181 * math/s_ccoshl.c (__ccoshl): Likewise.
31182 * math/s_cexpl.c (__cexpl): Likewise.
31183 * math/s_csinl.c (__csinl): Likewise.
31184 * math/s_csinhl.c (__csinhl): Likewise.
31185 * math/s_ctanl.c (__ctanl): Likewise.
31186 * math/s_ctanhl.c (__ctanhl): Likewise.
31188 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31190 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31191 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31192 (_IO_off_t): Define to __off_t, not _G_off_t.
31193 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31194 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31195 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31196 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31197 type of __dummy and __dummy2 fields.
31198 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31199 (_G_ssize_t): Likewise.
31200 (_G_off_t): Likewise.
31201 (_G_pid_t): Likewise.
31202 (_G_uid_t): Likewise.
31203 (_G_wchar_t): Likewise.
31204 (_G_wint_t): Likewise.
31205 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31206 (_G_ssize_t): Likewise.
31207 (_G_off_t): Likewise.
31208 (_G_pid_t): Likewise.
31209 (_G_uid_t): Likewise.
31210 (_G_wchar_t): Likewise.
31211 (_G_wint_t): Likewise.
31212 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31213 (_G_ssize_t): Likewise.
31214 (_G_off_t): Likewise.
31215 (_G_pid_t): Likewise.
31216 (_G_uid_t): Likewise.
31217 (_G_wchar_t): Likewise.
31218 (_G_wint_t): Likewise.
31220 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31222 * malloc/arena.c: Include malloc-sysdep.h.
31223 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31224 is sufficient to shrink the heap or an unmap is needed.
31225 * sysdeps/generic/malloc-sysdep.h: New file. Define
31226 new function check_may_shrink_heap.
31227 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31228 new function check_may_shrink_heap.
31230 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31232 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31235 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
31237 * catgets/test-gencat.sh: Add "set -e".
31238 * elf/tst-pathopt.sh: Likewise.
31239 * grp/tst_fgetgrent.sh: Likewise.
31240 * iconvdata/run-iconv-test.sh: Likewise.
31241 * intl/tst-gettext.sh: Likewise.
31242 * intl/tst-gettext2.sh: Likewise.
31243 * intl/tst-gettext4.sh: Likewise.
31244 * intl/tst-gettext6.sh: Likewise.
31245 * intl/tst-translit.sh: Likewise.
31246 * io/ftwtest-sh: Likewise.
31247 * libio/test-freopen.sh: Likewise.
31248 * malloc/tst-mtrace.sh: Likewise.
31249 * posix/globtest.sh: Likewise.
31250 * posix/tst-getconf.sh: Likewise.
31251 * posix/wordexp-tst.sh: Likewise.
31252 * stdio-common/tst-printf.sh: Likewise.
31253 * stdio-common/tst-unbputc.sh: Likewise.
31254 * stdlib/tst-fmtmsg.sh: Likewise.
31255 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31256 * catgets/Makefile: Do not specify -e option when running
31257 testsuite shell scripts.
31258 * elf/Makefile: Likewise.
31259 * grp/Makefile: Likewise.
31260 * iconvdata/Makefile: Likewise.
31261 * intl/Makefile: Likewise.
31262 * io/Makefile: Likewise.
31263 * libio/Makefile: Likewise.
31264 * malloc/Makefile: Likewise.
31265 * posix/Makefile: Likewise.
31266 * stdio-common/Makefile: Likewise.
31267 * stdlib/Makefile: Likewise.
31268 * sysdeps/x86_64/Makefile: Likewise.
31270 * io/ftwtest-sh: Add copyright header.
31271 * posix/globtest.sh: Likewise.
31272 * posix/tst-getconf.sh: Likewise.
31273 * posix/wordexp-tst.sh: Likewise.
31274 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31276 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
31279 * Makeconfig (+link): Defined as $(+link-static) if
31280 $(build-shared) isn't yes.
31281 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31283 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31285 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31288 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31289 new chunk size with MALLOC_ALIGN_MASK.
31291 2012-09-24 Joseph Myers <joseph@codesourcery.com>
31294 * stdio-common/printf_fphex.c: Include <stdbool.h> and
31296 (__printf_fphex): Determine rounding using get_rounding_mode and
31298 * stdio-common/tst-printf-round.c (struct hex_test): New
31300 (hex_tests): New variable.
31301 (test_hex_in_one_mode): New function.
31302 (do_test): Also run tests for hex float output.
31304 2012-09-21 Joseph Myers <joseph@codesourcery.com>
31306 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31307 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31308 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31309 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31310 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31311 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31312 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31313 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31315 2012-09-20 Joseph Myers <joseph@codesourcery.com>
31317 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31318 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31319 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31320 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31322 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
31325 * elf/rtld.c (dl_main): Limit the check for self loading to normal
31327 * elf/tst-rtld-load-self.sh: New test.
31328 * elf/Makefile: Run it.
31330 2012-09-18 Joseph Myers <joseph@codesourcery.com>
31332 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31333 (tst-writev-ENV): Remove.
31334 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31336 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
31338 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31340 2012-09-17 Joseph Myers <joseph@codesourcery.com>
31342 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31344 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31346 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31347 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31351 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
31354 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31355 * config.make.in (have-cpp-asm-debuginfo): Removed.
31356 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31357 * configure: Regenerated.
31359 2012-09-14 Joseph Myers <joseph@codesourcery.com>
31362 * stdio-common/printf_fp.c: Include <stdbool.h> and
31364 (___printf_fp): Determine rounding using get_rounding_mode and
31366 * stdio-common/tst-printf-round.c: New file.
31367 * stdio-common/Makefile (tests): Add tst-printf-round.
31368 (link-libm): New variable.
31369 ($(objpfx)tst-printf-round): Depend in $(link-libm).
31371 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
31374 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31375 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31377 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31380 2012-09-13 Joseph Myers <joseph@codesourcery.com>
31382 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31383 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31384 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31385 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31387 2012-09-12 Joseph Myers <joseph@codesourcery.com>
31390 * include/rounding-mode.h: New file.
31391 * sysdeps/generic/get-rounding-mode.h: Likewise.
31392 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31393 * stdlib/strtod_l.c: Include <rounding-mode.h>.
31394 (MAX_VALUE): New macro.
31395 (MIN_VALUE): Likewise.
31396 (overflow_value): New function.
31397 (underflow_value): Likewise.
31398 (round_and_return): Use overflow_value and underflow_value to
31399 determine return values in overflow and underflow cases. Use
31400 round_away to determine rounding depending on rounding mode.
31401 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31402 determine return values in overflow and underflow cases.
31403 * stdlib/tst-strtod-round.c: Include <fenv.h>.
31404 (struct test_results): New structure.
31405 (struct test): Use struct test_results to store expected results
31406 for all rounding modes.
31407 (TEST): Include expected results for all rounding modes.
31408 (test_in_one_mode): New function.
31409 (do_test): Use test_in_one_mode to compute and check results.
31410 Check results for all rounding modes.
31411 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31414 2012-12-09 Allan McRae <allan@archlinux.org>
31416 * sysdeps/i386/fpu/libm-test-ulps: Update
31418 2012-09-11 Joseph Myers <joseph@codesourcery.com>
31420 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31421 (_G_int32_t): Likewise.
31422 (_G_uint16_t): Likewise.
31423 (_G_uint32_t): Likewise.
31424 (_G_HAVE_BOOL): Likewise.
31425 (_G_HAVE_ATEXIT): Likewise.
31426 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31427 (_G_HAVE_IO_FILE_OPEN): Likewise.
31428 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31429 (_G_int32_t): Likewise.
31430 (_G_uint16_t): Likewise.
31431 (_G_uint32_t): Likewise.
31432 (_G_HAVE_BOOL): Likewise.
31433 (_G_HAVE_ATEXIT): Likewise.
31434 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31435 (_G_HAVE_IO_FILE_OPEN): Likewise.
31436 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31437 (_G_int32_t): Likewise.
31438 (_G_uint16_t): Likewise.
31439 (_G_uint32_t): Likewise.
31440 (_G_HAVE_BOOL): Likewise.
31441 (_G_HAVE_ATEXIT): Likewise.
31442 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31443 (_G_HAVE_IO_FILE_OPEN): Likewise.
31445 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31447 * csu/libc-tls.c: Update copyright years.
31449 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31451 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31452 [!_G_USING_THUNKS]: Remove conditional code.
31453 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31454 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31456 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31457 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31458 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31459 (_G_VTABLE_LABEL_PREFIX): Likewise.
31460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31461 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31462 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31463 (_G_VTABLE_LABEL_PREFIX): Likewise.
31464 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31465 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31466 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31467 (_G_VTABLE_LABEL_PREFIX): Likewise.
31468 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31470 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31472 * libio/Makefile: Include ../Makeconfig before tests.
31473 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31474 only if $(build-shared) is yes.
31476 * iconv/gconv_db.c: Update copyright years.
31478 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31480 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31481 unwind info if defined PIC. Fix special cases description.
31482 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31484 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31486 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31488 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31490 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31492 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31495 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31496 (LDLIBS-tst-chk4): This.
31497 (LDFLAGS-tst-chk5): Renamed to ...
31498 (LDLIBS-tst-chk5): This.
31499 (LDFLAGS-tst-chk6): Renamed to ...
31500 (LDLIBS-tst-chk6): This.
31501 (LDFLAGS-tst-lfschk4): Renamed to ...
31502 (LDLIBS-tst-lfschk4): This.
31503 (LDFLAGS-tst-lfschk5): Renamed to ...
31504 (LDLIBS-tst-lfschk5): This.
31505 (LDFLAGS-tst-lfschk6): Renamed to ...
31506 (LDLIBS-tst-lfschk6): This.
31508 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31509 on $(common-objpfx)soversions.mk.
31511 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31514 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31517 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31519 * malloc/arena.c (arena_get_retry): New function that gets
31520 another arena for the caller to try its request on.
31521 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31522 current arena cannot fulfill the request.
31523 (__libc_memalign): Likewise.
31524 (__libc_memalign): Likewise.
31525 (__libc_pvalloc): Likewise.
31526 (__libc_calloc): Likewise.
31528 2012-09-05 John Tobey <john.tobey@gmail.com>
31531 * manual/arith.texi (Operations on Complex): Fix description
31532 of carg branch cut.
31534 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31537 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31541 * manual/memory.texi (Memory): Make order of menu items match
31544 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31546 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31547 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31548 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31550 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31552 * csu/libc-tls.c (static_dtv): Renamed to ...
31553 (_dl_static_dtv): This. Make it global.
31554 (_dl_initial_dtv): Removed.
31555 (__libc_setup_tls): Updated.
31556 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31557 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31560 2012-09-06 Petr Machata <pmachata@redhat.com>
31562 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31563 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31564 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31565 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31567 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31570 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31571 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31574 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31577 * Makeconfig (link-static-before-libc): Replace $(+prector)
31579 (link-static-after-libc): Replace $(+postctor) with
31581 (link-bounded): Replace $(+prector)/$(+postctor) with
31582 $(+prectorT)/$(+postctorT).
31583 (+prectorT): New macro.
31584 (+postctorT): Likewise.
31586 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31588 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31589 (round_str): Handle values above the maximum for IBM long double
31591 * stdlib/tst-strtod-round.c (tests): Regenerated.
31593 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31595 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31597 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31598 zarch_nohighgprs around the zarch optimized routines.
31599 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31600 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31601 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31604 2012-09-05 David S. Miller <davem@davemloft.net>
31606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31608 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31609 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31610 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31611 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31614 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31616 * malloc/arena.c: Fold copyright years.
31617 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31619 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31621 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31623 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31625 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31627 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31629 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31630 change internal state upon failure.
31632 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31634 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31635 * malloc/memusage.c (mmap): Likewise.
31636 (mmap64, mremap): Likewise. Adjust name in comment.
31638 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31640 * libio/fileops.c: Fix typos in comments.
31641 * libio/oldfileops.c: Likewise.
31642 * libio/wfileops.c: Likewise.
31644 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31647 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31648 (tst-malloc-usable-ENV): Set environment for test case.
31649 * malloc/hooks.c (malloc_check_get_size): New function to get
31651 * malloc/malloc.c (musable): Use malloc_check_get_size.
31652 * malloc/tst-malloc-usable.c: New test case.
31654 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31656 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31658 2012-09-05 Allan McRae <allan@archlinux.org>
31661 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31662 determine header location.
31663 * configure: Regenerated.
31665 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31667 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31669 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31670 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31672 (test): Regenerate.
31674 2012-09-04 David S. Miller <davem@davemloft.net>
31676 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31677 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31680 2012-09-04 Florian Weimer <fweimer@redhat.com>
31682 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31685 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31687 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31690 * libio/iogetdelim.c: Include <limits.h>.
31691 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31692 + len + 1 would overflow.
31694 2012-09-03 Andreas Jaeger <aj@suse.de>
31696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31697 * sysdeps/i386/fpu/libm-test-ulps: Update.
31699 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31701 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31702 Add s_sinf-sse2, s_conf-sse2.
31704 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31705 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31706 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31707 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31709 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31710 for using routine as __sinf_ia32.
31711 Use macro for function declaration and weak_alias.
31712 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31713 for using routine as __cosf_ia32.
31714 Use macro for function declaration and weak_alias.
31716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31717 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31719 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31720 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31723 * math/libm-test.inc (cos_test): Add more test cases.
31724 (sin_test): Likewise.
31725 (sincos_test): Likewise.
31727 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31729 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31730 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31734 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31737 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31738 first element of the GOT.
31739 (elf_machine_load_address): Return the difference between
31740 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31742 2012-09-01 Allan McRae <allan@archlinux.org>
31745 * configure.in (AWK): Require gawk version 3.0 or later.
31746 * configure: Regenerated.
31748 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31750 * sysdeps/unix/sysv/linux/kernel-features.h
31751 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31752 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31753 [__NR_clock_getres]: Make code unconditional.
31754 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31755 (clock_getcpuclockid): Remove code left unreachable by removal of
31757 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31758 code unconditional.
31759 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31760 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31761 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31762 Make code unconditional.
31763 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31764 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31765 * sysdeps/unix/sysv/linux/clock_settime.c
31766 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31768 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31769 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31771 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31774 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31775 scripts/test-installation.pl.
31777 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31778 and $ld_so_version if it is set.
31780 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31783 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31784 failure if reading from procfs failed.
31785 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31787 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31789 * sysdeps/unix/sysv/linux/kernel-features.h
31790 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31791 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31792 Remove conditional code.
31793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31794 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31795 Remove conditional code.
31796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31797 * sysdeps/unix/sysv/linux/i386/fxstat.c
31798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31800 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31801 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31803 * sysdeps/unix/sysv/linux/i386/lxstat.c
31804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31806 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31807 Remove conditional code.
31808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31809 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31810 Remove conditional code.
31811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31812 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31813 <kernel-features.h>.
31814 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31816 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31817 Remove conditional code.
31818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31819 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31820 Remove conditional.
31822 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31825 * NEWS: Add fixed bug number.
31827 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31830 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31831 underflowing exponent in case of negative sign.
31832 * stdlib/tst-strtod-round-data: Add more tests.
31833 * stdlib/tst-strtod-round.c (tests): Regenerated.
31836 * stdlib/strtod_l.c (NDIG): Remove.
31837 (HEXNDIG): Likewise.
31838 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31839 smallest representable value.
31840 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31841 lie within an exact representation of 1/2 ulp of the result.
31842 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31844 (TENS_P9_IDX): Define unconditionally.
31845 (TENS_P9_SIZE): Likewise.
31846 (TENS_P10_IDX): Likewise.
31847 (TENS_P10_SIZE): Likewise.
31848 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31849 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31850 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31851 entries for 10^2^13 and 10^2^14.
31852 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31853 (TENS_P13_IDX): Define.
31854 (TENS_P13_SIZE): Likewise.
31855 (TENS_P14_IDX): Likewise.
31856 (TENS_P14_SIZE): Likewise.
31857 (_fpioconst_pow10): Change array size to
31858 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31860 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31861 1024]: Add entries for 10^2^13 and 10^2^14.
31862 [LAST_POW10 > _LAST_POW10]: Remove #error.
31863 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31864 (_fpioconst_pow10): Change array size to
31865 FPIOCONST_POW10_ARRAY_SIZE.
31866 * stdlib/gen-fpioconst.c: New file.
31867 * stdlib/gen-tst-strtod-round.c: Likewise.
31868 * stdlib/tst-strtod-round-data: Likewise.
31869 * stdlib/tst-strtod-round.c: Likewise.
31870 * stdlib/Makefile (tests): Add tst-strtod-round.
31873 * stdlib/strtod_l.c: Include <stdint.h>.
31874 (NDEBUG): Do not define.
31875 (round_and_return): Change EXPONENT parameter to type intmax_t.
31876 Rearrange calculations to avoid internal overflow possibilities.
31877 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31878 Rearrange calculations to avoid internal overflow possibilities.
31879 Assert that number fits inside MPNSIZE limbs.
31880 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31881 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31882 calculations and add assertions to avoid internal overflow
31883 possibilities. Add casts to avoid signed/unsigned operations.
31884 * stdlib/tst-strtod-overflow.c: New file.
31885 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31887 2012-08-25 Marek Polacek <polacek@redhat.com>
31889 * time/time.h: Fix some typos in comments.
31891 2012-08-23 Roland McGrath <roland@hack.frob.com>
31893 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31894 * posix/tst-rfc3484-2.c: Likewise.
31895 * posix/tst-rfc3484-3.c: Likewise.
31897 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31899 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31900 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31902 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31904 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31905 #include of fxstatat64.c.
31907 2012-08-22 Roland McGrath <roland@hack.frob.com>
31909 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31910 * shadow/getspent_r.c: Likewise.
31911 * shadow/getspnam.c: Likewise.
31912 * shadow/getspnam_r.c: Likewise.
31913 * gshadow/getsgent.c: Likewise.
31914 * gshadow/getsgent_r.c: Likewise.
31915 * gshadow/getsgnam.c: Likewise.
31916 * gshadow/getsgnam_r.c: Likewise.
31917 * inet/getnetbyad.c: Likewise.
31918 * inet/getnetbyad_r.c: Likewise.
31919 * inet/getnetbynm.c: Likewise.
31920 * inet/getnetbynm_r.c: Likewise.
31921 * inet/getnetent.c: Likewise.
31922 * inet/getnetent_r.c: Likewise.
31923 * inet/getproto.c: Likewise.
31924 * inet/getproto_r.c: Likewise.
31925 * inet/getprtent.c: Likewise.
31926 * inet/getprtent_r.c: Likewise.
31927 * inet/getprtname.c: Likewise.
31928 * inet/getprtname_r.c: Likewise.
31929 * inet/getrpcbyname.c: Likewise.
31930 * inet/getrpcbyname_r.c: Likewise.
31931 * inet/getrpcbynumber.c: Likewise.
31932 * inet/getrpcbynumber_r.c: Likewise.
31933 * inet/getrpcent.c: Likewise.
31934 * inet/getrpcent_r.c: Likewise.
31935 * inet/getaliasent.c: Likewise.
31936 * inet/getaliasent_r.c: Likewise.
31937 * inet/getaliasname.c: Likewise.
31938 * inet/getaliasname_r.c: Likewise.
31939 * nscd/getgrgid_r.c: Likewise.
31940 * nscd/getgrnam_r.c: Likewise.
31941 * nscd/gethstbyad_r.c: Likewise.
31942 * nscd/gethstbynm3_r.c: Likewise.
31943 * nscd/getpwnam_r.c: Likewise.
31944 * nscd/getpwuid_r.c: Likewise.
31945 * nscd/getsrvbynm_r.c: Likewise.
31946 * nscd/getsrvbypt_r.c: Likewise.
31947 * nscd/gai.c: Likewise.
31949 * configure.in (build_nscd): New substituted variable, set
31950 by --disable-build-nscd and defaults to $use_nscd.
31951 * configure: Regenerated.
31952 * config.make.in (build-nscd): New substituted variable.
31953 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31954 Change conditional to require [$(build-nscd) = yes] as well.
31955 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31958 * configure.in (use_nscd): New substituted variable, set by
31959 --disable-nscd. If enabled, define USE_NSCD.
31960 * configure: Regenerated.
31961 * config.h.in: Add USE_NSCD.
31962 * config.make.in (use-nscd): New substituted variable.
31963 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31964 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31965 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31966 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31967 (CFLAGS-getgrnam_r.c): Likewise.
31968 (CFLAGS-initgroups.c): Likewise.
31969 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31970 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31972 * inet/getnetgrent_r.c
31973 (nscd_setnetgrent): New function, broken out of ...
31974 (setnetgrent): ... here. Call it.
31975 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31976 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31977 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31978 * nscd/Makefile (routines, aux): Move definitions after include of
31979 Makeconfig. Conditionalize on [$(use-nscd) != no].
31980 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31981 Conditionalize on [USE_NSCD].
31982 (is_nscd, nscd_init_cb): Likewise.
31983 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31984 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31985 * nss/nss_db/db-init.c: Likewise.
31986 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31988 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31989 (make_request): Use it.
31990 (cache_valid_p): New function.
31991 (__check_pf): Use it.
31992 * NEWS: Add item for --disable-nscd.
31994 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31996 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31997 to support sed >= 4.2.1-20-ga9bf076.
31998 * configure: Regenerated.
32000 2012-08-22 Roland McGrath <roland@hack.frob.com>
32002 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32003 Conditionalize whole body on [IREL].
32005 2012-08-22 Jeff Law <law@redhat.com>
32008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32009 if the family is PF_UNSPEC.
32011 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32013 * Makerules (lib-version): Rename from V.
32014 (install-lib-nosubdir): Change V to lib-version.
32016 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32019 * powerpc32/power6/wcschr.c: New file.
32020 * powerpc32/power6/wcscpy.c: New file.
32021 * powerpc32/power6/wcsrchr.c: New file.
32022 * powerpc64/power6/wcschr.c: New file.
32023 * powerpc64/power6/wcscpy.c: New file.
32024 * powerpc64/power6/wcsrchr.c: New file.
32026 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32028 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32029 (two_way_short_needle): Use it.
32030 * string/strstr.c (AVAILABLE1_USES_J): Define.
32031 * string/strcasestr.c: Likewise.
32033 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32035 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32038 * NEWS: Add an entry.
32039 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32040 define their defaults.
32041 (two_way_short_needle): Detect end-of-string on-the-fly.
32042 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32043 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32044 * string/bug-strcasestr1.c: New test.
32045 * string/Makefile: Run it.
32047 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32050 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32051 the first character.
32053 2012-08-21 Roland McGrath <roland@hack.frob.com>
32055 * csu/elf-init.c (__libc_csu_irel): Function removed.
32056 * csu/libc-start.c (apply_irel): New function.
32057 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32059 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32061 * sysdeps/unix/sysv/linux/kernel-features.h
32062 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32063 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32064 <kernel-features.h>.
32065 [__NR_fadvise64_64]: Make code unconditional.
32066 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32067 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32068 !__NR_fadvise64_64)]: Likewise.
32069 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32070 !__NR_fadvise64_64))]: Likewise.
32071 [__NR_fadvise64]: Make code unconditional.
32072 [!__NR_fadvise64]: Remove conditional code.
32073 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32074 <kernel-features.h>.
32075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32080 not include <kernel-features.h>.
32081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32085 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32086 include <kernel-features.h>.
32087 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32089 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32092 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32095 slight instruction rearrangements per scrollpipe analysis.
32096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32098 2012-08-20 Roland McGrath <roland@hack.frob.com>
32100 * manual/syslog.texi (syslog; vsyslog, closelog):
32101 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32102 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32104 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32105 DSOCAPS to match condition on defining it.
32107 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32109 * sysdeps/unix/sysv/linux/kernel-features.h
32110 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32115 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32116 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32121 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32122 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32124 * sysdeps/unix/sysv/linux/kernel-features.h
32125 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32126 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32128 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32129 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32130 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32131 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32132 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32133 Make code unconditional.
32134 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32135 (__mmap64) [!__NR_mmap2]: Likewise.
32136 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32137 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32138 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32139 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32140 [__NR_mmap2]: Make code unconditional.
32141 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32142 (__mmap64) [!__NR_mmap2]: Likewise.
32144 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32146 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32148 2012-08-18 Andreas Jaeger <aj@suse.de>
32150 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32152 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32154 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32155 * include/unistd.h (__have_sock_cloexec): Likewise.
32156 (__have_pipe2): Likewise.
32157 (__have_dup3): Likewise.
32159 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32162 * include/unistd.h (__have_pipe2): Change define into an extern int.
32163 (__have_dup3): Likewise.
32164 * socket/have_sock_cloexec.c: Include fcntl.h.
32165 (__have_pipe2): New variable.
32166 (__have_dup3): Likewise.
32168 2012-08-17 Mike Frysinger <vapier@gentoo.org>
32170 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32172 2012-08-17 Marek Polacek <polacek@redhat.com>
32174 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32175 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32177 2012-08-17 Roland McGrath <roland@hack.frob.com>
32179 * configure.in: Add AC_SUBST for sysheaders.
32180 * configure: Regenerated.
32181 * config.make.in (sysheaders): New substituted variable.
32183 * sysdeps/unix/mkfifo.c: Moved ...
32184 * sysdeps/posix/mkfifo.c: ... here.
32185 * sysdeps/unix/mkfifoat.c: Moved ...
32186 * sysdeps/posix/mkfifoat.c: ... here.
32188 * sysdeps/unix/utime.c: Moved ...
32189 * sysdeps/posix/utime.c: ... here.
32191 * sysdeps/unix/time.c: Moved ...
32192 * sysdeps/posix/time.c: ... here.
32193 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32194 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32196 * sysdeps/unix/nice.c: Moved ...
32197 * sysdeps/posix/nice.c: ... here.
32199 * sysdeps/unix/alarm.c: Moved ...
32200 * sysdeps/posix/alarm.c: ... here.
32202 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32204 2012-08-17 Jeff Law <law@redhat.com>
32206 * intl/Makefile (codeset_mo): New variable.
32207 ($(codeset_mo)): New target.
32208 (tst-codeset.out): Depend on that. Remove explicit rule.
32209 (tst-gettext3.out, tst-gettext5.out): Likewise.
32210 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32211 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32212 * intl/tst-codeset.sh: Remove.
32213 * intl/tst-gettext3.sh: Likewise.
32214 * intl/tst-gettext5.sh: Likewise.
32216 2012-08-17 Roland McGrath <roland@hack.frob.com>
32218 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32219 * sysdeps/unix/syscalls.list: ... here.
32221 * sysdeps/posix/getaddrinfo.c
32222 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32223 (gaiconf_init, gaiconf_reload): Use them.
32224 [!_STATBUF_ST_NSEC]
32225 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32226 Define using time_t rather than struct timespec.
32228 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32229 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32231 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32233 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32234 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32237 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32238 __libc_cleanup_push argument.
32240 * bits/param.h: New file.
32241 * misc/sys/param.h: New file.
32242 * include/sys/param.h: New file.
32243 * misc/Makefile (headers): Add bits/param.h.
32244 * sysdeps/generic/sys/param.h: File removed.
32245 * sysdeps/unix/sysv/linux/bits/param.h: New file.
32246 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32247 * sysdeps/mach/hurd/bits/param.h: New file.
32248 * sysdeps/mach/hurd/sys/param.h: File removed.
32250 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32253 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32255 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32256 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32259 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32260 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32261 rather than -D_IO_MTSAFE_IO conditionally.
32262 * stdio-common/Makefile (CPPFLAGS): Likewise.
32263 * wcsmbs/Makefile (CPPFLAGS): Likewise.
32264 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32265 Use $(libio-mtsafe).
32266 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32267 of -D_IO_MTSAFE_IO.
32268 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32269 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32270 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32271 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32272 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32273 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32274 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32275 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32276 (CFLAGS-fread_u_chk.c): Likewise.
32277 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32278 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32279 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32280 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32281 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32282 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32283 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32284 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32285 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32287 * libio/Makefile: Test [$(libc-reentrant) = yes]
32288 instead of [$(filter %REENTRANT, $(defines)) nonempty].
32291 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32292 * sysdeps/pthread/configure: File removed.
32293 * sysdeps/pthread/Makeconfig: New file.
32294 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32295 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32297 2012-08-16 Gary Benson <gbenson@redhat.com>
32299 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32300 unmapping the first object in a namespace.
32302 2012-08-16 Roland McGrath <roland@hack.frob.com>
32304 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32305 (__internal_setnetgrent): ... this. Add internal_function to
32306 definition. Add libc_hidden_def.
32307 (setnetgrent): Update caller.
32308 (internal_endnetgrent): Renamed to ...
32309 (__internal_endnetgrent): ... this. Add internal_function to
32310 definition. Add libc_hidden_def.
32311 (endnetgrent): Update caller.
32312 (internal_getnetgrent_r): Renamed to ...
32313 (__internal_getnetgrent_r): ... this. Add internal_function to
32314 definition. Add libc_hidden_def.
32315 (__getnetgrent_r): Update caller.
32316 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
32318 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32320 * stdlib/longlong.h: Update from GCC.
32322 2012-08-16 Roland McGrath <roland@hack.frob.com>
32324 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32325 on _QL, which is set by umul_ppmm but never used.
32326 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32327 variables, which are set by GMP macros but never used.
32328 * stdio-common/_itowa.c (_itowa): Likewise.
32329 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32330 * stdlib/mod_1.c (mpn_mod_1): Likewise.
32332 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
32334 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32335 struct La_sh_regs is not constant.
32336 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32337 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32338 and struct La_sparc64_regs are not constant.
32340 2012-08-16 Joseph Myers <joseph@codesourcery.com>
32342 * sysdeps/unix/sysv/linux/kernel-features.h
32343 (__ASSUME_POSIX_TIMERS): Remove.
32344 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32346 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32347 Make code unconditional.
32348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32349 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32350 Make code unconditional.
32351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32352 * sysdeps/unix/sysv/linux/clock_nanosleep.c
32353 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32355 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32356 Make code unconditional.
32357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32358 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32359 (__libc_missing_posix_timers): Remove.
32361 2012-08-15 Roland McGrath <roland@hack.frob.com>
32363 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32364 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32366 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32368 * elf/dl-sym.c: Include <stdlib.h>.
32370 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32371 constants, which avoids warnings in 32-bit builds.
32373 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32374 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32376 * misc/lseek.c: File moved to ...
32377 * io/lseek.c: ... here.
32379 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32381 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32382 shifting LEN more than 31 bits at once.
32384 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32387 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32388 segmentation fault for a case of two empty input strings.
32389 * string/test-strncasecmp.c (check1): Renamed to...
32390 (bz12205): ...this.
32391 (bz14195): Add new testcase for two empty input strings and N > 0.
32392 (test_main): Call new testcase, adapt for renamed function.
32394 2012-08-15 Andreas Jaeger <aj@suse.de>
32397 * crypt/md5test2.c: New test, based on test supplied by Serge
32398 Belyshev <belyshev@depni.sinp.msu.ru>.
32399 * crypt/Makefile (xtests): Add md5test-giant..
32400 * crypt/Makefile ($(objpfx)md5test-giant): Add.
32402 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
32405 * crypt/md5.c (md5_process_block): Don't assume the buffer
32406 length is less than 2**32.
32407 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32408 length is less than 2**64.
32410 2012-08-15 Roland McGrath <roland@hack.frob.com>
32412 * string/str-two-way.h: Include <sys/param.h>.
32413 (MAX): Macro removed.
32415 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32416 Move #define and #undef of memmove to just before and after
32417 including <string.h>.
32419 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32420 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32421 and after including <string.h>. Move declarations of
32422 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32423 to before #include "string/memmove.c".
32425 * include/dirent.h: Declare __getdirentries.
32427 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32428 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32430 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32432 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32433 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32434 * sysdeps/i386/configure: Regenerated.
32435 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32436 STABS_CURRENT_FILE, and STABS_FUN.
32437 (END): Remove call to STABS_FUN_END.
32438 (STABS_CURRENT_FILE1): Delete.
32439 (STABS_CURRENT_FILE): Likewise.
32440 (STABS_FUN): Likewise.
32441 (STABS_FUN_END): Likewise.
32442 (STABS_FUN2): Likewise.
32443 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32444 * sysdeps/x86_64/configure: Regenerated.
32446 2012-08-14 Roland McGrath <roland@hack.frob.com>
32448 * elf/dl-open.c: Include <atomic.h>.
32449 * elf/dl-lookup.c: Likewise.
32451 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32453 * sysdeps/unix/sysv/linux/kernel-features.h
32454 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32455 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32457 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32459 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32460 condition on __ASSUME_CLONE_THREAD_FLAGS.
32462 2012-08-14 Andreas Jaeger <aj@suse.de>
32464 * sysdeps/i386/fpu/libm-test-ulps: Update.
32466 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32468 * include/atomic.h (atomic_exchange_and_add): Split into ...
32469 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32472 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32476 2012-08-13 Jeff Law <law@redhat.com>
32478 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32479 null byte in the output string.
32481 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32483 * sysdeps/unix/sysv/linux/kernel-features.h
32484 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32485 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32486 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32487 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32488 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32489 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32490 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32492 2012-08-09 Jeff Law <law@redhat.com>
32495 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32496 When avoid_arena is set, don't retry in the that arena. Pick the
32497 next one, whatever it might be.
32498 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32499 (arena_lock): Pass in new parameter to arena_get2.
32500 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32502 (__libc_malloc): Unify retrying after main arena failure with
32503 __libc_memalign version.
32504 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32506 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32509 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32510 to __redirect_strstr.
32511 (__strstr_sse42): Use typeof __redirect_strstr.
32512 (__strstr_ia32): Likewise.
32513 (__libc_strstr): New prototype.
32514 (strstr): Renamed to ...
32515 (__libc_strstr): This.
32516 (strstr): New strong alias of __libc_strstr.
32517 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32518 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32521 (__libc_time): New prototype.
32522 (time_ifunc): Replace time with __libc_time.
32523 (time): New strong alias and hidden definition of __libc_time.
32524 (__GI_time): Remove strong alias.
32525 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32526 Include <stddef.h>.
32527 (memmove): Redefined to __redirect_memmove.
32528 (__memmove_sse2): Use typeof __redirect_memmove.
32529 (__memmove_ssse3): Likewise.
32530 (__memmove_ssse3_back): Likewise.
32531 (__libc_memmove): New prototype.
32532 (memmove): Renamed to ...
32533 (__libc_memmove): This.
32534 (memmove): New strong alias of __libc_memmove.
32536 2012-08-08 Mark Salter <msalter@redhat.com>
32539 (R_MN10300_TLS_GD): Define.
32540 (R_MN10300_TLS_LD): Likewise.
32541 (R_MN10300_TLS_LDO): Likewise.
32542 (R_MN10300_TLS_GOTIE): Likewise.
32543 (R_MN10300_TLS_IE): Likewise.
32544 (R_MN10300_TLS_LE): Likewise.
32545 (R_MN10300_TLS_DTPMOD): Likewise.
32546 (R_MN10300_TLS_DTPOFF): Likewise.
32547 (R_MN10300_TLS_TPOFF): Likewise.
32548 (R_MN10300_SYM_DIFF): Likewise.
32549 (R_MN10300_ALIGN): Likewise.
32550 (R_MN10300_NUM): Update.
32552 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32557 2012-08-08 Roland McGrath <roland@hack.frob.com>
32559 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32561 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32562 sysdeps/unix -> sysdeps/posix move.
32563 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32565 2012-08-07 Allan McRae <allan@archlinux.org>
32568 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32569 (SUNOS_CPP): Likewise.
32570 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32572 (open_input): Call CPP using execvp.
32574 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32576 * sysdeps/unix/sysv/linux/kernel-features.h
32577 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32578 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32579 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32580 (__ASSUME_WAITID_SYSCALL): Likewise.
32581 * sysdeps/unix/sysv/linux/dl-execstack.c
32582 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32583 code unconditional.
32584 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32586 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32587 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32588 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32590 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32592 [__ASSUME_WAITID_SYSCALL]: Likewise.
32593 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32595 2012-08-07 Roland McGrath <roland@hack.frob.com>
32597 * sysdeps/unix/closedir.c: Renamed to ...
32598 * sysdeps/posix/closedir.c: ... here.
32599 * sysdeps/unix/dirfd.c: Renamed to ...
32600 * sysdeps/posix/dirfd.c: ... here.
32601 * sysdeps/unix/dirstream.h: Renamed to ...
32602 * sysdeps/posix/dirstream.h: ... here.
32603 * sysdeps/unix/fdopendir.c: Renamed to ...
32604 * sysdeps/posix/fdopendir.c: ... here.
32605 * sysdeps/unix/opendir.c: Renamed to ...
32606 * sysdeps/posix/opendir.c: ... here.
32607 * sysdeps/unix/readdir.c: Renamed to ...
32608 * sysdeps/posix/readdir.c: ... here.
32609 * sysdeps/unix/readdir_r.c: Renamed to ...
32610 * sysdeps/posix/readdir_r.c: ... here.
32611 * sysdeps/unix/rewinddir.c: Renamed to ...
32612 * sysdeps/posix/rewinddir.c: ... here.
32613 * sysdeps/unix/seekdir.c: Renamed to ...
32614 * sysdeps/posix/seekdir.c: ... here.
32615 * sysdeps/unix/telldir.c: Renamed to ...
32616 * sysdeps/posix/telldir.c: ... here.
32617 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32618 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32619 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32620 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32622 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32623 * bits/fcntl.h: ... here.
32625 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32627 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32628 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32629 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32630 (struct flock): Move l_start, l_len to the beginning.
32631 Use __pid_t for l_pid.
32632 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32633 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32634 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32635 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32636 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32637 [__USE_LARGEFILE64] (struct flock64): New type.
32638 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32640 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32641 * bits/dirent.h: ... here.
32643 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32644 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32646 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32649 Change from 2.6.0 to 2.6.16.
32650 * sysdeps/unix/sysv/linux/configure: Regenerated.
32651 * sysdeps/unix/sysv/linux/kernel-features.h
32652 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32653 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32655 (__ASSUME_UTIMES): Likewise.
32656 (__ASSUME_CLONE_STOPPED): Remove.
32657 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32658 architectures, not kernel version.
32659 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32660 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32661 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32662 (__ASSUME_WAITID_SYSCALL): Likewise.
32663 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32664 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32665 * README: State 2.6.16 as minimum Linux kernel version. Do not
32666 refer to older versions.
32668 2012-08-06 Roland McGrath <roland@hack.frob.com>
32670 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32671 Define alphasort64 as an alias.
32672 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32673 Define versionsort64 as an alias.
32674 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32675 Define scandir64 as an alias.
32676 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32677 Define scandirat64 as an alias.
32678 * dirent/alphasort64.c (alphasort64):
32679 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32680 * dirent/versionsort64.c: Likewise.
32681 * dirent/scandir64.c: Likewise.
32682 * dirent/scandirat64.c: Likewise.
32683 * sysdeps/wordsize-64/alphasort.c: File removed.
32684 * sysdeps/wordsize-64/alphasort64.c: File removed.
32685 * sysdeps/wordsize-64/scandir.c: File removed.
32686 * sysdeps/wordsize-64/scandir64.c: File removed.
32687 * sysdeps/wordsize-64/scandirat.c: File removed.
32688 * sysdeps/wordsize-64/scandirat64.c: File removed.
32689 * sysdeps/wordsize-64/versionsort.c: File removed.
32690 * sysdeps/wordsize-64/versionsort64.c: File removed.
32691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32700 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32702 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32704 [defined __arch64__ || defined __sparcv9]
32705 (__INO_T_MATCHES_INO64_T): New macro.
32706 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32707 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32708 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32709 * sysdeps/unix/sysv/linux/bits/dirent.h
32710 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32711 (_DIRENT_MATCHES_DIRENT64): New macro.
32713 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32714 Define lockf64 as an alias.
32715 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32716 Define fseeko64 as an alias.
32717 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32718 Define ftello64 as an alias.
32719 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32720 Define _IO_fgetpos64 and fgetpos64 as aliases.
32721 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32722 Define _IO_fsetpos64 and fsetpos64 as aliases.
32723 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32724 Conditionalize body on this.
32725 * libio/fseeko64.c: Likewise.
32726 * libio/ftello64.c: Likewise.
32727 * libio/iofgetpos64.c: Likewise.
32728 * libio/iofsetpos64.c: Likewise.
32729 * sysdeps/wordsize-64/lockf.c: File removed.
32730 * sysdeps/wordsize-64/lockf64.c: File removed.
32731 * sysdeps/wordsize-64/fseeko.c: File removed.
32732 * sysdeps/wordsize-64/fseeko64.c: File removed.
32733 * sysdeps/wordsize-64/ftello.c: File removed.
32734 * sysdeps/wordsize-64/ftello64.c: File removed.
32735 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32736 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32737 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32738 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32740 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32746 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32747 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32748 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32750 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32752 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32754 [defined __arch64__ || defined __sparcv9]
32755 (__OFF_T_MATCHES_OFF64_T): New macro.
32756 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32757 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32759 (__OFF_T_MATCHES_OFF64_T): New macro.
32761 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32763 * stdlib/secure-getenv.c (__secure_getenv): Replace
32764 GLIBC_2_16 with GLIBC_2_17.
32766 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32769 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32771 2012-08-03 David S. Miller <davem@davemloft.net>
32773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32775 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32777 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32779 (__ASSUME_CORRECT_SI_PID): Likewise.
32780 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32781 (__ASSUME_TMPFS_NAME): Likewise.
32782 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32783 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32784 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32785 (HAVE_AUX_SECURE): Make definition unconditional.
32786 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32787 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32789 2012-08-03 Roland McGrath <roland@hack.frob.com>
32791 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32792 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32793 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32794 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32795 __eloop_threshold instead of SYMLOOP_MAX.
32797 * sysdeps/generic/eloop-threshold.h: New file.
32798 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32800 * elf/chroot_canon.c (chroot_canon): Likewise.
32802 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32806 Change to 2.6.0 everywhere.
32807 * sysdeps/unix/sysv/linux/configure: Regenerated.
32808 * sysdeps/unix/sysv/linux/kernel-features.h
32809 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32810 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32812 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32813 (__ASSUME_FUTEX_REQUEUE): Remove.
32814 (__ASSUME_STATFS64): Define unconditionally.
32815 (__ASSUME_AT_SECURE): Likewise.
32816 (__ASSUME_CORRECT_SI_PID): Likewise.
32817 (__ASSUME_TGKILL): Define without depending on kernel version for
32819 (__ASSUME_UTIMES): Likewise.
32820 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32822 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32823 (__ASSUME_TMPFS_NAME): Likewise.
32824 * README: Update reference to Linux kernel versions.
32826 2012-08-02 Marek Polacek <polacek@redhat.com>
32829 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32830 libc_cv_asm_type_prefix with %.
32831 * configure: Regenerated.
32832 * include/libc-symbols.h: Remove comment about
32833 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32834 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32835 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32836 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32837 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32838 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32839 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32840 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32841 * elf/tst-unique2mod1.c: Likewise.
32842 * elf/tst-unique1mod2.c: Likewise.
32843 * elf/tst-unique1mod1.c: Likewise.
32844 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32845 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32846 Replace ASM_TYPE_DIRECTIVE with .type.
32847 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32848 * sysdeps/i386/sysdep.h: Likewise.
32849 * sysdeps/x86_64/sysdep.h: Likewise.
32850 * sysdeps/sh/sysdep.h: Likewise.
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32852 Do not define ASM_TYPE_DIRECTIVE.
32853 * sysdeps/powerpc/sysdep.h: Likewise.
32854 * sysdeps/powerpc/powerpc32/sysdep.h:
32855 Replace ASM_TYPE_DIRECTIVE with .type.
32856 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32857 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32858 * sysdeps/i386/fpu/e_powf.S: Likewise.
32859 * sysdeps/i386/fpu/e_expl.S: Likewise.
32860 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32861 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32862 * sysdeps/i386/fpu/e_pow.S: Likewise.
32863 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32864 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32865 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32866 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32867 * sysdeps/i386/fpu/e_log2.S: Likewise.
32868 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32869 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32870 * sysdeps/i386/fpu/e_powl.S: Likewise.
32871 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32872 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32873 * sysdeps/i386/fpu/e_logl.S: Likewise.
32874 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32879 * sysdeps/i386/fpu/e_log.S: Likewise.
32880 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32881 * sysdeps/i386/fpu/e_logf.S: Likewise.
32882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32883 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32884 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32885 * sysdeps/i386/fpu/e_log10.S: Likewise.
32886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32891 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32892 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32893 * sysdeps/i386/i686/strtok.S: Likewise.
32894 * sysdeps/i386/i386-mcount.S: Likewise.
32895 * sysdeps/i386/strtok.S: Likewise.
32896 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32900 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32901 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32902 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32903 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32904 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32905 * sysdeps/x86_64/_mcount.S: Likewise.
32906 * sysdeps/x86_64/strtok.S: Likewise.
32907 * sysdeps/sh/_mcount.S: Likewise.
32909 2012-08-01 Roland McGrath <roland@hack.frob.com>
32911 * libio/iofopen.c: Include <fcntl.h>.
32912 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32913 (_IO_fopen64, fopen64): Define as aliases.
32914 * libio/iofopen64.c: Include <fcntl.h>.
32915 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32916 Conditionalize body on this.
32917 * sysdeps/wordsize-64/iofopen.c: File removed.
32918 * sysdeps/wordsize-64/iofopen64.c: File removed.
32920 2012-08-01 Marek Polacek <polacek@redhat.com>
32922 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32923 Use dlfcn directly instead of a variable.
32924 (binfmt-subdir): Do not define.
32927 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32929 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32930 Remove all definitions.
32931 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32932 <kernel-features.h>.
32933 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32934 (miss_F_GETOWN_EX): Remove all definitions.
32935 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32937 [!__ASSUME_FCNTL64]: Remove conditional code.
32938 [__ASSUME_FCNTL64]: Make code unconditional.
32939 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32940 <kernel-features.h>.
32941 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32942 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32943 (lockf64) [__NR_fcntl64]: Make code unconditional.
32944 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32946 * sysdeps/unix/sysv/linux/kernel-features.h
32947 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32948 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32949 Make code unconditional.
32950 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32951 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32953 [__NR_vfork]: Make code unconditional.
32954 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32955 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32957 [__NR_vfork]: Make code unconditional.
32958 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32959 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32961 2012-08-01 Roland McGrath <roland@hack.frob.com>
32963 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32964 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32966 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32967 Define mkstemp64 as an alias.
32968 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32969 Define mkstemps64 as an alias.
32970 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32971 Define mkostemp64 as an alias.
32972 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32973 Define mkostemps64 as an alias.
32974 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32975 Conditionalize body on this.
32976 * misc/mkostemp64.c: Likewise.
32977 * misc/mkostemps64.c: Likewise.
32978 * misc/mkstemps64.c: Likewise.
32979 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32980 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32981 * sysdeps/wordsize-64/mkostemp.c: File removed.
32982 * sysdeps/wordsize-64/mkstemp.c: File removed.
32983 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32985 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32989 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32990 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32991 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32992 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32994 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32995 compat_symbol macros from <shlib-compat.h> rather than the underlying
32996 default_symbol_version and symbol_version macros, so that DEFAULT
32997 lines in shlib-versions are respected.
32998 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33000 2012-08-01 Florian Weimer <fweimer@redhat.com>
33002 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33003 Declare with warn_unused_result.
33004 (setgid, setregid, setegid, setresgid): Likewise.
33005 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33007 * WUR-REPORT: Remove set*id functions.
33009 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33011 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33013 2012-07-31 Roland McGrath <roland@hack.frob.com>
33016 * include/sys/socket.h (__libc_accept, __libc_accept4):
33017 Add attribute_hidden.
33018 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33020 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33022 * inet/getnetgrent_r.c (setup): Likewise.
33024 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33026 2012-07-31 David S. Miller <davem@davemloft.net>
33028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33030 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33033 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33034 value between 1.0 and 2.0 and smaller part has absolute value less
33036 * math/s_clog10.c (__clog10): Likewise.
33037 * math/s_clog10f.c (__clog10f): Likewise.
33038 * math/s_clog10l.c (__clog10l): Likewise.
33039 * math/s_clogf.c (__clogf): Likewise.
33040 * math/s_clogl.c (__clogl): Likewise.
33041 * math/libm-test.inc (clog_test): Add more tests.
33042 (clog10_test): Likewise.
33043 * sysdeps/i386/fpu/libm-test-ulps: Update.
33044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33046 2012-07-31 Florian Weimer <fweimer@redhat.com>
33048 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33049 Exit with zero in case no suitable GID is found, and write a
33050 message to standard error.
33052 2012-07-30 Roland McGrath <roland@hack.frob.com>
33054 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33056 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33057 (MAXPATHLEN): Removed.
33058 (NOGROUP, NODEV): New macros.
33059 (setbit, clrbit, isset, isclr): New macros.
33060 (howmany, roundup, powerof2): New macros.
33061 (DEV_BSIZE): New macro.
33063 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33064 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33066 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33067 definition on [!__NO_LONG_DOUBLE_MATH].
33069 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33070 PTR_MANGLE and PTR_DEMANGLE.
33072 * socket/accept4.c (accept4): Rename to __libc_accept4.
33073 Define accept4 as a weak alias.
33075 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33076 on [_DIRENT_HAVE_D_TYPE].
33077 * io/ftw.c (ftw_dir): Likewise.
33079 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33081 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33083 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33084 Use the BSD numbers rather than the arbitrary ones we had.
33085 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33086 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33087 (SIGXCPU, SIGXFSZ): New macros.
33090 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33091 initializer on [_LIBC_REENTRANT].
33093 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33094 definitions inside [_POSIX_MAPPED_FILES].
33096 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33098 * dirent/opendir.c: Include <fcntl.h>.
33100 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33101 (__libc_getspecific): Likewise.
33102 (__libc_key_create): Likewise.
33104 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33105 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33106 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33107 (tmpfile64): Define as alias.
33108 * sysdeps/wordsize-64/tmpfile.c: File removed.
33109 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33111 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33113 * stdio-common/vfscanf.c: Include <stdbool.h>.
33114 * nss/makedb.c: Likewise.
33115 * stdio-common/_i18n_number.h: Likewise.
33116 * argp/argp-help.c: Likewise.
33117 * posix/wordexp.c: Likewise.
33118 * sysdeps/posix/spawni.c: Likewise.
33119 * nss/nss_files/files-initgroups.c: Likewise.
33120 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33121 * nss/nss_files/files-initgroups.c: Likewise.
33122 * nss/nss_db/db-netgrp.c: Likewise.
33123 * nss/nss_db/db-initgroups.c: Likewise.
33124 * io/fchmodat.c: Include <sys/stat.h>.
33126 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33127 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33129 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33132 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33133 Add multiple inclusion protection.
33135 2012-07-27 David S. Miller <davem@davemloft.net>
33137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33139 2012-07-27 Gary Benson <gbenson@redhat.com>
33142 * elf/rtld.c: Include <stap-probe.h>.
33143 (dl_main): Added static probes "init_start" and "init_complete".
33144 * elf/dl-load.c: Include <stap-probe.h>.
33145 (lose): Take new parameter "nsid".
33146 Added static probe "map_failed".
33147 (_dl_map_object_from_fd): Pass namespace id to lose.
33148 Added static probe "map_start".
33149 (open_verify): Pass namespace id to lose.
33150 * elf/dl-open.c: Include <stap-probe.h>.
33151 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33152 and "reloc_complete".
33153 * elf/dl-close.c: Include <stap-probe.h>.
33154 (_dl_close_worker): Added static probes "unmap_start" and
33156 * elf/rtld-debugger-interface.txt: New file documenting the above.
33158 2012-07-26 Roland McGrath <roland@hack.frob.com>
33160 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33161 rather than a string variable.
33162 * sunrpc/rpc_main.c (h_output): Likewise.
33163 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33165 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33167 * inet/check_native.c: New file.
33169 2012-07-26 Joseph Myers <joseph@codesourcery.com>
33172 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33173 if larger part has absolute value 1.0.
33174 * math/s_clog10.c (__clog10): Likewise.
33175 * math/s_clog10f.c (__clog10f): Likewise.
33176 * math/s_clog10l.c (__clog10l): Likewise.
33177 * math/s_clogf.c (__clogf): Likewise.
33178 * math/s_clogl.c (__clogl): Likewise.
33179 * math/libm-test.inc (clog_test): Add more tests.
33180 (clog10_test): Likewise.
33181 * sysdeps/i386/fpu/libm-test-ulps: Update.
33182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33184 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33185 (pltexit): Likewise.
33186 (La_regs): Likewise.
33187 (La_retval): Likewise.
33188 (int_retval): Likewise.
33189 Update #error for removed macros to refer only to definitions in
33191 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33193 (pltexit): Likewise.
33194 (La_regs): Likewise.
33195 (La_retval): Likewise.
33196 (int_retval): Likewise.
33197 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33199 (pltexit): Likewise.
33200 (La_regs): Likewise.
33201 (La_retval): Likewise.
33202 (int_retval): Likewise.
33203 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33205 (pltexit): Likewise.
33206 (La_regs): Likewise.
33207 (La_retval): Likewise.
33208 (int_retval): Likewise.
33209 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33211 (pltexit): Likewise.
33212 (La_regs): Likewise.
33213 (La_retval): Likewise.
33214 (int_retval): Likewise.
33215 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33217 (pltexit): Likewise.
33218 (La_regs): Likewise.
33219 (La_retval): Likewise.
33220 (int_retval): Likewise.
33221 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33223 (pltexit): Likewise.
33224 (La_regs): Likewise.
33225 (La_retval): Likewise.
33226 (int_retval): Likewise.
33227 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33228 macro definitions in tst-audit.h.
33229 * sysdeps/i386/tst-audit.h: New file.
33230 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33231 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33232 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33233 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33234 * sysdeps/sh/tst-audit.h: Likewise.
33235 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33236 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33237 * sysdeps/x86_64/tst-audit.h: Likewise.
33239 2012-07-26 Andreas Jaeger <aj@suse.de>
33241 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33244 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33245 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33246 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33248 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33249 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33250 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33252 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33255 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33257 (si_call_addr, si_syscall, si_arch): Define new macro.
33258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33260 (si_call_addr, si_syscall, si_arch): Define new marcro.
33261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33263 (si_call_addr, si_syscall, si_arch): Define new macro.
33264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33266 (si_call_addr, si_syscall, si_arch): Define new macro.
33268 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33272 Change to 2.4.21 where previously 2.4.1.
33273 * sysdeps/unix/sysv/linux/configure: Regenerated.
33274 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33275 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33276 Linux kernel version.
33277 (__ASSUME_STD_AUXV): Remove.
33278 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33280 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33281 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33282 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33283 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33284 (__ASSUME_NETLINK_SUPPORT): Likewise.
33285 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33286 (__no_netlink_support): Remove conditional definition.
33287 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33289 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33290 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33291 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33292 (if_nameindex_ioctl): Remove.
33293 (if_nameindex_netlink): Do not handle __no_netlink_support.
33294 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33296 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33297 Remove conditional code.
33298 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33300 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33302 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33303 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33304 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33306 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33307 [!__ASSUME_STD_AUXV]: Remove conditional code.
33308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33309 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33310 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33312 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33313 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33315 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33317 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33318 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33320 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33322 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33325 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33328 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33329 code unconditional.
33330 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33332 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33334 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33337 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33339 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33342 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33343 code unconditional.
33344 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33346 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33348 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33351 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33352 code unconditional.
33353 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33355 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33357 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33360 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
33362 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33363 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33364 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33365 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33366 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33367 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33368 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33369 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33370 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33371 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33372 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33373 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33374 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33375 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33376 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33377 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33378 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33379 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33380 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33382 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33383 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33384 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33386 2012-07-25 Florian Weimer <fweimer@redhat.com>
33388 * Versions.def: Add GLIBC_2.17.
33389 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33390 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33391 Introduce __libc_secure_getenv.
33392 * stdlib/Versions (2.17): Add secure_getenv
33393 (GLIBC_PRIVATE): Add __libc_secure_getenv.
33394 * stdlib/secure-getenv.c: Rename __secure_getenv to
33395 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
33396 symbol __secure_getenv for GLIBC_2.0.
33397 * stdlib/tst-secure-getenv.c: New.
33398 * stdlib/Makefile (tests): Add testcase.
33399 * manual/startup.texi (Environment Access): Document
33401 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33402 __libc_secure_getenv.
33403 * inet/ruserpass.c (ruserpass): Likewise.
33404 * malloc/mtrace.c (mtrace): Likewise.
33405 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33406 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33407 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33408 * sysdeps/posix/tempname.c: Likewise. Evaluate
33409 HAVE_SECURE_GETENV.
33410 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33411 __secure_getenv to __libc_secure_getenv.
33412 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33425 2012-07-25 Joseph Myers <joseph@codesourcery.com>
33427 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33428 (struct La_i86_retval): Likewise.
33429 (struct La_x86_64_regs): Likewise.
33430 (struct La_x86_64_retval): Likewise.
33431 (struct La_x32_regs): Likewise.
33432 (struct La_x32_retval): Likewise.
33433 (struct La_ppc32_regs): Likewise.
33434 (struct La_ppc32_retval): Likewise.
33435 (struct La_ppc64_regs): Likewise.
33436 (struct La_ppc64_retval): Likewise.
33437 (struct La_sh_regs): Likewise.
33438 (struct La_sh_retval): Likewise.
33439 (struct La_s390_32_regs): Likewise.
33440 (struct La_s390_32_retval): Likewise.
33441 (struct La_s390_64_regs): Likewise.
33442 (struct La_s390_64_retval): Likewise.
33443 (struct La_sparc32_regs): Likewise.
33444 (struct La_sparc32_retval): Likewise.
33445 (struct La_sparc64_regs): Likewise.
33446 (struct La_sparc64_retval): Likewise.
33447 (struct audit_ifaces): Remove architecture-specific pltenter and
33449 * sysdeps/i386/ldsodefs.h: New file.
33450 * sysdeps/powerpc/ldsodefs.h: Likewise.
33451 * sysdeps/s390/ldsodefs.h: Likewise.
33452 * sysdeps/sh/ldsodefs.h: Likewise.
33453 * sysdeps/sparc/ldsodefs.h: Likewise.
33454 * sysdeps/x86_64/ldsodefs.h: Likewise.
33456 2012-07-25 Marek Polacek <polacek@redhat.com>
33459 * math/libm-test.inc (yn_test): Add another test.
33460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33461 to ERANGE when the result is +-Inf.
33462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33463 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33465 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33467 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33469 * conform/data/time.h-data (NULL): Use macro-constant. Require
33471 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33473 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33475 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33477 * configure.in <sysdeps resolving>: Correct printing
33479 * configure: Regenerate.
33481 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33483 * math/w_ilogb.c: Include <limits.h>.
33484 * math/w_ilogbl.c: Likewise.
33486 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33488 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33489 va_copy. Document allowing for unavailable va_copy only as
33490 pre-C99 compatibility.
33491 * manual/string.texi (Copying and Concatenation): Use va_copy
33492 instead of __va_copy in concat example.
33494 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33496 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33497 (__sendto): Use create_address_port. Initialize APORT and deallocate
33500 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33501 with O_NOLINK passed to __file_name_lookup.
33503 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33504 with O_NOLINK passed to __file_name_lookup.
33506 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33507 negative N or less than NGIDS.
33509 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33510 type to string_t. Set ERANGE as errno and return it if NAME is not big
33511 enough. Use memcpy instead of strncpy.
33513 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33515 * elf/Makefile (check-data): Remove.
33516 (localplt.data): New vpath directive.
33517 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33518 instead of $(check-data).
33519 * scripts/data/localplt-generic.data: Move to ...
33520 * sysdeps/generic/localplt.data: ... here.
33521 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33522 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33523 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33526 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33529 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33532 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33535 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33538 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33542 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33544 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33545 PPC32 and PPC64 files.
33546 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33547 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33549 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33551 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33552 __makecontext_ret to ...
33553 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33554 ... here and call exit if uc_link is NULL. New file.
33555 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33556 __makecontext_ret.S.
33557 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33558 __makecontext_ret to ...
33559 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33560 ... here and call exit if uc_link is NULL. New file.
33561 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33562 __makecontext_ret.S.
33564 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33566 * elf/elf.h (R_390_IRELATIVE): New definition.
33567 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33568 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33569 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33570 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33571 (elf_machine_lazy_rel): Likewise.
33572 * sysdeps/s390/dl-irel.h: New file.
33573 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33574 * sysdeps/s390/s390-64/memset.S: New asm code.
33575 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33576 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33577 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33578 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33579 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33580 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33581 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33582 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33583 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33584 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33585 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33586 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33587 * sysdeps/s390/s390-32/memset.S: New asm code.
33588 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33590 2012-07-17 Marek Polacek <polacek@redhat.com>
33593 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33594 * sysdeps/s390/s390-64/configure.in: Likewise.
33595 * sysdeps/sparc/configure.in: Likewise.
33596 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33597 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33598 * sysdeps/i386/configure.in: Likewise.
33599 * sysdeps/x86_64/configure.in: Likewise.
33600 * sysdeps/sh/configure.in: Likewise.
33601 * sysdeps/s390/s390-32/configure: Regenerated.
33602 * sysdeps/s390/s390-64/configure: Likewise.
33603 * sysdeps/x86_64/configure: Likewise.
33604 * sysdeps/sh/configure: Likewise.
33605 * sysdeps/powerpc/powerpc64/configure: Likewise.
33606 * sysdeps/powerpc/powerpc32/configure: Likewise.
33607 * sysdeps/sparc/configure: Likwise.
33608 * sysdeps/i386/configure: Likewise.
33610 * elf/dl-open.c: Comment fixes.
33612 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33614 * Makefile [CXX] (check-data): Remove.
33615 [CXX] (c++-types.data): New vpath directive.
33616 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33617 vpath. Do not allow for C++ type data being missing.
33618 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33619 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33620 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33621 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33622 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33623 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33624 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33627 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33630 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33633 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33636 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33639 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33642 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33645 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33648 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33649 definitions to architecture-specific files.
33650 (TLS_IE): Likewise.
33651 (TLS_LD): Likewise.
33652 (TLS_GD): Likewise.
33653 * sysdeps/i386/tls-macros.h: New file.
33654 * sysdeps/powerpc/tls-macros.h: Likewise.
33655 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33656 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33657 * sysdeps/sh/tls-macros.h: Likewise.
33658 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33659 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33660 * sysdeps/x86_64/tls-macros.h: Likewise.
33662 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33665 zero value for regular exit case.
33667 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33668 (__start_context): Preserve zero value for regular exit case.
33670 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33671 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33673 * manual/setjmp.texi (setcontext): Clarify normal process
33674 termination when uc_link is the null pointer.
33675 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33678 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33680 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33681 preprocessor. Test for each exception mask separately.
33683 2012-07-16 Andreas Jaeger <aj@suse.de>
33685 * po/ru.po: Update from translation team.
33687 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33689 * conform/data/string.h-data (NULL): Use macro-constant. Require
33691 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33692 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33693 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33694 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33697 2012-07-13 Andreas Jaeger <aj@suse.de>
33699 * po/fr.po: Update from translation team.
33701 2012-07-12 Marek Polacek <polacek@redhat.com>
33704 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33705 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33708 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33711 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33712 Change to 2.4.1 where previously 2.4.0.
33713 * sysdeps/unix/sysv/linux/configure: Regenerated.
33714 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33715 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33717 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33718 (__ASSUME_AT_CLKTCK): Remove.
33719 (__ASSUME_AT_PAGESIZE): Likewise.
33720 (__ASSUME_AT_XID): Likewise.
33721 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33722 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33723 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33725 (HAVE_AUX_PAGESIZE): Likewise.
33726 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33727 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33728 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33730 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33734 the temporary buffer used to invoke __gethostbyname2_r,
33735 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33736 host_data / struct gaih_addrtuple.
33737 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33738 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33739 header file nss/nsswitch.h.
33740 * nss/nsswitch.h (global scope): Add definition of implementation
33741 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33742 resolv/nss_dns/dns-host.c).
33744 2012-07-11 Andreas Jaeger <aj@suse.de>
33746 * po/fr.po: Update from translation team.
33748 * po/sv.po: Update from translation team
33749 * po/fr.po: Another update from translation team.
33751 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33753 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33754 for subnormals or multiply small sinh result by itself.
33755 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33758 2012-07-11 David S. Miller <davem@davemloft.net>
33760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33762 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33765 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33766 (INTERNAL_MARK): Shift it here.
33768 2012-07-10 Marek Polacek <polacek@redhat.com>
33771 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33772 libc_cv_asm_global_directive with .globl.
33773 * configure: Regenerated.
33774 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33776 * sysdeps/i386/configure: Regenerated.
33777 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33779 * sysdeps/x86_64/configure: Regenerated.
33780 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33781 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33782 * elf/tst-unique2mod2.c: Likewise.
33783 * elf/tst-unique2mod1.c: Likewise.
33784 * elf/tst-unique1mod2.c: Likewise.
33785 * elf/tst-unique1mod1.c: Likewise.
33786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33787 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33789 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33790 * sysdeps/mach/sysdep.h: Likewise.
33791 * sysdeps/i386/sysdep.h: Likewise.
33792 * sysdeps/i386/i386-mcount.S: Likewise.
33793 * sysdeps/x86_64/_mcount.S: Likewise.
33794 * sysdeps/x86_64/sysdep.h: Likewise.
33795 * sysdeps/sh/_mcount.S: Likewise.
33796 * sysdeps/sh/sysdep.h: Likewise.
33797 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33798 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33799 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33800 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33801 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33802 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33803 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33804 * locale/localeinfo.h: Likewise.
33805 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33806 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33808 2012-07-09 Roland McGrath <roland@hack.frob.com>
33811 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33813 * manual/message.texi (The Uniforum approach): Likewise.
33814 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33815 (glibc iconv Implementation): Likewise.
33817 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33820 * math/s_clog.c (__clog): Avoid scaling a value down where that
33821 could result in underflow.
33822 * math/s_clog10.c (__clog10): Likewise.
33823 * math/s_clog10f.c (__clog10f): Likewise.
33824 * math/s_clog10l.c (__clog10l): Likewise.
33825 * math/s_clogf.c (__clogf): Likewise.
33826 * math/s_clogl.c (__clogl): Likewise.
33827 * math/libm-test.inc (clog_test): Add more tests.
33828 (clog10_test): Likewise.
33829 * sysdeps/i386/fpu/libm-test-ulps: Update.
33830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33832 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33835 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33836 by 7 not 8 to examine high bit of fractional part.
33839 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33840 for call to __mcount_internal.
33841 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33842 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33843 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33845 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33848 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33849 approximation for values within 0x1p-13f of an odd multiple of
33851 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33852 exception. Add more tests.
33853 * sysdeps/i386/fpu/libm-test-ulps: Update.
33856 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33857 inputs and return -1 for them. Do not check for +Inf in case not
33858 reachable for +Inf.
33859 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33860 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33862 and return -1 for them. Do not check for +Inf in case not
33863 reachable for +Inf.
33864 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33867 and return -1 for them. Do not check for +Inf in case not
33868 reachable for +Inf.
33869 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33870 spurious underflow.
33871 * sysdeps/i386/fpu/libm-test-ulps: Update.
33872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33874 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33876 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33878 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33882 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33883 could result in spurious underflow. Scale down values above
33884 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33885 * math/s_csqrtf.c (__csqrtf): Likewise.
33886 * math/s_csqrtl.c (__csqrtl): Likewise.
33887 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33888 spurious underflow.
33889 * sysdeps/i386/fpu/libm-test-ulps: Update.
33890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33892 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33894 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33896 * catgets/xopen-msg.awk: New file.
33897 * catgets/xopen-msg.sed: Removed.
33899 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33901 * intl/po2test.awk: New file.
33902 * intl/po2test.sed: Removed.
33904 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33907 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33908 or multiply small sinh result by itself.
33909 * math/s_ctanf.c (__ctanf): Likewise.
33910 * math/s_ctanh.c (__ctanh): Likewise.
33911 * math/s_ctanhf.c (__ctanhf): Likewise.
33912 * math/s_ctanhl.c (__ctanhl): Likewise.
33913 * math/s_ctanl.c (__ctanl): Likewise.
33914 * math/libm-test.inc (ctan_test_tonearest): New function.
33915 (ctan_test_towardzero): Likewise.
33916 (ctan_test_downward): Likewise.
33917 (ctan_test_upward): Likewise.
33918 (ctanh_test_tonearest): Likewise.
33919 (ctanh_test_towardzero): Likewise.
33920 (ctanh_test_downward): Likewise.
33921 (ctanh_test_upward): Likewise.
33922 (main): Call these new functions.
33923 * sysdeps/i386/fpu/libm-test-ulps: Update.
33924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33926 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33928 * .gitignore: Delete /ports entry.
33930 2012-07-03 Andreas Jaeger <aj@suse.de>
33932 * po/bg.po: Update from translation team.
33933 * po/cs.po: Likewise.
33934 * po/de.po: Likewise.
33935 * po/hr.po: Likewise.
33936 * po/nl.pl: Likewise.
33937 * po/pl.po: Likewise.
33938 * po/vi.po: Likewise.
33940 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33942 * Makeconfig [!+link] (+link-before-libc): New variable.
33943 [!+link] (+link-after-libc): Likewise.
33944 [!+link] (+link-tests): Likewise.
33945 [!+link] (+link): Define in terms of $(+link-before-libc) and
33946 $(+link-after-libc).
33947 [!+link-static] (+link-static-before-libc): New variable.
33948 [!+link-static] (+link-static-after-libc): Likewise.
33949 [!+link-static] (+link-static-tests): Likewise.
33950 [!+link-static] (+link-static): Define in terms of
33951 $(+link-static-before-libc) and $(+link-static-after-libc).
33952 [build-shared] (link-libc-before-gnulib): New variable.
33953 [build-shared] (link-libc-tests): Likewise.
33954 [build-shared] (link-libc): Define in terms of
33955 $(link-libc-before-gnulib).
33956 [!build-shared] (link-libc-tests): New variable.
33957 (link-libc-static-tests): New variable.
33958 [!gnulib] (gnulib-arch): New variable.
33959 [!gnulib] (gnulib-tests): Likewise.
33960 [!gnulib] (static-gnulib-arch): Likewise.
33961 [!gnulib] (static-gnulib-tests): Likewise.
33962 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33963 Define with "=" instead of ":=".
33964 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33965 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33966 * Rules (binaries-all-notests): New variable.
33967 (binaries-all-tests): Likewise.
33968 (binaries-static-notests): Likewise.
33969 (binaries-static-tests): Likewise.
33970 (binaries-all): Define using $(binaries-all-notests) and
33971 $(binaries-all-tests).
33972 (binaries-static): Define using $(binaries-static-notests) and
33973 $(binaries-static-tests).
33974 (binaries-shared-tests): New variable.
33975 (binaries-shared-notests): Likewise.
33976 (binaries-shared): Remove variable.
33977 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33978 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33979 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33980 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33981 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33982 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33983 * elf/Makefile (sln-modules): New variable.
33984 (extra-objs): Add $(sln-modules:=.o).
33985 (ldconfig-modules): Add static-stubs.
33986 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33987 * elf/static-stubs.c: New file.
33990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33991 by 7 not 8 to examine high bit of fractional part. Use volatile
33992 variables when splitting into final array of floats if
33993 __FLT_EVAL_METHOD__ != 0.
33994 * math/libm-test.inc (cos_test): Add another test.
33995 (sin_test): Likewise.
33996 * sysdeps/i386/fpu/libm-test-ulps: Update.
33999 * math/libm-test.inc (cosh_test): Add more tests.
34001 * version.h (RELEASE): Set to "development".
34002 (VERSION): Set to "2.16.90".
34004 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34006 * NEWS: Update copyright. Remove last-updated date.
34007 Mention math library bug fixes and timezone data changes.
34008 * README: Mention GNU/Hurd, x32, and HPPA support status.
34010 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34012 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34014 2012-06-27 Andreas Jaeger <aj@suse.de>
34016 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34018 2012-06-25 Andreas Jaeger <aj@suse.de>
34020 * sysdeps/s390/fpu/libm-test-ulps: Update.
34022 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34023 Thomas Schwinge <thomas@codesourcery.com>
34025 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34026 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34030 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34032 * sysdeps/mach/start.c: Remove file.
34033 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34034 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34035 * sysdeps/sh/init-first.c: Likewise.
34037 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34038 registers for frame unwinding purposes, add CFI directives.
34039 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34040 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34041 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34044 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34045 __fortify_fail returning.
34046 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34048 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34049 sysdeps/sh/____longjmp_chk.S.
34050 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34051 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34052 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34053 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34055 * sysdeps/sh/abort-instr.h: New file.
34056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34057 process in case exit returns.
34059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34060 initialize the GOT register before use.
34062 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34063 calculation of ARGC > 4.
34065 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34066 meaningful names to some local labels.
34068 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34069 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34071 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34072 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34073 (__arch_compare_and_exchange_val_16_acq): Likewise.
34074 (__arch_compare_and_exchange_val_32_acq): Likewise.
34075 (atomic_exchange_and_add): Fix gUSA sequence.
34076 (atomic_add): Likewise.
34077 (atomic_add_negative): Likewise.
34078 (atomic_add_zero): Likewise.
34079 (atomic_bit_test_set): Likewise.
34081 2012-06-22 Andreas Schwab <schwab@redhat.com>
34084 * include/link.h (struct link_map): Add l_free_initfini.
34085 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34087 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34088 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34089 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34092 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34094 * configure.in: Use AC_LANG_SOURCE.
34095 * configure: Regenerate.
34097 2012-06-22 Roland McGrath <roland@hack.frob.com>
34099 * configure.in (libc_cv_localstatedir): New substituted variable.
34100 * configure: Regenerated.
34101 * config.make.in (localstatedir): New variable, substituted from
34102 libc_cv_localstatedir.
34103 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34104 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34105 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34106 * sysdeps/gnu/configure: Regenerated.
34108 2012-06-21 Jeff Law <law@redhat.com>
34111 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34112 free. Simplify list management for _LIBC case.
34114 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34117 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34118 Clear sign bit of 64-bit integer value before comparing against
34121 * sysdeps/mach/configure: Regenerated.
34123 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34126 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34128 2012-06-21 Jeff Law <law@redhat.com>
34131 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34132 uint16_t for elements in the "seen" array to avoid char overflows.
34133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34134 * elf/dl-open.c (dl_open_worker): Likewise.
34136 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34138 * scripts/list-sources.sh: Scan PORTS for translations.
34139 * po/libc.pot: Regenerated.
34141 2012-06-21 Andreas Jaeger <aj@suse.de>
34144 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34146 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34147 * bits/byteswap-16.h (__bswap_16): Likewise.
34148 * bits/byteswap.h (__bswap_constant_16): Likewise.
34150 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34153 * sysdeps/i386/fpu_control.h: Removed.
34154 * sysdeps/x86_64/fpu_control.h: Moved to ...
34155 * sysdeps/x86/fpu_control.h: Here.
34157 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34158 (_FPU_SETCW): Likewise.
34160 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34163 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34164 * sysdeps/x86/fpu/bits/mathinline.h: This.
34165 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34169 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34170 functions if __x86_64__ is defined.
34172 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34174 * string/endian.h: Add !__ASSEMBLER__ condition for including
34175 conversion interfaces.
34177 2012-06-15 Joseph Myers <joseph@codesourcery.com>
34180 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34181 of ABS(x) in calculating zero to negative powers other than odd
34183 * math/libm-test.inc (pow_test): Add more tests.
34185 2012-06-15 Andreas Jaeger <aj@suse.de>
34187 * manual/contrib.texi (Contributors): Update entry of Liubov
34188 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34191 2012-06-15 Cyril Hrubis <metan@ucw.cz>
34193 * string/string.h: Add __wur to GNU version of strerror_r.
34195 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34198 * string/Makefile (tests): Add tst-strtok_r.
34199 * string/tst-strtok_r.c: New file.
34200 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34201 RAX_LP/RDX_LP on SAVE_PTR.
34203 2012-06-14 Roland McGrath <roland@hack.frob.com>
34205 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34207 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34209 * libm_test.inc (csqrt_test): Allow more spurious underflow
34211 (j0_test): Likewise.
34212 (j1_test): Likewise.
34213 (y0_test): Likewise.
34214 (y1_test): Likewise.
34216 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34218 * po/Makefile (libc.pot): Use UTF-8 charset.
34220 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34223 Suppress sign-conversion warning from FD_SET.
34224 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34225 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34226 not unsigned long int.
34227 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34229 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
34233 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34234 __extern_always_inline instead of __extern_inline.
34235 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34236 (__signbit): Likewise.
34237 (__signbitl): Support C++ namespace.
34238 (lrintf): New inline function.
34240 (llrintf): Likewise.
34241 (llrint): Likewise.
34251 (floorf): Likewise.
34252 (nearbyint): Likewise.
34253 (nearbyintf): Likewise.
34255 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
34257 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34258 non-default versions.
34260 2012-06-11 Roland McGrath <roland@hack.frob.com>
34263 * manual/argp.texi (Argp): Reword argp_parse description slightly.
34265 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
34267 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34268 (FE_UPWARD, FE_DOWNWARD): Don't define.
34269 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34270 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34274 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34275 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34277 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34279 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34281 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34282 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34284 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
34287 * sysdeps/i386/fpu/bits/fenv.h: Removed.
34288 * sysdeps/i386/fpu/Implies: New file.
34289 * sysdeps/x86_64/fpu/Implies: Likewise.
34290 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34291 * sysdeps/x86/fpu/bits/fenv.h: This.
34293 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34296 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34299 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34300 character 0xffff that matches the last element of the
34303 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34305 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34308 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34311 values higher than 25.6283.
34313 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34316 subnormal exponent extraction and add some __builtin_expect.
34317 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34318 Fix for subnormal mantissa calculation.
34320 2012-06-04 Mike Frysinger <vapier@gentoo.org>
34322 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34323 cpu2 is -1 and errno is not ENOSYS.
34325 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
34328 * sysdeps/i386/i486/bits/string.h: Renamed to ...
34329 * sysdeps/x86/bits/string.h: This.
34330 * sysdeps/x86_64/bits/string.h: Removed.
34332 * sysdeps/i386/i486/bits/string.h: Define inline functions only
34333 if not compiling for x86-64, but compiling for >= i486.
34335 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34336 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34338 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34339 New macro from Linux kernel 3.4.0.
34340 (FP_XSTATE_MAGIC2): Likewise.
34341 (FP_XSTATE_MAGIC2_SIZE): Likewise.
34342 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34343 (struct _fpx_sw_bytes): New struct.
34344 (struct _xsave_hdr): Likewise.
34345 (struct _ymmh_state): Likewise.
34346 (struct _xstate): Likewise.
34348 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34349 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34350 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34351 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34352 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34353 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34355 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34356 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34357 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34358 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34359 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34360 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34362 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34365 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34366 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34367 (sysdep_headers): Include sys/platform/ppc.h.
34368 * sysdeps/powerpc/test-gettimebase.c: Test for
34369 __ppc_get_timebase() to catch future ISA opcode/insn changes.
34370 * manual/Makefile (appendices): Include platform.texi.
34371 * manual/contrib.texi (Contributors): Update @node pointers.
34372 * manual/maint.texi (Maintenance): Likewise.
34373 (Platform): New node.
34374 * manual/platform.texi: New file. Document the new features.
34376 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34377 Jakub Jelinek <jakub@redhat.com>
34380 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34381 where __builtin_expect is unavailable.
34383 2012-06-03 David S. Miller <davem@davemloft.net>
34385 * stdlib/longlong.h: Updated from GCC.
34387 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
34390 * sysdeps/powerpc/powerpc32/mcount.c: New file.
34391 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34394 (GLIBC_2.16): Likewise.
34396 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34400 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34403 (default-abi): New variable.
34404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34405 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34407 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34409 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34411 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34414 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34415 definition. Document in comment.
34417 2012-06-01 David S. Miller <davem@davemloft.net>
34419 * stdlib/longlong.h: Updated from GCC.
34421 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34424 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34425 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34426 sys/debugreg.h sys/io.h here.
34427 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34428 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34430 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34431 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34432 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34433 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34434 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34435 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34438 Define only if __x86_64__ is defined.
34440 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34443 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34444 Use int64_t for variable i.
34445 * math/libm-test.inc (fmod_test): Add more tests.
34447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34448 z computation is not scheduled after fetestexcept.
34449 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34450 Use math_force_eval instead of asm to ensure calculation scheduled
34451 before exception test.
34452 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34453 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34455 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34458 computation is not scheduled after fetestexcept.
34460 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34463 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34464 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34466 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34468 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34469 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34471 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34474 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34476 (__WCHAR_MIN): Support __WORDSIZE == 64.
34477 (__WCHAR_MAX): Likewise.
34479 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34480 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34484 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34487 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34488 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34490 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34491 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34493 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34494 Defined to 1 if __x86_64__ isn't defined.
34495 (_STAT_VER_LINUX_OLD): New.
34496 (st_atime): Remove duplicate.
34497 (st_mtime): Likewise.
34498 (st_ctime): Likewise.
34500 2012-05-31 David S. Miller <davem@davemloft.net>
34502 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34505 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34507 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34511 * elf/dl-reloc.c: Include <_itoa.h>.
34512 (_dl_reloc_bad_type): Remove use of INTUSE.
34513 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34514 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34515 * stdio-common/psiginfo.c (psiginfo): Likewise.
34516 * stdio-common/psignal.c (psignal): Likewise.
34517 * string/strsignal.c (strsignal): Likewise.
34518 * include/signal.h (_sys_siglist): Declare hidden proto.
34519 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34520 INTVARDEF with libc_hidden_data_def.
34521 * stdio-common/itoa-udigits.c: Likewise.
34522 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34523 (_itoa_lower_digits_internal): Remove declaration.
34524 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34525 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34526 (_sys_sigabbrev_internal): Remove aliases.
34527 (_sys_siglist): Define hidden alias.
34529 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34534 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34537 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34538 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34540 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34541 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34542 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34543 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34545 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34547 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34548 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34549 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34559 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34560 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34561 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34563 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34564 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34566 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34567 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34568 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34570 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34571 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34573 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34574 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34578 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34580 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34581 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34583 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34585 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34586 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34587 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34589 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34591 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34593 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34595 * math/math.h (M_El): Use two more decimal places.
34596 (M_LOG2El): Likewise.
34597 (M_LOG10El): Likewise.
34598 (M_LN2l): Likewise.
34599 (M_LN10l): Likewise.
34601 (M_PI_2l): Likewise.
34602 (M_PI_4l): Likewise.
34603 (M_1_PIl): Likewise.
34604 (M_2_PIl): Likewise.
34605 (M_2_SQRTPIl): Likewise.
34606 (M_SQRT2l): Likewise.
34607 (M_SQRT1_2l): Likewise.
34609 2012-05-31 David S. Miller <davem@davemloft.net>
34611 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34612 values between float registers.
34613 * sysdeps/sparc/sparc64/memset.S: Likewise.
34614 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34616 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34618 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34619 -D_FORTIFY_SOURCE=1.
34620 (CPPFLAGS-tst-longjmp_chk.c): Define.
34621 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34622 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34623 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34624 CFLAGS-tst-wchar-h.c.
34626 2012-05-31 Marek Polacek <polacek@redhat.com>
34629 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34630 __endmntent_internal): Remove declaration.
34631 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34632 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34633 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34635 2012-05-30 David S. Miller <davem@davemloft.net>
34637 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34638 (___Q_simulate_exceptions): Use real FP ops rather than writing
34640 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34643 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34646 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34647 * sysdeps/x86/bits/xtitypes.h: This.
34649 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34650 * sysdeps/x86/bits/wordsize.h: This.
34652 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34653 * sysdeps/x86/bits/huge_vall.h: This.
34655 * sysdeps/i386/bits/select.h: Removed.
34656 * sysdeps/x86_64/bits/select.h: Renamed to ...
34657 * sysdeps/x86/bits/select.h: This.
34659 * sysdeps/i386/bits/setjmp.h: Removed.
34660 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34661 * sysdeps/x86/bits/setjmp.h: This.
34663 * sysdeps/i386/bits/mathdef.h: Removed.
34664 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34665 * sysdeps/x86/bits/mathdef.h: This.
34667 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34670 * include/sys/socket.h (__connect_internal)
34671 (__libc_sa_len_internal): Remove declaration.
34672 (__connect, __libc_sa_len): Declare hidden_proto.
34673 (SA_LEN): Remove use of INTUSE.
34674 * socket/connect.c: Add libc_hidden_def.
34675 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34676 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34677 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34679 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34681 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34682 of adding _internal alias.
34684 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34687 * sysdeps/i386/bits/link.h: Removed.
34688 * sysdeps/i386/bits/linkmap.h: Likewise.
34689 * sysdeps/x86_64/bits/link.h: Renamed to ...
34690 * sysdeps/x86/bits/link.h: This.
34691 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34692 * sysdeps/x86/bits/linkmap.h: This.
34694 * sysdeps/i386/bits/endian.h: Removed.
34695 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34696 * sysdeps/x86/bits/endian.h: This.
34698 * sysdeps/i386/bits/byteswap.h: Removed.
34699 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34700 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34701 * sysdeps/x86/bits/byteswap.h: This.
34702 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34703 * sysdeps/x86/bits/byteswap-16.h: This.
34704 * sysdeps/i386/Implies: Add x86.
34705 * sysdeps/x86_64/Implies: Likewise.
34707 2012-05-30 David S. Miller <davem@davemloft.net>
34709 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34710 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34711 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34712 (FP_TRAPPING_EXCEPTIONS): Define.
34713 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34714 (FP_TRAPPING_EXCEPTIONS): Define.
34715 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34716 subnormals only when inexact has been signalled or underflow
34717 exceptions are enabled.
34718 (_FP_PACK_CANONICAL): Likewise.
34720 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34723 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34724 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34726 2012-05-30 Richard Henderson <rth@twiddle.net>
34728 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34729 with #ifndef NOT_IN_libc.
34731 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34732 marked to avoid plt entry.
34734 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34737 * Makeconfig (default-abi): New macro.
34738 (abi-includes): Likewise.
34739 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34740 $(abi-$(default-abi)-lib-soname) for soname if defined.
34741 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34743 * Makefile (installed-stubs): Likewise.
34744 * include/stubs-biarch.h: Removed.
34745 * scripts/lib-names.awk: Only handle one library at a time.
34746 * scripts/soversions.awk: Remove WORDSIZE support.
34747 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34751 (syscall-list-default-condition): Likewise.
34752 (syscall-list-default-condition): Likewise.
34753 (syscall-list-includes): Likewise.
34754 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34755 syscall-list-* with abi-*. Handle undefined abi-variants.
34756 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34757 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34758 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34759 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34760 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34761 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34763 (syscall-list-32-options): Likewise.
34764 (syscall-list-32-condition): Likewise.
34765 (syscall-list-64-options): Likewise.
34766 (syscall-list-64-condition): Likewise.
34767 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34769 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34772 (abi-64-ld-soname): New macro.
34773 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34774 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34777 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34778 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34780 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34782 * sysdeps/unix/sysv/linux/kernel-features.h
34783 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34784 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34785 include <kernel-features.h>.
34786 [!__NR_ftruncate64]: Remove conditional code.
34787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34788 [__NR_ftruncate64]: Make code unconditional.
34789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34790 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34791 include <kernel-features.h>.
34792 [!__NR_ftruncate64]: Remove conditional code.
34793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34794 [__NR_ftruncate64]: Make code unconditional.
34795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34797 include <kernel-features.h>.
34798 [!__NR_ftruncate64]: Remove conditional code.
34799 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34800 [__NR_ftruncate64]: Make code unconditional.
34801 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34803 include <kernel-features.h>.
34804 [!__NR_ftruncate64]: Remove conditional code.
34805 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34806 [__NR_ftruncate64]: Make code unconditional.
34807 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34809 * configure.in (libc_cv_fpie): Weaken to a compile test using
34810 LIBC_TRY_CC_OPTION.
34811 * configure: Regenerated.
34813 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34828 2012-05-27 David S. Miller <davem@davemloft.net>
34830 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34832 (__Q_simulate_exceptions): Return void. Change to simulate
34833 exceptions by writing into the %fsr.
34834 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34835 (__Qp_handle_exceptions): Likewise.
34837 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34838 __Qp_handle_exceptions.
34839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34840 __Qp_handle_exceptions.
34841 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34842 as unused and give dummy FP_RND_NEAREST initializer.
34843 (FP_INHIBIT_RESULTS): Define.
34844 (___Q_simulate_exceptions): Update declaration.
34845 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34847 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34848 as unused and give dummy FP_RND_NEAREST initializer.
34849 (__Qp_handle_exceptions): Update declaration.
34850 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34853 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34855 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34856 the temporary FPU control word.
34857 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34858 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34859 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34860 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34861 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34862 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34863 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34864 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34865 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34866 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34869 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34871 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34874 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34876 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34877 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34878 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34879 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34881 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34882 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34885 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34887 * po/h.po: Update from translation team.
34889 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34891 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34893 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34894 handling of denormals.
34895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34896 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34897 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34898 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34904 2012-05-26 Marek Polacek <polacek@redhat.com>
34907 * math/libm-test.inc (fma_test): Don't always expect underflow
34910 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34913 * elf/tst-execstack.c: Include stackinfo.h.
34914 (do_test): Adjust test case to ensure that pthread_getattr_np
34915 behaviour remains the same after marking stack executable.
34917 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34919 * sysdeps/unix/sysv/linux/kernel-features.h
34920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34921 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34923 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34924 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34925 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34927 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34928 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34930 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34932 * configure.in: Define the default includes to being none.
34933 * configure: Regenerated.
34935 2012-05-25 Roland McGrath <roland@hack.frob.com>
34937 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34938 * sysdeps/x86_64/setjmp.S: Likewise.
34939 * sysdeps/i386/bsd-setjmp.S: Likewise.
34940 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34941 * sysdeps/i386/setjmp.S: Likewise.
34942 * sysdeps/i386/__longjmp.S: Likewise.
34943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34944 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34946 * include/stap-probe.h: New file.
34947 * configure.in: Handle --enable-systemtap.
34948 * configure: Regenerated.
34949 * config.h.in (USE_STAP_PROBE): New #undef.
34950 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34951 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34952 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34954 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34958 to 2.4.0 where earlier.
34959 * sysdeps/unix/sysv/linux/configure: Regenerated.
34960 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34961 <kernel-features.h>.
34962 [__ASSUME_32BITUIDS]: Make code unconditional.
34963 [!__ASSUME_32BITUIDS]: Remove conditional code.
34964 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34965 <kernel-features.h>.
34966 [__ASSUME_32BITUIDS]: Make code unconditional.
34967 [!__ASSUME_32BITUIDS]: Remove conditional code.
34968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34969 [__ASSUME_32BITUIDS]: Make code unconditional.
34970 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34971 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34972 <kernel-features.h>.
34973 [__ASSUME_32BITUIDS]: Make code unconditional.
34974 [!__ASSUME_32BITUIDS]: Remove conditional code.
34975 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34976 <kernel-features.h>.
34977 [__ASSUME_32BITUIDS]: Make code unconditional.
34978 [!__ASSUME_32BITUIDS]: Remove conditional code.
34979 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34980 <kernel-features.h>.
34981 [__ASSUME_32BITUIDS]: Make code unconditional.
34982 [!__ASSUME_32BITUIDS]: Remove conditional code.
34983 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
34992 <kernel-features.h>.
34993 [__ASSUME_32BITUIDS]: Make code unconditional.
34994 [!__ASSUME_32BITUIDS]: Remove conditional code.
34995 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34996 <kernel-features.h>.
34997 [__ASSUME_32BITUIDS]: Make code unconditional.
34998 [!__ASSUME_32BITUIDS]: Remove conditional code.
34999 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35000 <kernel-features.h>.
35001 [__ASSUME_32BITUIDS]: Make code unconditional.
35002 [!__ASSUME_32BITUIDS]: Remove conditional code.
35003 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35004 <kernel-features.h>.
35005 [__ASSUME_32BITUIDS]: Make code unconditional.
35006 [!__ASSUME_32BITUIDS]: Remove conditional code.
35007 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35008 <kernel-features.h>.
35009 [__ASSUME_32BITUIDS]: Make code unconditional.
35010 [!__ASSUME_32BITUIDS]: Remove conditional code.
35011 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35012 <kernel-features.h>.
35013 [__NR_setresgid] (__setresgid): Do not declare.
35014 [__ASSUME_32BITUIDS]: Make code unconditional.
35015 [!__ASSUME_32BITUIDS]: Remove conditional code.
35016 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35017 <kernel-features.h>.
35018 [__NR_setresuid] (__setresuid): Do not declare.
35019 [__ASSUME_32BITUIDS]: Make code unconditional.
35020 [!__ASSUME_32BITUIDS]: Remove conditional code.
35021 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35022 <kernel-features.h>.
35023 [__ASSUME_32BITUIDS]: Make code unconditional.
35024 [!__ASSUME_32BITUIDS]: Remove conditional code.
35025 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35026 <kernel-features.h>.
35027 [__ASSUME_32BITUIDS]: Make code unconditional.
35028 [!__ASSUME_32BITUIDS]: Remove conditional code.
35029 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35030 <kernel-features.h>.
35031 [__ASSUME_32BITUIDS]: Make code unconditional.
35032 [!__ASSUME_32BITUIDS]: Remove conditional code.
35033 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35034 <kernel-features.h>.
35035 [__ASSUME_32BITUIDS]: Make code unconditional.
35036 [!__ASSUME_32BITUIDS]: Remove conditional code.
35037 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35038 <kernel-features.h>.
35039 [__ASSUME_32BITUIDS]: Make code unconditional.
35040 [!__ASSUME_32BITUIDS]: Remove conditional code.
35041 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35042 <kernel-features.h>.
35043 [__ASSUME_32BITUIDS]: Make code unconditional.
35044 [!__ASSUME_32BITUIDS]: Remove conditional code.
35045 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35046 <kernel-features.h>.
35047 [__ASSUME_32BITUIDS]: Make code unconditional.
35048 [!__ASSUME_32BITUIDS]: Remove conditional code.
35049 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35050 <kernel-features.h>.
35051 [__ASSUME_32BITUIDS]: Make code unconditional.
35052 [!__ASSUME_32BITUIDS]: Remove conditional code.
35053 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35054 <kernel-features.h>.
35055 [__ASSUME_32BITUIDS]: Make code unconditional.
35056 [!__ASSUME_32BITUIDS]: Remove conditional code.
35057 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35058 <kernel-features.h>.
35059 [__ASSUME_32BITUIDS]: Make code unconditional.
35060 [!__ASSUME_32BITUIDS]: Remove conditional code.
35061 * sysdeps/unix/sysv/linux/kernel-features.h
35062 (__ASSUME_SETRESUID_SYSCALL): Remove.
35063 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35064 (__ASSUME_32BITUIDS): Likewise.
35065 (__ASSUME_LDT_WORKS): Likewise.
35066 (__ASSUME_O_DIRECTORY): Likewise.
35067 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35068 architecture but not kernel version.
35069 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35070 (__ASSUME_MMAP2_SYSCALL): Likewise.
35071 (__ASSUME_STAT64_SYSCALL): Likewise.
35072 (__ASSUME_IPC64): Likewise.
35073 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35074 <kernel-features.h>.
35075 [__ASSUME_32BITUIDS]: Make code unconditional.
35076 [!__ASSUME_32BITUIDS]: Remove conditional code.
35077 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35078 <kernel-features.h>.
35079 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35080 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35081 132096]: Remove conditional code.
35082 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35083 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35084 <kernel-features.h>.
35085 [__ASSUME_32BITUIDS]: Make code unconditional.
35086 [!__ASSUME_32BITUIDS]: Remove conditional code.
35087 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35088 <kernel-features.h>.
35089 [__ASSUME_32BITUIDS]: Make code unconditional.
35090 [!__ASSUME_32BITUIDS]: Remove conditional code.
35091 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35092 <kernel-features.h>.
35093 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35095 (__setresgid): Do not declare.
35096 [__ASSUME_32BITUIDS]: Make code unconditional.
35097 [!__ASSUME_32BITUIDS]: Remove conditional code.
35098 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35099 <kernel-features.h>.
35100 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35102 (__setresuid): Do not declare.
35103 [__ASSUME_32BITUIDS]: Make code unconditional.
35104 [!__ASSUME_32BITUIDS]: Remove conditional code.
35105 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35106 <kernel-features.h>.
35107 [__ASSUME_32BITUIDS]: Make code unconditional.
35108 [!__ASSUME_32BITUIDS]: Remove conditional code.
35109 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35110 <kernel-features.h>.
35111 [__ASSUME_32BITUIDS]: Make code unconditional.
35112 [!__ASSUME_32BITUIDS]: Remove conditional code.
35114 2012-05-25 Richard Henderson <rth@twiddle.net>
35116 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35117 dl_hwcap to ifunc resolver.
35118 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35120 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35121 dl_hwcap to ifunc resolver.
35122 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35124 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35127 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35128 for |x| <= 2**-26, not 2**-57.
35129 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35132 2012-05-24 Jeff Law <law@redhat.com>
35134 * stdio-common/Makefile (tests): Add bug25.
35135 * stdio-common/bug25.c: New test.
35137 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35140 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35141 multiple of MALLOC_ALIGNMENT in size.
35142 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35144 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35146 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35148 (FILENAME_MAX): Use macro-int-constant.
35149 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35150 (_IOFBF): Use macro-int-constant.
35151 (_IOLBF): Likewise.
35152 (_IONBF): Likewise.
35153 (SEEK_CUR): Likewise.
35154 (SEEK_END): Likewise.
35155 (SEEK_SET): Likewise.
35156 (TMP_MAX): Likewise.
35157 (EOF): Use macro-int-constant. Require < 0.
35158 (NULL): Use macro-constant. Require == 0.
35159 (stdin): Require type to be FILE *.
35160 (stdout): Likewise.
35161 (stderr): Likewise.
35162 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35163 macro-int-constant.
35164 (EXIT_SUCCESS): Likewise.
35165 (NULL): Use macro-constant. Require == 0.
35166 (RAND_MAX): Use macro-int-constant.
35167 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35168 [C99-based standards] (strtof): Require function.
35169 [C99-based standards] (strtold): Likewise.
35170 [C99-based standards] (strtoll): Likewise.
35171 [C99-based standards] (strtoull): Likewise.
35172 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35173 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35174 [ISO || ISO99 || ISO11] (math.h): Likewise.
35175 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35176 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35179 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35182 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35183 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35184 * intl/dgettext.c (DCGETTEXT): Likewise.
35185 * intl/gettext.c (DCGETTEXT): Likewise.
35186 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35187 * posix/regex_internal.h (gettext): Likewise.
35188 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35189 Remove declaration.
35190 * include/argz.h (__argz_count_internal)
35191 (__argz_stringify_internal): Remove declaration.
35192 (__argz_count, __argz_stringify): Declare hidden proto.
35193 * intl/dcgettext.c: Remove use of INTDEF.
35194 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35195 * string/argz-stringify.c: Likewise.
35196 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35197 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35198 Declare hidden proto.
35199 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35200 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35201 Declare hidden proto.
35202 * include/stdio.h (__asprintf_internal): Don't declare.
35203 (__asprintf): Don't define as macro. Declare hidden proto.
35204 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35205 (__fsetlocking): Declare hidden proto.
35206 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35207 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35209 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35210 (_IO_setlinebuf): Remove use of INTUSE.
35211 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35212 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35213 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35214 Remove declaration.
35215 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35216 (_IO_do_flush): Remove use of INTUSE.
35217 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35218 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35219 (_IO_adjust_column, _IO_least_wmarker)
35220 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35221 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35222 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35223 (_IO_default_doallocate, _IO_wdefault_doallocate)
35224 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35225 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35226 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35227 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35228 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35229 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35230 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35231 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35232 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35233 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35234 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35235 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35236 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35238 (_IO_flush_all_internal, _IO_adjust_column_internal)
35239 (_IO_default_uflow_internal, _IO_default_finish_internal)
35240 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35241 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35242 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35243 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35244 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35245 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35246 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35247 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35248 (_IO_file_close_internal, _IO_file_close_it_internal)
35249 (_IO_file_underflow_internal, _IO_file_overflow_internal)
35250 (_IO_file_init_internal, _IO_file_attach_internal)
35251 (_IO_file_fopen_internal, _IO_file_read_internal)
35252 (_IO_file_sync_internal, _IO_file_seek_internal)
35253 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35254 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35255 (_IO_str_underflow_internal, _IO_str_overflow_internal)
35256 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35257 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35258 (_IO_list_all_internal, _IO_link_in_internal)
35259 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35260 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35261 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35262 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35263 (_IO_do_write_internal, _IO_padn_internal)
35264 (_IO_getline_info_internal, _IO_getline_internal)
35265 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35266 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35267 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35268 (_IO_vfscanf_internal, _IO_vfprintf_internal)
35269 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35270 (_IO_init_internal, _IO_un_link_internal): Don't declare.
35271 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35272 with libc_hidden_ver, remove use of INTUSE.
35273 * libio/genops.c: Likewise.
35274 * libio/freopen.c: Likewise.
35275 * libio/freopen64.c: Likewise.
35276 * libio/iofclose.c: Likewise.
35277 * libio/iofdopen.c: Likewise.
35278 * libio/iofflush.c: Likewise.
35279 * libio/iofflush_u.c: Likewise.
35280 * libio/iofgets.c: Likewise.
35281 * libio/iofgets_u.c: Likewise.
35282 * libio/iofopen.c: Likewise.
35283 * libio/iofopncook.c: Likewise.
35284 * libio/iofread.c: Likewise.
35285 * libio/iofread_u.c: Likewise.
35286 * libio/ioftell.c: Likewise.
35287 * libio/iofwrite.c: Likewise.
35288 * libio/iogetline.c: Likewise.
35289 * libio/iogets.c: Likewise.
35290 * libio/iogetwline.c: Likewise.
35291 * libio/iopadn.c: Likewise.
35292 * libio/iopopen.c: Likewise.
35293 * libio/ioseekoff.c: Likewise.
35294 * libio/ioseekpos.c: Likewise.
35295 * libio/iosetbuffer.c: Likewise.
35296 * libio/iosetvbuf.c: Likewise.
35297 * libio/ioungetc.c: Likewise.
35298 * libio/ioungetwc.c: Likewise.
35299 * libio/iovdprintf.c: Likewise.
35300 * libio/iovsprintf.c: Likewise.
35301 * libio/iovsscanf.c: Likewise.
35302 * libio/memstream.c: Likewise.
35303 * libio/obprintf.c: Likewise.
35304 * libio/oldfileops.c: Likewise.
35305 * libio/oldiofclose.c: Likewise.
35306 * libio/oldiofdopen.c: Likewise.
35307 * libio/oldiofopen.c: Likewise.
35308 * libio/oldiopopen.c: Likewise.
35309 * libio/oldstdfiles.c: Likewise.
35310 * libio/putc.c: Likewise.
35311 * libio/setbuf.c: Likewise.
35312 * libio/setlinebuf.c: Likewise.
35313 * libio/stdfiles.c: Likewise.
35314 * libio/strops.c: Likewise.
35315 * libio/vasprintf.c: Likewise.
35316 * libio/vscanf.c: Likewise.
35317 * libio/vsnprintf.c: Likewise.
35318 * libio/vswprintf.c: Likewise.
35319 * libio/wfiledoalloc.c: Likewise.
35320 * libio/wfileops.c: Likewise.
35321 * libio/wgenops.c: Likewise.
35322 * libio/wmemstream.c: Likewise.
35323 * libio/wstrops.c: Likewise.
35324 * libio/__fpurge.c: Likewise.
35325 * libio/__fsetlocking.c: Likewise.
35326 * assert/assert.c: Likewise.
35327 * debug/fgets_chk.c: Likewise.
35328 * debug/fgets_u_chk.c: Likewise.
35329 * debug/fread_chk.c: Likewise.
35330 * debug/fread_u_chk.c: Likewise.
35331 * debug/gets_chk.c: Likewise.
35332 * debug/obprintf_chk.c: Likewise.
35333 * debug/vasprintf_chk.c: Likewise.
35334 * debug/vdprintf_chk.c: Likewise.
35335 * debug/vsnprintf_chk.c: Likewise.
35336 * debug/vsprintf_chk.c: Likewise.
35337 * malloc/mtrace.c: Likewise.
35338 * misc/error.c: Likewise.
35339 * misc/syslog.c: Likewise.
35340 * stdio-common/asprintf.c: Likewise.
35341 * stdio-common/fxprintf.c: Likewise.
35342 * stdio-common/getw.c: Likewise.
35343 * stdio-common/isoc99_fscanf.c: Likewise.
35344 * stdio-common/isoc99_scanf.c: Likewise.
35345 * stdio-common/isoc99_vfscanf.c: Likewise.
35346 * stdio-common/isoc99_vscanf.c: Likewise.
35347 * stdio-common/isoc99_vsscanf.c: Likewise.
35348 * stdio-common/printf-prs.c: Likewise.
35349 * stdio-common/printf_fp.c: Likewise.
35350 * stdio-common/printf_fphex.c: Likewise.
35351 * stdio-common/printf_size.c: Likewise.
35352 * stdio-common/putw.c: Likewise.
35353 * stdio-common/scanf.c: Likewise.
35354 * stdio-common/sprintf.c: Likewise.
35355 * stdio-common/tmpfile.c: Likewise.
35356 * stdio-common/vfprintf.c: Likewise.
35357 * stdio-common/vfscanf.c: Likewise.
35358 * stdlib/strfmon_l.c: Likewise.
35359 * sunrpc/openchild.c: Likewise.
35360 * sunrpc/xdr_stdio.c: Likewise.
35361 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35362 * sysdeps/mach/hurd/tmpfile.c: Likewise.
35364 2012-05-24 Roland McGrath <roland@hack.frob.com>
35366 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35368 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35369 in the third column, to generate for the shared library an IFUNC
35370 that uses _dl_vdso_vsym.
35371 * Makerules (COMPILE.c, compile-stdin.c): New variables.
35372 * Makeconfig (object-suffixes-noshared): New variable.
35374 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35375 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35376 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35377 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35380 * include/sys/time.h (__gettimeofday): Remove macro.
35381 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35382 * time/gettimeofday.c (__gettimeofday): Remove #undef.
35384 (__gettimeofday): Add libc_hidden_def.
35385 (gettimeofday): Add libc_hidden_weak.
35386 * sysdeps/mach/gettimeofday.c: Likewise.
35387 * sysdeps/posix/gettimeofday.c: Likewise.
35388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35389 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35390 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35391 (__gettimeofday_internal): Remove strong_alias.
35392 (__gettimeofday): Add libc_hidden_def.
35393 (gettimeofday): Add libc_hidden_weak.
35394 * sysdeps/unix/syscalls.list (gettimeofday):
35395 Remove __gettimeofday_internal alias.
35397 2012-05-24 Daniel Jacobowitz <drow@false.org>
35398 H.J. Lu <hongjiu.lu@intel.com>
35401 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35402 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35403 (largebin_index_32_big): New.
35404 (largebin_index): Use it for 16-byte alignment.
35405 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
35406 correction with front_misalign.
35408 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35436 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35437 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35439 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35443 * math/libm-test.inc (exp_test): Add test from bug 14036.
35444 (pow_test): Add test from bug 10846.
35446 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35448 (special_function): Do not include flags in test name.
35449 (parse_args): Likewise.
35450 * sysdeps/i386/fpu/libm-test-ulps: Update.
35451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35452 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35453 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35456 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35458 * math/libm-test.inc ("Philosophy"): Update comment about
35460 (UNDERFLOW_EXCEPTION): New macro.
35461 (UNDERFLOW_EXCEPTION_OK): Likewise.
35462 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35463 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35464 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35465 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35466 (INVALID_EXCEPTION_OK): Update value.
35467 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35468 (OVERFLOW_EXCEPTION_OK): Likewise.
35469 (IGNORE_ZERO_INF_SIGN): Likewise.
35470 (test_exceptions): Handle underflow exceptions.
35471 (acos_test): Update for underflow exception expectations.
35472 (cexp_test): Likewise.
35473 (clog_test): Likewise.
35474 (clog10_test): Likewise.
35475 (csqrt_test): Likewise.
35476 (ctan_test): Likewise.
35477 (ctanh_test): Likewise.
35478 (exp_test): Likewise.
35479 (exp10_test): Likewise.
35480 (exp2_test): Likewise.
35481 (expm1_test): Likewise.
35482 (fma_test): Likewise.
35483 (j0_test): Likewise.
35484 (jn_test): Likewise.
35485 (nexttoward_test): Likewise.
35486 (pow_test): Likewise.
35487 (scalbn_test): Likewise.
35488 (scalbln_test): Likewise.
35489 (tan_test): Likewise.
35490 (y1_test): Likewise.
35491 * sysdeps/i386/fpu/libm-test-ulps: Update.
35492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35494 2012-05-23 David S. Miller <davem@davemloft.net>
35496 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35497 (__libc_sigaction): Remove unused local variables.
35499 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35501 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35503 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35505 mktime: avoid signed integer overflow
35506 * time/mktime.c (__mktime_internal): Do not mishandle the case
35507 where diff == INT_MIN.
35509 mktime: simplify computation of average
35510 * time/mktime.c (ranged_convert): Use new time_t_avg function
35511 instead of rolling our own (probably-slower) code.
35513 mktime: do not assume signed right shift propagates sign bit
35514 * time/mktime.c (isdst_differ): New static function.
35515 (__mktime_internal): No need to normalize tm_isdst now.
35516 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35519 mktime: merge another wrapv change from gnulib
35520 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35521 from some compilers.
35523 mktime: remove incorrect attempt at unusual arithmetics
35524 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35525 The code didn't really work on such machines anyway.
35526 (TYPE_MINIMUM): Assume two's complement.
35527 (twos_complement_arithmetic): Verify that long_int and time_t
35528 are two's complement (or unsigned, in the latter case).
35530 mktime: check signed shifts on long_int and time_t, too
35531 * time/mktime.c (SHR): Check that shifts work as desired
35532 on the types long_int and time_t too, as SHR is used on
35535 mktime: do not assume 'long' is wide enough
35536 * time/mktime.c (verify): Move decl up.
35537 (long_int): New type.
35538 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35539 to remove assumption in the code that 'long' is wide enough to
35540 store year values. This assumption is not true on x32 and on
35541 some non-glibc platforms.
35543 mktime: merge wrapv change from gnulib
35544 * time/mktime.c (WRAPV): New macro.
35545 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35546 (guess_time_tm, __mktime_internal): Do not assume that signed
35547 integer overflow wraps around; modern compilers generate code
35548 where this assumption is no longer valid.
35550 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35552 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35553 Replace "jmp L(pseudo_end)" with "ret".
35554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35557 2012-05-23 Andreas Jaeger <aj@suse.de>
35559 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35560 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35562 2012-05-23 Andreas Jaeger <aj@suse.de>
35563 Maximilian Attems <max@stro.at>
35565 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35568 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35570 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35571 code so that pseudo_end is just ret and the stack pointer is
35572 correct also for static library in error case.
35574 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35576 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35577 move to syscalls.list.
35578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35583 * manual/install.texi (Running make install): Do not mention Linux
35584 kernel version for which pt_chown is not needed.
35585 (Linux): Do not mention problems with nscd with 2.0 kernels.
35586 * INSTALL: Regenerated.
35588 2012-05-23 Andreas Jaeger <aj@suse.de>
35590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35591 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35593 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35595 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35597 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35599 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35603 * sysdeps/unix/sysv/linux/bits/in.h
35604 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35606 2012-05-22 Roland McGrath <roland@hack.frob.com>
35608 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35609 (PREPARE_VERSION): Just use assert instead, it will be elided
35610 under [NDEBUG] anyway.
35612 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35614 * sysdeps/unix/sysv/linux/Makefile: Include
35615 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35616 (sysdep_routines): Remove sysctl.
35617 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35618 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35619 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35620 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35621 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35623 2012-05-22 Andreas Jaeger <aj@suse.de>
35625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35626 that pseudo_end is just ret and the stack pointer is correct also
35627 for static library in error case.
35629 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35632 * nss/nsswitch.c (defconfig_entries): New variable.
35633 (__nss_database_lookup): Don't leak defconfig entries.
35634 (nss_parse_service_list): Don't leak on error paths.
35635 (free_database_entries): New function.
35636 (free_defconfig): New function.
35637 (free_mem): Move common code to free_database_entries.
35639 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35641 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35643 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35645 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35646 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35649 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35650 (INTERNAL_SYSCALL_TYPES): Likewise.
35651 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35652 (LOAD_REGS_TYPES_[1-6]): Likewise.
35653 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35654 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35656 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35658 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35659 copysignl for GLIBC_2_0.
35660 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35661 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35663 logbl for GLIBC_2_0.
35664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35665 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35667 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35670 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35672 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35675 * time/mktime.c: Update copyright years.
35677 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35679 mktime: merge comment-quoting-style change from gnulib
35680 * time/mktime.c: Quote 'like this' in comments.
35681 The GNU coding standards suggest that we no longer quote `like this',
35682 as "`" and "'" are typically rendered asymmetrically nowadays.
35683 The typical gnulib style is to quote 'like this' when quoting
35684 code, and "like this" when quoting English.
35686 * time/mktime.c (compile-command): Add "-I.".
35688 mktime: merge mktime-internal.h change from gnulib
35689 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35691 mktime: merge time_r change from gnulib
35692 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35694 mktime: merge DEBUG change from gnulib
35695 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35696 case system <time.h> has a #define.
35698 mktime: merge <sys/types.h> change from gnulib
35699 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35700 since <time.t> is now guaranteed to define time_t.
35702 mktime: merge HAVE_CONFIG_H change from gnulib
35703 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35705 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35710 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35712 (struct rusage): Use anonymous union to pad each field to
35715 2012-05-21 David S. Miller <davem@davemloft.net>
35717 * Makefules (o-iterator): Remove .s cases.
35718 (compile-command.s): Delete.
35719 (COMPILE.s): Delete.
35720 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35722 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35724 * configure.in (libc_cv_predef_stack_protector): Only consider
35725 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35726 * configure: Regenerated.
35728 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35731 New macro. Use R*LP on int and pointer.
35732 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35733 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35734 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35735 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35737 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35738 [__WORDSIZE_TIME64_COMPAT32] instead of
35739 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35740 (struct utmp): Likewise.
35741 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35742 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35744 (__WORDSIZE_TIME64_COMPAT32): This.
35745 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35746 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35747 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35748 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35749 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35750 (__WORDSIZE_TIME64_COMPAT32): New macro.
35752 2012-05-21 Andreas Jaeger <aj@suse.de>
35754 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35755 only if [SHARED]. Add prototype for __wcschr_ia32.
35757 2012-05-21 Roland McGrath <roland@hack.frob.com>
35759 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35760 of %rbp unmolested in the jmp_buf while mangling the low bits.
35761 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35762 unmolested high bits of %rbp while demangling the low bits.
35763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35765 2012-05-21 Andreas Jaeger <aj@suse.de>
35767 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35768 * sunrpc/svc_simple.c: Use it for registerrpc.
35769 * sunrpc/xcrypt.c: Use it for passwd2des.
35771 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35773 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35775 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35776 Don't define if [__SYSCALL_WORDSIZE != 32].
35777 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35780 2012-05-21 Bruno Haible <bruno@clisp.org>
35781 Andreas Jaeger <aj@suse.de>
35783 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35784 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35785 inptr and inend for must_buffer_ch.
35786 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35787 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35788 * stdio-common/Makefile (tests): Remove bug15.
35789 (bug15-ENV): Remove macro.
35790 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35793 2012-05-19 Andreas Jaeger <aj@suse.de>
35794 Roland McGrath <roland@hack.frob.com>
35796 * manual/contrib.texi: Completely rewritten. It contains now an
35797 alphabetical list of contributors and their contributions.
35799 2012-05-21 Richard Henderson <rth@twiddle.net>
35801 * misc/getauxval.c (__getauxval): Use unsigned long int.
35802 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35803 (getauxval): Use unsigned long int.
35805 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35807 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35809 2012-05-21 Roland McGrath <roland@hack.frob.com>
35811 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35812 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35813 __alignof__ (long double).
35815 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35819 2012-05-20 Richard Henderson <rth@twiddle.net>
35821 * misc/getauxval.c: New file.
35822 * misc/sys/auxv.h: New file.
35823 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35824 (routines): Add getauxval.
35825 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35826 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35827 * elf/dl-sysdep.c (_dl_auxv): Remove.
35828 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35829 * elf/dl-support.c (_dl_auxv): New variable.
35830 (_dl_aux_init): Initialize it.
35831 * manual/startup.texi (Auxiliary Vector): New node.
35832 * sysdeps/generic/bits/hwcap.h: New file.
35833 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35834 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35835 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35836 * sysdeps/sparc/sysdep.h: ... here. Include it.
35837 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35838 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35850 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35854 2012-05-19 David S. Miller <davem@davemloft.net>
35856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35858 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35861 * math/s_ccosh.c: Include <float.h>
35862 (__ccosh): Avoid internal overflow calculating sinh and cosh
35863 values before multiplying by sin and cos values.
35864 * math/s_ccoshf.c: Likewise.
35865 * math/s_ccoshl.c: Likewise.
35866 * math/s_csin.c: Likewise.
35867 * math/s_csinf.c: Likewise.
35868 * math/s_csinl.c: Likewise.
35869 * math/s_csinh.c: Likewise.
35870 * math/s_csinhf.c: Likewise.
35871 * math/s_csinhl.c: Likewise.
35872 * math/libm-test.inc (ccos_test): Add more tests.
35873 (ccosh_test): Likewise.
35874 (csin_test): Likewise.
35875 (csinh_test): Likewise.
35876 * sysdeps/i386/fpu/libm-test-ulps: Update.
35877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35879 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35881 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35882 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35884 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35886 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35888 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35889 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35890 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35891 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35892 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35893 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35894 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35895 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35896 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35897 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35898 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35899 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35900 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35901 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35902 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35903 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35904 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35905 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35906 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35907 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35908 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35909 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35910 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35911 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35912 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35913 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35914 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35915 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35916 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35917 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35918 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35920 2012-05-18 Andreas Jaeger <aj@suse.de>
35922 * csu/.gitignore: Delete.
35924 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35926 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35927 (timex): Use __syscall_slong_t.
35929 2012-05-18 Andreas Jaeger <aj@suse.de>
35930 Carlos O'Donell <carlos_odonell@mentor.com>
35932 * manual/install.texi (Configuring and compiling): Update
35933 description about files modified in the source directory.
35934 * INSTALL: Regenerated.
35936 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35938 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35939 value. Use "or" to set return value to -1.
35940 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35941 negate return value.
35943 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35945 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35946 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35947 failure if the compiler has Graphite support disabled.
35948 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35950 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35951 (CFLAGS-memmove.c): Likewise.
35952 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35955 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35957 * sysdeps/x86_64/x32/_itoa.h: New file.
35959 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35960 getdents system call only if kernel and user dirents have the
35961 same d_ino and d_off.
35963 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35964 LLONG_MAX != LONG_MAX.
35965 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35966 (_fitoa_word): Likewise.
35968 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35970 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35971 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35972 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35974 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35975 include <bits/wordsize.h>. Check __x86_64__ instead of
35977 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35978 if __x86_64__ is defined. Use anonymous union on fpstate.
35980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35983 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35985 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35986 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35988 Refer to _rtld_local_ro instead of _rtld_global_ro.
35989 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35991 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35993 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35995 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35996 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35997 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35999 * sysdeps/powerpc/powerpc32/dl-machine.c
36000 (__elf_machine_runtime_setup) [PROF]: Don't reference
36003 2012-05-18 Andreas Jaeger <aj@suse.de>
36005 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36006 function only available for GCCs before 3.4 since GCC 3.4
36007 introduced a builtin.
36009 (llrintf): Likewise.
36010 (llrint): Likewise.
36017 (nearbyint): Likewise.
36018 (nearbyintf): Likewise.
36022 (floorf): Likewise.
36024 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36026 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36027 on both fields and cast pointer to __syscall_ulong_t.
36029 * bits/types.h (__fsword_t): New type.
36030 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36031 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36033 (__FSWORD_T_TYPE): Likewise.
36034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36035 (__FSWORD_T_TYPE): Likewise.
36036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36037 (__FSWORD_T_TYPE): Likewise.
36038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36039 (__FSWORD_T_TYPE): Likewise.
36040 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36041 __SWORD_TYPE with __fsword_t.
36042 (statfs64): Likewise.
36044 2012-05-17 David S. Miller <davem@davemloft.net>
36046 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36048 2012-05-17 Andreas Jaeger <aj@suse.de>
36050 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36053 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36055 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36057 2012-05-17 Andreas Jaeger <aj@suse.de>
36059 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36062 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36064 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36066 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36068 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36069 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36071 2012-05-17 Andreas Jaeger <aj@suse.de>
36072 Carlos O'Donell <carlos_odonell@mentor.com>
36075 * sysdeps/x86_64/multiarch/init-arch.h
36076 (bit_YMM_Usable): Rename to...
36077 (bit_AVX_Usable): ... this.
36078 (bit_FMA4_Usable): New macro.
36079 (bit_XMM_state): New macro.
36080 (bit_YMM_state): New macro.
36081 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36082 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36083 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36084 (CPUID_OSXSAVE): New macro.
36085 (CPUID_AVX): New macro.
36086 (CPUID_FMA4): New macro.
36087 (index_YMM_Usable): Rename to...
36088 (index_AVX_Usable): ... this.
36089 (HAS_AVX): Use HAS_ARCH_FEATURE.
36090 (HAS_FMA4): Likewise.
36091 (HAS_YMM_USABLE): Remove.
36092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36093 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36095 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36096 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36097 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36098 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36099 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36101 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36103 * math/libm-test.c: Support platforms without multiple rounding modes.
36104 * math/bug-nextafter.c: Support platforms without FP exceptions.
36105 * math/bug-nexttoward.c: Likewise.
36106 * math/test-fenv.c: Likewise.
36107 * math/test-misc.c: Likewise.
36108 * stdlib/bug-getcontext.c: Likewise.
36110 2012-05-17 Andreas Jaeger <aj@suse.de>
36112 * manual/examples/search.c (critter_cmp): Change signature to
36114 * manual/string.texi (Collation Functions): Likewise.
36116 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36118 * bits/types.h: Fold copyright years.
36119 * bits/typesizes.h: Likewise.
36120 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36124 * time/time.h: Likewise.
36126 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36129 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36130 in instead of returning them. Return void.
36131 (__libc_mallinfo): Accumulate over all arenas.
36132 (__malloc_stats): Adjust for change in int_mallinfo interface.
36134 2012-05-16 Roland McGrath <roland@hack.frob.com>
36137 * configure.in (NM): Add AC_CHECK_TOOL for it.
36138 (libc_extra_cflags): New substituted variable.
36139 Check for -fstack-protector being used implicitly.
36140 * configure: Regenerated.
36141 * config.make.in (config-extra-cflags): New variable,
36142 gets @libc_extra_cflags@.
36143 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36146 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36147 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36148 * configure: Regenerated.
36149 * config.make.in (CPPUNDEFS): New substituted variable.
36150 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36151 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36152 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36154 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36156 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36157 (mq_attr): Use __syscall_slong_t.
36159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36161 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36162 Check __x86_64__ instead of __WORDSIZE.
36163 (_STAT_VER_LINUX): Likewise.
36164 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36165 __syscall_ulong_t and __syscall_slong_t.
36166 (stat64): Likewise.
36168 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36170 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36172 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36174 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36176 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36178 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36181 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36182 include <bits/wordsize.h>. Check __x86_64__ instead of
36184 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36186 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36189 include <bits/wordsize.h>. Check __x86_64__ instead of
36191 (user_regs_struct): Use "__extension__ unsigned long long"
36192 instead of "unsigned long" if __x86_64__ is defined.
36193 (user): Likewise. Pad after pointer field if __ILP32__ is
36196 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36198 * configure.in (makeinfo): Require version 4.5 or later. Allow
36200 * configure: Regenerated.
36201 * manual/install.texi (texinfo): Increase version requirement to
36203 * INSTALL: Regenerated.
36205 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36209 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36211 * sysdeps/x86_64/x32/ffs.c: New file.
36213 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36215 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36216 defined. Use __syscall_ulong_t.
36217 (shminfo): Use __syscall_ulong_t.
36218 (shm_info): Likewise.
36220 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36223 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36225 (msgqnum_t): Use __syscall_ulong_t.
36226 (msglen_t): Likewise.
36227 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
36230 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36231 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36233 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36235 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36236 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36238 * sysvipc/sys/msg.h (msgbuf): Replace long int with
36241 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36242 include <bits/wordsize.h>. Check __x86_64__ instead of
36245 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36246 "unsigned long long int" if __x86_64__ is defined.
36247 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36249 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36250 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36251 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36253 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36255 (GET_PC): Cast to uintptr_t first.
36256 (GET_FRAME): Likewise.
36257 (GET_STACK): Likewise.
36259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36260 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36265 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36266 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36267 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36269 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36272 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36273 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36277 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36279 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36287 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36289 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
36291 * Makerules (+depfiles): Also collect depfiles from .oS in
36293 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36294 .oS, $(libnldbl-routines)).
36296 * Makerules (native-compile-mkdep-flags): Define.
36297 * sunrpc/Makefile (extra-objs): Add $(addprefix
36298 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36299 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36300 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
36301 calling $(make-target-directory).
36303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36305 * bits/types.h (__snseconds_t): Removed.
36306 * time/time.h (struct timespec): Replace __snseconds_t with
36308 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36309 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36312 (__SNSECONDS_T_TYPE): Likewise.
36313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36314 (__SNSECONDS_T_TYPE): Likewise.
36315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36316 (__SNSECONDS_T_TYPE): Likewise.
36318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36320 * sysdeps/mach/hurd/bits/typesizes.h
36321 (__SYSCALL_SLONG_TYPE): New macro.
36322 (__SYSCALL_ULONG_TYPE): Likewise.
36324 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36326 * bits/types.h (__syscall_slong_t): New type.
36327 (__syscall_ulong_t): Likewise.
36329 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36330 (__SYSCALL_ULONG_TYPE): Likewise.
36331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36332 (__SYSCALL_SLONG_TYPE): Likewise.
36333 (__SYSCALL_ULONG_TYPE): Likewise.
36334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36335 (__SYSCALL_SLONG_TYPE): Likewise.
36336 (__SYSCALL_ULONG_TYPE): Likewise.
36337 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36338 (__SYSCALL_SLONG_TYPE): Likewise.
36339 (__SYSCALL_ULONG_TYPE): Likewise.
36341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36343 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36344 Add sigaltstack-offsets.sym.
36345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36346 <sigaltstack-offsets.h>.
36347 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
36348 longjmp_msg pointer.
36349 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
36350 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36352 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36354 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36356 * elf/stackguard-macros.h: Remove file.
36357 * sysdeps/generic/stackguard-macros.h: New file.
36358 * sysdeps/i386/stackguard-macros.h: Likewise.
36359 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36360 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36361 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36362 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36363 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36364 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36365 * sysdeps/x86_64/stackguard-macros.h: Likewise.
36366 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36367 <elf/stackguard-macros.h>.
36370 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36371 __aligned__ in attribute.
36372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36373 (gregset_t): Likewise.
36375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36377 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36378 * sysdeps/x86_64/64/Implies-after: Here. New file.
36379 * sysdeps/x86_64/x32/Implies-after: New file.
36381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36383 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36384 and access return value for _dl_profile_fixup. Use R10_LP to
36387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36389 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36393 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36394 * sysdeps/x86_64/x32/sysdep.h: New file.
36396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36398 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36399 * sysdeps/x86_64/setjmp.S: Likewise.
36401 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36403 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36404 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36405 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36406 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36407 remove unused global constant.
36409 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
36411 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36412 include of <not-cancel.h>.
36414 2012-05-15 Roland McGrath <roland@hack.frob.com>
36416 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36418 2012-05-15 Jeff Law <law@redhat.com>
36419 Andreas Jaeger <aj@suse.de>
36422 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36424 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36425 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36426 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36427 code changing __hst_map_handle.map.
36429 2012-05-15 Roland McGrath <roland@hack.frob.com>
36431 * configure.in (sysnames): Look for Implies-before and Implies-after
36433 * configure: Regenerated.
36435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36437 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36438 8-byte data alignment with LP_SIZE alignment.
36440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36447 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36451 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36452 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36453 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36459 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36460 (stackinfo_sub_sp): Likewise.
36462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36464 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36469 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36474 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36479 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36483 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36484 into R11_LP and load __x86_64_shared_cache_size_half into
36487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36489 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36492 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36501 powerpc32/power7/fpu/s_logb.c via #include.
36502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36503 powerpc32/power7/fpu/s_logbf.c via #include.
36504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36505 powerpc32/power7/fpu/s_logbl.c via #include.
36507 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36509 * README.libm: Remove file.
36511 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36513 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36514 count for x32. Use R*_LP and omit operand-size suffix.
36516 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36518 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36519 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36520 * sysdeps/x86_64/x32/shlib-versions: New file.
36522 2012-05-14 Roland McGrath <roland@hack.frob.com>
36524 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36525 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36526 Use _dl_fatal_printf instead.
36528 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36530 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36531 set if not set by the user. Do not allow for being unset.
36532 * sysdeps/unix/sysv/linux/configure: Regenerated.
36534 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36536 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36537 the `q' suffix from lea and replace .quad with ASM_ADDR.
36539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36542 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36544 (PTR_DEMANGLE): Likewise.
36546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36548 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36550 (ASM_ADDR): Likewise.
36551 (RAX_LP): Likewise.
36552 (RBP_LP): Likewise.
36553 (RBX_LP): Likewise.
36554 (RCX_LP): Likewise.
36555 (RDI_LP): Likewise.
36556 (RSI_LP): Likewise.
36557 (RSP_LP): Likewise.
36560 (R10_LP): Likewise.
36561 (R10_LP): Likewise.
36562 (R11_LP): Likewise.
36563 (R12_LP): Likewise.
36564 (R13_LP): Likewise.
36565 (R14_LP): Likewise.
36566 (R15_LP): Likewise.
36568 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36570 * sysdeps/x86_64/x32/dl-machine.h: New file.
36572 2012-05-14 Andreas Jaeger <aj@suse.de>
36574 * manual/Makefile (subdir): Remove export of subdir.
36575 (all): Remove target.
36576 (.PHONY): Remove all from list.
36577 (mkinstalldirs): Remove.
36578 (.PHONY): Remove installdirs from list.
36579 ($(inst_infodir)/libc.info): Use make-target-directory.
36580 (installdirs): Remove.
36581 (subdir_%): Remove.
36582 (glibc-targets): Remove.
36585 ($(objpfx)stubs ../po/manual.pot): Remove.
36586 ($(objpfx)stamp%): Remove.
36587 (make-target-directory): Remove.
36588 (subdir_install): Remove.
36589 (routines): Remove.
36596 * manual/.gitignore: Remove, it's not needed anymore.
36597 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36599 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36601 (texis): Renamed to $(objpfx)texis.
36602 (texis-path): New, contains path to generated files.
36603 (chapters.%): Use texis-path for complete path, add extra argument
36605 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36606 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36607 (summary,texi, stamp-summary): Use complete path of
36608 files. Generate files in build dir.
36609 (dir-add.texi): Build in build dir.
36610 (libm-err.texi,stamp-libm-err): Likewise.
36611 (version.texi, stamp-version): Likewise.
36612 (.%c.texi): Likewise.
36613 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36614 (mostlyclean): Remove target.
36615 (realclean): Remove target.
36616 (generated): Add new variable with contents from mostlyclean and
36617 realclean, remove entries duplicated in common-mostlyclean, add
36618 stamp-libm-err and stamp-version.
36619 (generated-dirs): Add libc directory.
36620 ($(inst_infodir)/libc.info): Install files from build dir.
36622 * manual/install.texi (Configuring and compiling): Adjust since
36623 the info files are not part of the tar ball anymore.
36625 2012-05-14 Andreas Jaeger <aj@suse.de>
36627 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36630 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36634 to 2.2.0 where earlier.
36635 * sysdeps/unix/sysv/linux/configure: Regenerated.
36636 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36637 Remove conditional code.
36638 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36639 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36640 Remove conditional code.
36641 [!__NR_lchown]: Likewise.
36642 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36643 [__NR_lchown]: Likewise.
36644 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36645 comment referencing __ASSUME_LCHOWN_SYSCALL.
36646 * sysdeps/unix/sysv/linux/i386/sigaction.c
36647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36649 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36650 Remove conditional code.
36651 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36652 (__protocol_available): Remove #if 0 code.
36653 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36655 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36656 * sysdeps/unix/sysv/linux/kernel-features.h
36657 (__ASSUME_GETCWD_SYSCALL): Don't define.
36658 (__ASSUME_REALTIME_SIGNALS): Likewise.
36659 (__ASSUME_PREAD_SYSCALL): Likewise.
36660 (__ASSUME_PWRITE_SYSCALL): Likewise.
36661 (__ASSUME_POLL_SYSCALL): Likewise.
36662 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36663 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36665 (__ASSUME_SIOCGIFNAME): Don't define.
36666 (__ASSUME_MSG_NOSIGNAL): Likewise.
36667 (__ASSUME_SENDFILE): Define unconditionally.
36668 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36669 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36671 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36672 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36673 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36674 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36675 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36676 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36677 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36691 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36694 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36700 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36702 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36703 Remove conditional code.
36704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36705 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36706 Remove conditional code.
36707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36708 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36709 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36710 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36711 Remove conditional code.
36712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36713 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36714 Remove conditional code.
36715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36716 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36717 Remove conditional code.
36718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36719 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36720 Remove conditional code.
36721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36722 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36723 Remove conditional code.
36724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36725 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36726 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36728 * sysdeps/unix/sysv/linux/sigaction.c
36729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36731 * sysdeps/unix/sysv/linux/sigpending.c
36732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36734 * sysdeps/unix/sysv/linux/sigprocmask.c
36735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36737 * sysdeps/unix/sysv/linux/sigsuspend.c
36738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36741 (__libc_missing_rt_sigs): Remove.
36742 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36743 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36744 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36745 Remove conditional code.
36746 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36747 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36750 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36752 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36754 2012-05-14 Andreas Jaeger <aj@suse.de>
36756 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36757 it's not used in glibc.
36758 (__coshm1): Likewise.
36759 (__acosh1p): Likewise.
36762 * manual/string.texi (Copying and Concatenation): Add missing
36763 variable in concat example.
36764 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36766 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36770 __builtin_clzl with __builtin_clzll.
36772 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36775 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36778 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36780 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36781 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36782 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36783 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36785 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36787 * NEWS: Update ia64 info.
36789 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36791 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36794 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36796 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36797 * sysdeps/unix/syscalls.list (dup3): Likewise.
36798 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36799 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36801 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36803 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36804 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36806 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36808 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36810 (TLS_IE): Use mov/add instead of movq/addq to load thread
36812 (TLS_GD_PREFIX): New.
36815 2012-05-11 David S. Miller <davem@davemloft.net>
36817 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36818 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36819 (_FPU_SETCW): Likewise.
36821 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36823 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36824 is 32-byte aligned.
36826 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36829 * iconvdata/gb18030.c: Update tables.
36830 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36831 characters specially.
36832 (BODY for TO_LOOP): Add encoding of missing ranges.
36834 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36837 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36838 * sysdeps/mach/hurd/dup3.c: Likewise.
36839 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36840 * sysdeps/powerpc/memmove.c:: Likewise.
36842 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36845 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36847 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36849 * elf/elf.h (R_X86_64_RELATIVE64): New.
36850 (R_X86_64_NUM): Updated.
36851 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36852 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36853 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36854 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36855 tst-quad1pie tst-quad2pie
36856 (modules-names): Add tst-quadmod1 tst-quadmod2.
36857 ($(objpfx)tst-quad1): New dependency.
36858 ($(objpfx)tst-quad2): Likewise.
36859 ($(objpfx)tst-quad1pie): Likewise.
36860 ($(objpfx)tst-quad2pie): Likewise.
36861 * sysdeps/x86_64/tst-quad1.c: New file.
36862 * sysdeps/x86_64/tst-quad1pie.c: New file.
36863 * sysdeps/x86_64/tst-quad2.c: Likewise.
36864 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36865 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36866 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36867 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36868 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36872 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36873 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36874 * streams/stropts.h (t_scalar_t): Define type.
36876 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36877 (_PATH_PRESERVE): Set to "/var/lib".
36878 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36880 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36883 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36884 if __dir_mkfile succeeded.
36886 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36887 checking for _hurd_dtablesize. Unlock it right after having
36888 finished _hurd_dtable allocation.
36890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36892 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36893 * sysdeps/mach/hurd/configure: Regenerated.
36894 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36895 special-casing to...
36896 * sysdeps/gnu/configure.in: ... this new file.
36897 * sysdeps/unix/sysv/linux/configure: Regenerated.
36898 * sysdeps/gnu/configure: New generated file.
36900 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36901 for Linux: use nsec instead of usec, as well as:
36902 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36903 members of type struct timespec.
36904 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36906 (struct stat64): Likewise.
36907 (_STATBUF_ST_NSEC): New macro.
36908 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36910 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36911 __strtoul_internal rather than strtoul.
36913 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36915 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36920 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36921 which preserves existing values.
36922 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36924 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36926 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36927 TIMEOUT values. Return EINVAL for NFDS values either negative or
36928 greater than FD_SETSIZE.
36930 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36932 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36933 allocated, call __vm_protect to finish enabling the existing space, and
36934 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36935 allocate the remainder.
36937 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36939 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36940 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36944 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36945 sysdeps/mach/hurd/readlink.c.
36947 * posix/tst-sysconf.c (posix_options): Only use
36948 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36949 _POSIX_SYNCHRONIZED_IO when they are defined
36950 * sysdeps/mach/hurd/bits/posix_opt.h:
36951 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36952 (_XOPEN_REALTIME): Undefine macro.
36953 (_XOPEN_REALTIME_THREADS): Undefine macro.
36954 (_XOPEN_SHM): Undefine macro.
36955 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36957 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36959 (_POSIX_ASYNC_IO): Undefine macro.
36960 (_POSIX_PRIORITIZED_IO): Undefine macro.
36961 (_POSIX_SPIN_LOCKS): Define macro to -1.
36963 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36964 SA_NODEFER, SA_RESETHAND.
36965 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36966 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36971 * elf/Makefile (pldd-modules): Define unconditionally.
36973 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36975 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36979 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36980 Return ENOENT when name is empty.
36981 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36985 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36987 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36991 Fix mlock in all cases except non-readable pages.
36992 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36993 instead of VM_PROT_ALL as parameter to __vm_wire function.
36995 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36996 (__mkdir): When path is `/', just fail with EEXIST.
36997 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37001 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37002 <sys/uio.h> (for writev).
37003 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37004 and <sys/param.h> (for MIN).
37006 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37008 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37009 REQUESTED_TIME. Properly set the remaining time and return EINTR
37012 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37014 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37015 Depend on against $(link-rpcuserlibs).
37017 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37019 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37020 (__libc_stack_end): Do not use attribute_relro.
37021 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37022 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37023 to libthread-provided value.
37024 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37027 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37030 * bits/libc-lock.h (__libc_once_get): New macro.
37031 * sysdeps/mach/bits/libc-lock.h: Likewise.
37032 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37034 instead of using implementation details.
37036 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37037 * libio/freopen.c: Likewise.
37038 * libio/freopen64.c: Likewise.
37039 * misc/syslog.c: Likewise.
37040 * nscd/connections.c: Likewise.
37041 * nscd/netgroupcache.c: Likewise.
37042 * sysdeps/posix/getcwd.c: Likewise.
37044 2012-05-10 Roland McGrath <roland@hack.frob.com>
37046 * math/w_ilogbf.c: Add #include <limits.h>.
37048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37050 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37051 path instead of returning without unlocking.
37053 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37054 immediate-write ioctls.
37055 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37057 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37059 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37060 __builtin_frame_address instead of making assumptions about the
37061 location of the return address relative to DATA. Force early load of
37062 the return address.
37063 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37064 __builtin_frame_address.
37067 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37068 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37069 implement dup3 and do some further code clean-ups.
37070 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37075 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37077 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37078 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37079 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37080 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37081 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37084 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37085 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37086 when handler == SIG_ERR, not when handler != SIG_ERR.
37088 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37090 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37091 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37094 accept4 for GNU Hurd.
37095 * include/sys/socket.h (__libc_accept4): New prototype.
37096 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37097 to implement __libc_accept4.
37098 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37100 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37102 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37103 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37104 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37105 signal-defines.sym.
37107 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37109 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37113 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37114 assertion on O_CLOEXEC flag.
37115 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37116 * hurd/intern-fd.c: Likewise.
37117 * hurd/port2fd.c: Likewise.
37119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37122 * bits/in.h (IPV6_PKTINFO): Define new macro.
37123 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37125 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37130 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37132 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37133 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37135 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37136 * math/libm-test.inc (logb_test) : Additional logb tests.
37138 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37139 Andreas Jaeger <aj@suse.de>
37141 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37142 * configure: Regenerated.
37143 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37144 * config.make.in (link-obsolete-rpc): New substituted variable.
37145 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37146 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37147 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37148 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37149 so that libc.a contains the symbols.
37150 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37151 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37152 * sunrpc/auth_none.c: Likewise.
37153 * sunrpc/auth_unix.c: Likewise.
37154 * sunrpc/authdes_prot.c: Likewise.
37155 * sunrpc/authuxprot.c: Likewise.
37156 * sunrpc/clnt_gen.c: Likewise.
37157 * sunrpc/clnt_perr.c: Likewise.
37158 * sunrpc/clnt_raw.c: Likewise.
37159 * sunrpc/clnt_simp.c: Likewise.
37160 * sunrpc/clnt_tcp.c: Likewise.
37161 * sunrpc/clnt_udp.c: Likewise.
37162 * sunrpc/clnt_unix.c: Likewise.
37163 * sunrpc/des_crypt.c: Likewise.
37164 * sunrpc/des_soft.c: Likewise.
37165 * sunrpc/get_myaddr.c: Likewise.
37166 * sunrpc/key_call.c: Likewise.
37167 * sunrpc/key_prot.c: Likewise.
37168 * sunrpc/netname.c: Likewise.
37169 * sunrpc/pm_getmaps.c: Likewise.
37170 * sunrpc/pm_getport.c: Likewise.
37171 * sunrpc/pmap_clnt.c: Likewise.
37172 * sunrpc/pmap_prot.c: Likewise.
37173 * sunrpc/pmap_prot2.c: Likewise.
37174 * sunrpc/pmap_rmt.c: Likewise.
37175 * sunrpc/publickey.c: Likewise.
37176 * sunrpc/rpc_cmsg.c: Likewise.
37177 * sunrpc/rpc_common.c: Likewise.
37178 * sunrpc/rpc_dtable.c: Likewise.
37179 * sunrpc/rpc_prot.c: Likewise.
37180 * sunrpc/rpc_thread.c: Likewise.
37181 * sunrpc/rtime.c: Likewise.
37182 * sunrpc/svc.c: Likewise.
37183 * sunrpc/svc_auth.c: Likewise.
37184 * sunrpc/svc_raw.c: Likewise.
37185 * sunrpc/svc_run.c: Likewise.
37186 * sunrpc/svc_tcp.c: Likewise.
37187 * sunrpc/svc_udp.c: Likewise.
37188 * sunrpc/svc_unix.c: Likewise.
37189 * sunrpc/svcauth_des.c: Likewise.
37190 * sunrpc/xcrypt.c: Likewise.
37191 * sunrpc/xdr.c: Likewise.
37192 * sunrpc/xdr_array.c: Likewise.
37193 * sunrpc/xdr_float.c: Likewise.
37194 * sunrpc/xdr_intXX_t.c: Likewise.
37195 * sunrpc/xdr_mem.c: Likewise.
37196 * sunrpc/xdr_rec.c: Likewise.
37197 * sunrpc/xdr_ref.c: Likewise.
37198 * sunrpc/xdr_sizeof.c: Likewise.
37199 * sunrpc/xdr_stdio.c: Likewise.
37201 2012-05-10 Roland McGrath <roland@hack.frob.com>
37203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37204 change. Update copyright years.
37206 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37208 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37210 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37211 Joseph Myers <joseph@codesourcery.com>
37212 Paul Pluzhnikov <ppluzhnikov@google.com>
37215 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37217 [cross-compiling] (extra-libs): Likewise.
37218 [cross-compiling] (extra-libs-others): Likewise.
37219 [cross-compiling] (librpcsvc-routines): Likewise.
37220 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37221 [cross-compiling] (omit-deps): Likewise.
37222 (sunrpc-CPPFLAGS): New variable.
37223 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37224 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37225 (cross-rpcgen-objs): New variable.
37226 (extra-objs): Append $(cross-rpcgen-objs).
37227 ($(cross-rpcgen-objs)): New rule.
37228 ($(objpfx)cross-rpcgen): Likewise.
37229 (rpcgen-cmd): Define to use $(built-program-file). Expand
37231 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37232 ($(objpfx)x%.stmp): Likewise.
37233 * sunrpc/proto.h [IS_IN_build] (_): Define.
37234 [IS_IN_build] (_libc_intl_domainname): Likewise.
37236 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37238 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37239 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37240 and R_X86_64_TPOFF64.
37242 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37244 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37245 sysdeps/unix/sysv/syscalls.list.
37248 * sysdeps/unix/sysv/syscalls.list: Remove file.
37250 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
37253 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37254 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37255 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37256 (__LC_IDENTIFICATION): Make these macros useful in #if
37257 expressions, as required by C99.
37259 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
37261 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37262 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
37265 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
37267 * stdlib/longlong.h: Updated from GCC.
37269 2012-05-09 Andreas Jaeger <aj@suse.de>
37271 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37272 default is first entry.
37273 (run_mode): Set type.
37274 (main): Remove informal message about syslog.
37275 (options): Fix typo.
37278 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37281 (llrintf): Likewise.
37282 (llrint): Likewise.
37285 (nearbyint): Likewise.
37286 (nearbyintf): Likewise.
37288 2012-05-09 Andreas Jaeger <aj@suse.de>
37289 Pedro Alves <palves@redhat.com>
37291 * nscd/nscd.c (run_mode): Use enum.
37292 (main): Cleanup coding style issue.
37294 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
37295 Andreas Jaeger <aj@suse.de>
37297 * nscd/nscd.c (go_background): Replaced with...
37298 (run_mode): ... this.
37299 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37300 (options): Add -F --foreground.
37301 (main): Implement it.
37302 (parse_opt): Parse it.
37304 2012-05-09 Andreas Jaeger <aj@suse.de>
37307 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37308 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37309 -Wconversion warning.
37310 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37313 2012-05-09 Joseph Myers <joseph@codesourcery.com>
37315 * conform/data/locale.h-data (NULL): Use macro-constant. Require
37317 (LC_ALL): Use macro-int-constant.
37318 (LC_COLLATE): Likewise.
37319 (LC_CTYPE): Likewise.
37320 (LC_MESSAGES): Likewise.
37321 (LC_MONETARY): Likewise.
37322 (LC_NUMERIC): Likewise.
37323 (LC_TIME): Likewise.
37324 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37325 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37327 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37329 [C99-based standards] (float_t): Expect type.
37330 [C99-based standards] (double_t): Expect type.
37331 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
37333 [C99-based standards] (HUGE_VALL): Likewise.
37334 [C99-based standards] (INFINITY): Likewise.
37335 [C99-based standards] (NAN): Likewise.
37336 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37337 [C99-based standards] (FP_NAN): Likewise.
37338 [C99-based standards] (FP_NORMAL): Likewise.
37339 [C99-based standards] (FP_SUBNORMAL): Likewise.
37340 [C99-based standards] (FP_ZERO): Likewise.
37341 [C99-based standards] (FP_FAST_FMA): Use
37342 optional-macro-int-constant. Specify type. Require == 1.
37343 [C99-based standards] (FP_FAST_FMAF): Likewise.
37344 [C99-based standards] (FP_FAST_FMAL): Likewise.
37345 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37346 [C99-based standards] (FP_ILOGBNAN): Likewise.
37347 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37349 [C99-based standards] (MATH_ERREXCEPT): Likewise.
37350 [C99-based standards] (math_errhandling): Specify type.
37351 [ISO99 || ISO11] (signgam): Do not allow.
37352 [non-C99-based standards] (copysignf): Do not allow.
37353 [non-C99-based standards] (exp2f): Likewise.
37354 [non-C99-based standards] (log2f): Likewise.
37355 [non-C99-based standards] (modff): Allow.
37356 [non-C99-based standards] (erff): Do not allow.
37357 [non-C99-based standards] (erfcf): Likewise.
37358 [non-C99-based standards] (gammaf): Likewise.
37359 [non-C99-based standards] (hypotf): Likewise.
37360 [non-C99-based standards] (j0f): Likewise.
37361 [non-C99-based standards] (j1f): Likewise.
37362 [non-C99-based standards] (jnf): Likewise.
37363 [non-C99-based standards] (lgammaf): Likewise.
37364 [non-C99-based standards] (tgammaf): Likewise.
37365 [non-C99-based standards] (y0f): Likewise.
37366 [non-C99-based standards] (y1f): Likewise.
37367 [non-C99-based standards] (ynf): Likewise.
37368 [non-C99-based standards] (isnanf): Likewise.
37369 [non-C99-based standards] (acoshf): Likewise.
37370 [non-C99-based standards] (asinhf): Likewise.
37371 [non-C99-based standards] (atanhf): Likewise.
37372 [non-C99-based standards] (cbrtf): Likewise.
37373 [non-C99-based standards] (expm1f): Likewise.
37374 [non-C99-based standards] (ilogbf): Likewise.
37375 [non-C99-based standards] (log1pf): Likewise.
37376 [non-C99-based standards] (logbf): Likewise.
37377 [non-C99-based standards] (nextafterf): Likewise.
37378 [non-C99-based standards] (remainderf): Likewise.
37379 [non-C99-based standards] (rintf): Likewise.
37380 [non-C99-based standards] (scalbf): Likewise.
37381 [non-C99-based standards] (copysignl): Likewise.
37382 [non-C99-based standards] (exp2l): Likewise.
37383 [non-C99-based standards] (log2l): Likewise.
37384 [non-C99-based standards] (modfl): Allow.
37385 [non-C99-based standards] (erfl): Do not allow.
37386 [non-C99-based standards] (erfcl): Likewise.
37387 [non-C99-based standards] (gammal): Likewise.
37388 [non-C99-based standards] (hypotl): Likewise.
37389 [non-C99-based standards] (j0l): Likewise.
37390 [non-C99-based standards] (j1l): Likewise.
37391 [non-C99-based standards] (jnl): Likewise.
37392 [non-C99-based standards] (lgammal): Likewise.
37393 [non-C99-based standards] (tgammal): Likewise.
37394 [non-C99-based standards] (y0l): Likewise.
37395 [non-C99-based standards] (y1l): Likewise.
37396 [non-C99-based standards] (ynl): Likewise.
37397 [non-C99-based standards] (isnanl): Likewise.
37398 [non-C99-based standards] (acoshl): Likewise.
37399 [non-C99-based standards] (asinhl): Likewise.
37400 [non-C99-based standards] (atanhl): Likewise.
37401 [non-C99-based standards] (cbrtl): Likewise.
37402 [non-C99-based standards] (expm1l): Likewise.
37403 [non-C99-based standards] (ilogbl): Likewise.
37404 [non-C99-based standards] (log1pl): Likewise.
37405 [non-C99-based standards] (logbl): Likewise.
37406 [non-C99-based standards] (nextafterl): Likewise.
37407 [non-C99-based standards] (remainderl): Likewise.
37408 [non-C99-based standards] (rintl): Likewise.
37409 [non-C99-based standards] (scalbl): Likewise.
37410 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37411 [non-C99-based standards] (FP_*): Do not allow.
37412 [C99-based standards] (FP_*): Change to
37413 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37414 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37416 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37417 (SIG_ERR): Likewise.
37418 [X/Open-based standards] (SIG_HOLD): Likewise.
37419 (SIG_IGN): Likewise.
37420 (SIGABRT): Use macro-int-constant. Specify type. Require
37422 (SIGFPE): Likewise.
37423 (SIGILL): Likewise.
37424 (SIGINT): Likewise.
37425 (SIGSEGV): Likewise.
37426 (SIGTER): Likewise.
37427 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37431 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37432 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37433 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37434 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37435 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37436 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37437 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37438 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37439 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37440 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37441 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37442 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37443 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37444 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37445 [X/Open-based standards] (SIGTRAP): Likewise.
37446 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37447 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37448 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37449 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37450 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37453 2012-05-08 Ian Wienand <ianw@vmware.com>
37456 * time/tzset.c (__tzset_parse_tz): Update default rules for
37457 daylight time changes in the Energy Policy Act of 2005.
37459 2012-05-09 Andreas Jaeger <aj@suse.de>
37462 * elf/ldconfig.c (parse_conf): Change string to make clear that
37463 ldconfig only issued a warning if ld.so.conf does not exist.
37465 2012-05-08 David S. Miller <davem@davemloft.net>
37467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37468 movxtod instead of popping the value on the stack.
37470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37472 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37474 * config.h.in: Add HAVE_ARM_PCS_VFP.
37476 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37479 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37480 checking but the checks are disabled for any reason.
37482 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37484 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37485 and ELF64_R_TYPE with ELFW(R_TYPE).
37487 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37489 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37490 (ulimit): Likewise.
37492 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37493 (settimeofday): Likewise.
37495 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37497 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37498 a struct th_u2 inside the union, and move tu_block/tu_code into
37499 a new th_u3 union of tu_block/tu_code inside of that. Move
37500 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37501 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37502 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37503 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37504 (th_stuff): Change to th_u1.tu_stuff.
37506 (th_msg): Change to th_u1.th_u2.tu_data.
37508 2012-05-07 David S. Miller <davem@davemloft.net>
37510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37513 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37514 (SETUP_PIC_REG): Use it.
37515 (SETUP_PIC_REG_LEAF): Use it.
37517 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37521 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37523 (EXPL_FINITE): Likewise.
37524 (FLDLOG): Likewise.
37525 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37526 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37528 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37530 (EXPL_FINITE): Likewise.
37531 (FLDLOG): Likewise.
37532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37533 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37535 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37536 test of -max_value argument for long double.
37537 * sysdeps/i386/fpu/libm-test-ulps: Update.
37538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37540 2012-05-06 David S. Miller <davem@davemloft.net>
37542 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37543 quad soft-float symbols whose references which are compiler
37545 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37547 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37553 (EXPL_FINITE): Likewise.
37554 (FLDLOG): Likewise.
37557 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37558 Adjust comments for base varying.
37559 (__expl_finite): Change alias to EXPL_FINITE.
37560 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37562 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37563 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37564 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37565 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37566 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37568 (EXPL_FINITE): Likewise.
37569 (FLDLOG): Likewise.
37572 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37573 Adjust comments for base varying.
37574 (__expl_finite): Change alias to EXPL_FINITE.
37575 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37580 * math/libm-test.inc (check_float_internal): Correct ulp
37581 calculation for subnormal expected results.
37583 2012-05-06 Andreas Jaeger <aj@suse.de>
37585 * Makeconfig (+math-flags): New, set to -frounding-math.
37586 (+cflags): Add +math-flags so that all of glibc gets compiled with
37589 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37591 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37593 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37599 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37600 (__ieee754_expl): Allow for and saturate large arguments.
37601 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37602 (u_threshold): Likewise.
37603 (__exp): Call __ieee754_exp before checking for overflow and
37605 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37606 (u_threshold): Likewise.
37607 (__expf): Call __ieee754_expf before checking for overflow and
37609 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37610 (u_threshold): Likewise.
37611 (__expl): Call __ieee754_expl before checking for overflow and
37613 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37614 (__ieee754_expl): Allow for and saturate large arguments.
37615 * math/libm-test.inc (exp_test): Add another test. Do not allow
37616 missing overflow exception on overflow.
37617 (expm1_test): Do not allow missing overflow exception on overflow.
37619 * sysdeps/i386/fpu/e_expl.c: Move to ...
37620 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37621 rather than using inline asm.
37622 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37623 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37624 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37626 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37629 (signal): Likewise.
37633 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37635 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37636 sysdeps/unix/common/syscalls.list.
37637 (fchmod): Likewise.
37638 (fchown): Likewise.
37639 (ftruncate): Likewise.
37640 (getrusage): Likewise.
37641 (gettimeofday): Likewise.
37642 (setpgid): Likewise.
37643 (setregid): Likewise.
37644 (setreuid): Likewise.
37645 (sigaction): Likewise.
37646 (truncate): Likewise.
37647 (vhangup): Likewise.
37648 * sysdeps/unix/common/syscalls.list: Remove file.
37649 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37650 * sysdeps/unix/sysv/linux/Implies: Likewise.
37652 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37654 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37656 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37660 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37663 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37666 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37669 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37672 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37675 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37678 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37682 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37686 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37689 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37693 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37697 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37699 * sysdeps/unix/common/bits/dirent.h: Remove file.
37700 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37702 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37703 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37704 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37705 * sysdeps/unix/bsd/isatty.c: Likewise.
37706 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37707 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37708 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37710 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37714 long double comparison inaccuracies.
37715 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37718 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37720 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37723 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37727 nonzero digits before rounding a hex value.
37728 * stdlib/tst-strtod.c (tests): Add another test.
37730 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37732 * sysdeps/s390/fpu/libm-test-ulps: Update.
37734 2012-05-03 Andreas Jaeger <aj@suse.de>
37736 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37737 does not get optimized out.
37738 (malloc_opt_barrier): New.
37740 2012-05-03 Andreas Jaeger <aj@suse.de>
37741 Roland McGrath <roland@hack.frob.com>
37743 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37744 intermediate file deletion.
37745 (generated): Add .symlist files.
37747 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37750 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37751 Redirect under this condition.
37752 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37753 [__USE_GNU] (__dprintf_chk): Not under this condition.
37754 [__USE_GNU] (__vdprintf_chk): Likewise.
37755 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37756 under this condition.
37757 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37758 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37759 [__USE_XOPEN2K8] (vdprintf): Likewise.
37760 [__USE_GNU] (__dprintf_chk): Not under this condition.
37761 [__USE_GNU] (__vdprintf_chk): Likewise.
37762 [__USE_GNU] (dprintf): Likewise.
37763 [__USE_GNU] (vdprintf): Likewise.
37765 2012-05-03 Roland McGrath <roland@hack.frob.com>
37767 * elf/Makefile (common-generated): Set this instead of generated for
37768 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37769 $(all-built-dso)-derived lists.
37771 2012-05-03 Andreas Jaeger <aj@suse.de>
37773 * sysdeps/i386/fpu/libm-test-ulps: Update.
37776 * FAQ.in: Likewise.
37777 * scripts/gen-FAQ.pl: Likewise.
37778 * manual/install.texi (Installation): Point to online location of
37780 * Makefile (files-for-dist): Remove FAQ.
37783 2012-05-02 Allan McRae <allan@archlinux.org>
37785 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37786 (LDFLAGS-reldepmod5.so): Likewise.
37787 (LDFLAGS-reldep6mod1.so): Likewise.
37788 (LDFLAGS-reldep6mod4.so): Likewise.
37789 (LDFLAGS-reldep8mod3.so): Likewise.
37790 (LDFLAGS-unload4mod1.so): Likewise.
37791 (LDFLAGS-unload4mod2.so): Likewise.
37792 (LDFLAGS-tst-initorder): Likewise.
37793 (LDFLAGS-tst-initordera2.so): Likewise.
37794 (LDFLAGS-tst-initordera3.so): Likewise.
37795 (LDFLAGS-tst-initordera4.so): Likewise.
37796 (LDFLAGS-tst-initorderb2.so): Likewise.
37797 (LDFLAGS-noload): Likewise.
37798 (LDFLAGS-next): Likewise.
37799 (LDFLAGS-order2mod1.so): Likewise.
37800 (LDFLAGS-order2mod2.so): Likewise.
37801 (LDFLAGS-tst-initorder2): Likewise.
37802 (LDFLAGS-tst-initorder2a.so): Likewise.
37803 (LDFLAGS-tst-initorder2b.so): Likewise.
37804 (LDFLAGS-tst-initorder2c.so): Likewise.
37805 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37807 2012-05-02 David S. Miller <davem@davemloft.net>
37809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37811 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37814 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37816 2012-05-02 Andreas Jaeger <aj@suse.de>
37818 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37819 since we manipulate rounding mode.
37820 (CPPFLAGS-test-idouble.c): Likewise.
37821 (CPPFLAGS-test-ifloat.c): Likewise.
37822 (CFLAGS-test-ldouble.c): Likewise.
37823 (CFLAGS-test-double.c): Likewise.
37824 (CFLAGS-test-float.c): Likewise.
37825 (CFLAGS-test-misc.c): Likewise.
37826 (CFLAGS-test-test-fenv.c): Likewise.
37828 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37833 comparisons to determine direction to adjust input.
37835 2012-05-01 Roland McGrath <roland@hack.frob.com>
37837 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37838 output to the target.
37840 * scripts/localplt.awk: New file.
37841 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37842 (check-localplt-CFLAGS): Variable removed.
37843 ($(all-built-dso:=.jmprel)): New static pattern rule.
37844 (generated): Add those targets.
37845 (localplt-built-dso): New variable.
37846 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37848 * elf/check-localplt.c: File removed.
37850 * scripts/check-execstack.awk: New file.
37851 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37852 (check-execstack-CFLAGS): Variable removed.
37853 ($(objpfx)check-execstack.h): Target removed.
37854 ($(objpfx)execstack-default): New target.
37855 (generated): Add that instead of check-execstack.h.
37856 ($(all-built-dso:=.phdr)): New static pattern rule.
37857 (generated): Add those targets.
37858 * elf/check-execstack.c: File removed.
37860 * scripts/check-textrel.awk: New file.
37861 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37862 (check-textrel-CFLAGS): Variable removed.
37863 (all-built-dso): Use := to define.o
37864 ($(all-built-dso:=.dyn)): New static pattern rule.
37865 (generated): Add those targets.
37866 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37867 * config.make.in (READELF): New substituted variable.
37868 * elf/check-textrel.c: File removed.
37870 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37872 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37874 * conform/data/ctype.h-data [C99-based standards] (isblank):
37876 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37877 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37879 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37880 Specify type. Require positive value.
37881 (EILSEQ): Likewise.
37882 (ERANGE): Likewise.
37883 [ISO || POSIX] (EILSEQ): Do not expect.
37884 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37885 Specify type. Require positive value.
37886 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37887 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37888 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37889 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37890 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37891 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37892 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37893 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37894 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37895 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37896 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37897 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37898 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37899 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37900 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37901 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37902 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37903 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37904 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37905 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37906 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37907 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37908 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37909 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37910 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37911 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37912 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37913 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37914 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37915 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37916 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37917 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37918 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37919 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37920 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37921 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37922 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37923 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37924 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37925 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37926 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37927 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37928 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37929 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37930 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37931 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37932 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37933 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37934 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37935 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37936 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37937 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37938 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37939 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37940 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37941 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37942 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37943 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37944 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37945 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37946 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37947 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37948 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37949 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37950 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37951 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37952 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37953 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37954 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37955 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37956 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37957 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37958 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37959 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37960 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37961 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37962 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37964 (FLT_ROUNDS): Expect as macro, not constant.
37965 (FLT_MANT_DIG): Use macro-int-constant.
37966 (DBL_MANT_DIG): Likewise.
37967 (LDBL_MANT_DIG): Likewise.
37968 (FLT_DIG): Likewise.
37969 (DBL_DIG): Likewise.
37970 (LDBL_DIG): Likewise.
37971 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37972 (DBL_MIN_EXP): Likewise.
37973 (LDBL_MIN_EXP): Likewise.
37974 (FLT_MAX_EXP): Use macro-int-constant.
37975 (DBL_MAX_EXP): Likewise.
37976 (LDBL_MAX_EXP): Likewise.
37977 (FLT_MAX_10_EXP): Likewise.
37978 (DBL_MAX_10_EXP): Likewise.
37979 (LDBL_MAX_10_EXP): Likewise.
37980 (FLT_MAX): Use macro-constant.
37981 (DBL_MAX): Likewise.
37982 (LDBL_MAX): Likewise.
37983 (FLT_EPSILON): Use macro-constant. Give upper bound.
37984 (DBL_EPSILON): Likewise.
37985 (LDBL_EPSILON): Likewise.
37986 (FLT_MIN): Likewise.
37987 (DBL_MIN): Likewise.
37988 (LDBL_MIN): Likewise.
37989 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37990 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37991 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37992 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37993 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37994 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37995 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37996 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37997 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37998 [ISO11] (FLT_TRUE_MIN): Likewise.
37999 [ISO11] (LDBL_TRUE_MIN): Likewise.
38000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38001 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38002 (SCHAR_MIN): Use macro-int-constant. Specify type.
38003 (SCHAR_MAX): Likewise.
38004 (UCHAR_MAX): Likewise.
38005 (CHAR_MIN): Likewise.
38006 (CHAR_MAX): Likewise.
38007 (MB_LEN_MAX): Use macro-int-constant.
38008 (SHRT_MIN): Use macro-int-constant. Specify type.
38009 (SHRT_MAX): Likewise.
38010 (USHRT_MAX): Likewise.
38011 (INT_MAX): Likewise.
38012 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38014 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38016 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38018 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38019 bound negative. Suffix upper bound with "L".
38020 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38022 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38024 [C99-based standards] (LLONG_MAX): Likewise.
38025 [C99-based standards] (ULLONG_MAX): Likewise.
38026 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38028 [ISO11] (max_align_t): Require type.
38029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38031 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38032 from $CFLAGS, without defining away __attribute__ calls.
38033 (checknamespace): Use $CFLAGS_namespace.
38035 * conform/conformtest.pl (@keywords): Only include C99 keywords
38036 for standards based on C99 or C11.
38038 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38040 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38043 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38044 usability of symbols in #if.
38046 * conform/conformtest.pl: If macro or constant types start
38047 "promoted:", expect the symbol to be of the following type
38048 promoted by the integer promotions.
38050 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38051 in one place. Also handle "macro-constant".
38053 * conform/conformtest.pl: Only accept expected macro values with
38054 "==". Parse all "macro" lines in one place.
38055 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38057 * conform/conformtest.pl: Handle braced types on "constant" lines
38058 instead of handling "typed-constant".
38059 * conform/data/signal.h-data: Use "constant" instead of
38062 * conform/conformtest.pl: Handle "optional-" at start of lines in
38063 one place rather than duplicating several cases. Handle each
38064 format of "macro" line with initial "optional-".
38066 * conform/conformtest.pl: Only accept expected constant or
38067 optional-constant values with "==". Parse all "constant" lines in
38068 one place. Parse all "optional-constant" lines in one place.
38069 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38070 * conform/data/fmtmsg.h-data: Likewise.
38071 * conform/data/netinet/in.h-data: Likewise.
38072 * conform/data/tar.h-data: Likewise.
38073 * conform/data/limits.h-data: Use "==" form on "constant" and
38074 "optional-constant" lines.
38076 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38077 Use -std=c99 for XOPEN2K.
38078 (@knownproblems): Remove.
38079 (newtoken): Don't check %isknown.
38081 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38082 Do not expect macro.
38083 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38084 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38085 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38086 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38087 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38088 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38089 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38090 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38091 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38092 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38093 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38094 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38095 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38096 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38097 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38098 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38099 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38100 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38101 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38102 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38103 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38105 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38106 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38107 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38108 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38109 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38110 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38111 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38112 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38113 [XPG3] (acosh): Likewise.
38114 [XPG3] (asinh): Likewise.
38115 [XPG3] (atanh): Likewise.
38116 [XPG3] (cbrt): Likewise.
38117 [XPG3] (expm1): Likewise.
38118 [XPG3] (ilogb): Likewise.
38119 [XPG3] (log1p): Likewise.
38120 [XPG3] (logb): Likewise.
38121 [XPG3] (nextafter): Likewise.
38122 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38123 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38124 [XPG3] (remainder): Likewise.
38125 [XPG3] (rint): Likewise.
38126 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38127 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38128 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38129 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38130 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38131 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38132 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38133 [UNIX98 || XOPEN2K] (scalb): Expect.
38134 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38135 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38136 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38137 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38138 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38139 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38140 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38141 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38142 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38143 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38144 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38145 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38146 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38147 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38148 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38149 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38150 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38151 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38152 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38153 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38154 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38155 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38156 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38157 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38158 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38159 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38160 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38161 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38162 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38163 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38164 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38165 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38166 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38167 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38168 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38169 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38170 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38171 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38172 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38173 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38174 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38175 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38176 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38177 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38178 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38179 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38180 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38181 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38182 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38183 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38184 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38185 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38186 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38187 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38188 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38189 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38190 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38191 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38192 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38193 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38194 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38195 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38196 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38197 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38198 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38199 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38200 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38201 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38202 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38203 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38204 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38205 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38206 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38207 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38208 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38209 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38210 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38211 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38212 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38213 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38214 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38215 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38216 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38217 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38218 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38219 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38220 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38221 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38222 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38223 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38224 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38225 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38226 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38227 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38228 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38229 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38230 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38231 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38232 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38233 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38234 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38235 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38236 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38237 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38238 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38239 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38240 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38241 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38242 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38243 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38244 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38245 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38246 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38247 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38248 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38249 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38250 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38251 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38252 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38253 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38254 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38255 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38256 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38257 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38258 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38259 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38260 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38261 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38262 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38263 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38264 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38265 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38266 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38267 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38268 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38269 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38270 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38272 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38273 _XOPEN_SOURCE_EXTENDED for XPG4.
38275 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38277 * Makeconfig (localtime): Remove variable.
38278 (inst_localtime-file): Likewise.
38280 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38301 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38305 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38306 comparisons to determine direction to adjust input.
38307 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38308 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38313 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38315 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38316 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38318 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38320 * math/libm-test.inc (nexttoward_test): Add more tests.
38322 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
38325 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38326 in version GLIBC_2.1, not GLIBC_2.0.
38327 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38330 2012-04-30 Joseph Myers <joseph@codesourcery.com>
38333 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38335 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38336 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38337 * math/libm-test.inc (acos_test): Add more tests.
38338 (asin_test): Likewise.
38339 * sysdeps/i386/fpu/libm-test-ulps: Update.
38340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38343 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38345 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38346 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38347 * math/libm-test.inc (acos_test_tonearest): New function.
38348 (acos_test_towardzero): Likewise.
38349 (acos_test_downward): Likewise.
38350 (acos_test_upward): Likewise.
38351 (asin_test_tonearest): Likewise.
38352 (asin_test_towardzero): Likewise.
38353 (asin_test_downward): Likewise.
38354 (asin_test_upward): Likewise.
38355 (main): Call the new functions.
38356 * sysdeps/i386/fpu/libm-test-ulps: Update.
38357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38361 * math/e_exp10.c: Include <float.h>.
38362 (__ieee754_exp10): Handle underflow here rather than multiplying
38363 large negative argument by M_LN10.
38364 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38366 * math/e_exp10l.c: Include <float.h>.
38367 (__ieee754_exp10l): Handle underflow here rather than multiplying
38368 large negative argument by M_LN10l.
38369 * math/libm-test.inc (exp10_test): Add another test. Do not allow
38370 spurious overflow exception on underflow.
38372 2012-04-29 Marek Polacek <polacek@redhat.com>
38374 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38375 (__fortify_function): New macro.
38376 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38377 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38378 __extern_always_inline.
38379 * libio/bits/stdio2.h: Likewise.
38380 * libio/bits/stdio.h: Likewise.
38381 * string/string.h: Likewise.
38382 * string/bits/string3.h: Likewise.
38383 * include/stdio.h: Likewise.
38384 * stdlib/bits/stdlib.h: Likewise.
38385 * stdlib/stdlib.h: Likewise.
38386 * rt/bits/mqueue2.h: Likewise.
38387 * rt/mqueue.h: Likewise.
38388 * posix/bits/unistd.h: Likewise.
38389 * posix/unistd.h: Likewise.
38390 * io/bits/poll2.h: Likewise.
38391 * io/bits/fcntl2.h: Likewise.
38392 * io/fcntl.h: Likewise.
38393 * io/sys/poll.h: Likewise.
38394 * misc/bits/syslog.h: Likewise.
38395 * misc/bits/syslog-ldbl.h: Likewise.
38396 * misc/sys/syslog.h: Likewise.
38397 * socket/bits/socket2.h: Likewise.
38398 * socket/sys/socket.h: Likewise.
38399 * debug/tst-chk1.c: Likewise.
38400 * wcsmbs/bits/wchar2.h: Likewise.
38401 * wcsmbs/bits/wchar-ldbl.h: Likewise.
38402 * wcsmbs/wchar.h: Likewise.
38404 2012-04-29 Andreas Jaeger <aj@suse.de>
38406 * Makerules (tests): Remove enable-check-abi protection.
38407 (check-abi-warn): Remove.
38408 (check-abi-%): Remove check-abi-warn usage.
38410 * configure.in: Remove check-abi configure option.
38411 * configure: Regenerated.
38412 * config.make.in (enable-check-abi): Remove.
38414 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
38417 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38418 double functions to double *_finite functions.
38421 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38422 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38424 * stdio-common/Makefile (tests): Add tst-sprintf3.
38425 * stdio-common/tst-sprintf3.c: New file.
38427 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38428 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38430 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38432 * conform/conformtest.pl: Remove duplicate typed-constant
38435 2012-04-28 David S. Miller <davem@davemloft.net>
38437 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38438 (check-abi-%): Remove AWK script prerequisite and explicit
38440 (check-abi): Rewrite to just diff the symlist with the abilist.
38441 (config-tls, config-abi-config): Delete, no longer used.
38442 (update-abi-%): Remove AWK script and explicit abilist directory.
38443 (update-abi): Rewrite to simply compare and conditionally copy the
38444 symlist and the sysdep abilist file. Remove update-abi-config
38446 * abilist/ld.abilist: Remove.
38447 * abilist/libBrokenLocale.abilist: Remove.
38448 * abilist/libanl.abilist: Remove.
38449 * abilist/libcrypt.abilist: Remove.
38450 * abilist/libdl.abilist: Remove.
38451 * abilist/librt.abilist: Remove.
38452 * abilist/libthread_db.abilist: Remove.
38453 * abilist/libutil.abilist: Remove.
38454 * scripts/extract-abilist.awk: Remove.
38455 * scripts/merge-abilist.awk: Remove.
38456 * sysdeps/generic/libcidn.abilist: New file.
38457 * sysdeps/generic/libnss_compat.abilist: New file.
38458 * sysdeps/generic/libnss_db.abilist: New file.
38459 * sysdeps/generic/libnss_dns.abilist: New file.
38460 * sysdeps/generic/libnss_files.abilist: New file.
38461 * sysdeps/generic/libnss_hesiod.abilist: New file.
38462 * sysdeps/generic/libnss_nis.abilist: New file.
38463 * sysdeps/generic/libnss_nisplus.abilist: New file.
38464 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38465 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38466 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38468 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38469 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38470 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38471 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38472 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38473 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38474 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38475 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38476 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38478 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38479 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38480 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38481 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38483 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38484 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38485 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38486 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38487 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38488 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38490 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38491 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38492 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38494 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38597 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38598 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38599 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38602 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38603 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38604 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38605 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38606 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38607 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38608 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38609 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38610 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38662 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38664 * conform/conformtest.pl: Fix typo in handling typed-constant from
38667 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38669 * README: Cut down references to pre-2.6 Linux kernels and
38670 Linuxthreads. Update lists of configurations in libc and ports
38671 and sort alphabetically. Say "or newer" with Linux kernel version
38674 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38676 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38679 * math/libm-test.inc (logb_test_downward): New test to expose
38680 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38683 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38686 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38688 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38689 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38691 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38693 * sysdeps/unix/i386/brk.S: Remove file.
38694 * sysdeps/unix/i386/dl-brk.S: Likewise.
38695 * sysdeps/unix/i386/pipe.S: Likewise.
38696 * sysdeps/unix/i386/sigreturn.S: Likewise.
38697 * sysdeps/unix/i386/syscall.S: Likewise.
38698 * sysdeps/unix/i386/vfork.S: Likewise.
38699 * sysdeps/unix/i386/wait.S: Likewise.
38701 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38702 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38704 * configure.in (arm*-none*): Do not allow without
38705 --enable-hacker-mode.
38706 (netbsd*): Remove case setting base_os.
38707 (386bsd*): Likewise.
38708 (freebsd*): Likewise.
38711 (sunos*): Likewise.
38712 (ultrix*): Likewise.
38713 (newsos*): Likewise.
38714 (dynix*): Likewise.
38720 (minix*): Likewise.
38721 (irix4*): Likewise.
38722 (irix6*): Likewise.
38723 (solaris[2-9]*): Likewise.
38725 * configure: Regenerated.
38727 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38730 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38731 overflow or cancellation in calculating denominator.
38732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38733 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38734 down expression to avoid unexpected rounding in newer GCCs.
38735 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38737 2012-04-26 David S. Miller <davem@davemloft.net>
38739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38740 long-double compat symbols.
38741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38755 2012-04-25 David S. Miller <davem@davemloft.net>
38757 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38758 HWCAP_* values only after the memory barriers have been defined.
38759 (atomic_full_barrier): Define.
38760 (atomic_read_barrier): Define.
38761 (atomic_write_barrier): Define.
38763 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38765 * shlib-versions: Add libgcc_s version information.
38766 * sysdeps/generic/libgcc_s.h: Remove.
38767 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38769 * sysdeps/gnu/unwind-resume.c: Likewise.
38770 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38772 2012-04-25 David S. Miller <davem@davemloft.net>
38774 * sysdeps/unix/sparc/brk.S: Delete.
38775 * sysdeps/unix/sparc/dl-brk.S: Delete.
38776 * sysdeps/unix/sparc/pipe.S: Delete.
38777 * sysdeps/unix/sparc/sysdep.S: Delete.
38778 * sysdeps/unix/sparc/sysdep.h: Delete.
38779 * sysdeps/unix/sparc/vfork.S: Delete.
38780 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38781 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38782 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38783 (ret_ERRVAL, r0, r1, MOVE): Define.
38784 (JUMPTARGET): Remove.
38785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38786 sysdeps/unix/sparc/sysdep.h
38787 (ENTRY, END): Remove.
38788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38790 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38792 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38793 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38796 * timezone/README: Update upstream location and email address for
38798 * timezone/zdump.c: Update from tzcode 2012b.
38799 * timezone/zic.c: Likewise.
38801 * configure.in (libc_cv_as_needed): Remove test.
38802 * configure: Regenerated.
38803 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38804 conditional definition.
38805 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38806 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38807 * config.make.in (have-as-needed): Remove variable.
38809 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38810 Paul Pluzhnikov <ppluzhnikov@google.com>
38812 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38815 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38817 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38818 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38819 * sysdeps/sh/strlen.S: Likewise.
38821 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38823 * sysdeps/unix/fork.S: Remove file.
38824 * sysdeps/unix/i386/fork.S: Likewise.
38825 * sysdeps/unix/sparc/fork.S: Likewise.
38827 * sysdeps/unix/system.c: Remove file.
38828 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38830 * sysdeps/unix/getegid.S: Remove file.
38831 * sysdeps/unix/geteuid.S: Likewise.
38833 2012-04-24 Roland McGrath <roland@hack.frob.com>
38835 * scripts/check-localplt.awk: New file.
38836 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38838 * scripts/data/localplt-generic.data: Add a comment.
38840 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38841 NODE when __dir_mkfile failed.
38842 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38843 Reported by Ludovic Courtès <ludo@gnu.org>.
38845 2012-04-24 Andreas Jaeger <aj@suse.de>
38847 * Makerules (common-clean): Also remove gen-as-const-headers
38850 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38852 * Makerules (native-compile): Do not change working directory for
38853 build. Use $(OUTPUT_OPTION) in command.
38854 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38856 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38859 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38860 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38861 * math/libm-test.inc (floor_test): Add more tests.
38862 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38864 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38866 * sysdeps/unix/getdents.c: Remove file.
38867 * sysdeps/unix/sysv/getdents.c: Likewise.
38868 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38870 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38871 sysdeps/unix/mman/syscalls.list.
38873 (mprotect): Likewise.
38875 (munmap): Likewise.
38876 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38877 * sysdeps/unix/mman/syscalls.list: Remove.
38878 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38880 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38881 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38882 * configure: Regenerated.
38883 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38884 $(libgcc_s_suffix).
38885 * config.make.in (libgcc_s_suffix): Remove variable.
38887 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38889 * sysdeps/unix/sysv/gethostname.c: Move to ...
38890 * sysdeps/posix/gethostname.c: ... here.
38892 * sysdeps/unix/execve.S: Remove file.
38894 * sysdeps/unix/_exit.S: Remove file.
38896 2012-04-23 Andreas Jaeger <aj@suse.de>
38899 * manual/Makefile: Remove make dist support, there's no
38900 need for a stand-alone documentation tar ball.
38901 (TEXI2DVI): Define always, it's not in Makeconfig.
38904 (edition): Removed.
38905 (glibc-doc-$(edition).tar): Removed
38909 (ETAGS): Remove, it's in Makeconfig.
38910 (move-if-change): Remove, it's in Makeconfig.
38912 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38915 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38916 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38917 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38918 (strtod_l, strtof_l, strtold_l): Remove __wur.
38919 It is not necessarily an error to ignore strtol's return value.
38920 One can reliably look at the stored endptr to decide whether
38921 the number had valid syntax.
38923 2012-04-21 Andreas Jaeger <aj@suse.de>
38926 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38928 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38930 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38931 * sysdeps/unix/sysv/Versions: Remove file.
38933 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38938 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38942 version from __vm86.
38944 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38946 * sysdeps/unix/common/lxstat.c: Remove file.
38947 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38949 * sysdeps/unix/sysv/Makefile: Remove file.
38951 * sysdeps/unix/sysv/direct.h: Remove file.
38953 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38954 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38955 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38956 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38957 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38958 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38959 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38961 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38963 * sysdeps/unix/xmknod.c: Remove file.
38964 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38966 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38968 * sysdeps/unix/sysv/i386/time.S: Remove file.
38970 * sysdeps/unix/fxstat.c: Remove file.
38971 * sysdeps/unix/xstat.c: Likewise.
38972 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38974 * sysdeps/unix/sysv/sigaction.c: Remove file.
38976 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38977 (sysdep_headers): Remove variable.
38978 [termio.h not in sysdep_headers] (generated): Likewise.
38979 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38980 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38981 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38982 * sysdeps/unix/sysv/tcflow.c: Likewise.
38983 * sysdeps/unix/sysv/tcflush.c: Likewise.
38984 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38985 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38986 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38987 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38988 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38990 * sysdeps/unix/siglist.c: Remove file.
38992 * sysdeps/unix/getppid.S: Remove file.
38994 * sysdeps/unix/mkdir.c: Remove file.
38995 * sysdeps/unix/rmdir.c: Likewise.
38997 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38999 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39001 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39002 errlist-compat value.
39004 2012-04-18 David S. Miller <davem@davemloft.net>
39006 * sysdeps/generic/memcopy.h (reg_char): Delete.
39007 * debug/strcat_chk.c: Use char, not reg_char.
39008 * debug/strcpy_chk.c: Likewise.
39009 * debug/strncat_chk.c: Likewise.
39010 * debug/strncpy_chk.c: Likewise.
39011 * string/memchr.c: Likewise.
39012 * string/memrchr.c: Likewise.
39013 * string/rawmemchr.c: Likewise.
39014 * string/strcat.c: Likewise.
39015 * string/strchr.c: Likewise.
39016 * string/strchrnul.c: Likewise.
39017 * string/strcmp.c: Likewise.
39018 * string/strcpy.c: Likewise.
39019 * string/strncat.c: Likewise.
39020 * string/strncmp.c: Likewise.
39021 * string/strncpy.c: Likewise.
39023 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39025 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39026 __builtin_memcopy is called when src and dest ranges are known to not
39029 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39032 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39033 fwd_align_merge macro call.
39034 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39035 bwd_align_merge macro call.
39036 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39038 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39040 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39041 bwd_align_merge macros.
39042 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39043 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39044 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39046 2012-04-18 David S. Miller <davem@davemloft.net>
39048 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39050 2012-04-18 Andreas Jaeger <aj@suse.de>
39053 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39054 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39055 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39058 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39059 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39061 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39062 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39063 Adjust for changed ldbl-128 files.
39065 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39066 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39067 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39069 2012-04-17 David S. Miller <davem@davemloft.net>
39071 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39073 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39075 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39076 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39077 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39078 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39079 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39080 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39082 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39085 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39086 * math/libm-test.inc: Add ilogb errno and exception tests.
39087 * math/w_ilogb.c: New file: ilogb wrapper.
39088 * math/w_ilogbf.c: New file: ilogbf wrapper.
39089 * math/w_ilogbl.c: New file: ilogbl wrapper.
39090 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39091 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39092 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39093 exception being thrown with 0.0 as argument.
39094 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39095 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39096 exception being thrown with 0.0 as argument.
39097 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39098 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39099 exception being thrown with 0.0 as argument.
39100 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39101 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39102 exception being thrown with 0.0 as argument.
39103 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39104 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39105 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39106 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39107 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39108 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39109 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39110 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39111 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39113 2012-04-17 Petr Baudis <pasky@ucw.cz>
39115 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39118 2012-04-16 Marek Polacek <polacek@redhat.com>
39120 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39122 2012-04-16 Marek Polacek <polacek@redhat.com>
39124 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39125 operands of fdivp instruction.
39127 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39129 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39130 * elf/tst-auditmod3b.c: Likewise.
39131 * elf/tst-auditmod4b.c: Likewise.
39132 * elf/tst-auditmod5b.c: Likewise.
39133 * elf/tst-auditmod6b.c: Likewise.
39134 * elf/tst-auditmod6c.c: Likewise.
39135 * elf/tst-auditmod7b.c: Likewise.
39136 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39137 * sysdeps/x86_64/preconfigure.in: Likewise.
39138 * sysdeps/x86_64/preconfigure: Regenerated.
39140 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39142 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39145 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
39147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39148 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39150 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39153 * locale/iso-639.def: Fix gl language name. Spotted by
39156 2012-04-12 Roland McGrath <roland@hack.frob.com>
39159 * libio/libio.h (__io_write_fn): Update comment.
39161 2012-04-12 Petr Baudis <pasky@ucw.cz>
39164 * stdio.texi (Hook Functions): The user provided writer function
39165 is not allowed to return -1.
39167 2012-04-11 David S. Miller <davem@davemloft.net>
39169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39171 2012-04-11 Mike Frysinger <vapier@gentoo.org>
39173 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39174 Add a leading slash to rtkaio.
39176 2012-04-11 Jim Meyering <meyering@redhat.com>
39179 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39180 It is not necessarily an error to ignore fwrite's return
39181 value. One can reliably use ferror to test for errors after
39184 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39186 * bits/types.h (__snseconds_t): New type.
39187 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39189 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39191 (__SNSECONDS_T_TYPE): Likewise.
39192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39193 (__SNSECONDS_T_TYPE): Likewise.
39194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39195 (__SNSECONDS_T_TYPE): Likewise.
39197 2012-04-10 Andreas Jaeger <aj@suse.de>
39200 * manual/time.texi (Processor Time): Return type of times is
39201 elapsed real time since an arbitrary point in the past.
39202 (CPU Time): Move CLK_TCK from here...
39203 (Processor Time): ...to here. Correct description.
39204 * manual/conf.texi (Constants for Sysconf): Correct description of
39207 2012-04-10 David S. Miller <davem@davemloft.net>
39210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39211 where the is a gap between DT_REL(A) and DT_JMPREL.
39213 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39215 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39216 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39217 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39219 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39221 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39222 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39223 (dl_main): Handle --inhibit-cache.
39224 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39226 * elf/dl-load.c (_dl_map_object): Use it.
39227 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39229 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39232 * sysdeps/i386/fpu/e_powl.S (p78): New object.
39233 (__ieee754_powl): Saturate large exponents rather than testing for
39234 overflow of y*log2(x).
39235 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39236 * math/libm-test.inc (pow_test): Do not permit spurious overflow
39240 * math/s_ctan.c: Include <float.h>.
39241 (__ctan): Avoid internal overflow or cancellation in calculating
39243 * math/s_ctanf.c: Likewise.
39244 * math/s_ctanl.c: Likewise.
39245 * math/s_ctanh.c: Likewise.
39246 * math/s_ctanhf.c: Likewise.
39247 * math/s_ctanhl.c: Likewise.
39248 * math/libm-test.inc (ctan_test): Add more tests.
39249 (ctanh_test): Likewise.
39250 * sysdeps/i386/fpu/libm-test-ulps: Update.
39251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39253 2012-04-09 Andreas Jaeger <aj@suse.de>
39256 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39257 is an optional BSD extension.
39260 * manual/stdio.texi (Opening Streams): Document additional fopen
39263 2012-04-09 Roland McGrath <roland@hack.frob.com>
39265 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39266 %eax without telling the compiler.
39268 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
39271 * manual/install.texi: Use sourceware.org.
39273 2012-04-09 Joseph Myers <joseph@codesourcery.com>
39276 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39277 (__ieee754_pow): Generate overflow and underflow using huge*huge
39278 and tiny*tiny rather than just returning constant infinity or zero
39279 for large exponents.
39280 * math/libm-test.inc (pow_test): Require overflow exceptions for
39281 applicable cases of large exponents.
39284 * sysdeps/i386/fpu/e_pow.S (p10): New object.
39285 (__ieee754_pow): Use iterative multiplication algorithm only for
39286 integer exponents with absolute value below 1024. Check for odd
39287 integer exponents when using algorithm for real exponents.
39288 * math/libm-test.inc (pow_test): Add more tests.
39289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39291 2012-04-08 Joseph Myers <joseph@codesourcery.com>
39294 * math/libm-test.inc (exp_test): Do not allow overflow exception
39297 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
39300 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39301 instead of __kernel_standard_f.
39303 2012-04-08 Mike Frysinger <vapier@gentoo.org>
39305 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39306 * sysdeps/x86_64/memset_chk.S: Likewise.
39308 2012-04-08 Andreas Jaeger <aj@suse.de>
39311 * manual/startup.texi (Environment Access): Describe return value
39312 for putenv and setenv.
39315 * manual/filesys.texi (Directory Entries): Add description for
39319 * manual/filesys.texi (Directory Entries): Clarify that it's file
39320 system not operating system in the description of DT_UNKNOWN.
39323 * manual/syslog.texi (closelog): Fix reference, it's openlog.
39325 2012-04-08 Stephen Compall <s11@member.fsf.org>
39328 * manual/llio.texi (Opening and Closing Files): Add cross
39329 reference to explain mode argument.
39331 2012-04-07 Mike Frysinger <vapier@gentoo.org>
39333 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39334 * sysdeps/x86_64/memset_chk.S: Likewise.
39336 2012-04-07 David S. Miller <davem@davemloft.net>
39338 * elf/elf.h (R_SPARC_WDISP10): Define.
39339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39341 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39342 R_SPARC_SIZE64 and R_SPARC_H34.
39344 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
39346 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39347 conditions and remove no longer applicable assertion.
39349 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39351 * bits/byteswap.h: Include <features.h>.
39352 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39353 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39355 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39357 * bits/byteswap.h (__bswap_16): Removed.
39358 Include <bits/byteswap-16.h> to get __bswap_16.
39359 * sysdeps/i386/bits/byteswap.h: Likewise.
39360 * sysdeps/s390/bits/byteswap.h: Likewise.
39361 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39362 * bits/byteswap-16.h: New file.
39363 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39364 * sysdeps/s390/bits/byteswap-16.h: Likewise.
39365 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39366 * string/Makefile (headers): Add bits/byteswap-16.h.
39368 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39371 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39373 * nss/Makefile (tests-static, tests): Add tst-nss-static.
39374 * nss/tst-nss-static.c: New.
39376 2012-04-06 Robert Millan <rmh@gnu.org>
39379 * manual/llio.texi (File Position Primitive): lseek
39380 refers to WHENCE when it really means OFFSET.
39382 2012-04-06 Andreas Jaeger <aj@suse.de>
39384 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39385 strncmp declarations.
39387 * abilist/libc.abilist: Add __poll and __ppoll.
39389 2012-04-05 David S. Miller <davem@davemloft.net>
39391 * scripts/check-local-headers.sh: Accept a host triplet in the
39392 path matched by the exclude regexp.
39394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39396 * sysdeps/powerpc/powerpc32/dl-machine.h
39397 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39398 * sysdeps/s390/s390-32/dl-machine.h
39399 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39400 * sysdeps/sparc/sparc32/dl-machine.h
39401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39402 * sysdeps/sparc/sparc64/dl-machine.h
39403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39405 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39407 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39408 undefined symbol errors.
39410 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39413 2012-04-05 Michael Matz <matz@suse.de>
39416 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39418 2012-04-05 Andreas Jaeger <aj@suse.de>
39421 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39424 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39426 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39427 which ROUND is no valid rounding mode.
39429 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39431 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39433 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39435 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39437 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39438 an exception using FPU order intentionally.
39440 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39442 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39443 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39444 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39445 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39447 2012-04-05 Simon Josefsson <simon@josefsson.org>
39450 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39451 EINVAL when BUFLEN is too smal.
39453 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39456 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39457 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39459 2012-04-03 Andreas Jaeger <aj@suse.de>
39462 * manual/setjmp.texi (System V contexts): Fix sentence.
39465 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39466 New macro for this case.
39467 [!__GNUC__] (__bswap_64): New inline function for this case.
39468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39469 * bits/byteswap.h: Likewise.
39470 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39471 ull, guard with __GLIBC_HAVE_LONG_LONG.
39473 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39474 __GLIBC_HAVE_LONG_LONG.
39476 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39477 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39479 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39482 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39483 inptr and inend, rather than using last_ch.
39485 2012-04-02 David S. Miller <davem@davemloft.net>
39487 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39488 * stdio-common/printf-parse.h (read_int): Change return type to
39489 'int', return -1 on INT_MAX overflow.
39490 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39491 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39492 overflows INT_MAX. Check for overflow of in-format-string precision
39493 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39494 SIZE_MAX not INT_MAX for integer overflow test.
39495 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39496 skip the construct in the format string but do not record anything.
39497 * stdio-common/bug22.c: Adjust to test both width/prevision
39498 INT_MAX overflow as well as total length INT_MAX overflow. Check
39499 explicitly for proper errno values.
39501 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39503 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39505 * string/test-strcmp.c [! WIDE]: Likewise.
39506 * time/tst-mktime2.c: Likewise for INT_MAX.
39507 * string/test-string.h: #include <sys/param.h> for MIN.
39509 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39510 * sysdeps/i386/init-first.c (init): Likewise.
39511 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39512 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39513 * sysdeps/sh/init-first.c (init): Likewise.
39515 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39517 * po/ru.po: Update from translation team.
39518 * po/vi.po: Likewise.
39520 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39522 * resolv/nss_dns/dns-host.c: Merge copyright years.
39524 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39526 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39527 Optimize memcpy with prefetch if
39528 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39529 src, dst pointers have unequal 16 byte alignments.
39531 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39534 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39535 from a CNAME entry and return the minimum ttl for the query.
39536 (gaih_getanswer_slice): Likewise.
39538 2012-03-30 Jeff Law <law@redhat.com>
39540 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39542 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39543 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39545 * resolv/nss_dns/dns-host.c: Update copyright year.
39547 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39549 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39550 requests to save a system call. Fix check that all bytes are sent.
39552 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39553 comments for sendmmsg.
39555 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39558 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39559 with only 1 character between 0x0041 and 0x01b0.
39560 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39561 * wcsmbs/tst-mbsnrtowcs.c: New file.
39563 2012-03-29 David S. Miller <davem@davemloft.net>
39565 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39566 small copies by hand.
39568 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39571 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39572 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39575 2012-03-28 David S. Miller <davem@davemloft.net>
39577 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39578 that branches into memcpy.
39579 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39581 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39582 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39583 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39585 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39586 implementation too.
39587 * sysdeps/sparc/mempcpy.S: New file.
39589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39590 the IFUNC routine in the libc case.
39591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39593 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39594 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39595 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39596 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39597 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39598 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39599 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39600 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39602 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39603 loop to 256 bytes instead of 64 bytes and fix test signedness.
39605 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39606 * sysdeps/sparc/sparc32/Makefile: rather than here...
39607 * sysdeps/sparc/sparc64/Makefile: and here.
39609 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39611 * malloc/mallocbug.c: Avoid warnings about unused variables.
39613 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39616 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39617 in the right place. Discard and retry query if response is
39618 larger than input buffer size.
39620 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39625 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39626 x for large integer exponent.
39627 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39628 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39629 sign of result as needed afterwards.
39630 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39631 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39632 result for underflowing pow the same as for overflow.
39633 (__kernel_standard_l): Handle powl overflow and underflow here
39634 rather than calling __kernel_standard.
39635 * math/libm-test.inc (pow_test): Add more tests.
39650 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39651 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39652 (__kernel_standard_l): New function.
39653 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39655 * math/w_acosl.c (__acosl): Likewise.
39656 * math/w_asinl.c (__asinl): Likewise.
39657 * math/w_atan2l.c (__atan2l): Likewise.
39658 * math/w_atanhl.c (__atanhl): Likewise.
39659 * math/w_coshl.c (__coshl): Likewise.
39660 * math/w_exp10l.c (__exp10l): Likewise.
39661 * math/w_exp2l.c (__exp2l): Likewise.
39662 * math/w_fmodl.c (__fmodl): Likewise.
39663 * math/w_hypotl.c (__hypotl): Likewise.
39664 * math/w_j0l.c (__j0l, __y0l): Likewise.
39665 * math/w_j1l.c (__j1l, __y1l): Likewise.
39666 * math/w_jnl.c (__jnl, __ynl): Likewise.
39667 * math/w_lgammal.c (__lgammal): Likewise.
39668 * math/w_log10l.c (__log10l): Likewise.
39669 * math/w_log2l.c (__log2l): Likewise.
39670 * math/w_logl.c (__logl): Likewise.
39671 * math/w_powl.c (__powl): Likewise.
39672 * math/w_remainderl.c (__remainderl): Likewise.
39673 * math/w_scalbl.c (sysv_scalbl): Likewise.
39674 * math/w_sinhl.c (__sinhl): Likewise.
39675 * math/w_sqrtl.c (__sqrtl): Likewise.
39676 * math/w_tgammal.c (__tgammal): Likewise.
39677 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39678 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39679 * math/libm-test.inc (acos_test): Add more tests.
39680 (acosh_test): Likewise.
39681 (asin_test): Likewise.
39682 (atanh_test): Likewise.
39683 (exp_test): Likewise.
39684 (exp10_test): Likewise.
39685 (exp2_test): Likewise.
39686 (expm1_test): Likewise.
39687 (lgamma_test): Likewise.
39688 (log_test): Likewise.
39689 (log10_test): Likewise.
39690 (log1p_test): Likewise.
39691 (log2_test): Likewise.
39692 (pow_test): Do not allow some spurious overflow exceptions.
39693 (sqrt_test): Add more tests.
39694 (tgamma_test): Likewise.
39695 (y0_test): Likewise.
39696 (y1_test): Likewise.
39697 (yn_test): Likewise.
39699 2012-03-27 Anton Blanchard <anton@samba.org>
39701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39703 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39707 2012-03-27 David S. Miller <davem@davemloft.net>
39709 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39711 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39712 have-as-vis3 check.
39714 2012-03-27 Andreas Jaeger <aj@suse.de>
39716 * sysdeps/x86_64/elf/configure.in: Moved to ...
39717 * sysdeps/x86_64/configure.in: ... here.
39718 * sysdeps/x86_64/elf/start.S: Moved to ...
39719 * sysdeps/x86_64/start.S: ... here.
39720 * sysdeps/x86_64/elf/configure: Delete.
39722 * sysdeps/x86_64/configure.in: Merge contents from
39723 sysdeps/i386/configure.in (without i686 check).
39725 * sysdeps/i386/elf/Versions: Merge into ...
39726 * sysdeps/i386/Versions: ... this.
39727 * sysdeps/i386/elf/Versions: Delete file.
39728 * sysdeps/i386/elf/start.S: Moved to ...
39729 * sysdeps/i386/start.S: ...here.
39730 * sysdeps/i386/elf/configure.in: Merge into...
39731 * sysdeps/i386/configure.in: ...here.
39732 * sysdeps/i386/elf/configure.in: Delete file.
39733 * sysdeps/i386/elf/configure: Delete file.
39735 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39736 * debug/backtracesyms.c: ... here.
39737 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39738 * debug/backtracesymsfd.c: ... here.
39739 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39740 * sysdeps/generic/ifunc-sel.h: ... here.
39742 * sysdeps/unix/i386/start.c: Delete file.
39743 * sysdeps/unix/sparc/start.c: Delete file.
39744 * sysdeps/unix/start.c: Delete file.
39746 * sysdeps/sh/elf/configure.in: Moved to ...
39747 * sysdeps/sh/configure.in: ... here.
39748 * sysdeps/sh/elf/start.S: Moved to ...
39749 * sysdeps/sh/start.S: ... here.
39750 * sysdeps/sh/elf/configure: Delete file.
39752 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39753 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39754 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39755 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39756 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39757 * sysdeps/powerpc/powerpc64/start.S: here.
39758 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39759 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39760 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39761 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39762 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39764 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39765 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39766 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39767 * sysdeps/powerpc/powerpc32/start.S: ... here.
39768 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39769 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39770 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39772 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39773 * sysdeps/powerpc/ifunc-sel.h: ... here.
39774 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39775 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39777 * sysdeps/sparc/elf/configure.in: Moved to ...
39778 * sysdeps/sparc/configure.in: ... here.
39779 * sysdeps/sparc/elf/configure: Delete file.
39780 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39781 * sysdeps/sparc/sparc32/start.S: ... here.
39782 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39783 * sysdeps/sparc/sparc64/start.S: ... here.
39784 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39785 * sysdeps/sparc/sparc32/Makefile: ... this.
39786 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39787 * sysdeps/sparc/sparc64/Makefile: ... this.
39789 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39790 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39791 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39792 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39793 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39794 * sysdeps/s390/s390-32/setjmp.S: ... here.
39795 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39796 * sysdeps/s390/s390-32/configure.in: ... here.
39797 * sysdeps/s390/s390-32/elf/configure: Delete file.
39798 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39799 * sysdeps/s390/s390-32/start.S: ... here.
39801 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39802 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39803 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39804 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39805 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39806 * sysdeps/s390/s390-64/setjmp.S: ... here.
39807 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39808 * sysdeps/s390/s390-64/configure.in: ... here
39809 * sysdeps/s390/s390-64/elf/configure: Delete file.
39810 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39811 * sysdeps/s390/s390-64/start.S: ... here.
39812 * sysdeps/s390/s390-64/elf/configure: Delete.
39814 * configure.in: Remove support for elf directories in sysdeps.
39816 * configure: Regenerated.
39817 * sysdeps/i386/configure: Regenerated.
39818 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39819 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39820 * sysdeps/s390/s390-32/configure: Regenerated.
39821 * sysdeps/s390/s390-64/configure: Regenerated.
39822 * sysdeps/sh/configure: Regenerated.
39823 * sysdeps/sparc/configure: Regenerated.
39824 * sysdeps/x86_64/configure: Regenerated.
39826 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39831 denormal result into account.
39833 2012-03-25 Roland McGrath <roland@hack.frob.com>
39835 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39836 Reported by Allan McRae <allan@archlinux.org>.
39838 2012-03-23 Jeff Law <law@redhat.com>
39840 * nss/getnssent.c (__nss_getent): Fix typo.
39842 2012-03-23 David S. Miller <davem@davemloft.net>
39844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39846 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39848 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39849 to pad to uint64_t for each field.
39850 (dl_tls_index): Replace unsigned long with uint64_t.
39852 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39853 Paul Pluzhnikov <ppluzhnikov@google.com>
39856 * grp/Makefile (otherlibs): Don't set it.
39857 * inet/Makefile (otherlibs): Likewise.
39858 * login/Makefile (otherlibs): Likewise.
39859 * nscd/Makefile (otherlibs): Likewise.
39860 * posix/Makefile (otherlibs): Likewise.
39861 * pwd/Makefile (otherlibs): Likewise.
39862 * rt/Makefile (otherlibs): Likewise.
39863 * sunrpc/Makefile (otherlibs): Likewise.
39864 * nss/Makefile (otherlibs): Likewise.
39865 Add libnss_files to routines and static-only-routines.
39866 ($(objpfx)getent): Remove rule.
39867 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39868 static-only-routines.
39870 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39873 * math/s_cexp.c: Include <float.h>.
39874 (__cexp): Handle exp result overflowing not necessarily
39875 overflowing both real and imaginary parts of result.
39876 * math/s_cexpf.c: Likewise.
39877 * math/s_cexpl.c: Likewise.
39878 * math/libm-test.inc (cexp_test): Add more tests.
39879 * sysdeps/i386/fpu/libm-test-ulps: Update.
39880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39882 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39884 * include/link.h (ELFW): New macro.
39885 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39886 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39888 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39890 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39893 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39895 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39897 (struct La_x32_retval): Likewise.
39899 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39901 * sysdeps/x86_64/preconfigure.in: New file.
39902 * sysdeps/x86_64/preconfigure: New generated file.
39904 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39907 * math/e_exp2l.c: Include <float.h>.
39908 (__ieee754_exp2l): Handle overflow and underflow cases
39909 separately. Only pass fractional part of argument to
39911 * math/libm-test.inc (exp2_test): Add more tests.
39913 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39914 negating x to take absolute value.
39915 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39920 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39921 computing low part if x was negated.
39922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39924 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39926 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39927 la_x32_gnu_pltexit.
39928 (pltexit): Cast int_retval to ptrdiff_t.
39929 * elf/tst-auditmod3b.c: Likewise.
39930 * elf/tst-auditmod4b.c: Likewise.
39931 * elf/tst-auditmod5b.c: Likewise.
39932 * elf/tst-auditmod6b.c: Likewise.
39933 * elf/tst-auditmod6c.c: Likewise.
39934 * elf/tst-auditmod7b.c: Likewise.
39936 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39937 and x32_gnu_pltexit.
39939 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39940 __ELF_NATIVE_CLASS.
39941 (La_x32_regs): New macro.
39942 (La_x32_retval): Likewise.
39943 (la_x32_gnu_pltenter): New function prototype.
39944 (la_x32_gnu_pltexit): Likewise.
39946 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39948 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39953 * configure.in (libc_cv_cc_nofma): Check for option to disable
39954 generation of FMA instructions.
39955 * configure: Regenerate.
39956 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39957 * sysdeps/ieee754/dbl-64/Makefile: New file.
39958 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39959 Remove brandred-fma4.
39960 (CFLAGS-brandred-fma4.c): Remove.
39961 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39962 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39964 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39967 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39969 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39970 LLONG_MAX != LONG_MAX.
39971 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39972 (_fitoa_word): Likewise.
39973 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39974 LLONG_MAX != LONG_MAX.
39975 * stdio-common/_itowa.h: Include <_itoa.h>.
39976 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39977 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39978 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39979 only if not defined.
39980 (_ITOA_WORD_TYPE): Likewise.
39981 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39982 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39984 2012-03-21 David S. Miller <davem@davemloft.net>
39986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39988 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39990 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39991 of x86_64 when setting libc_cv_slibdir, libdir and
39993 * sysdeps/unix/sysv/linux/configure: Regenerated.
39995 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39997 * manual/lang.texi (Old Varargs): Remove section.
39998 (How Variadic): Update menu.
39999 (va_start): Do not mention varargs.h.
40001 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40002 Joseph Myers <joseph@codesourcery.com>
40004 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40006 * configure: Regenerated.
40008 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40010 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40011 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40014 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40017 * Makefile (files-for-dist): Remove NOTES.
40018 (NOTES): Remove rule.
40019 * README: Don't refer to NOTES.
40020 * manual/creature.texi: Don't include macros.texi.
40021 * manual/intro.texi (creature.texi): Remove comment referring to
40024 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40025 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40026 * configure: Regenerated.
40027 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40028 LIBC_TRY_CC_OPTION.
40029 (libc_cv_as_i686): Likewise.
40030 (libc_cv_cc_avx): Likewise.
40031 (libc_cv_cc_sse2avx): Likewise.
40032 (libc_cv_cc_fma4): Likewise.
40033 (libc_cv_cc_novzeroupper): Likewise.
40034 * sysdeps/i386/configure: Regenerated.
40037 * sysdeps/i386/fpu/s_cexp.S: Remove.
40038 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40040 * math/libm-test.inc (cexp_test): Add more tests.
40041 * sysdeps/i386/fpu/libm-test-ulps: Update.
40042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40044 2012-03-21 Allan McRae <allan@archlinux.org>
40046 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40048 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40051 * math/w_exp2.c: Do not include <float.h>.
40052 (o_threshold, u_threshold): Remove.
40053 (__exp2): Calculate result before checking finiteness and calling
40055 * math/w_exp2f.c: Likewise.
40056 * math/w_exp2l.c: Likewise.
40057 * math/libm-test.inc (exp2_test): Require overflow exception for
40061 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40062 range of signed 64-bit integers before using fistpll. Remove
40063 checks for whether integers fit in mantissa bits.
40064 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40065 the range of signed 32-bit integers before using fistpl. Remove
40066 checks for whether integers fit in mantissa bits.
40067 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40068 (__ieee754_powl): Test for y outside the range of signed 64-bit
40069 integers before using fistpll. Reduce 64-bit values to 63-bit
40071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40072 divide-by-zero is raised for zero to large negative powers.
40073 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40074 (__ieee754_powl): Test for y outside the range of signed 64-bit
40075 integers before using fistpll. Reduce 64-bit values to 63-bit
40077 * math/libm-test.inc (pow_test): Add more tests.
40079 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40081 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40082 <stdio-common/_itoa.h>.
40083 * debug/segfault.c: Likewise.
40084 * elf/dl-cache.c: Likewise.
40085 * elf/dl-minimal.c: Likewise.
40086 * elf/dl-misc.c: Likewise.
40087 * elf/dl-sysdep.c: Likewise.
40088 * elf/dl-version.c: Likewise.
40089 * elf/rtld.c: Likewise.
40090 * hurd/hurdsock.c: Likewise.
40091 * hurd/lookup-retry.c: Likewise.
40092 * malloc/malloc.c: Likewise.
40093 * malloc/mtrace.c: Likewise.
40094 * nscd/nscd_getgr_r.c: Likewise.
40095 * nscd/nscd_getpw_r.c: Likewise.
40096 * nscd/nscd_getserv_r.c: Likewise.
40097 * posix/getopt_init.c: Likewise.
40098 * posix/wordexp.c: Likewise.
40099 * stdio-common/_itoa.c: Likewise.
40100 * stdio-common/printf_fphex.c: Likewise.
40101 * stdio-common/vfprintf.c: Likewise.
40102 * string/_strerror.c: Likewise.
40103 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40104 * sysdeps/i386/i686/hp-timing.h: Likewise.
40105 * sysdeps/mach/_strerror.c: Likewise.
40106 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40107 * sysdeps/mach/hurd/sethostid.c: Likewise.
40108 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40109 * sysdeps/mach/xpg-strerror.c: Likewise.
40110 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40112 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40113 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40114 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40115 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40116 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40117 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40118 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40119 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40120 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40121 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40122 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40123 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40124 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40125 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40126 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40127 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40128 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40129 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40130 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40132 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40134 * stdio-common/_itoa.h: Moved to ...
40135 * sysdeps/generic/_itoa.h: Here.
40137 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40139 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40140 instead of "_itoa.h" and "_itowa.h".
40141 * stdio-common/vfprintf.: Likewise.
40143 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40145 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40147 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40148 (__signbit): Likwise.
40149 (llrintf): Likwise.
40152 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40154 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40157 2012-03-20 Joseph Myers <joseph@codesourcery.com>
40159 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40160 OVERFLOW_EXCEPTION_OK.
40161 * math/libm-test.inc ("Philosophy"): Update comment about
40163 (OVERFLOW_EXCEPTION): Define.
40164 (OVERFLOW_EXCEPTION_OK): Likewise.
40165 (INVALID_EXCEPTION_OK): Renumber.
40166 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40167 (IGNORE_ZERO_INF_SIGN): Likewise.
40168 (test_exceptions): Handle FE_OVERFLOW.
40169 (exp10_test): Expect overflow exceptions.
40170 (exp2_test): Likewise.
40171 (expm1_test): Likewise.
40172 (nextafter_test): Likewise.
40173 (pow_test): Likewise.
40174 (scalbn_test): Likewise.
40175 (scalbln_test): Likewise.
40177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40179 * sysdeps/x86_64/bits/atomic.h
40180 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40182 (atomic_exchange_acq): Likewise.
40183 (__arch_exchange_and_add_body): Likewise.
40184 (__arch_add_body): Likewise.
40185 (atomic_add_negative): Likewise.
40186 (atomic_add_zero): Likewise.
40188 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40190 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40191 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40193 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40195 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40196 Check __x86_64__ instead of __WORDSIZE.
40198 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40200 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40202 2012-03-19 David S. Miller <davem@davemloft.net>
40204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40206 * sysdeps/sparc/fpu/fenv_private.h: New file.
40207 * sysdeps/sparc/fpu/math_private.h: Use it.
40208 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40210 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40211 (libc_feholdexcept_setroundl): Remove.
40212 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40214 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40215 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40217 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40219 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40220 int64_t instead of long int.
40221 (INSERT_WORDS64): Likwise.
40223 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40225 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40226 _Unwind_GetCFA return to _Unwind_Ptr first.
40228 2012-03-19 Joseph Myers <joseph@codesourcery.com>
40231 * math/s_clog.c: Include <float.h>.
40232 (__clog): Scale large or subnormal inputs.
40233 * math/s_clogf.c: Likewise.
40234 * math/s_clogl.c: Likewise.
40235 * math/s_clog10.c: Include <float.h>.
40236 (M_LOG10_2): Define.
40237 (__clog10): Scale large or subnormal inputs.
40238 * math/s_clog10f.c: Likewise.
40239 * math/s_clog10l.c: Likewise.
40240 * math/libm-test.inc (clog_test): Add more tests.
40241 (clog10_test): Likewise.
40242 * sysdeps/i386/fpu/libm-test-ulps: Update.
40243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40246 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40248 * math/libm-test.inc (atan2_test): Add another test.
40250 * Makerules (common-objdir-compile): Remove.
40251 * sysdeps/unix/Makefile (config-generated): Do not add
40252 $(unix-generated) to variable.
40253 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40254 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40256 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40258 [generic bits/local_lim.h] (before-compile): Do not append to
40260 [generic bits/local_lim.h] (common-generated): Likewise.
40261 [generic sys/param.h] (before-compile): Do not append to variable.
40262 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40263 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40264 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40265 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40267 [generic sys/param.h] (sys/param.h-includes): Remove variable.
40268 [generic sys/param.h] (sys/param.h-includes): Remove rule.
40269 [generic sys/param.h] ($(addprefix
40270 $(common-objpfx),$(sys/param.h-includes))): Likewise.
40271 [generic sys/param.h] (common-generated): Do not append to
40273 [generic sys/param.h] (sysdep_headers): Likewise.
40274 [generic bits/errno.h] (before-compile): Do not append to
40276 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40278 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40279 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40280 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40281 [generic bits/errno.h] (common-generated): Do not append to
40283 [generic bits/ioctls.h] (before-compile): Do not append to
40285 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40287 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40288 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40289 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40291 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40292 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40293 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40294 [generic bits/ioctls.h] (common-generated): Do not append to
40296 [generic sys/syscall.h] (syscall.h): Remove variable.
40297 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40299 [generic sys/syscall.h] (before-compile): Do not append to
40301 [generic sys/syscall.h] (common-generated): Likewise.
40302 * sysdeps/unix/errnos-tmpl.c: Remove file.
40303 * sysdeps/unix/errnos.awk: Likewise.
40304 * sysdeps/unix/ioctls-tmpl.c: Likewise.
40305 * sysdeps/unix/ioctls.awk: Likewise.
40306 * sysdeps/unix/mk-local_lim.c: Likewise.
40307 * sysdeps/unix/snarf-ioctls: Likewise.
40309 2012-03-19 Richard Henderson <rth@twiddle.net>
40311 * sysdeps/i386/fpu/fenv_private.h: New file.
40312 * sysdeps/i386/fpu/math_private.h: Use it.
40313 (math_opt_barrier, math_force_eval): Remove.
40314 (libc_feholdexcept_setround_53bit): Remove.
40315 (libc_feupdateenv_53bit): Remove.
40316 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40317 (math_opt_barrier, math_force_eval): Remove.
40318 (libc_feholdexcept): Remove.
40319 (libc_feholdexcept_setround): Remove.
40320 (libc_fetestexcept, libc_fesetenv): Remove.
40321 (libc_feupdateenv_test): Remove.
40322 (libc_feupdateenv, libc_feholdsetround): Remove.
40323 (libc_feresetround): Remove.
40325 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40326 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40328 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40329 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40330 (libc_feupdateenv_testl): New.
40331 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40332 (libc_feupdateenv_testf): New.
40333 (libc_feupdateenv): Use libc_feupdateenv_test.
40334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40335 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40337 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40338 (libc_feholdsetroundf, libc_feholdsetroundl): New.
40339 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40340 (libc_feresetround_noex): New.
40341 (libc_feresetround_noexf): New.
40342 (libc_feresetround_noexl): New.
40343 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40344 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40345 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40346 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40351 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40352 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40353 SET_RESTORE_ROUND_NOEX.
40354 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40355 SET_RESTORE_ROUND_NOEXF.
40356 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40357 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40358 (libc_feholdsetroundf): New.
40359 (libc_feresetround, libc_feresetroundf): New.
40361 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40362 (libc_feholdexcept_setround_53bit): Convert from macro to function.
40363 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40365 * sysdeps/generic/math_private.h: Include <fenv.h>.
40366 (default_libc_feholdexcept): New.
40367 (default_libc_feholdexcept_setround): New.
40368 (default_libc_fesetenv, default_libc_feupdateenv): New.
40369 (libc_feholdexcept): Only define if undefined.
40370 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40371 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40372 (libc_feholdexcept_setroundl): Likewise.
40373 (libc_feholdexcept_setround_53bit): Likewise.
40374 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40375 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40376 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40377 (libc_feupdateenv_53bit): Likewise.
40378 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40379 (libc_feholdexcept): Convert from macro to inline function.
40380 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40381 (libc_fesetenv, libc_feupdateenv): Likewise.
40383 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40384 not previously defined.
40385 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40386 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40387 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40388 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40389 * sysdeps/ieee754/flt-32/math_private.h: New file.
40390 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40391 math_private.h below SET_FLOAT_WORD.
40392 (__isnan, __isinf_ns, __finite): Remove.
40393 (__isnanf, __isinf_nsf, __finitef): Remove.
40395 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
40397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40399 2012-03-17 David S. Miller <davem@davemloft.net>
40402 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40405 2012-03-16 David S. Miller <davem@davemloft.net>
40407 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40413 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40414 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40415 sysdep_routines when subdir is sysvipc.
40416 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40417 __getshmlba helper.
40419 * sysdeps/sparc/fpu/libm-test/ulps: Update.
40421 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40423 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40426 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40429 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40430 (__lround): Renamed to ...
40431 (__llround): This. Replace long int with long long int.
40432 Define lround functions as aliases of llround functions.
40433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40435 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40437 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40438 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40439 adresses to uintptr_t. Replace "long int" and "unsigned long
40440 int" with "greg_t" on va_arg.
40442 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40444 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40445 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40447 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40448 Move e_machine check before EI_CLASS check. Handle x32
40449 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40450 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40451 SKIP_EM_IA_64 and include
40452 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40454 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40455 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40456 (add_system_dir): New macro.
40458 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40459 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40461 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40472 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40474 * math/w_j0f.c (j0f): Likewise.
40476 * math/w_j0l.c (__j0l): Likewise.
40478 * math/w_j1.c (j1): Likewise.
40480 * math/w_j1f.c (j1f): Likewise.
40482 * math/w_j1l.c (__j1l): Likewise.
40484 * math/w_jn.c (jn): Likewise.
40486 * math/w_jnf.c (jnf): Likewise.
40488 * math/w_jnl.c (__jnl): Likewise.
40490 * math/libm-test.inc (j0_test): Add more tests.
40491 (j1_test): Likewise.
40492 (jn_test): Likewise. Add trailing semicolon to existing test.
40493 (y0_test): Likewise.
40494 (y1_test): Likewise.
40495 * sysdeps/i386/fpu/libm-test-ulps: Update.
40496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40500 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40501 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40502 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40503 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40504 (__tanl): Set errno for infinite argument.
40505 * sysdeps/i386/fpu/mptan.c: Remove.
40506 * sysdeps/i386/fpu/s_tan.S: Likewise.
40507 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40508 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40509 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40510 * math/libm-test.inc (tan_test): Add more tests and enable more
40511 tests for double and long double.
40512 * sysdeps/i386/fpu/libm-test-ulps: Update.
40513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40515 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40517 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40518 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40520 2012-03-16 Roland McGrath <roland@hack.frob.com>
40522 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40523 * configure.in: Use it for both main tree and add-ons.
40524 * configure: Regenerated.
40526 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40528 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40530 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40532 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40536 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40537 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40538 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40539 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40540 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40542 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40544 != 0 for prec == 2.
40545 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40546 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40547 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40548 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40549 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40550 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40551 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40552 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40553 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40554 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40555 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40556 * math/libm-test.inc (cos_test): Add more tests and enable more
40557 tests for long double.
40558 (sin_test): Likewise.
40559 (sincos_test): Likewise.
40560 * sysdeps/i386/fpu/libm-test-ulps: Update.
40561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40563 2012-03-16 David S. Miller <davem@davemloft.net>
40565 * sysdeps/sparc/fpu/math_private.h: New file.
40567 2012-03-15 David S. Miller <davem@davemloft.net>
40569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40583 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40584 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40586 * sysdeps/sparc/sparc-ifunc.h: New file.
40587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40614 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40632 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40634 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40638 2012-03-15 Andreas Jaeger <aj@suse.de>
40641 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40642 ieee754/flt-32 implementation for sin, cos and sincos.
40643 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40644 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40645 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40646 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40647 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40648 ieee754/flt-32 implementation for tan.
40650 * math/libm-test.inc (cos_test): Enable some large input tests for
40652 (sin_test): Likewise.
40653 (sincos_test): Likewise.
40654 (tan_test): Add tests for large input.
40656 * sysdeps/i386/fpu/libm-test-ulps: Update.
40658 2012-03-15 Andreas Jaeger <aj@suse.de>
40661 * math/libm-test.inc (cos_test): Add more test cases.
40662 (sin_test): Likewise.
40663 (sincos_test): Likewise.
40665 2012-03-15 Andreas Jaeger <aj@suse.de>
40668 * math/libm-test.inc (cos_test): Add a test case for large input
40670 (sin_test): Likewise.
40671 (sincos_test): Likewise.
40673 2012-03-15 Andreas Jaeger <aj@suse.de>
40674 Joseph Myers <joseph@codesourcery.com>
40677 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40678 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40679 * sysdeps/i386/fpu/branred.c: Likewise.
40680 * sysdeps/i386/fpu/dosincos.c: Likewise.
40681 * sysdeps/i386/fpu/mpa.c: Likewise.
40682 * sysdeps/i386/fpu/s_cos.S: Likewise.
40683 * sysdeps/i386/fpu/s_sin.S: Likewise.
40684 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40685 * sysdeps/i386/fpu/sincos32.c: Likewise.
40687 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40689 (libc_feupdateenv_53bit): Define.
40690 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40692 (libc_feupdateenv_53bit): Define.
40694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40695 53 bit (without extend i386 double precision).
40697 * math/libm-test.inc (sincos_test): Add tests for large input.
40701 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40703 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40707 2012-03-15 David S. Miller <davem@davemloft.net>
40709 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40710 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40711 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40712 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40737 fmin/fmax sysdep routines.
40738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40740 2012-03-14 David S. Miller <davem@davemloft.net>
40742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40770 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40814 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40819 * sysdeps/sparc/configure.in: New file.
40820 * sysdeps/sparc/configure: Generate.
40821 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40822 * configure: Regenerate.
40823 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40824 * config.make.in (have-as-vis3): New.
40825 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40826 available use -Av9d instead of -Av9a.
40827 * sysdeps/sparc/sparc64/Makefile: Likewise.
40828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40843 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40844 fzeros/fnegs to load 0x80000000 into a float register instead of
40846 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40848 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40852 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40853 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40854 ($(inst_includedir)/bits/syscall.h): Remove rule.
40855 ($(objpfx)bits/syscall.d): Include instead of
40856 $(objpfx)syscall-list.d.
40857 (generated): Change syscall-list.h and syscall-list.d to
40858 bits/syscall.h and bits/syscall.d.
40860 2012-03-14 Roland McGrath <roland@hack.frob.com>
40863 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40865 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40868 * math/s_csqrt.c: Include <float.h>.
40869 (__csqrt): Scale large or subnormal inputs.
40870 * math/s_csqrtf.c: Likewise.
40871 * math/s_csqrtl.c: Likewise.
40872 * math/libm-test.inc (csqrt_test): Add more tests.
40873 * sysdeps/i386/fpu/libm-test-ulps: Update.
40874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40877 * math/libm-test.inc (hypot_test): Add more tests.
40879 2012-03-13 David S. Miller <davem@davemloft.net>
40882 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40883 double-precision for the calculation instead of scaling.
40885 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40887 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40888 manipulate bits before adding and subtracting TWO52[sx].
40889 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40894 2012-03-13 David S. Miller <davem@davemloft.net>
40896 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40897 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40899 rtld-global-offsets.h
40900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40902 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40905 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40907 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40908 'err' in the ifdef scope in which it is actually used.
40910 * nss/nss_db/db-init.c: Include string.h
40912 2012-03-12 David S. Miller <davem@davemloft.net>
40914 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40915 masking out of the most significant byte of random value used.
40916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40917 Fix coding style in previous change.
40919 * sysdeps/unix/sysv/linux/kernel-features.h
40920 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40921 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40923 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40926 2012-03-11 David S. Miller <davem@davemloft.net>
40928 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40929 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40931 for 'resultvar' otherwise things get truncated on 64-bit.
40933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40934 Fix masking out of the most significant byte of random value used.
40936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40938 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40942 2012-03-09 David S. Miller <davem@davemloft.net>
40944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40945 variables with appropriate CPP guards.
40946 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40947 from the frame pointer, not the stack pointer. Correct layout
40948 comments. Fix test on resulting framesize and the management of
40949 the outregs buffer for pltexit. Preserve floating point return
40950 values across _dl_call_pltexit call.
40951 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40952 framesize and the management of the outregs buffer for pltexit.
40953 Preserve floating point return values across _dl_call_pltexit
40955 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40956 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40957 (la_sparc64_gnu_pltexit): New functions.
40958 (print_exit): Fix format string for return register value.
40960 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40962 * sunrpc/Makefile (others): Add rpcgen.
40963 ($(objpfx)rpcgen): Remove special build rule and dependency on
40965 * sunrpc/rpcgen.c: New file.
40967 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40970 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40971 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40972 * sysdeps/i386/crti.S: Likewise.
40973 * sysdeps/i386/crtn.S: Likewise.
40974 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40975 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40976 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40977 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40978 * sysdeps/sh/crti.S: Likewise.
40979 * sysdeps/sh/crtn.S: Likewise.
40980 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40983 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40985 * locale/programs/locfile-kw.gperf: Likewise.
40986 * locale/programs/charmap-kw.h: Regenerated.
40987 * locale/programs/locfile-kw.h: Likewise.
40990 * intl/plural.y: Replace FSF snail mail address with URL.
40991 * intl/plural.c: Regenerated.
40993 2012-03-09 Richard Henderson <rth@twiddle.net>
40995 * include/math_private.h: Remove file.
40996 * math/math_private.h: Move file ...
40997 * sysdeps/generic/math_private.h: ... here.
40999 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41000 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41001 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41003 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41004 and <math_private.h>.
41005 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41006 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41007 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41008 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41009 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41010 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41013 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41016 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41017 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41019 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41020 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41021 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41022 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41023 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41024 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41026 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41027 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41029 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41030 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41031 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41032 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41035 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41037 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41038 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41039 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41041 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41042 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41043 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41045 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41046 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41047 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41048 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41049 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41050 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41051 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41052 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41055 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41056 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41057 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41059 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41060 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41062 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41063 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41064 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41065 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41066 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41068 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41069 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41073 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41075 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41076 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41079 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41084 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41086 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41087 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41088 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41089 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41092 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41093 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41094 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41095 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41096 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41098 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41099 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41100 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41101 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41102 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41103 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41104 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41105 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41106 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41107 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41108 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41110 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41111 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41112 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41113 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41114 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41115 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41116 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41117 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41118 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41119 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41120 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41121 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41122 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41123 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41124 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41125 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41126 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41128 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41129 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41130 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41131 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41132 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41133 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41134 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41135 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41136 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41137 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41138 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41139 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41140 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41141 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41143 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41144 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41145 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41146 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41147 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41148 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41149 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41153 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41154 * sysdeps/ieee754/k_standard.c: Likewise.
41155 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41156 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41157 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41158 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41159 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41160 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41161 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41162 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41163 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41165 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41167 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41168 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41169 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41170 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41172 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41226 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41232 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41233 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41234 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41235 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41237 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41238 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41239 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41240 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41241 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41242 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41243 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41249 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41250 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41251 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41252 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41253 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41254 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41256 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41259 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41262 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41263 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41264 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41265 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41266 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41267 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41268 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41269 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41270 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41271 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41272 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41273 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41274 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41275 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41276 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41277 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41278 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41279 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41280 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41281 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41282 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41283 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41284 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41285 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41286 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41287 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41288 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41292 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41293 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41294 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41295 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41297 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41298 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41299 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41300 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41301 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41302 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41303 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41304 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41305 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41306 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41308 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41309 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41310 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41311 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41312 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41314 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41315 * sysdeps/ieee754/s_lib_version.c: Likewise.
41316 * sysdeps/ieee754/s_matherr.c: Likewise.
41317 * sysdeps/ieee754/s_signgam.c: Likewise.
41318 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41319 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41320 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41321 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41322 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41323 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41324 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41325 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41326 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41327 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41328 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41329 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41330 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41331 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41332 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41335 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41336 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41340 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41342 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41343 * sunrpc/rpc_main.c: Likewise.
41344 * sunrpc/rpc_svcout.c: Likewise.
41346 2012-03-09 David S. Miller <davem@davemloft.net>
41348 * include/math_private.h: New file.
41350 2012-03-09 Joseph Myers <joseph@codesourcery.com>
41352 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41353 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41354 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41355 from <bits/socket_type.h>.
41356 (enum __socket_type): Don't define here.
41357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41359 bits/socket_type.h.
41362 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41363 checking __USE_GNU.
41365 * Makerules ($(inst_includedir)/%.h): New rule.
41366 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41367 (install-others): Remove variable setting.
41368 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41370 2012-03-08 Richard Henderson <rth@twiddle.net>
41372 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41373 from macro to inline function; merge with the
41374 !__LIBC_INTERNAL_MATH_INLINES version.
41375 (__ieee754_sqrtf): Likewise.
41377 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41378 to inline function.
41379 (__rintf, __floor, __floorf): Likewise.
41381 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41382 macro to inline function.
41383 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41385 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41386 not <math/math_private.h>.
41388 2012-03-08 David S. Miller <davem@davemloft.net>
41390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41392 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41394 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
41396 * resolv/gai_misc.c (handle_requests): Fix struct timespec
41398 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41399 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41401 2012-03-08 Ulrich Drepper <drepper@gmail.com>
41403 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
41404 be defined individually, they must be defined as a block. Define
41405 S for printing a string instead of hidint the different by using a
41406 macro for adding the 'l'.
41407 * stdio-common/tst-fphex-wide.c: Adjust.
41409 2012-03-07 Marek Polacek <polacek@redhat.com>
41411 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41413 2012-03-08 Marek Polacek <polacek@redhat.com>
41416 * stdio-common/Makefile (tests): Add tst-fphex-wide.
41417 * stdio-common/tst-fphex.c: Define a few macros to make the
41418 test reusable. Use them.
41419 * stdio-common/tst-fphex-wide.c: New file.
41421 2012-03-08 Joseph Myers <joseph@codesourcery.com>
41424 * manual/macros.texi (gnusystems): New macro.
41425 (nongnusystems): Likewise.
41426 (gnulinuxhurdsystems): Likewise.
41427 (gnuhurdsystems): Likewise..
41428 (gnulinuxsystems): Likewise.
41429 * manual/charset.texi: Use new macros or @theglibc{} to refer to
41430 variants of the GNU system, not "GNU system".
41431 * manual/conf.texi: Likewise.
41432 * manual/errno.texi: Likewise. Update example of errno macro
41434 * manual/filesys.texi: Likewise.
41435 (getumask): Document as specific to GNU/Hurd.
41436 * manual/install.texi: Likewise. Reword some references to
41438 * manual/intro.texi: Likewise.
41439 * manual/io.texi: Likewise.
41440 (File Name Portability): Detail which constraints are inapplicable
41441 to all GNU systems and which are only inapplicable to GNU/Hurd.
41442 * manual/job.texi: Likewise.
41443 * manual/llio.texi: Likewise.
41444 (O_NOCTTY): Document as present on GNU/Linux.
41445 * manual/maint.texi: Likewise.
41446 * manual/memory.texi: Likewise.
41447 * manual/pattern.texi: Likewise.
41448 * manual/pipe.texi: Likewise.
41449 * manual/process.texi: Likewise.
41450 * manual/resource.texi: Likewise.
41451 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41453 * manual/setjmp.texi: Likewise.
41454 * manual/signal.texi: Likewise.
41455 * manual/startup.texi: Likewise.
41456 * manual/stdio.texi: Likewise.
41457 * manual/terminal.texi: Likewise.
41458 (ONLCR): Document as POSIX.
41459 (OXTABS): Document availability on GNU/Linux as XTABS.
41460 (ONOEOT): Document availability separately from other bits.
41461 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41462 * manual/time.texi: Likewise.
41463 * manual/users.texi: Likewise.
41464 * INSTALL: Regenerated.
41465 * sysdeps/gnu/errlist.c: Regenerated.
41467 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41468 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41469 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41471 * configure: Regenerated.
41473 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41475 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41476 default includes instead of AC_HEADER_CHECK.
41477 * sysdeps/i386/configure: Regenerated.
41480 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41481 * math/s_cacoshf.c (__cacoshf): Likewise.
41482 * math/s_cacoshl.c (__cacoshl): Likewise.
41483 * math/s_casinh.c (__casinh): Set signs of result from argument.
41484 * math/s_casinhf.c (__casinhf): Likewise.
41485 * math/s_casinhl.c (__casinhl): Likewise.
41486 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41487 (casinh_test): Add more tests.
41488 * sysdeps/i386/fpu/libm-test-ulps: Update.
41489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41491 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41493 * po/zh_TW.po: Update from translation team.
41495 * login/Makefile (distribute): Remove variable.
41496 * catgets/Makefile: Likewise.
41497 * mach/Makefile: Likewise.
41498 * malloc/Makefile: Likewise.
41499 * misc/Makefile: Likewise.
41500 * iconv/Makefile: Likewise.
41501 * nscd/Makefile: Likewise.
41502 * hurd/Makefile: Likewise.
41503 * manual/Makefile: Likewise.
41504 * locale/Makefile: Likewise.
41505 * intl/Makefile: Likewise.
41506 * conform/Makefile: Likewise.
41507 * nss/Makefile: Likewise.
41508 * time/Makefile: Likewise.
41509 * soft-fp/Makefile: Likewise.
41510 * dirent/Makefile: Likewise.
41511 * gmon/Makefile: Likewise.
41512 * po/Makefile: Likewise.
41513 * rt/Makefile: Likewise.
41514 * socket/Makefile: Likewise.
41515 * math/Makefile: Likewise.
41516 * signal/Makefile: Likewise.
41517 * debug/Makefile: Likewise.
41518 * elf/Makefile: Likewise.
41519 * timezone/Makefile: Likewise.
41520 * stdlib/Makefile: Likewise.
41521 * iconvdata/Makefile: Likewise.
41522 * sunrpc/Makefile: Likewise.
41523 * io/Makefile: Likewise.
41524 * argp/Makefile: Likewise.
41525 * inet/Makefile: Likewise.
41526 * hesiod/Makefile: Likewise.
41527 * grp/Makefile: Likewise.
41528 * csu/Makefile: Likewise.
41529 * wctype/Makefile: Likewise.
41530 * crypt/Makefile: Likewise.
41531 * libio/Makefile: Likewise.
41532 * string/Makefile: Likewise.
41533 * nis/Makefile: Likewise.
41534 * resolv/Makefile: Likewise.
41535 * stdio-common/Makefile: Likewise.
41536 * wcsmbs/Makefile: Likewise.
41537 * dlfcn/Makefile: Likewise.
41538 * posix/Makefile: Likewise.
41541 * timezone/Makefile: Don't install timezone files, just the programs
41544 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41546 * nss/databases.def: Add missing gshadow entry.
41548 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41550 2012-03-06 Marek Polacek <polacek@redhat.com>
41553 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41554 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41555 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41556 * stdio-common/tst-long-dbl-fphex.c: New file.
41558 2012-03-06 David S. Miller <davem@davemloft.net>
41560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41561 (set_obp_int): New function.
41562 (get_obp_int): New function.
41563 (__get_clockfreq_via_dev_openprom): Likewise.
41564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41565 Avoid unused variable warnings on 'val' and use builtin_expect.
41566 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41568 (INLINE_CLONE_SYSCALL): Likewise.
41570 2012-03-05 David S. Miller <davem@davemloft.net>
41572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41574 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41578 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41579 only for |x| >= 40.
41580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41582 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41585 Replace gettimeofday with __vdso_gettimeofday.
41587 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41588 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41589 __vdso_clock_gettime and __vdso_getcpu.
41591 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41592 time with __vdso_time.
41594 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41596 * manual/lang.texi (size_t): Note types to which size_t may be
41597 equivalent with the GNU C Library, but do not describe when
41598 differences between them are significant.
41600 2012-03-05 Andreas Jaeger <aj@suse.de>
41602 * sysdeps/i386/fpu/libm-test-ulps: Update.
41604 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41607 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41608 (__ieee754_pow): Save and restore rounding mode and use
41609 round-to-nearest for main computations.
41610 * math/libm-test.inc (pow_test_tonearest): New function.
41611 (pow_test_towardzero): Likewise.
41612 (pow_test_downward): Likewise.
41613 (pow_test_upward): Likewise.
41614 (main): Call the new functions.
41615 * sysdeps/i386/fpu/libm-test-ulps: Update.
41616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41619 * math/libm-test.inc (cosh_test_tonearest): New function.
41620 (cosh_test_towardzero): Likewise.
41621 (cosh_test_downward): Likewise.
41622 (cosh_test_upward): Likewise.
41623 (sinh_test_tonearest): Likewise.
41624 (sinh_test_towardzero): Likewise.
41625 (sinh_test_downward): Likewise.
41626 (sinh_test_upward): Likewise.
41627 (main): Call the new functions.
41628 * sysdeps/i386/fpu/libm-test-ulps: Update.
41629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41631 2012-03-05 Tom de Vries <tom@codesourcery.com>
41633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41634 default stack guard is set in last bytes.
41635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41637 2012-03-05 Kees Cook <keescook@chromium.org>
41639 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41642 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41643 possibly allocate from heap instead of stack.
41644 * stdio-common/bug-vfprintf-nargs.c: New file.
41645 * stdio-common/Makefile (tests): Add nargs overflow test.
41647 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41651 2012-03-03 Marek Polacek <polacek@redhat.com>
41653 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41654 * math/math_private.h: Likewise.
41655 * stdlib/tst-strtod.c: Likewise.
41656 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41657 * sysdeps/x86_64/bits/atomic.h: Likewise.
41659 2012-03-02 David S. Miller <davem@davemloft.net>
41661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41665 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41666 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41667 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41668 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41670 2012-03-02 Roland McGrath <roland@hack.frob.com>
41673 * manual/examples/README: New file, says the example source files
41674 can be used under GPL>=2.
41675 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41676 line containing just "*/".
41677 * manual/examples/add.c: Add copyright header (GPL>=2).
41678 * manual/examples/argp-ex1.c: Likewise.
41679 * manual/examples/argp-ex2.c: Likewise.
41680 * manual/examples/argp-ex3.c: Likewise.
41681 * manual/examples/argp-ex4.c: Likewise.
41682 * manual/examples/atexit.c: Likewise.
41683 * manual/examples/db.c: Likewise.
41684 * manual/examples/dir.c: Likewise.
41685 * manual/examples/dir2.c: Likewise.
41686 * manual/examples/execinfo.c: Likewise.
41687 * manual/examples/filecli.c: Likewise.
41688 * manual/examples/filesrv.c: Likewise.
41689 * manual/examples/fmtmsgexpl.c: Likewise.
41690 * manual/examples/genpass.c: Likewise.
41691 * manual/examples/inetcli.c: Likewise.
41692 * manual/examples/inetsrv.c: Likewise.
41693 * manual/examples/isockad.c: Likewise.
41694 * manual/examples/longopt.c: Likewise.
41695 * manual/examples/memopen.c: Likewise.
41696 * manual/examples/memstrm.c: Likewise.
41697 * manual/examples/mkfsock.c: Likewise.
41698 * manual/examples/mkisock.c: Likewise.
41699 * manual/examples/mygetpass.c: Likewise.
41700 * manual/examples/pipe.c: Likewise.
41701 * manual/examples/popen.c: Likewise.
41702 * manual/examples/rprintf.c: Likewise.
41703 * manual/examples/search.c: Likewise.
41704 * manual/examples/select.c: Likewise.
41705 * manual/examples/setjmp.c: Likewise.
41706 * manual/examples/sigh1.c: Likewise.
41707 * manual/examples/sigusr.c: Likewise.
41708 * manual/examples/stpcpy.c: Likewise.
41709 * manual/examples/strdupa.c: Likewise.
41710 * manual/examples/strftim.c: Likewise.
41711 * manual/examples/strncat.c: Likewise.
41712 * manual/examples/subopt.c: Likewise.
41713 * manual/examples/swapcontext.c: Likewise.
41714 * manual/examples/termios.c: Likewise.
41715 * manual/examples/testopt.c: Likewise.
41716 * manual/examples/testpass.c: Likewise.
41717 * manual/examples/timeval_subtract.c: Likewise.
41720 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41722 * manual/timeval_subtract.c.texi: ... here, new file.
41724 2012-03-02 David S. Miller <davem@davemloft.net>
41726 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41728 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41731 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41732 (__sin): Save and restore rounding mode and use round-to-nearest
41733 for all computations.
41734 (__cos): Save and restore rounding mode and use round-to-nearest
41735 for all computations.
41736 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41738 (tan): Save and restore rounding mode and use round-to-nearest for
41740 * math/libm-test.inc (cos_test_tonearest): New function.
41741 (cos_test_towardzero): Likewise.
41742 (cos_test_downward): Likewise.
41743 (cos_test_upward): Likewise.
41744 (sin_test_tonearest): Likewise.
41745 (sin_test_towardzero): Likewise.
41746 (sin_test_downward): Likewise.
41747 (sin_test_upward): Likewise.
41748 (tan_test_tonearest): Likewise.
41749 (tan_test_towardzero): Likewise.
41750 (tan_test_downward): Likewise.
41751 (tan_test_upward): Likewise.
41752 (main): Call the new functions.
41753 * sysdeps/i386/fpu/libm-test-ulps: Update.
41754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41757 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41758 small n, then large n, before computing and testing k+n.
41759 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41764 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41765 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41770 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41771 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41772 * math/libm-test.inc (scalbn_test): Add more tests.
41773 (scalbln_test): Likewise.
41775 * manual/filesys.texi (mode_t): Describe constraints on size and
41776 signedness, not exact equivalence to a particular type.
41778 (ino64_t): Likewise.
41780 (nlink_t): Likewise.
41781 (blkcnt_t): Likewise.
41782 (blkcnt64_t): Likewise.
41783 * manual/llio.texi (off_t): Likewise.
41786 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41787 (__ieee754_exp): Save and restore rounding mode and use
41788 round-to-nearest for all computations.
41789 * math/libm-test.inc (exp_test_tonearest): New function.
41790 (exp_test_towardzero): Likewise.
41791 (exp_test_downward): Likewise.
41792 (exp_test_upward): Likewise.
41793 (main): Call the new functions.
41794 * sysdeps/i386/fpu/libm-test-ulps: Update.
41795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41797 2012-03-01 Chris Demetriou <cgd@google.com>
41799 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41800 have predictable order.
41802 2012-03-01 David S. Miller <davem@davemloft.net>
41804 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41806 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41807 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41808 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41809 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41811 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41812 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41813 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41815 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41816 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41817 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41818 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41819 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41824 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41825 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41827 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41828 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41829 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41830 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41831 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41834 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41835 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41836 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41837 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41838 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41840 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41841 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41843 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41844 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41845 * sysdeps/sparc/elf/configure: Regenerated.
41847 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41849 * configure.in (AS, LD): Require binutils 2.20 or later.
41850 * configure: Regenerated.
41851 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41852 as required minimum version.
41853 * INSTALL: Regenerated.
41857 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41858 before squaring exponent.
41859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41860 bottom long double and 27 bits of top long double before squaring
41862 * math/libm-test.inc (erfc_test): Add more tests.
41863 * sysdeps/i386/fpu/libm-test-ulps: Update.
41864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41867 2012-03-01 Kai Tietz <ktietz@redhat.com>
41869 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41870 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41871 containing bit-fields.
41872 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41873 * soft-fp/single.h (_FP_UNION_S): Likewise.
41874 * soft-fp/double.h (_FP_UNION_D): Likewise.
41876 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41879 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41880 not include ../strcmp.S.
41881 [USE_AS_STRNCASECMP_L]: Likewise.
41882 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41883 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41884 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41885 (__strncasecmp_l_ia32): Define as alias to
41886 __strncasecmp_l_nonascii.
41889 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41890 * sysdeps/i386/fpu/libm-test-ulps: Update.
41891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41893 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41896 2012-02-29 Jeff Law <law@redhat.com>
41898 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41899 out of bounds read.
41901 2012-02-29 Marek Polacek <polacek@redhat.com>
41904 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41905 * elf/Makefile: Add rules to run tst-unused-dep.out.
41907 2012-02-28 David S. Miller <davem@davemloft.net>
41909 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41910 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41913 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41914 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41916 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41918 * math/libm-test.inc (llround_test): Move one test from
41919 lround_test. Use TEST_f_L in moved test.
41920 (lround_test): Move misplaced test to llround_test. Add testcase
41923 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41925 * sysdeps/x86_64/fpu/e_expf.S: New file.
41926 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41928 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41931 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41932 of remain_len that may cause incomplete multi-byte character and
41934 * posix/bug-regex33.c: New file.
41935 * posix/Makefile (tests): Add bug-regex33.
41937 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41939 * manual/macros.texi: New file.
41940 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41941 * manual/libc.texinfo: Include macros.texi.
41942 * manual/creatute.texi: Likewise.
41943 * manual/install.texi: Likewise.
41944 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41945 @glibcadj{} in references to the GNU C Library.
41946 * manual/charset.texi: Likewise.
41947 * manual/conf.texi: Likewise.
41948 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41949 when not using those macros.
41950 * manual/creature.texi: Likewise.
41951 * manual/crypt.texi: Likewise.
41952 * manual/errno.texi: Likewise.
41953 * manual/filesys.texi: Likewise.
41954 * manual/header.texi: Likewise.
41955 * manual/install.texi: Likewise.
41956 * manual/intro.texi: Likewise.
41957 * manual/io.texi: Likewise.
41958 * manual/job.texi: Likewise.
41959 * manual/lang.texi: Likewise.
41960 * manual/libc.texiinfo: Likewise.
41961 * manual/llio.texi: Likewise.
41962 * manual/locale.texi: Likewise.
41963 * manual/maint.texi: Likewise.
41964 * manual/math.texi: Likewise.
41965 * manual/memory.texi: Likewise.
41966 * manual/message.texi: Likewise.
41967 * manual/nss.texi: Likewise.
41968 * manual/pattern.texi: Likewise.
41969 * manual/process.texi: Likewise.
41970 * manual/resource.texi: Likewise.
41971 * manual/search.texi: Likewise.
41972 * manual/setjmp.texi: Likewise.
41973 * manual/signal.texi: Likewise.
41974 * manual/socket.texi: Likewise.
41975 * manual/startup.texi: Likewise.
41976 * manual/stdio.texi: Likewise.
41977 * manual/string.texi: Likewise.
41978 * manual/sysinfo.texi: Likewise.
41979 * manual/syslog.texi: Likewise.
41980 * manual/terminal.texi: Likewise.
41981 * manual/time.texi: Likewise.
41982 * manual/users.texi: Likewise.
41983 * INSTALL: Regenerated.
41984 * NOTES: Regenerated.
41985 * sysdeps/gnu/errlist.c: Regenerated.
41987 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41989 * include/dirent.h: Include <dirstream.h> before
41992 2012-02-28 David S. Miller <davem@davemloft.net>
41994 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41995 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41996 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41997 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41999 2012-02-27 David S. Miller <davem@davemloft.net>
42001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42003 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42004 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42007 frame pointer instead of stack pointer relative arg slot.
42008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42012 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42015 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42017 2012-02-27 David S. Miller <davem@davemloft.net>
42019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42025 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42026 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42028 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42030 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42031 later. Allow versions 5-9.
42032 * configure: Regenerated.
42033 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42034 required minimum version and 4.6 as recommended version. Do not
42035 mention bugs in GCC 2.7 and 2.8.
42036 * INSTALL: Regenerated.
42038 2012-02-27 David S. Miller <davem@davemloft.net>
42040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42044 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42045 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42046 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42047 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42050 manipulate bits before adding and subtracting TWO112[sx].
42051 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42053 2012-02-27 Roland McGrath <roland@hack.frob.com>
42056 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42057 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42058 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42059 being in POSIX, because they are in 1003.1-2008.
42061 * rt/tst-aio.c: Include <fcntl.h>.
42062 * rt/tst-aio7.c: Likewise.
42063 * rt/tst-aio64.c: Likewise.
42065 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42067 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42069 * manual/install.texi (--with-headers): Describe headers as
42070 interface headers, not private headers.
42071 (Specific advice for GNU/Linux systems): Describe use of headers
42072 from "make headers_install", not private headers from older
42074 * INSTALL: Regenerated.
42075 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42077 * sysdeps/unix/sysv/linux/configure: Regenerated.
42079 * manual/llio.texi (fclean): Remove documentation.
42081 * manual/Makefile (libc-texi-generated): New variable. Include
42083 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42084 $(libc-texi-generated), not duplicated list of files.
42085 (version.texi, stamp-version): New rules.
42086 (realclean): Remove $(libc-texi-generated), not individual files
42087 from that list. Do not remove dir-add.texinfo.
42088 * manual/libc.texinfo: Comment out uses of edition numbers and
42089 references to printed manual. Remove last-updated dates.
42090 (EDITION): Comment out.
42092 (VERSION, UPDATED): Remove.
42093 (version.texi): Include.
42095 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42097 * sysdeps/posix/spawni.c: Include <signal.h>.
42098 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42099 * sysdeps/pthread/aio_fsync.c: Likewise.
42101 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42103 * conform/Makefile (tests): Run only when not cross-compiling and
42104 when fast-check is not defined.
42106 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42107 * conform/data/limits.h-data: Fixes for POSIX2008.
42108 * conform/run-conformtest.sh: Run all tests.
42109 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42111 * include/bits/dlfcn.h: Likewise.
42112 * include/langinfo.h: Likewise.
42113 * include/monetary.h: Likewise.
42114 * include/sys/poll.h: Likewise.
42116 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42118 * posix/spawn.h: Define __need_sigset_t.
42119 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42120 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42121 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42122 to get sigevent_t only.
42123 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42124 only for __USE_GNU.
42125 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42126 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42127 process_vm_writev only for __USE_GNU.
42128 * termios/termios.h: Declare tcgetsid also for POSIX2008.
42130 * conform/Makefile: For now ignore errors from run-conformtest.
42131 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42132 POSIX to avoid namespace pollution. Don't prepend headers.
42133 * conform/data/aio.h-data: Fixes for POSIX testing.
42134 * conform/data/fcntl.h-data: Likewise.
42135 * conform/data/glob.h-data: Likewise.
42136 * conform/data/grp.h-data: Likewise.
42137 * conform/data/pthread.h-data: Likewise.
42138 * conform/data/pwd.h-data: Likewise.
42139 * conform/data/signal.h-data: Likewise.
42140 * conform/data/spawn.h-data: Likewise.
42141 * conform/data/stdio.h-data: Likewise.
42142 * conform/data/stdlib.h-data: Likewise.
42143 * conform/data/stropts.h-data: Likewise.
42144 * conform/data/sys/mman.h-data: Likewise.
42145 * conform/data/sys/stat.h-data: Likewise.
42146 * conform/data/sys/types.h-data: Likewise.
42147 * conform/data/sys/wait.h-data: Likewise.
42148 * conform/data/time.h-data: Likewise.
42149 * conform/data/unistd.h-data: Likewise.
42150 * conform/data/utime.h-data: Likewise.
42152 * io/sys/stat.h: fchmod was always in POSIX.
42153 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42154 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42155 * rt/aio.h: Define __need_timespec before including <time.h>.
42156 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42157 struct. Add forward declaration of pthread_attr_t and use it in
42159 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42161 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42162 always remove CLK_TCK definition.
42164 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42166 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42168 2012-02-25 Ulrich Drepper <drepper@gmail.com>
42170 * conform/run-conformtest.sh: New file.
42171 * conform/Makefile: Run run-conformtest for tests.
42172 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42175 * conform/data/uchar.h-data: New file.
42176 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42177 * conform/data/arpa/inet.h-data: Likewise.
42178 * conform/data/assert.h-data: Likewise.
42179 * conform/data/complex.h-data: Likewise.
42180 * conform/data/cpio.h-data: Likewise.
42181 * conform/data/ctype.h-data: Likewise.
42182 * conform/data/dirent.h-data: Likewise.
42183 * conform/data/dlfcn.h-data: Likewise.
42184 * conform/data/errno.h-data: Likewise.
42185 * conform/data/fcntl.h-data: Likewise.
42186 * conform/data/float.h-data: Likewise.
42187 * conform/data/fmtmsg.h-data: Likewise.
42188 * conform/data/fnmatch.h-data: Likewise.
42189 * conform/data/ftw.h-data: Likewise.
42190 * conform/data/glob.h-data: Likewise.
42191 * conform/data/grp.h-data: Likewise.
42192 * conform/data/iconv.h-data: Likewise.
42193 * conform/data/inttypes.h-data: Likewise.
42194 * conform/data/langinfo.h-data: Likewise.
42195 * conform/data/libgen.h-data: Likewise.
42196 * conform/data/limits.h-data: Likewise.
42197 * conform/data/locale.h-data: Likewise.
42198 * conform/data/math.h-data: Likewise.
42199 * conform/data/monetary.h-data: Likewise.
42200 * conform/data/mqueue.h-data: Likewise.
42201 * conform/data/ndbm.h-data: Likewise.
42202 * conform/data/net/if.h-data: Likewise.
42203 * conform/data/netdb.h-data: Likewise.
42204 * conform/data/netinet/in.h-data: Likewise.
42205 * conform/data/nl_types.h-data: Likewise.
42206 * conform/data/poll.h-data: Likewise.
42207 * conform/data/pthread.h-data: Likewise.
42208 * conform/data/pwd.h-data: Likewise.
42209 * conform/data/regex.h-data: Likewise.
42210 * conform/data/sched.h-data: Likewise.
42211 * conform/data/search.h-data: Likewise.
42212 * conform/data/semaphore.h-data: Likewise.
42213 * conform/data/setjmp.h-data: Likewise.
42214 * conform/data/signal.h-data: Likewise.
42215 * conform/data/spawn.h-data: Likewise.
42216 * conform/data/stdarg.h-data: Likewise.
42217 * conform/data/stdio.h-data: Likewise.
42218 * conform/data/stdlib.h-data: Likewise.
42219 * conform/data/string.h-data: Likewise.
42220 * conform/data/strings.h-data: Likewise.
42221 * conform/data/stropts.h-data: Likewise.
42222 * conform/data/sys/ipc.h-data: Likewise.
42223 * conform/data/sys/mman.h-data: Likewise.
42224 * conform/data/sys/msg.h-data: Likewise.
42225 * conform/data/sys/resource.h-data: Likewise.
42226 * conform/data/sys/select.h-data: Likewise.
42227 * conform/data/sys/sem.h-data: Likewise.
42228 * conform/data/sys/shm.h-data: Likewise.
42229 * conform/data/sys/socket.h-data: Likewise.
42230 * conform/data/sys/stat.h-data: Likewise.
42231 * conform/data/sys/statvfs.h-data: Likewise.
42232 * conform/data/sys/time.h-data: Likewise.
42233 * conform/data/sys/timeb.h-data: Likewise.
42234 * conform/data/sys/times.h-data: Likewise.
42235 * conform/data/sys/types.h-data: Likewise.
42236 * conform/data/sys/uio.h-data: Likewise.
42237 * conform/data/sys/un.h-data: Likewise.
42238 * conform/data/sys/utsname.h-data: Likewise.
42239 * conform/data/sys/wait.h-data: Likewise.
42240 * conform/data/syslog.h-data: Likewise.
42241 * conform/data/tar.h-data: Likewise.
42242 * conform/data/termios.h-data: Likewise.
42243 * conform/data/utime.h-data: Likewise.
42244 * conform/data/utmpx.h-data: Likewise.
42245 * conform/data/varargs.h-data: Likewise.
42246 * conform/data/wchar.h-data: Likewise.
42247 * conform/data/wctype.h-data: Likewise.
42248 * conform/data/wordexp.h-data: Likewise.
42250 * include/stropts.h: New file.
42251 * include/uchar.h: New file.
42252 * include/aio.h: Changes to allow conformtest.pl to use the headers.
42253 * include/assert.h: Likewise.
42254 * include/ctype.h: Likewise.
42255 * include/dirent.h: Likewise.
42256 * include/dlfcn.h: Likewise.
42257 * include/fcntl.h: Likewise.
42258 * include/fnmatch.h: Likewise.
42259 * include/glob.h: Likewise.
42260 * include/grp.h: Likewise.
42261 * include/libio.h: Likewise.
42262 * include/locale.h: Likewise.
42263 * include/math.h: Likewise.
42264 * include/net/if.h: Likewise.
42265 * include/netdb.h: Likewise.
42266 * include/netinet/in.h: Likewise.
42267 * include/pthread.h: Likewise.
42268 * include/pwd.h: Likewise.
42269 * include/regex.h: Likewise.
42270 * include/sched.h: Likewise.
42271 * include/search.h: Likewise.
42272 * include/setjmp.h: Likewise.
42273 * include/signal.h: Likewise.
42274 * include/stdio.h: Likewise.
42275 * include/stdlib.h: Likewise.
42276 * include/string.h: Likewise.
42277 * include/sys/cdefs.h: Likewise.
42278 * include/sys/mman.h: Likewise.
42279 * include/sys/msg.h: Likewise.
42280 * include/sys/resource.h: Likewise.
42281 * include/sys/select.h: Likewise.
42282 * include/sys/socket.h: Likewise.
42283 * include/sys/stat.h: Likewise.
42284 * include/sys/statvfs.h: Likewise.
42285 * include/sys/time.h: Likewise.
42286 * include/sys/times.h: Likewise.
42287 * include/sys/uio.h: Likewise.
42288 * include/sys/utsname.h: Likewise.
42289 * include/sys/wait.h: Likewise.
42290 * include/termios.h: Likewise.
42291 * include/time.h: Likewise.
42292 * include/ulimit.h: Likewise.
42293 * include/unistd.h: Likewise.
42294 * include/utime.h: Likewise.
42295 * include/wchar.h: Likewise.
42296 * include/wctype.h: Likewise.
42297 * include/wordexp.h: Likewise.
42299 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42301 * time/time.h: TIME_UTC must be a macro.
42302 Make timespec_get available for ISO C11 only as well.
42304 2012-02-24 Ulrich Drepper <drepper@gmail.com>
42306 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42307 Reported by Peng Haitao <penght@cn.fujitsu.com>.
42309 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42311 * configure.in: Use -o not -a in test for unsupported multi-arch.
42313 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42315 * manual/texinfo.tex: Update to version 2012-01-19.16.
42317 2012-02-24 Joseph Myers <joseph@codesourcery.com>
42319 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42321 2012-02-24 Roland McGrath <roland@hack.frob.com>
42324 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42325 * manual/fdl-1.3.texi: New file.
42326 * manual/fdl-1.1.texi: File removed.
42329 * manual/libc.texinfo (FDL_VERSION): New @set.
42330 Use it for mention of FDL in cover text.
42331 (Documentation License): Use it in @include file name.
42333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42334 Roland McGrath <roland@hack.frob.com>
42337 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42338 (not LONG_LONG_MAX and LONG_LONG_MIN.
42339 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42340 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
42342 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42344 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42348 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42349 manipulate bits before adding and subtracting TWO23[sx].
42350 * math/libm-test.inc (nearbyint_test): Add more tests.
42352 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42355 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42356 bits before adding and subtracting TWO23[sx].
42357 * math/libm-test.inc (rint_test): Add more tests.
42358 (rint_test_tonearest): Likewise.
42359 (rint_test_towardzero): Likewise.
42360 (rint_test_downward): Likewise.
42361 (rint_test_upward: Likewise.
42363 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42366 * include/stdc-predef.h: New file. Extracted from features.h.
42367 * include/features.h: Include stdc-predef.h.
42368 * Makefile (headers): Add stdc-predef.h.
42369 * CONFORMANCE (Compiler limitations): Update.
42371 2012-02-22 Joseph Myers <joseph@codesourcery.com>
42373 * manual/libc.texinfo (VERSION, UPDATED): Revert.
42375 2012-02-21 David S. Miller <davem@davemloft.net>
42377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42378 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42380 2012-02-20 David S. Miller <davem@davemloft.net>
42382 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42383 using a normal save/restore sequence, rather than allocating a
42384 dummy stack frame just to store a frame pointer and restore.
42385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42387 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42389 * manual/install.texi: Fix stray word in line-wrapped comment.
42391 2012-02-20 David S. Miller <davem@davemloft.net>
42393 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42394 both binutils and gcc support GOTDATA.
42396 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42397 "rd %pc" in the PIC register setup sequences.
42399 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42400 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42401 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42402 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42403 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42405 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42406 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42408 (SYSCALL_ERROR_HANDLER): Likewise.
42409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42410 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42412 (SYSCALL_ERROR_HANDLER): Likewise.
42414 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42415 (HAVE_GCC_GOTDATA): New.
42416 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42417 relocation support in both binutils and gcc.
42418 * sysdeps/sparc/elf/configure: Regenerate.
42420 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42421 * sysdeps/sparc/sparc32/elf/configure: Delete.
42422 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42423 * sysdeps/sparc/sparc64/elf/configure: Delete.
42424 * sysdeps/sparc/elf/configure.in: New file.
42425 * sysdeps/sparc/elf/configure: Generate.
42427 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42428 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42429 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42430 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42431 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42433 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42435 * manual/install.texi: Do not mention specific glibc version
42437 * manual/libc.texinfo (VERSION, UPDATED): Update.
42438 (@copying): Use @copyright{} and range of years.
42440 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42443 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42444 [crti.S not in sysdirs] (generated): Do not append.
42445 [crti.S not in sysdirs] (omit-deps): Likewise.
42446 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42447 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42448 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42449 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42450 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42452 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42453 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42454 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42455 * csu/defs.awk: Remove file.
42456 * sysdeps/generic/initfini.c: Likewise.
42457 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42459 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42462 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42464 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42465 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42466 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42468 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42469 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42471 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42472 (__EPOLL_PACKED): Define to empty if not defined by
42474 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42478 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42480 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42481 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42482 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42483 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42485 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42489 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42491 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42494 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42495 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42498 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42503 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42505 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42506 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42508 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42510 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42513 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42515 * math/w_acos.c: Use non-signaling floating-point comparisons.
42516 * math/w_acosf.c: Likewise.
42517 * math/w_acosh.c: Likewise.
42518 * math/w_acoshf.c: Likewise.
42519 * math/w_acoshl.c: Likewise.
42520 * math/w_acosl.c: Likewise.
42521 * math/w_asin.c: Likewise.
42522 * math/w_asinf.c: Likewise.
42523 * math/w_asinl.c: Likewise.
42524 * math/w_atanh.c: Likewise.
42525 * math/w_atanhf.c: Likewise.
42526 * math/w_atanhl.c: Likewise.
42527 * math/w_exp2.c: Likewise.
42528 * math/w_exp2f.c: Likewise.
42529 * math/w_exp2l.c: Likewise.
42530 * math/w_j0.c: Likewise.
42531 * math/w_j0f.c: Likewise.
42532 * math/w_j0l.c: Likewise.
42533 * math/w_j1.c: Likewise.
42534 * math/w_j1f.c: Likewise.
42535 * math/w_j1l.c: Likewise.
42536 * math/w_jn.c: Likewise.
42537 * math/w_jnf.c: Likewise.
42538 * math/w_log.c: Likewise.
42539 * math/w_log10.c: Likewise.
42540 * math/w_log10f.c: Likewise.
42541 * math/w_log10l.c: Likewise.
42542 * math/w_log2.c: Likewise.
42543 * math/w_log2f.c: Likewise.
42544 * math/w_log2l.c: Likewise.
42545 * math/w_logf.c: Likewise.
42546 * math/w_logl.c: Likewise.
42547 * math/w_sqrt.c: Likewise.
42548 * math/w_sqrtf.c: Likewise.
42549 * math/w_sqrtl.c: Likewise.
42550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42551 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42553 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42556 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42559 * manual/string.texi (strnlen): Use correct parameter name in
42560 equivalent expression.
42562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42565 * manual/users.texi (seteuid): Consistently use neweuid for
42568 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42571 * manual/nss.texi (Services in the NSS configuration): Correct
42572 list of services in example configuration file.
42574 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42577 * manual/arith.texi: Remove statements about negative zero
42578 behaving identically to zero.
42580 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42583 * manual/install.texi: Do not document upgrading from libc5.
42585 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42588 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42590 2012-02-18 David S. Miller <davem@davemloft.net>
42592 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42593 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42594 %o7 across the call.
42595 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42598 SETUP_PIC_REG_LEAF.
42599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42600 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42601 * sysdeps/sparc/crtn.S: Likewise.
42603 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42605 * aout/Makefile: Remove.
42607 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42610 * manual/examples/argp-ex1.c (main): Format definition in GNU
42612 * manual/examples/argp-ex2.c (main): Likewise.
42613 * manual/examples/argp-ex3.c (main): Likewise.
42614 * manual/examples/argp-ex4.c (main): Likewise.
42615 * manual/examples/longopt.c (main): Use new-style prototype
42617 * manual/examples/strncat.c (main): Specify return type and use
42618 (void) for arguments.
42619 * manual/examples/subopt.c (main): Use char **argv argument.
42621 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42624 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42627 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42630 * manual/string.texi (strchr): Change when strchrnul is
42633 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42636 * manual/locale.texi (setlocale): Document LOCPATH.
42638 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42641 * manual/process.texi (execle): Move @dots{} before last argument.
42643 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42646 * manual/charset.texi (Generic Charset Conversion): Fix typo
42647 (LC_TYPE -> LC_CTYPE).
42649 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42652 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42653 (scalbnf): Likewise.
42654 (scalbnl): Likewise.
42655 (scalbln): Likewise.
42656 (scalblnf): Likewise.
42657 (scalblnl): Likewise.
42658 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42659 (vwarnx): Likewise.
42662 * manual/filesys.texi (telldir): Use braces around return type.
42663 * manual/llio.texi (mmap): Add space after comma.
42664 (mmap64): Likewise.
42665 * manual/math.texi (jn): Use @var{} on parameter names.
42671 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42673 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42675 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42676 (sched_get_priority_max): Likewise.
42677 * manual/signal.texi (sigvec): Add space after comma.
42678 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42680 (if_indextoname): Likewise.
42681 (if_freenameindex): Likewise.
42682 (sendto): Use ',' instead of '.' in prototype.
42683 * manual/startup.texi (syscall): Use @dots{} instead of literal
42685 * manual/stdio.texi (__fpending): Separate initial words of
42686 paragraph from @deftypefun line.
42687 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42689 (vsyslog): Use @var{} on parameter names.
42690 * manual/terminal.texi (stty): Use @var{} on parameter names.
42691 * manual/users.texi (getutmp): Use @var{} on parameter names.
42692 (getutmpx): Likewise.
42694 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42697 * manual/stdio.texi (fopen): Fix typos in description of
42700 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42703 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42704 get clock_id definition.
42706 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42709 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42710 (madvise): Cast every argument to void on its own.
42712 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42715 * manual/startup.texi (Exit Status): Fix typo.
42717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42720 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42721 * manual/examples/argp-ex2.c: Likewise.
42722 * manual/examples/argp-ex3.c: Likewise.
42724 2012-02-16 Richard Henderson <rth@redhat.com>
42726 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42727 * sysdeps/s390/s390-32/initfini.c: Remove.
42728 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42729 * sysdeps/s390/s390-64/initfini.c: Remove.
42731 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42733 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42734 compiler output for sysdeps/generic/initfini.c.
42735 * sysdeps/sh/elf/initfini.c: Remove file.
42737 2012-02-16 David S. Miller <davem@davemloft.net>
42740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42742 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42743 * sysdeps/sparc/crti.S: New file.
42744 * sysdeps/sparc/crtn.S: New file.
42745 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42746 * sysdeps/sparc/sparc64/Makefile: Likewise.
42748 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42751 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42753 2012-02-15 Roland McGrath <roland@hack.frob.com>
42756 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42758 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42759 (write, read, close): Likewise.
42760 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42762 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42764 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42765 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42766 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42767 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42769 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42773 2012-02-14 Marek Polacek <polacek@redhat.com>
42775 * sysdeps/x86_64/crti.S: New file.
42776 * sysdeps/x86_64/crtn.S: New file.
42777 * sysdeps/x86_64/elf/initfini.c: Remove file.
42779 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42781 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42782 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42783 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42784 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42786 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42790 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42792 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42793 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42794 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42795 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42797 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42801 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42803 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42804 __feraiseexcept instead of feraiseexcept.
42806 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42807 nanosleep invocations.
42808 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42809 strings, and add error checking for a nanosleep invocations.
42811 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42813 Replace FSF snail mail address with URLs, as per GNU coding standards.
42814 Most of the snail mail addresses were wrong anyway, and omitting
42815 them makes the source code easier to maintain. Almost all of the
42816 changes are to license notices and to locale LC_IDENTIFICATION
42817 addresses, except for this one:
42818 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42819 not its snail mail address.
42821 2012-02-09 Richard Henderson <rth@twiddle.net>
42823 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42824 of kernel-features.h.
42826 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42828 2012-02-08 Marek Polacek <polacek@redhat.com>
42830 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42831 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42832 * sysdeps/gnu/_G_config.h: Likewise.
42833 * sysdeps/generic/_G_config.h: Likewise.
42835 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42837 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42841 * sysdeps/powerpc/powerpc32/crti.S: New file.
42842 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42843 * sysdeps/powerpc/powerpc64/crti.S: New file.
42844 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42846 * Makeconfig (have-initfini): Don't set.
42847 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42848 * configure.in (nopic_initfini): Don't substitute.
42849 * config.h.in (HAVE_INITFINI): Don't #undef.
42850 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42851 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42853 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42855 Support crti.S and crtn.S provided directly by architectures.
42856 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42857 [crti.S in sysdirs] (omit-deps): Likewise.
42858 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42859 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42860 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42861 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42862 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42863 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42864 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42865 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42866 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42867 compiler output for sysdeps/generic/initfini.c.
42868 * sysdeps/i386/elf/Makefile: Remove file.
42869 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42871 2012-02-07 Marek Polacek <polacek@redhat.com>
42873 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42874 * sysdeps/gnu/_G_config.h: Likewise.
42875 * sysdeps/mach/hurd/_G_config.h: Likewise.
42877 2012-02-07 Marek Polacek <polacek@redhat.com>
42879 * math/Makefile (tests): Add tst-CMPLX2.
42880 * math/tst-CMPLX2.c: New file.
42882 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42884 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42886 * math/libm-test.inc (jn_test): Add missing L suffix.
42888 2012-02-06 Marek Polacek <polacek@redhat.com>
42890 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42891 * sysdeps/i386/fpu/e_powf.S: Likewise.
42892 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42893 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42894 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42895 * sysdeps/i386/fpu/e_pow.S: Likewise.
42896 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42897 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42898 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42899 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42900 * sysdeps/i386/fpu/e_log2.S: Likewise.
42901 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42902 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42903 * sysdeps/i386/fpu/e_powl.S: Likewise.
42904 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42905 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42906 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42907 * sysdeps/i386/fpu/e_logl.S: Likewise.
42908 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42909 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42910 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42911 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42913 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42914 * sysdeps/i386/fpu/e_log.S: Likewise.
42915 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42916 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42917 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42918 * sysdeps/i386/fpu/e_logf.S: Likewise.
42919 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42920 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42921 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42922 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42923 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42924 * sysdeps/i386/fpu/e_log10.S: Likewise.
42925 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42926 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42927 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42928 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42929 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42930 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42931 * sysdeps/i386/asm-syntax.h: Likewise.
42932 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42933 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42934 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42935 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42936 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42937 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42938 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42939 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42941 * sysdeps/powerpc/sysdep.h: Likewise.
42942 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42943 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42945 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42948 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42950 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42952 * sysdeps/i386/sysdep.h: Include <features.h>.
42953 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42956 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42958 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42960 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42963 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42965 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42966 (SETUP_PIC_REG): Use GET_PC_THUNK.
42967 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42970 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42972 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42973 for non-PIC compilation.
42974 (SETUP_PIC_REG): Add .p2align directive.
42975 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42976 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42977 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42978 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42980 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42981 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42982 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42983 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42984 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42985 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42986 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42987 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42988 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42989 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42990 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42991 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42992 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42993 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42994 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42996 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42997 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42998 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42999 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43001 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43003 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43004 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43005 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43007 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43008 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43009 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43010 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43011 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43012 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43013 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43014 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43015 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43017 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43019 * math/tst-CMPLX.c: Include <stdio.h>.
43021 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43023 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43025 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43026 * sysdeps/sparc/bits/mathdef.h: Likewise.
43028 2012-01-31 Marek Polacek <polacek@redhat.com>
43030 * libio/libio.h: Don't define _PARAMS.
43031 * locale/programs/config.h: Don't define PARAMS.
43032 * stdlib/strtol_l.c: Likewise.
43033 (__strtol_l): Remove PARAMS from the prototype.
43035 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43037 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43038 names. Just use the correct names. Remove unnecessary wrapper
43040 * malloc/arena.c: Likewise.
43041 * malloc/hooks.c: Likewise.
43043 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43044 ARENA_TEST says not to. Simplify test for creation of a new arena.
43045 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43047 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43049 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43051 (update_get_addr): New function.
43052 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43053 GET_ADDR_MODULE parameter.
43055 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43057 * crypt/cert.c: Remove __STDC__ conditionals.
43058 * crypt/crypt-entry.c: Likewise.
43059 * crypt/crypt_util.c: Likewise.
43060 * libio/filedoalloc.c: Likewise.
43061 * libio/fileops.c: Likewise.
43062 * libio/genops.c: Likewise.
43063 * libio/iofclose.c: Likewise.
43064 * libio/iofdopen.c: Likewise.
43065 * libio/iofopen.c: Likewise.
43066 * libio/iofopen64.c: Likewise.
43067 * libio/iogetdelim.c: Likewise.
43068 * libio/iopopen.c: Likewise.
43069 * libio/obprintf.c: Likewise.
43070 * libio/oldfileops.c: Likewise.
43071 * libio/oldiofclose.c: Likewise.
43072 * libio/oldiofdopen.c: Likewise.
43073 * libio/oldiofopen.c: Likewise.
43074 * libio/oldiopopen.c: Likewise.
43075 * libio/wfiledoalloc.c: Likewise.
43076 * libio/wgenops.c: Likewise.
43077 * locale/programs/xmalloc.c: Likewise.
43078 * misc/syslog.c: Likewise.
43079 * stdio-common/xbug.c: Likewise.
43080 * string/memchr.c: Likewise.
43081 * string/memcmp.c: Likewise.
43082 * string/memrchr.c: Likewise.
43083 * string/rawmemchr.c: Likewise.
43084 * sysdeps/posix/getcwd.c: Likewise.
43085 * time/strftime_l.c: Likewise.
43087 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43089 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43090 * config.make.in (config-cflags-sse2avx): Define.
43091 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43094 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43096 * scripts/config.guess: Update from upstream config git repository.
43097 * scripts/config.sub: Likewise.
43099 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43101 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43103 (R_TILEPRO_*, R_TILEGX_*): New macros.
43105 * scripts/firstversions.awk: Fix bug in version range handling.
43107 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43109 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43111 * include/sys/epoll.h: New file.
43112 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43115 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43117 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43118 Avoid unnecessary __WORDSIZE == 64 test.
43119 (fmaxf): Use VEX format if possible.
43124 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43125 * math/math_private.h: Remove libc_fegetround* and
43127 * sysdeps/i386/configure.in: Check for -msse2avx.
43128 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43129 also if SSE2AVX is defined.
43130 Remove libc_fegetround* and libc_fesetround*.
43131 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43132 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43133 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43135 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43136 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43137 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43138 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43139 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43141 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43143 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43145 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43147 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43149 2012-01-27 Ulrich Drepper <drepper@gmail.com>
43152 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43154 * Makeconfig (libm): Define.
43155 * elf/Makefile: Add rules to build and run tst-relsort1.
43156 * elf/tst-relsort1.c: New file.
43157 * elf/tst-relsort1mod1.c: New file.
43158 * elf/tst-relsort1mod2.c: New file.
43160 2012-01-27 Joseph Myers <joseph@codesourcery.com>
43162 * math/s_ldexp.c: Remove __STDC__ conditionals.
43163 * math/s_ldexpf.c: Likewise.
43164 * math/s_ldexpl.c: Likewise.
43165 * math/s_nextafter.c: Likewise.
43166 * math/s_nexttowardf.c: Likewise.
43167 * math/s_significand.c: Likewise.
43168 * math/s_significandf.c: Likewise.
43169 * math/s_significandl.c: Likewise.
43170 * math/w_jnl.c: Likewise.
43171 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43172 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43173 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43174 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43175 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43177 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43178 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43179 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43180 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43181 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43182 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43183 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43184 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43185 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43186 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43188 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43192 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43197 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43199 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43200 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43201 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43202 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43203 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43204 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43205 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43206 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43207 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43208 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43209 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43210 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43211 * sysdeps/ieee754/k_standard.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43244 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43248 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43249 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43251 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43273 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43278 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43286 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43287 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43290 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43291 * sysdeps/ieee754/s_matherr.c: Likewise.
43292 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43293 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43297 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43299 * crypt/md5.h: Remove __STDC__ conditionals.
43300 * libio/libioP.h: Likewise.
43301 * locale/programs/config.h: Likewise.
43302 * sysdeps/generic/sysdep.h: Likewise.
43303 * sysdeps/i386/asm-syntax.h: Likewise.
43304 * sysdeps/s390/asm-syntax.h: Likewise.
43305 * sysdeps/unix/sysdep.h: Likewise.
43306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43309 2012-01-26 Joseph Myers <joseph@codesourcery.com>
43311 * libio/libio.h: Remove __STDC__ conditionals.
43312 * malloc/obstack.h: Likewise.
43313 * math/complex.h: Likewise.
43314 * math/math.h: Likewise.
43315 * sysdeps/generic/_G_config.h: Likewise.
43316 * sysdeps/gnu/_G_config.h: Likewise.
43317 * sysdeps/mach/hurd/_G_config.h: Likewise.
43318 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43319 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43320 * sysdeps/sparc/bits/mathdef.h: Likewise.
43322 2012-01-26 Ulrich Drepper <drepper@gmail.com>
43325 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43326 Clean up HAS_* macros.
43327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43328 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43332 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43333 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43334 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43335 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43336 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43338 2012-01-25 Joseph Myers <joseph@codesourcery.com>
43340 * elf/tst-unique3.cc (gets): Remove declaration.
43341 * elf/tst-unique3lib.cc (gets): Likewise.
43342 * elf/tst-unique3lib2.cc (gets): Likewise.
43343 * elf/tst-unique4.cc (gets): Likewise.
43345 2012-01-24 Ulrich Drepper <drepper@gmail.com>
43347 * include/stdio.h: Add C++ protection. Add gets declarations and
43349 * debug/tst-chk1.c: Don't declare gets here.
43350 * stdio-common/tst-gets.c: Likewise.
43352 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43354 * posix/glob: Remove directory.
43356 2012-01-24 Joseph Myers <joseph@codesourcery.com>
43358 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43360 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
43362 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43363 of the non-standard EPFNOSUPPORT.
43365 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
43367 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43368 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43369 ANYWHERE set to 1 only on KERN_NO_SPACE error.
43371 2012-01-21 Ulrich Drepper <drepper@gmail.com>
43373 * wcsmbs/uchar.h: Test __STDC_VERSION__.
43375 2012-01-20 Ulrich Drepper <drepper@gmail.com>
43377 * nscd/aicache.c (addhstaiX): Do not cache negative results of
43379 * nscd/grpcache.c (cache_addgr): Likewise.
43380 * nscd/hstcache.c (cache_addhst): Likewise.
43381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43382 * nscd/pwdcache.c (cache_addpw): Likewise.
43383 * nscd/servicescache.c (cache_addserv): Likewise.
43385 2012-01-16 Ulrich Drepper <drepper@gmail.com>
43387 * malloc/malloc.c: Various cleanups.
43388 * malloc/hooks.c: Likewise.
43390 * stdlib/Makefile (tests): Add bug-fmtmsg1.
43391 * stdlib/bug-fmtmsg1.c: New file.
43393 * stdlib/fmtmsg.c (init): Add missing unlock.
43394 Patch by Peng Haitao <penght@cn.fujitsu.com>.
43396 2012-01-12 Marek Polacek <polacek@redhat.com>
43398 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43401 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43403 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43404 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43405 macro to ensure uniqueness of label name.
43406 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43407 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43409 2012-01-11 Ulrich Drepper <drepper@gmail.com>
43411 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43413 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43414 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43415 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43418 2012-01-10 Ulrich Drepper <drepper@gmail.com>
43420 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43422 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43423 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43424 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43426 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43428 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43429 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43430 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43433 * math/bits/math-finite.h: Add ldexp support.
43435 2012-01-10 Marek Polacek <polacek@redhat.com>
43437 * locale/programs/localedef.h (show_archive_content): Add noreturn
43440 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43442 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43444 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43446 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43448 * io/Makefile (headers): Add bits/poll2.h.
43450 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43453 typo #include statement.
43455 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43457 * include/sys/cdefs.h: Define __attribute_alloc_size.
43458 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43459 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43460 * elf/pldd.c: Likewise.
43461 * iconv/iconv_charmap.c: Likewise.
43462 * iconv/iconvconfig.c: Likewise.
43463 * iconv/strtab.c: Likewise.
43464 * locale/programs/locale.c: Likewise.
43465 * locale/programs/localedef.h: Likewise.
43466 * locale/programs/simple-hash.c: Likewise.
43467 * nscd/nscd.h: Likewise.
43468 * nss/makedb.c: Likewise.
43469 * sysdeps/generic/ldconfig.h: Likewise.
43470 * locale/programs/localedef.c: Remove xmalloc prototype.
43471 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43473 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43475 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43478 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43480 * math/Makefile (tests): Add tst-CMPLX.
43481 * math/tst-CMPLX.c: New file.
43483 * math/complex.h (CMPLXL): Fix typo.
43485 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43486 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43488 * debug/tst-chk1.c: Add poll and ppoll tests.
43489 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43490 * include/sys/poll.h: Add hidden proto for ppoll.
43491 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43492 * sysdeps/mach/hurd/ppoll.c: Likewise.
43493 * io/ppoll.c: Likewise.
43494 * debug/poll_chk.c: New file.
43495 * debug/ppoll_chk.c: New file.
43496 * include/bits/poll2.h: New file.
43497 * io/bits/poll2.h: New file.
43500 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43502 * configure.in: static is always set to yes. Remove.
43503 * config.make.in: Don't set build-static.
43504 * Makeconfig: Remove use of build-static.
43505 * dlfcn/Makefile: Likewise.
43506 * elf/Makefile: Likewise.
43507 * math/Makefile: Likewise.
43508 * misc/Makefile: Likewise.
43509 * nptl/Makefile: Likewise.
43510 * sysdeps/mach/hurd/Makefile: Likewise.
43512 * configure.in: PWD_P is not used anymore.
43513 * config.make.in: Remove PWD_P entry.
43515 * configure.in: Remove last remnants of RANLIB.
43516 No need to check for signed size_t anymore.
43517 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43519 Remove __builtin_expect test because we require at least gcc 3.4.
43520 * aclocal.m4: Likewise.
43522 * wcsmbs/mbrtoc16.c: Implement using towc function.
43523 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43524 * wcsmbs/wcsmbsload.c: Likewise.
43525 * iconv/gconv_simple.c: Likewise.
43526 * iconv/gconv_int.h: Likewise.
43527 * iconv/gconv_builtin.h: Likewise.
43528 * iconv/iconv_prog.c: Remove CHAR16 handling.
43530 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43532 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43534 * configure.in: Remove --with-elf and --enable-bounded options.
43535 Dont set base_machine for ia64. More non-ELF conditions removed.
43536 Remove testing and setting of leading underscore information.
43537 * config.make.in (build-bounded): Set to no.
43538 * config.h.in: Remove NO_UNDERSCORES entry.
43539 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43541 * csu/start.c: Remove !NO_UNDERSCORE code.
43542 * locale/localeinfo.h: Likewise.
43543 * sysdeps/generic/machine-gmon.h: Likewise.
43544 * sysdeps/generic/sysdep.h: Likewise.
43545 * sysdeps/i386/sysdep.h: Likewise.
43546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43547 * sysdeps/mach/sysdep.h: Likewise.
43548 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43550 * sysdeps/sh/sysdep.h: Likewise.
43551 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43552 * sysdeps/unix/i386/sysdep.S: Likewise.
43553 * sysdeps/unix/sparc/start.c: Likewise.
43554 * sysdeps/unix/sparc/sysdep.S: Likewise.
43555 * sysdeps/unix/sparc/sysdep.h: Likewise.
43556 * sysdeps/unix/start.c: Likewise.
43557 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43558 * sysdeps/x86_64/sysdep.h: Likewise.
43560 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43563 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43565 * argp/argp-fmtstream.h: Use const instead __const.
43566 * argp/argp.h: Likewise.
43567 * assert/assert.h: Likewise.
43568 * bits/fenv.h: Likewise.
43569 * bits/sched.h: Likewise.
43570 * bits/sigset.h: Likewise.
43571 * bits/sigthread.h: Likewise.
43572 * catgets/nl_types.h: Likewise.
43573 * conform/data/pthread.h-data: Likewise.
43574 * crypt/crypt-private.h: Likewise.
43575 * crypt/crypt.h: Likewise.
43576 * crypt/crypt_util.c: Likewise.
43577 * ctype/ctype.h: Likewise.
43578 * debug/execinfo.h: Likewise.
43579 * debug/mbsnrtowcs_chk.c: Likewise.
43580 * debug/mbsrtowcs_chk.c: Likewise.
43581 * debug/wcsnrtombs_chk.c: Likewise.
43582 * debug/wcsrtombs_chk.c: Likewise.
43583 * debug/wcstombs_chk.c: Likewise.
43584 * dirent/dirent.h: Likewise.
43585 * dlfcn/dlfcn.h: Likewise.
43586 * elf/neededtest4.c: Likewise.
43587 * grp/grp.h: Likewise.
43588 * gshadow/gshadow.h: Likewise.
43589 * iconv/gconv.h: Likewise.
43590 * iconv/gconv_int.h: Likewise.
43591 * iconv/gconv_simple.c: Likewise.
43592 * iconv/iconv.h: Likewise.
43593 * iconv/loop.c: Likewise.
43594 * iconv/skeleton.c: Likewise.
43595 * include/aio.h: Likewise.
43596 * include/aliases.h: Likewise.
43597 * include/argz.h: Likewise.
43598 * include/arpa/inet.h: Likewise.
43599 * include/assert.h: Likewise.
43600 * include/dirent.h: Likewise.
43601 * include/dlfcn.h: Likewise.
43602 * include/execinfo.h: Likewise.
43603 * include/fcntl.h: Likewise.
43604 * include/fenv.h: Likewise.
43605 * include/glob.h: Likewise.
43606 * include/grp.h: Likewise.
43607 * include/libintl.h: Likewise.
43608 * include/mntent.h: Likewise.
43609 * include/netdb.h: Likewise.
43610 * include/pwd.h: Likewise.
43611 * include/rpc/netdb.h: Likewise.
43612 * include/sched.h: Likewise.
43613 * include/search.h: Likewise.
43614 * include/shadow.h: Likewise.
43615 * include/signal.h: Likewise.
43616 * include/stdio.h: Likewise.
43617 * include/stdlib.h: Likewise.
43618 * include/string.h: Likewise.
43619 * include/sys/socket.h: Likewise.
43620 * include/sys/stat.h: Likewise.
43621 * include/sys/statfs.h: Likewise.
43622 * include/sys/statvfs.h: Likewise.
43623 * include/sys/syslog.h: Likewise.
43624 * include/sys/time.h: Likewise.
43625 * include/sys/uio.h: Likewise.
43626 * include/time.h: Likewise.
43627 * include/unistd.h: Likewise.
43628 * include/utmp.h: Likewise.
43629 * include/wchar.h: Likewise.
43630 * include/wctype.h: Likewise.
43631 * inet/aliases.h: Likewise.
43632 * inet/arpa/inet.h: Likewise.
43633 * inet/netinet/ether.h: Likewise.
43634 * inet/netinet/in.h: Likewise.
43635 * intl/libintl.h: Likewise.
43636 * io/bits/fcntl2.h: Likewise.
43637 * io/fcntl.h: Likewise.
43638 * io/ftw.h: Likewise.
43639 * io/sys/poll.h: Likewise.
43640 * io/sys/stat.h: Likewise.
43641 * io/sys/statfs.h: Likewise.
43642 * io/sys/statvfs.h: Likewise.
43643 * io/utime.h: Likewise.
43644 * libio/bits/stdio.h: Likewise.
43645 * libio/bits/stdio2.h: Likewise.
43646 * libio/libio.h: Likewise.
43647 * libio/libioP.h: Likewise.
43648 * libio/stdio.h: Likewise.
43649 * locale/lc-ctype.c: Likewise.
43650 * locale/locale.h: Likewise.
43651 * login/utmp.h: Likewise.
43652 * malloc/arena.c: Likewise.
43653 * malloc/malloc.c: Likewise.
43654 * malloc/malloc.h: Likewise.
43655 * malloc/mcheck.c: Likewise.
43656 * malloc/mtrace.c: Likewise.
43657 * math/bits/mathcalls.h: Likewise.
43658 * math/fenv.h: Likewise.
43659 * math/math_private.h: Likewise.
43660 * misc/bits/error.h: Likewise.
43661 * misc/bits/syslog.h: Likewise.
43662 * misc/err.h: Likewise.
43663 * misc/error.h: Likewise.
43664 * misc/fstab.h: Likewise.
43665 * misc/mntent.h: Likewise.
43666 * misc/regexp.h: Likewise.
43667 * misc/search.h: Likewise.
43668 * misc/sgtty.h: Likewise.
43669 * misc/sys/mman.h: Likewise.
43670 * misc/sys/syslog.h: Likewise.
43671 * misc/sys/uio.h: Likewise.
43672 * misc/sys/xattr.h: Likewise.
43673 * misc/ttyent.h: Likewise.
43674 * nis/rpcsvc/ypclnt.h: Likewise.
43675 * nss/nss.h: Likewise.
43676 * posix/bits/unistd.h: Likewise.
43677 * posix/fnmatch.h: Likewise.
43678 * posix/glob.h: Likewise.
43679 * posix/sched.h: Likewise.
43680 * posix/spawn.h: Likewise.
43681 * posix/sys/wait.h: Likewise.
43682 * posix/unistd.h: Likewise.
43683 * posix/wordexp.h: Likewise.
43684 * pwd/pwd.h: Likewise.
43685 * resolv/netdb.h: Likewise.
43686 * resource/sys/resource.h: Likewise.
43687 * rt/aio.h: Likewise.
43688 * rt/bits/mqueue2.h: Likewise.
43689 * rt/mqueue.h: Likewise.
43690 * shadow/shadow.h: Likewise.
43691 * signal/signal.h: Likewise.
43692 * socket/send.c: Likewise.
43693 * socket/sendto.c: Likewise.
43694 * socket/sys/socket.h: Likewise.
43695 * stdio-common/printf.h: Likewise.
43696 * stdlib/bits/stdlib.h: Likewise.
43697 * stdlib/fmtmsg.h: Likewise.
43698 * stdlib/monetary.h: Likewise.
43699 * stdlib/stdlib.h: Likewise.
43700 * stdlib/ucontext.h: Likewise.
43701 * streams/stropts.h: Likewise.
43702 * string/argz.h: Likewise.
43703 * string/bits/string2.h: Likewise.
43704 * string/string.h: Likewise.
43705 * string/strings.h: Likewise.
43706 * sunrpc/rpc/auth.h: Likewise.
43707 * sunrpc/rpc/auth_des.h: Likewise.
43708 * sunrpc/rpc/clnt.h: Likewise.
43709 * sunrpc/rpc/netdb.h: Likewise.
43710 * sunrpc/rpc/pmap_clnt.h: Likewise.
43711 * sunrpc/rpc/xdr.h: Likewise.
43712 * sysdeps/generic/inttypes.h: Likewise.
43713 * sysdeps/generic/net/if.h: Likewise.
43714 * sysdeps/generic/sys/swap.h: Likewise.
43715 * sysdeps/gnu/net/if.h: Likewise.
43716 * sysdeps/gnu/utmpx.h: Likewise.
43717 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43718 * sysdeps/i386/i486/bits/string.h: Likewise.
43719 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43720 * sysdeps/s390/bits/string.h: Likewise.
43721 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43722 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43723 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43724 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43725 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43726 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43727 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43728 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43729 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43730 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43731 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43732 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43733 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43734 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43735 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43736 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43737 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43741 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43742 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43743 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43744 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43745 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43746 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43747 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43748 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43749 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43750 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43751 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43752 * sysvipc/sys/ipc.h: Likewise.
43753 * sysvipc/sys/msg.h: Likewise.
43754 * sysvipc/sys/sem.h: Likewise.
43755 * sysvipc/sys/shm.h: Likewise.
43756 * termios/termios.h: Likewise.
43757 * time/sys/time.h: Likewise.
43758 * time/time.h: Likewise.
43759 * wcsmbs/bits/wchar2.h: Likewise.
43760 * wcsmbs/uchar.h: Likewise.
43761 * wcsmbs/wchar.h: Likewise.
43762 * wctype/wctype.h: Likewise.
43765 * Makeconfig: Remove all but ELF support including AIX support.
43766 * Makerules: Likewise.
43767 * config.h.in: Likewise.
43768 * config.make.in: Likewise.
43769 * configure: Likewise.
43770 * configure.in: Likewise.
43771 * csu/Makefile: Likewise.
43772 * csu/version.c: Likewise.
43773 * debug/Makefile: Likewise.
43774 * dlfcn/Makefile: Likewise.
43775 * elf/Makefile: Likewise.
43776 * extra-lib.mk: Likewise.
43777 * iconv/Makefile: Likewise.
43778 * include/libc-symbols.h: Likewise.
43779 * include/shlib-compat.h: Likewise.
43780 * resolv/Makefile: Likewise.
43781 * resolv/res_libc.c: Likewise.
43782 * rt/Makefile: Likewise.
43783 * sysdeps/i386/asm-syntax.h: Likewise.
43784 * sysdeps/i386/sysdep.h: Likewise.
43785 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43786 * sysdeps/mach/sysdep.h: Likewise.
43787 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43788 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43789 * sysdeps/s390/asm-syntax.h: Likewise.
43790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43792 * sysdeps/sh/sysdep.h: Likewise.
43793 * sysdeps/unix/sparc/sysdep.h: Likewise.
43794 * sysdeps/wordsize-32/divdi3.c: Likewise.
43795 * sysdeps/x86_64/sysdep.h: Likewise.
43797 * argp/Versions: Remove _argp_unlock_xxx.
43800 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43801 * abilist/libBrokenLocale.abilist: Likewise.
43802 * abilist/libanl.abilist: Likewise.
43803 * abilist/libc.abilist: Likewise.
43804 * abilist/libcrypt.abilist: Likewise.
43805 * abilist/libdl.abilist: Likewise.
43806 * abilist/libm.abilist: Likewise.
43807 * abilist/libnsl.abilist: Likewise.
43808 * abilist/libpthread.abilist: Likewise.
43809 * abilist/libresolv.abilist: Likewise.
43810 * abilist/librt.abilist: Likewise.
43811 * abilist/libthread_db.abilist: Likewise.
43812 * abilist/libutil.abilist: Likewise.
43813 * abilist/libnss_db.abilist: New file.
43815 * scripts/abilist.awk: Add support for indirect functions.
43817 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43819 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43821 * shlib-versions: Remove entries for ports architectures.
43823 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43825 * elf/stackguard-macros.h: Remove support for IA-64.
43826 * elf/tst-auditmod1.c: Likewise.
43827 * sysdeps/generic/ldsodefs.h: Likewise.
43829 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43830 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43834 * configure.in: Remove --enable-omitfp support.
43836 * config.make.in: Likewise.
43837 * Makeconfig: Likewise.
43838 * manual/install.texi: Likewise.
43840 In case anyone cares, the IA-64 architecture could move to ports.
43841 * sysdeps/ia64/*: Removed.
43842 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43843 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43846 * configure.in: Remove entries for unsupported architectures.
43849 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43850 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43852 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43853 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43854 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43855 fall back to using wcrtomb.
43856 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43857 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43859 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43860 * wcsmbs/tst-c16c32-1.c: New file.
43862 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43865 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43867 * elf/tst-unique3.cc: Add explicit declaration of gets.
43868 * elf/tst-unique3lib.cc: Likewise.
43869 * elf/tst-unique3lib2.cc: Likewise.
43870 * elf/tst-unique4.cc: Likewise.
43872 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43874 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43877 * assert/assert.h (static_assert): Don't define for C++.
43878 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43879 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43881 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43883 * iconv/loop.c (single loop): Fix assertion in storing of
43886 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43888 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43890 * posix/getconf.c: Update copyright year.
43891 * nss/getent.c: Likewise.
43892 * nss/makedb.c: Likewise.
43893 * iconv/iconvconfig.c: Likewise.
43894 * iconv/iconv_prog.c: Likewise.
43895 * elf/ldconfig.c: Likewise.
43896 * elf/pldd.c: Likewise.
43897 * elf/sotruss.ksh: Likewise.
43898 * catgets/gencat.c: Likewise.
43899 * csu/version.c: Likewise.
43900 * elf/ldd.bash.in: Likewise.
43901 * elf/sprof.c (print_version): Likewise.
43902 * locale/programs/locale.c: Likewise.
43903 * locale/programs/localedef.c: Likewise.
43904 * login/programs/pt_chown.c: Likewise.
43905 * nscd/nscd.c (print_version): Likewise.
43906 * debug/xtrace.sh: Likewise.
43907 * malloc/memusage.sh: Likewise.
43908 * malloc/mtrace.pl: Likewise.
43909 * debug/catchsegv.sh: Likewise.
43911 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43913 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43916 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43919 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43920 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43922 * iconv/gconv_int.h: Likewise.
43923 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43924 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43925 from libc for GLIBC_2.16.
43926 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43927 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43928 * wcsmbs/uchar.h: Really define mbstate_t.
43929 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43930 * wcsmbs/c16rtomb.c: New file.
43931 * wcsmbs/mbrtoc16.c: New file.
43932 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43933 for C/POSIX locale.
43934 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43935 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43937 * wcsmbs/wchar.h: Add missing __restrict.
43939 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43942 * time/Makefile (routines): Add timespec_get.
43943 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43944 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43945 timespec for ISO C11.
43946 * time/timespec_get.c: New file.
43947 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43948 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43951 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43952 * stdlib/stdlib.h: Declare aligned_alloc.
43953 * Versions.def: Add GLIBC_2.16 for libc.
43954 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43957 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43960 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43964 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43967 * assert/assert.h (static_assert): Define.
43969 * version.h: Update for 2.16 development version.
43972 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43975 * version.h (RELEASE): Bump for 2.15 release.
43976 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43978 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43979 Patch by Marek Polacek <mpolacek@redhat.com>.
43981 * bits/byteswap.h: Protect long long constants with __extension__.
43982 * sysdeps/i386/bits/byteswap.h: Likewise.
43983 * sysdeps/ia64/bits/byteswap.h: Likewise.
43984 * sysdeps/s390/bits/byteswap.h: Likewise.
43985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43987 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43990 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43991 destination buffer.
43992 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43994 2011-12-23 Marek Polacek <polacek@redhat.com>
43996 * elf/dl-addr.c (determine_info): Add inline keyword.
43997 * elf/tst-auditmod4b.c (check_avx): Likewise.
43998 * elf/tst-auditmod6b.c (check_avx): Likewise.
43999 * elf/tst-auditmod6c.c (check_avx): Likewise.
44000 * elf/tst-auditmod7b.c (check_avx): Likewise.
44002 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44004 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44007 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44010 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44011 processing for last bytes.
44013 2011-08-06 Bruno Haible <bruno@clisp.org>
44016 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44017 U+0385, not to U+1FEE.
44020 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44021 entry for U+00A5 U+0301.
44023 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44026 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44027 buffer for the output is too small.
44029 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44033 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44034 SSE flags if possible.
44036 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44040 processing for last bytes.
44042 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44044 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44045 (syscall-list-default-options, syscall-list-default-condition)
44046 (syscall-list-includes): Define.
44047 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44048 list of ABIs and options and #if conditions for each ABI. Do not
44049 handle common syscalls between ABIs specially.
44050 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44052 (syscall-list-variants, syscall-list-32bit-options)
44053 (syscall-list-32bit-condition, syscall-list-64bit-options)
44054 (syscall-list-64bit-condition): Define.
44055 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44056 (syscall-list-variants, syscall-list-32bit-options)
44057 (syscall-list-32bit-condition, syscall-list-64bit-options)
44058 (syscall-list-64bit-condition): Define.
44059 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44061 (syscall-list-variants, syscall-list-32bit-options)
44062 (syscall-list-32bit-condition, syscall-list-64bit-options)
44063 (syscall-list-64bit-condition): Define.
44064 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44066 (syscall-list-variants, syscall-list-32bit-options)
44067 (syscall-list-32bit-condition, syscall-list-64bit-options)
44068 (syscall-list-64bit-condition): Define.
44070 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44072 * locale/iso-639.def: Add brx entry.
44075 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44076 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44078 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44079 __feraiseexcept_renamed.
44081 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44084 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44085 EPOLLET with unsigned values.
44086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44089 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44090 to large cancellation.
44091 * math/s_cacoshf.c: Likewise.
44092 * math/s_cacoshl.c: Likewise.
44094 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44098 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44099 * math/s_cacoshf.c: Likewise.
44100 * math/s_cacoshl.c: Likewise.
44102 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44105 * iconv/gconv.h: Define __GCONV_SWAP.
44106 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44107 * iconvdata/utf-16.c: Likewise.
44108 * iconvdata/utf-32.c: Likewise.
44110 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44113 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44114 numerator after shifting it by one limb.
44116 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44118 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44119 under [__USE_EXTERN_INLINES].
44121 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44124 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44126 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44128 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44129 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44131 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44132 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44133 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44134 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44135 for strncasecmp/strncasecmp_l compilation.
44136 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44137 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44139 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44142 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44145 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44148 * time/tzfile.c (__tzfile_read): Check values from file header.
44150 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44152 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44153 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44154 * powerpc/powerpc32/dl-start.S: Likewise.
44155 * powerpc/powerpc32/elf/start.S: Likewise.
44156 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44157 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44158 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44159 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44160 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44161 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44162 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44163 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44164 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44165 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44166 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44167 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44168 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44169 * powerpc/powerpc32/memset.S: Likewise.
44170 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44171 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44172 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44173 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44174 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44175 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44176 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44177 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44178 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44179 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44180 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44181 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44182 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44184 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44186 * math/libm-test.inc: Added more nearbyint tests.
44187 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44189 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44192 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44194 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44197 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44199 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44200 Add wcscpy-ssse3 wcscpy-c.
44201 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44202 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44203 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44204 * sysdeps/x86_64/wcschr.S: New file.
44205 * sysdeps/x86_64/wcsrchr.S: New file.
44206 * string/test-strcmp.c: Remove checking of wcscmp function for
44208 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44209 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44210 wcsrchr-sse2 wcsrchr-c.
44211 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44212 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44213 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44214 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44215 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44216 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44217 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44218 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44219 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44220 * wcsmbc/wcschr.c (WCSCHR): New macro.
44222 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44224 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44225 * wcsmbs/test-wcsrchr.c: New file.
44226 * string/test-strrchr.c: Add wcsrchr support.
44228 * wcsmbs/test-wcscpy.c: New file.
44229 * string/test-strcpy.c: Add wcscpy support.
44232 2011-12-10 Ulrich Drepper <drepper@gmail.com>
44234 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44237 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
44240 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44242 2011-12-04 Ulrich Drepper <drepper@gmail.com>
44244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44245 Minor optimizations.
44247 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44248 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44249 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44251 2011-12-03 Ulrich Drepper <drepper@gmail.com>
44253 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44254 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44255 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44256 for gcc to avoid warnings.
44257 * inet/Makefile (tests): Add tst-checks.
44258 * inet/tst-checks.c: New file.
44260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44263 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44266 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44267 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44269 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44271 2011-12-02 Ulrich Drepper <drepper@gmail.com>
44273 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44276 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44278 2011-11-29 Joseph Myers <joseph@codesourcery.com>
44280 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44281 conditional on GCC version.
44282 (__arch_compare_and_exchange_val_8_acq)
44283 (__arch_compare_and_exchange_val_16_acq)
44284 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44285 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44286 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44288 2011-12-02 Joseph Myers <joseph@codesourcery.com>
44290 * sysdeps/sh/backtrace.c: New file.
44292 2011-12-02 Andreas Schwab <schwab@redhat.com>
44294 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
44297 2011-12-01 Andreas Schwab <schwab@redhat.com>
44299 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44300 falling back to utime.
44302 2011-11-30 Andreas Schwab <schwab@redhat.com>
44304 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44305 expectations for float.
44307 2011-11-29 Andreas Schwab <schwab@redhat.com>
44309 * locale/weight.h (findidx): Add parameter len.
44310 * locale/weightwc.h (findidx): Likewise.
44311 * posix/fnmatch_loop.c (FCT): Adjust caller.
44312 * posix/regcomp.c (build_equiv_class): Likewise.
44313 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44314 * posix/regexec.c (check_node_accept_bytes): Likewise.
44315 * string/strcoll_l.c (STRCOLL): Likewise.
44316 * string/strxfrm_l.c (STRXFRM): Likewise.
44318 2011-11-17 Ulrich Drepper <drepper@gmail.com>
44320 * Makefile.in: Remove CVSOPT handling.
44321 * configure.in: Remove use of AC_REVISION.
44322 * iconvdata/Makefile (distribute): No need to filter out CVS.
44323 * scripts/list-sources.sh: Remove CVS, subversion and monotone
44326 2011-11-16 Andreas Schwab <schwab@redhat.com>
44328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44329 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44330 [USE_AS_STRNCASECMP_L]: Likewise.
44331 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44332 NO_TLS_DIRECT_SEG_REFS.
44333 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44334 Fix argument offsets for non-PIC.
44335 [USE_AS_STRNCASECMP_L]: Likewise.
44336 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44337 NO_TLS_DIRECT_SEG_REFS.
44339 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44341 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44343 * locale/loadlocale.c (_nl_load_locale): Likewise.
44345 2011-11-15 Andreas Schwab <schwab@redhat.com>
44347 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44348 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44349 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44350 (SYSCALL_GETTIME): Set errno on error.
44352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44353 count references to noai6ai_cached.
44355 2011-11-15 Ulrich Drepper <drepper@gmail.com>
44357 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44359 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44360 FD_CLOEXEC for /proc/self/maps.
44362 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44363 FD_CLOEXEC for /proc/meminfo.
44365 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44368 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
44369 FD_CLOEXEC for given file.
44371 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44373 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44374 FD_CLOEXEC for /etc/hosts.
44375 (_gethtent): Likewise.
44377 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44379 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44380 cancellation and set FD_CLOEXEC for /etc/netgroup.
44382 * nss/nss_files/files-key.c (search): Don't allow cancellation when
44383 reading /etc/publickey.
44385 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44386 allow cancellation when reading /etc/group.
44388 * nss/nss_files/files-alias.c (internal_setent): Don't allow
44390 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
44392 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44393 when using data file.
44395 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44397 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44398 (write_nis_obj): Use "c" and "e" in fopen.
44400 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44402 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44404 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44406 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44408 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44411 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44413 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44415 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44417 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44418 file parsing and set FD_CLOEXEC.
44420 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44422 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44424 2011-11-14 Andreas Schwab <schwab@redhat.com>
44426 * malloc/arena.c (arena_get2): Don't call reused_arena when
44427 _int_new_arena failed.
44429 2011-11-14 Ulrich Drepper <drepper@gmail.com>
44431 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44432 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44433 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44436 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44437 to compile strcasecmp and strncasecmp.
44438 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44439 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44443 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44445 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44446 locale-defines.sym to gen-as-const-headers.
44447 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44448 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44450 to compile strcasecmp and strncasecmp.
44451 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44452 strcasecmp_l and strncasecmp_l.
44453 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44454 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44455 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44456 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44457 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44458 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44459 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44460 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44461 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44462 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44463 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44465 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44467 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44468 result of SYSDEP_GETTIME_CPU to retval.
44469 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44470 parameter list to macro. Remove trailing semicolon. Adjust users.
44472 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44475 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44477 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44479 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44480 from unused variable.
44482 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44484 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44487 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44490 * sunrpc/rpc_prot.c (rejected): Fix case value.
44492 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44493 unsigned long long int to avoid warnings in shift.
44495 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44497 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44500 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44501 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44502 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44504 * nis/nis_table.c (nis_list): Use variable of correct type for
44505 result of __follow_path call.
44507 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44509 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44510 of math functions ceil, trunc, floor, round, and sqrt, when
44511 avaliable on the platform.
44512 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44514 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44515 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44516 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44518 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44520 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44521 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44523 2011-11-11 Roland McGrath <roland@hack.frob.com>
44525 * include/unistd.h: Fix __readlink return type.
44526 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44528 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44530 * stdlib/ucontext.h: Undo last change for makecontext.
44532 2011-11-11 Andreas Schwab <schwab@redhat.com>
44534 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44536 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44537 * setjmp/setjmp.h: Mark functions as non-leaf.
44538 * setjmp/bits/setjmp2.h: Likewise.
44539 * stdlib/ucontext.h: Likewise.
44541 2011-11-10 Andreas Schwab <schwab@redhat.com>
44543 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44544 (reused_arena): Don't check arena limit.
44545 (arena_get2): Atomically check arena limit.
44547 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44549 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44550 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44555 2011-11-07 Andreas Schwab <schwab@redhat.com>
44557 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44558 handler when locking.
44560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44561 Fix size of allocated buffer.
44563 2011-11-04 Andreas Schwab <schwab@redhat.com>
44566 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44567 declarations for long double functions.
44568 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44570 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44572 2011-11-03 Andreas Schwab <schwab@redhat.com>
44574 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44577 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44580 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44582 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44584 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44586 * include/alloca.h (stackinfo_alloca_round): Define.
44587 (extend_alloca): Use it.
44588 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44589 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44592 * scripts/check-local-headers.sh: Ignore libaudit.h.
44594 * nscd/Makefile (extra-objs): Make recursively expanded.
44596 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44598 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44601 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44602 * posix/tst-rfc3484-2.c: Likewise.
44603 * posix/tst-rfc3484-3.c: Likewise.
44605 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44607 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44609 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44610 process_vm_writev from libc using GLIBC_2.15 version.
44612 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44614 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44616 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44619 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44622 * nss/getent.c (initgroups_keys): Show error message in case no group
44625 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44626 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44627 __bump_nl_timestamp.
44628 * nscd/connections (nscd_init): When host database is served open
44629 netlink socket and request notification about configuration changes.
44630 (main_loop_poll): Track netlink file descriptor and bump timestamp
44631 in case data becomes available.
44632 (main_loop_epoll): Likewise.
44633 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44634 (database_pers_head): Add extra_data fileds.
44635 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44636 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44637 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44640 in6ai data, call __free_in6ai.
44641 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44642 Add -DHAVE_NETLINK.
44643 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44644 interface information. Reuse previous data if netlink timestamp
44646 (__bump_nl_timestamp): New function.
44647 (__free_in6ai): New function.
44649 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44651 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44652 close_not_cancel_no_status here.
44653 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44655 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44658 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44661 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44662 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44663 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44665 2011-07-03 Andreas Jaeger <aj@suse.de>
44668 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44669 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44670 * math/libm-test.inc (sin_test): Add test case.
44672 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44675 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44676 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44678 * elf/chroot_canon.c (chroot_canon): Cleanups.
44680 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44683 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44684 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44686 * string/test-strchr.c: Make usable for strchrnul testing.
44687 * string/test-strchrnul.c: New file.
44688 * string/Makefile (strop-tests): Add strchrnul.
44690 * po/it.po: Update from translation team.
44691 * po/es.po: Likewise.
44693 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44696 the three constants needed as parameters. Drop the others.
44697 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44698 __m128i_strloadu_tolower.
44699 Create and initialize variable zero and use it in all the places
44700 where _mm_setzero_si128 was used.
44702 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44703 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44704 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44707 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44708 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44709 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44710 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44711 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44712 __mpranred, __mptan.
44713 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44714 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44715 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44716 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44720 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44721 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44723 2011-10-28 Andreas Schwab <schwab@redhat.com>
44725 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44726 redefine if SHARED.
44727 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44730 wide char related routines to wcsmbs subdir.
44732 2011-10-27 Andreas Schwab <schwab@redhat.com>
44735 * misc/sys/cdefs.h (__THROWNL): Define.
44736 * posix/unistd.h: Use __THREADNL instead of __THREAD
44737 for memory synchronization functions.
44739 2011-10-26 Roland McGrath <roland@hack.frob.com>
44742 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44744 * manual/stdio.texi (Obstack Streams): Node removed.
44746 2011-10-26 Andreas Schwab <schwab@redhat.com>
44748 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44749 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44750 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44752 * math/math_private.h (math_force_eval): Allow non-addressable
44754 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44756 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44759 file is not needed.
44761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44762 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44764 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44765 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44766 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44768 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44770 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44771 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44772 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44773 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44774 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44775 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44776 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44777 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44778 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44779 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44780 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44781 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44782 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44783 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44784 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44785 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44786 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44787 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44788 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44790 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44791 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44794 place. Use VEX encoding when compiling for AVX.
44796 2011-10-25 Andreas Schwab <schwab@redhat.com>
44798 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44799 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44801 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44803 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44805 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44806 useless if() expression.
44807 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44808 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44809 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44812 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44813 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44819 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44820 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44821 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44822 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44825 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44827 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44829 2011-10-25 Andreas Schwab <schwab@redhat.com>
44831 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44833 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44835 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44837 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44838 .text section. Avoid duplicate constants.
44839 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44841 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44847 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44848 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44849 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44850 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44851 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44852 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44853 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44854 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44855 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44856 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44857 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44859 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44860 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44861 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44862 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44863 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44864 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44865 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44866 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44868 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44869 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44879 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44880 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44881 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44882 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44883 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44885 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44887 * sysdeps/x86_64/dla.h: Move to ...
44888 * sysdeps/x86_64/fpu/dla.h: ...here.
44889 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44890 situations. Use __builtin_fma only for gcc 4.6 and up.
44892 * config.make.in: Add have-mfma4 entry.
44893 * configure.in: Substitute libc_cv_cc_fma4.
44894 * math/Makefile (dbl-only-routines): Add sincostab.
44895 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44896 Use __sincostab not sincos.
44897 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44904 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44905 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44906 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44907 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44909 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44910 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44912 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44913 define aliases when function name is a macro.
44914 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44915 sysdeps/ieee754/dbl-64/sincos.tbl.
44916 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44917 fma4-enabled routines.
44918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44919 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44920 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44921 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44922 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44923 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44925 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44927 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44928 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44929 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44930 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44931 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44933 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44934 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44935 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44936 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44938 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44939 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44940 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44941 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44943 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44945 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44947 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44949 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44960 2011-10-24 Andreas Schwab <schwab@redhat.com>
44962 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44964 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44968 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44970 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44972 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44973 Remove unused variable magic_bits.
44974 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44976 * string/strnlen.c: Define and use STRNLEN macro.
44977 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44978 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44980 * wcsmbs/wcslen.c: Define and use WCSLEN.
44981 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44982 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44983 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44984 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44985 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44986 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44987 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44989 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44992 strnlen-sse2-no-bsf.
44993 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44995 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44996 Add strnlen support.
44997 (USE_AS_STRNLEN): New macro.
44998 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44999 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45000 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45001 * sysdeps/x86_64/wcslen.S: New file.
45003 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45005 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45006 XMM-moves are used for copying on small sizes.
45008 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45010 * wcsmbs/Makefile (strop-tests): Add wcschr.
45011 * wcsmbs/test-wcschr.c: New file.
45012 * string/test-strchr.c: Update.
45013 Add wcschr support.
45016 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45018 * wcsmbs/Makefile (strop-tests): Add wcslen.
45019 * wcsmbs/test-wcslen.c: New file.
45020 * string/test-strlen.c: Update.
45021 Add wcslen support.
45024 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45026 * po/it.po: Update from translation team.
45028 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45030 * sysdeps/x86_64/wcscmp.S: Update.
45031 Fix wrong comparison semantics.
45032 wcscmp shall use signed comparison not unsigned.
45033 Don't use substraction to avoid overflow bug.
45034 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45035 * wcsmbc/wcscmp.c: Likewise.
45036 * string/test-strcmp.c: Likewise.
45037 Add new tests to check cases with negative values.
45039 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45041 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45042 * sysdeps/x86_64/dla.h: ...here. New file.
45043 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45050 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45053 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45056 __ynl_finite aliases.
45058 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45062 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45064 [DLA_FMA] (EMULV): Use DLA_FMA.
45065 [DLA_FMA] (MUL12): Use EMULV.
45066 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45067 that are not needed.
45068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45071 * sysdeps/ieee754/dbl-64/e_pow.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-22 Andreas Schwab <schwab@linux-m68k.org>
45078 * math/s_nan.c: Undef __nan.
45079 * math/s_nanf.c: Undef __nanf.
45080 * math/s_nanl.c: Undef __nanl.
45081 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45084 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45086 * math/s_catan.c: Add branch predictions.
45087 * math/s_catanf.c: Likewise.
45088 * math/s_catanh.c: Likewise.
45089 * math/s_catanhf.c: Likewise.
45090 * math/s_catanhl.c: Likewise.
45091 * math/s_catanl.c: Likewise.
45092 * math/s_cexp.c: Likewise.
45093 * math/s_cexpf.c: Likewise.
45094 * math/s_cexpl.c: Likewise.
45095 * math/s_clog.c: Likewise.
45096 * math/s_clog10.c: Likewise.
45097 * math/s_clog10f.c: Likewise.
45098 * math/s_clog10l.c: Likewise.
45099 * math/s_clogf.c: Likewise.
45100 * math/s_clogl.c: Likewise.
45101 * math/s_csqrt.c: Likewise.
45102 * math/s_csqrtf.c: Likewise.
45103 * math/s_csqrtl.c: Likewise.
45104 * math/s_ctanf.c: Likewise.
45105 * math/s_ctanh.c: Likewise.
45106 * math/s_ctanhf.c: Likewise.
45107 * math/s_ctanhl.c: Likewise.
45108 * math/s_ctanl.c: Likewise.
45110 * math/math_private.h: Define __nan, __nanf, __nanl.
45111 * math/s_cacosh.c: Include <math_private.h>.
45112 * math/s_cacoshl.c: Likewise.
45113 * math/s_casinh.c: Likewise.
45114 * math/s_casinhf.c: Likewise.
45115 * math/s_casinhl.c: Likewise.
45116 * math/s_ccos.c: Rely entire on ccosh.
45117 * math/s_ccosf.c: Rely entire on ccoshf.
45118 * math/s_ccosl.c: Rely entirely on ccoshl.
45119 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45120 Remove tests for FE_INVALID.
45121 * math/s_ccoshf.c: Likewise.
45122 * math/s_ccoshl.c: Likewise.
45123 * math/s_csin.c: Likewise.
45124 * math/s_csinf.c: Likewise.
45125 * math/s_csinh.c Likewise.
45126 * math/s_csinhf.c: Likewise.
45127 * math/s_csinhl.c: Likewise.
45128 * math/s_csinl.c: Likewise.
45129 * math/s_ctan.c: Likewise.
45130 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45131 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45132 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45134 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45137 compilation problems.
45139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45142 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45144 * sysdeps/i386/configure.in: Test for -mfma4 option.
45145 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45146 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45147 COMMON_CPUID_INDEX_80000001.
45148 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45149 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45150 use it if FMA3 is not supported.
45151 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45153 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45154 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45156 2011-10-20 Andreas Schwab <schwab@redhat.com>
45159 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45160 it would create a cycle with a link time dependency.
45162 2011-10-19 Ulrich Drepper <drepper@gmail.com>
45164 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45166 * string/Makefile (strop-tests): Add rawmemchr.
45167 * string/test-rawmemchr.c: New file.
45169 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45171 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45172 when compiling str{,n}casecmp and when AVX is available. Hook up
45173 new optimized code in initializers.
45175 2011-10-19 Andreas Schwab <schwab@redhat.com>
45177 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45178 __feraiseexcept instead of feraiseexcept.
45180 2011-10-18 Ulrich Drepper <drepper@gmail.com>
45182 * math/math_private.h: Define defaults for libc_fetestexcept and
45184 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45185 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45186 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45187 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45188 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45189 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45190 libc_fetestexcept and libc_feupdateenv.
45192 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45193 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45194 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45195 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45196 libc_feholdexcept_setround.
45198 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45199 Add s_nearbyint-c and s_nearbyintf-c.
45200 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45201 nearbyintf inlines.
45202 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45204 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45205 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45207 * math/math_private.h: Define defaults for libc_fegetround,
45208 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45209 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45210 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45211 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45212 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45213 standard functions.
45214 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45215 Remove comments and hacks for old compiler versions.
45216 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45217 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45218 libc_feholdexceptl.
45220 2011-10-18 Andreas Schwab <schwab@redhat.com>
45222 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45223 (__feraiseexcept_renamed): Add __NTH.
45224 (feraiseexcept): Add __NTH. Rename local variables to fix
45225 namespace violations.
45227 2011-10-17 Ulrich Drepper <drepper@gmail.com>
45229 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45231 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45233 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45234 recently added interfaces.
45235 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45237 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45238 about macro parameter expansion.
45240 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45241 __NO_MATH_INLINES is defined. Cleanups.
45243 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45244 and __floorf is target has SSE4.1.
45245 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45246 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45247 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45250 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45252 (floorf): Likewise.
45254 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45256 2011-10-17 Andreas Schwab <schwab@redhat.com>
45258 * misc/sys/cdefs.h: Fix last change.
45260 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45263 2011-10-16 Ulrich Drepper <drepper@gmail.com>
45265 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45267 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45268 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45269 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45270 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45273 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45274 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45275 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45276 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45277 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45278 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45279 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45280 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45281 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45282 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45283 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45284 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45285 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45286 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45287 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45288 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45290 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45291 ceil, ceilf, floor, floorf.
45293 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45294 Perform IRELATIVE relocations last.
45296 * elf/do-rel.h: Add another parameter nrelative, replacing the
45297 local variable with the same name. Change name of the function
45298 to end in Rel or Rela (uppercase).
45299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45300 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
45301 elf_dynamic_do_##reloc function.
45303 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45305 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45306 is sufficient, at least on modern CPUs.
45308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45310 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45313 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45315 * math/bits/math-finite.h: Add entries for exp.
45316 * math/e_expl.c: Add __*_finite alias.
45317 * sysdeps/i386/fpu/e_exp.S: Likewise.
45318 * sysdeps/i386/fpu/e_expf.S: Likewise.
45319 * sysdeps/i386/fpu/e_expl.c: Likewise.
45320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45321 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45324 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45325 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45326 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45328 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45329 is sufficient, at least on modern CPUs.
45331 * ctype/ctype-info.c (__ctype_init): Define.
45332 * include/ctype.h (__ctype_init): Declare.
45333 (__ctype_b_loc): The variable is always initialized.
45334 (__ctype_toupper_loc): Likewise.
45335 (__ctype_tolower_loc): Likewise.
45336 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45337 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45339 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
45341 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45343 * configure.in: Also look in $cxxmachine/include for C++ system
45346 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45348 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45349 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45350 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45351 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
45352 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45353 (USE_AS_WMEMCMP): New macro.
45355 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45356 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45357 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45358 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45360 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45361 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45362 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45363 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45364 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45365 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45366 (USE_AS_WMEMCMP): New macro.
45367 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45368 * sysdeps/string/test-memcmp.c: Update.
45369 Fix simple_wmemcmp.
45371 * wcsmbs/wmemcmp.c: Update.
45372 (WMEMCMP): New macro.
45375 2011-10-12 Andreas Jaeger <aj@suse.de>
45378 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45380 2011-10-15 Ulrich Drepper <drepper@gmail.com>
45382 * libio/iofwide.c (do_length): Avoid warning.
45384 * ctype/ctype.h (__isctype_f): Add missing __THROW.
45386 2011-10-14 Ulrich Drepper <drepper@gmail.com>
45388 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45390 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45391 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45392 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45393 * sysdeps/i386/i686/fpu/e_log.S: New file.
45394 * sysdeps/i386/i686/fpu/e_logf.S: New file.
45395 * sysdeps/i386/i686/fpu/e_logl.S: New file.
45397 * ctype/ctype.h: Add support for inlined isXXX functions when
45398 compiling C++ code.
45400 2011-10-14 Andreas Schwab <schwab@redhat.com>
45402 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45404 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45406 2011-10-13 Roland McGrath <roland@hack.frob.com>
45409 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45411 2011-10-13 Andreas Schwab <schwab@redhat.com>
45413 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45414 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45417 * sysdeps/x86_64/memrchr.S: Check for zero size.
45419 * string/stratcliff.c: Add memrchr tests.
45421 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45424 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45425 rawmemchr-sse2 rawmemchr-sse2-bsf.
45426 * sysdeps/i386/i686/multiarch/memchr.S: New file.
45427 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45428 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45429 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45430 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45431 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45432 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45433 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45434 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45435 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45436 * string/memrchr.c (MEMRCHR): New macro.
45438 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45440 Add integration with gcc's -ffinite-math-only and optimize wrapper
45442 * Versions.def: Define GLIBC_2.15 version for libm.
45443 * math/Makefile (headers): Add bits/math-finite.h.
45444 * math/bits/math-finite.h: New file.
45445 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45446 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45447 * math/e_acoshl.c: Add __*_finite alias.
45448 * math/e_acosl.c: Likewise.
45449 * math/e_asinl.c: Likewise.
45450 * math/e_atan2l.c: Likewise.
45451 * math/e_atanhl.c: Likewise.
45452 * math/e_coshl.c: Likewise.
45453 * math/e_exp10.c: Likewise.
45454 * math/e_exp10f.c: Likewise.
45455 * math/e_exp10l.c: Likewise.
45456 * math/e_exp2l.c: Likewise.
45457 * math/e_fmodl.c: Likewise.
45458 * math/e_gammal_r.c: Likewise.
45459 * math/e_hypotl.c: Likewise.
45460 * math/e_j0l.c: Likewise.
45461 * math/e_j1l.c: Likewise.
45462 * math/e_jnl.c: Likewise.
45463 * math/e_lgammal_r.c: Likewise.
45464 * math/e_log10l.c: Likewise.
45465 * math/e_log2l.c: Likewise.
45466 * math/e_logl.c: Likewise.
45467 * math/e_powl.c: Likewise.
45468 * math/e_sinhl.c: Likewise.
45469 * math/e_sqrtl.c: Likewise.
45470 * math/e_scalb.c: Completely rewritten and optimized.
45471 * math/e_scalbf.c: Likewise.
45472 * math/e_scalbl.c: Likewise.
45473 * math/w_acos.c: Likewise.
45474 * math/w_acosf.c: Likewise.
45475 * math/w_acosl.c: Likewise.
45476 * math/w_acosh.c: Likewise.
45477 * math/w_acoshf.c: Likewise.
45478 * math/w_acoshl.c: Likewise.
45479 * math/w_asin.c: Likewise.
45480 * math/w_asinf.c: Likewise.
45481 * math/w_asinl.c: Likewise.
45482 * math/w_atan2.c: Likewise.
45483 * math/w_atan2f.c: Likewise.
45484 * math/w_atan2l.c: Likewise.
45485 * math/w_atanh.c: Likewise.
45486 * math/w_atanhf.c: Likewise.
45487 * math/w_atanhl.c: Likewise.
45488 * math/w_exp10.c: Likewise.
45489 * math/w_exp10f.c: Likewise.
45490 * math/w_exp10l.c: Likewise.
45491 * math/w_fmod.c: Likewise.
45492 * math/w_fmodf.c: Likewise.
45493 * math/w_fmodl.c: Likewise.
45494 * math/w_j0.c: Likewise.
45495 * math/w_j0f.c: Likewise.
45496 * math/w_j0l.c: Likewise.
45497 * math/w_j1.c: Likewise.
45498 * math/w_j1f.c: Likewise.
45499 * math/w_j1l.c: Likewise.
45500 * math/w_jn.c: Likewise.
45501 * math/w_jnf.c: Likewise.
45502 * math/w_log.c: Likewise.
45503 * math/w_logf.c: Likewise.
45504 * math/w_logl.c: Likewise.
45505 * math/w_log10.c: Likewise.
45506 * math/w_log10f.c: Likewise.
45507 * math/w_log10l.c: Likewise.
45508 * math/w_log2.c: Likewise.
45509 * math/w_log2f.c: Likewise.
45510 * math/w_log2l.c: Likewise.
45511 * math/w_pow.c: Likewise.
45512 * math/w_powf.c: Likewise.
45513 * math/w_powl.c: Likewise.
45514 * math/w_remainder.c: Likewise.
45515 * math/w_remainderf.c: Likewise.
45516 * math/w_remainderl.c: Likewise.
45517 * math/w_scalb.c: Likewise.
45518 * math/w_scalbf.c: Likewise.
45519 * math/w_scalbl.c: Likewise.
45520 * math/w_sqrt.c: Likewise.
45521 * math/w_sqrtf.c: Likewise.
45522 * math/w_sqrtl.c: Likewise.
45523 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45524 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45526 * math/math_private.h: Declare __kernel_standard_f.
45527 * math/w_cosh.c: Remove cruft and optimize a bit.
45528 * math/w_coshf.c: Likewise.
45529 * math/w_coshl.c: Likewise.
45530 * math/w_exp2.c: Likewise.
45531 * math/w_exp2f.c: Likewise.
45532 * math/w_exp2l.c: Likewise.
45533 * math/w_hypot.c: Likewise.
45534 * math/w_hypotf.c: Likewise.
45535 * math/w_hypotl.c: Likewise.
45536 * math/w_lgamma.c: Likewise.
45537 * math/w_lgamma_r.c: Likewise.
45538 * math/w_lgammaf.c: Likewise.
45539 * math/w_lgammaf_r.c: Likewise.
45540 * math/w_lgammal.c: Likewise.
45541 * math/w_lgammal_r.c: Likewise.
45542 * math/w_sinh.c: Likewise.
45543 * math/w_sinhf.c: Likewise.
45544 * math/w_sinhl.c: Likewise.
45545 * math/w_tgamma.c: Likewise.
45546 * math/w_tgammaf.c: Likewise.
45547 * math/w_tgammal.c: Likewise.
45548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45550 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45551 Minor optimizations. Pretty printing. Remove cruft.
45552 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45553 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45554 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45556 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45557 * sysdeps/i386/fpu/e_asin.S: Likewise.
45558 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45559 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45560 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45561 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45563 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45564 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45565 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45566 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45567 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45568 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45569 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45570 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45571 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45572 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45573 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45574 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45575 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45576 * sysdeps/i386/fpu/e_log.S: Likewise.
45577 * sysdeps/i386/fpu/e_log10.S: Likewise.
45578 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45579 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45580 * sysdeps/i386/fpu/e_log2.S: Likewise.
45581 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45582 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45583 * sysdeps/i386/fpu/e_logf.S: Likewise.
45584 * sysdeps/i386/fpu/e_logl.S: Likewise.
45585 * sysdeps/i386/fpu/e_pow.S: Likewise.
45586 * sysdeps/i386/fpu/e_powf.S: Likewise.
45587 * sysdeps/i386/fpu/e_powl.S: Likewise.
45588 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45589 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45590 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45591 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45592 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45593 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45594 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45595 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45596 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45597 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45600 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45601 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45602 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45603 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45604 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45605 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45606 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45607 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45608 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45610 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45611 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45613 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45614 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45615 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45617 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45618 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45619 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45620 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45621 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45622 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45623 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45624 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45625 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45626 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45627 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45628 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45630 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45631 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45632 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45633 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45634 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45635 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45636 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45637 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45638 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45639 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45640 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45642 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45643 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45644 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45645 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45646 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45647 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45648 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45650 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45651 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45652 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45653 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45654 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45655 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45656 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45657 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45658 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45661 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45662 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45663 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45665 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45666 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45667 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45668 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45669 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45671 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45674 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45675 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45676 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45677 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45678 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45679 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45680 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45681 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45682 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45683 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45684 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45685 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45686 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45687 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45688 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45689 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45690 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45691 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45692 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45693 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45694 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45695 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45696 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45697 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45698 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45699 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45700 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45701 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45702 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45703 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45704 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45705 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45706 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45707 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45708 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45709 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45710 (__isnanf): Likewise.
45711 (__isinf_ns): Likewise.
45712 (__isinf_nsf): Likewise.
45713 (__finite): Likewise.
45714 (__finitef): Likewise.
45715 (__ieee754_sqrt): Define as macro.
45716 (__ieee754_sqrtf): Define as macro.
45717 (__ieee754_sqrtl): Define as macro.
45718 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45720 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45721 __FINITE_MATH_ONLY__ consistent.
45722 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45724 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45726 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45729 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45731 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45733 * po/ja.po: Update from translation team.
45735 2011-10-08 Roland McGrath <roland@hack.frob.com>
45737 * locale/programs/locarchive.c (prepare_address_space): New function.
45738 (create_archive, enlarge_archive, open_archive): Use it.
45740 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45741 inside [SHARED], where it is used.
45743 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45745 * nss/getent.c (netgroup_keys): Remove unused variable.
45746 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45748 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45750 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45751 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45752 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45754 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45755 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45756 * math/Makefile (libm-calls): Add s_isinf_ns.
45757 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45758 * math/multc3.c: Likewise.
45759 * math/s_casin.c: Likewise.
45760 * math/s_casinf.c: Likewise.
45761 * math/s_casinl.c: Likewise.
45762 * math/s_ccos.c: Likewise.
45763 * math/s_ccosf.c: Likewise.
45764 * math/s_ccosl.c: Likewise.
45765 * math/s_ctan.c: Likewise.
45766 * math/s_ctanf.c: Likewise.
45767 * math/s_ctanh.c: Likewise.
45768 * math/s_ctanhf.c: Likewise.
45769 * math/s_ctanhl.c: Likewise.
45770 * math/s_ctanl.c: Likewise.
45771 * math/w_fmod.c: Likewise.
45772 * math/w_fmodf.c: Likewise.
45773 * math/w_fmodl.c: Likewise.
45774 * math/w_remainder.c: Likewise.
45775 * math/w_remainderf.c: Likewise.
45776 * math/w_remainderl.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45778 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45779 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45781 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45782 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45783 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45784 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45786 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45788 * stdio-common/printf_fphex.c: Likewise.
45789 * stdio-common/printf_size.c: Likewise.
45791 * math/e_exp10.c: Include math_private.h using <...> not "...".
45792 * math/e_exp10f.c: Likewise.
45793 * math/e_exp10l.c: Likewise.
45794 * math/e_exp2l.c: Likewise.
45795 * math/e_j0l.c: Likewise.
45796 * math/e_j1l.c: Likewise.
45797 * math/e_jnl.c: Likewise.
45798 * math/e_lgammal_r.c: Likewise.
45799 * math/e_rem_pio2l.c: Likewise.
45800 * math/e_scalb.c: Likewise.
45801 * math/e_scalbf.c: Likewise.
45802 * math/e_scalbl.c: Likewise.
45803 * math/k_cosl.c: Likewise.
45804 * math/k_sinl.c: Likewise.
45805 * math/k_tanl.c: Likewise.
45806 * math/s_cacoshf.c: Likewise.
45807 * math/s_catan.c: Likewise.
45808 * math/s_catanf.c: Likewise.
45809 * math/s_catanh.c: Likewise.
45810 * math/s_catanhf.c: Likewise.
45811 * math/s_catanhl.c: Likewise.
45812 * math/s_catanl.c: Likewise.
45813 * math/s_ccosh.c: Likewise.
45814 * math/s_ccoshf.c: Likewise.
45815 * math/s_ccoshl.c: Likewise.
45816 * math/s_cexp.c: Likewise.
45817 * math/s_cexpf.c: Likewise.
45818 * math/s_cexpl.c: Likewise.
45819 * math/s_clog.c: Likewise.
45820 * math/s_clog10.c: Likewise.
45821 * math/s_clog10f.c: Likewise.
45822 * math/s_clog10l.c: Likewise.
45823 * math/s_clogf.c: Likewise.
45824 * math/s_clogl.c: Likewise.
45825 * math/s_csin.c: Likewise.
45826 * math/s_csinf.c: Likewise.
45827 * math/s_csinh.c: Likewise.
45828 * math/s_csinhf.c: Likewise.
45829 * math/s_csinhl.c: Likewise.
45830 * math/s_csinl.c: Likewise.
45831 * math/s_csqrt.c: Likewise.
45832 * math/s_csqrtf.c: Likewise.
45833 * math/s_csqrtl.c: Likewise.
45834 * math/s_ctan.c: Likewise.
45835 * math/s_ctanf.c: Likewise.
45836 * math/s_ctanh.c: Likewise.
45837 * math/s_ctanhf.c: Likewise.
45838 * math/s_ctanhl.c: Likewise.
45839 * math/s_ctanl.c: Likewise.
45840 * math/s_ldexp.c: Likewise.
45841 * math/s_ldexpf.c: Likewise.
45842 * math/s_ldexpl.c: Likewise.
45843 * math/s_significand.c: Likewise.
45844 * math/s_significandf.c: Likewise.
45845 * math/s_significandl.c: Likewise.
45846 * math/w_acos.c: Likewise.
45847 * math/w_acosf.c: Likewise.
45848 * math/w_acosh.c: Likewise.
45849 * math/w_acoshf.c: Likewise.
45850 * math/w_acoshl.c: Likewise.
45851 * math/w_acosl.c: Likewise.
45852 * math/w_asin.c: Likewise.
45853 * math/w_asinf.c: Likewise.
45854 * math/w_asinl.c: Likewise.
45855 * math/w_atan2.c: Likewise.
45856 * math/w_atan2f.c: Likewise.
45857 * math/w_atan2l.c: Likewise.
45858 * math/w_atanh.c: Likewise.
45859 * math/w_atanhf.c: Likewise.
45860 * math/w_atanhl.c: Likewise.
45861 * math/w_cosh.c: Likewise.
45862 * math/w_coshf.c: Likewise.
45863 * math/w_coshl.c: Likewise.
45864 * math/w_dremf.c: Likewise.
45865 * math/w_exp10.c: Likewise.
45866 * math/w_exp10f.c: Likewise.
45867 * math/w_exp10l.c: Likewise.
45868 * math/w_exp2.c: Likewise.
45869 * math/w_exp2f.c: Likewise.
45870 * math/w_fmod.c: Likewise.
45871 * math/w_fmodf.c: Likewise.
45872 * math/w_fmodl.c: Likewise.
45873 * math/w_hypot.c: Likewise.
45874 * math/w_hypotf.c: Likewise.
45875 * math/w_hypotl.c: Likewise.
45876 * math/w_j0.c: Likewise.
45877 * math/w_j0f.c: Likewise.
45878 * math/w_j0l.c: Likewise.
45879 * math/w_j1.c: Likewise.
45880 * math/w_j1f.c: Likewise.
45881 * math/w_j1l.c: Likewise.
45882 * math/w_jn.c: Likewise.
45883 * math/w_jnf.c: Likewise.
45884 * math/w_jnl.c: Likewise.
45885 * math/w_lgamma.c: Likewise.
45886 * math/w_lgamma_r.c: Likewise.
45887 * math/w_lgammaf.c: Likewise.
45888 * math/w_lgammaf_r.c: Likewise.
45889 * math/w_lgammal.c: Likewise.
45890 * math/w_lgammal_r.c: Likewise.
45891 * math/w_log.c: Likewise.
45892 * math/w_log10.c: Likewise.
45893 * math/w_log10f.c: Likewise.
45894 * math/w_log10l.c: Likewise.
45895 * math/w_log2.c: Likewise.
45896 * math/w_log2f.c: Likewise.
45897 * math/w_log2l.c: Likewise.
45898 * math/w_logf.c: Likewise.
45899 * math/w_logl.c: Likewise.
45900 * math/w_pow.c: Likewise.
45901 * math/w_powf.c: Likewise.
45902 * math/w_powl.c: Likewise.
45903 * math/w_remainder.c: Likewise.
45904 * math/w_remainderf.c: Likewise.
45905 * math/w_remainderl.c: Likewise.
45906 * math/w_scalb.c: Likewise.
45907 * math/w_scalbf.c: Likewise.
45908 * math/w_scalbl.c: Likewise.
45909 * math/w_sinh.c: Likewise.
45910 * math/w_sinhf.c: Likewise.
45911 * math/w_sinhl.c: Likewise.
45912 * math/w_sqrt.c: Likewise.
45913 * math/w_sqrtf.c: Likewise.
45914 * math/w_sqrtl.c: Likewise.
45915 * math/w_tgamma.c: Likewise.
45916 * math/w_tgammaf.c: Likewise.
45917 * math/w_tgammal.c: Likewise.
45919 * po/ja.po: Update from translation team.
45921 2011-09-29 Andreas Jaeger <aj@suse.de>
45924 * sunrpc/netname.c (netname2host): Fix logic.
45928 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45930 * math/w_remainder.c (__remainder): Likewise.
45931 * math/w_remainderf.c (__remainderf): Likewise.
45932 * math/libm-test.inc (remainder_test): Add test cases.
45934 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45936 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45939 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45941 * string/test-memcmp.c: Avoid unncessary #defines.
45942 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45944 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45946 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45947 Use new sse2 version for core i3 - i7 as it's faster
45948 than sse42 version.
45949 (bit_Prefer_PMINUB_for_stringop): New.
45950 * sysdeps/x86_64/rawmemchr.S: Update.
45951 Replace with faster SSE2 version.
45952 * sysdeps/x86_64/memrchr.S: New file.
45953 * sysdeps/x86_64/memchr.S: Update.
45954 Replace with faster SSE2 version.
45956 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45958 * elf/dl-load.c (lose): Add cast to avoid warning.
45960 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45962 * po/ca.po: Update from translation team.
45964 * inet/getnetgrent_r.c: Hook up nscd.
45965 * nscd/Makefile (routines): Add nscd_netgroup.
45966 (nscd-modules): Add netgroupcache.
45967 (CFLAGS-netgroupcache.c): Define.
45968 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45969 (cache_search): Add const to second parameter.
45970 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45972 (dbs): Add netgrdb entry.
45973 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45974 (verify_persistent_db): Handle netgrdb.
45975 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45976 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45978 (netgroup_response_header): Define.
45979 (innetgroup_response_header): Define.
45980 (datahead): Add netgroup_response_header and innetgroup_response_header
45982 * nscd/nscd.conf: Add entries for netgroup cache.
45983 * nscd/nscd.h (dbtype): Add netgrdb.
45984 (_PATH_NSCD_NETGROUP_DB): Define.
45985 (netgroup_iov_disabled): Declare.
45986 (xmalloc, xcalloc, xrealloc): Move declarations here.
45987 (cache_search): Adjust prototype.
45988 Add netgroup-related prototypes.
45989 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45990 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45991 (__nscd_innetgr): Declare.
45992 * nscd/selinux.c (perms): Use access_vector_t as element type and
45993 add netgroup-related initializers.
45994 * nscd/netgroupcache.c: New file.
45995 * nscd/nscd_netgroup.c: New file.
45996 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45997 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45998 For four parameters use innetgr.
45999 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46000 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46001 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46002 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46004 * nscd/connections.c (register_traced_file): Don't register file
46005 for disabled databases.
46007 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46009 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46011 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46012 from tree and freeing node.
46014 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46016 * nss/nsswitch.c (__nss_database_lookup): Handle
46017 nss_parse_service_list out of memory case.
46019 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46021 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46022 out of memory case.
46024 2011-10-04 Andreas Schwab <schwab@redhat.com>
46026 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46027 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46029 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46030 elf_machine_rela, elf_machine_lazy_rel.
46031 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46032 (ELF_DYNAMIC_DO_REL): Likewise.
46033 (ELF_DYNAMIC_DO_RELA): Likewise.
46034 (ELF_DYNAMIC_RELOCATE): Likewise.
46035 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46036 to ELF_DYNAMIC_DO_REL.
46037 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46038 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46039 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46041 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46042 skip_ifunc, don't call ifunc function if non-zero.
46043 (elf_machine_rela): Likewise.
46044 (elf_machine_lazy_rel): Likewise.
46045 (elf_machine_lazy_rela): Likewise.
46046 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46047 (elf_machine_lazy_rel): Likewise.
46048 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46050 (elf_machine_lazy_rel): Likewise.
46051 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46053 (elf_machine_lazy_rel): Likewise.
46054 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46055 (elf_machine_lazy_rel): Likewise.
46056 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46057 (elf_machine_lazy_rel): Likewise.
46058 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46059 (elf_machine_lazy_rel): Likewise.
46060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46061 (elf_machine_lazy_rel): Likewise.
46062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46063 (elf_machine_lazy_rel): Likewise.
46064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46065 (elf_machine_lazy_rel): Likewise.
46067 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46069 * nss/nss_files/files-init.c (_nss_files_init): Use static
46070 initialization for all the *_traced_file variables.
46072 2011-09-28 Andreas Schwab <schwab@redhat.com>
46074 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46076 2011-09-27 Roland McGrath <roland@hack.frob.com>
46079 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46081 2011-09-27 Andreas Schwab <schwab@redhat.com>
46083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46084 Reread the line before reparsing it.
46086 2011-09-26 Andreas Schwab <schwab@redhat.com>
46088 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46090 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46091 Maxim Kuvyrkov <maxim@codesourcery.com>
46092 Joseph Myers <joseph@codesourcery.com>
46094 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46095 if needed for __stack_chk_guard.
46097 2011-09-19 Roland McGrath <roland@hack.frob.com>
46099 * sysdeps/posix/spawni.c (script_execute): Always define it.
46100 It will be optimized away if unused.
46101 (maybe_script_execute): New function.
46102 (__spawni): Call it.
46104 * Makerules: Don't include tls.make.
46105 (config-tls): Always set to thread.
46106 * tls.make.c: File removed.
46108 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46110 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46111 * config.make.in (CPPFLAGS-config): New substituted variable.
46113 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46115 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46118 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46119 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46121 2011-09-15 Roland McGrath <roland@hack.frob.com>
46123 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46124 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46126 (CALL_FAIL): Likewise.
46127 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46128 (CALL_FAIL): Macro removed.
46129 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46131 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46133 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46134 for __FINITE_MATH_ONLY__ == 1.
46136 2011-09-15 Andreas Schwab <schwab@redhat.com>
46138 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46139 __ieee754_sqrt instead of sqrt.
46140 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46141 __ieee754_sqrtf instead of sqrtf.
46142 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46143 __floorf instead of floorf.
46144 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46145 __floorf, __truncf instead of floorf, truncf.
46147 2011-09-14 Ulrich Drepper <drepper@gmail.com>
46149 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46151 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46152 __extern_always_inline.
46153 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46156 2011-09-14 Andreas Schwab <schwab@redhat.com>
46158 * elf/rtld.c (dl_main): Also relocate in dependency order when
46159 doing symbol dependency testing.
46161 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46164 Always define `refsym'.
46166 2011-09-13 Andreas Schwab <schwab@redhat.com>
46168 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46169 (__FD_ELT): Renamed from __FDELT.
46170 * misc/bits/select2.h (__FD_ELT): Likewise.
46171 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46172 __FD_MASK instead of __FDELT, __FDMASK.
46173 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46175 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46178 * elf/Makefile (gen-ldd): Fix pattern.
46180 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46181 (init_tls): Likewise.
46183 2011-09-12 Ulrich Drepper <drepper@gmail.com>
46185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46187 2011-09-12 Andreas Schwab <schwab@redhat.com>
46189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46190 `struct cmsghdr *' instead of `void *'.
46191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46194 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46196 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46198 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46199 ldd_rewrite_script.
46201 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46203 * configure.in: Remove --with-tls option.
46204 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46205 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46206 out in case it is missing.
46207 * sysdeps/ia64/elf/configure.in: Likewise.
46208 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46209 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46210 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46211 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46212 * sysdeps/sh/elf/configure.in: Likewise.
46213 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46214 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46215 * sysdeps/x86_64/elf/configure.in: Likewise.
46216 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46217 * sysdeps/mach/hurd/tls.h: Likewise.
46220 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46223 * configure.in: Fix use of AC_INIT.
46225 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46227 2011-09-10 Ulrich Drepper <drepper@gmail.com>
46229 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46231 * malloc/hooks.c: Likewise.
46234 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
46235 variables statically.
46236 (narenas): Initialize.
46237 (list_lock): Initialize.
46238 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
46239 initializtion of main_arena and list_lock. Small cleanups.
46240 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46241 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
46242 Add initializers to main_arena and mp_.
46243 (malloc_state): Remove pagesize member. Change all users to use
46246 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46247 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
46248 is always initialized.
46250 * malloc/malloc.c: Removed unused configurations and dead code.
46251 * malloc/arena.c: Likewise.
46252 * malloc/hooks.c: Likewise.
46253 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46255 * include/tls.h: Removed. USE___THREAD must always be defined.
46256 * bits/libc-tsd.h: Don't handle !USE___THREAD.
46257 * elf/dl-libc.c: Likewise.
46258 * elf/dl-tsd.c: Likewise.
46259 * include/errno.h: Likewise.
46260 * include/netdb.h: Likewise.
46261 * include/resolv.h: Likewise.
46262 * inet/herrno-loc.c: Likewise.
46263 * inet/herrno.c: Likewise.
46264 * malloc/arena.c: Likewise.
46265 * malloc/hooks.c: Likewise.
46266 * malloc/malloc.c: Likewise.
46267 * resolv/res-state.c: Likewise.
46268 * resolv/res_libc.c: Likewise.
46269 * sysdeps/i386/dl-machine.h: Likewise.
46270 * sysdeps/ia64/dl-machine.h: Likewise.
46271 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46272 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46273 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46274 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46275 * sysdeps/sh/dl-machine.h: Likewise.
46276 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46277 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46278 * sysdeps/unix/i386/sysdep.S: Likewise.
46279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46280 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46289 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46290 * sysdeps/x86_64/dl-machine.h: Likewise.
46291 * tls.make.c: Likewise.
46293 * configure.in: Remove --with-__thread option. Make tests for
46294 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46295 tls_model attribute fail if no support is available. Remove
46297 * Makeconfig: Adjust for dropped configure option. All features are
46299 * Makerules: Likewise.
46300 * Versions.def: Likewise.
46301 * argp/argp-fmtstream.c: Likewise.
46302 * argp/argp-fmtstream.h: Likewise.
46303 * argp/argp-help.c: Likewise.
46304 * assert/assert.c: Likewise.
46305 * config.h.in: Likewise.
46306 * config.make.in: Likewise.
46307 * configure: Likewise.
46308 * configure.in: Likewise.
46309 * csu/Versions: Likewise.
46310 * csu/init.c: Likewise.
46311 * elf/tst-audit2.c: Likewise.
46312 * elf/tst-tls10.c: Likewise.
46313 * elf/tst-tls10.h: Likewise.
46314 * elf/tst-tls11.c: Likewise.
46315 * elf/tst-tls12.c: Likewise.
46316 * elf/tst-tls14.c: Likewise.
46317 * elf/tst-tlsmod11.c: Likewise.
46318 * elf/tst-tlsmod12.c: Likewise.
46319 * elf/tst-tlsmod13.c: Likewise.
46320 * elf/tst-tlsmod13a.c: Likewise.
46321 * elf/tst-tlsmod14a.c: Likewise.
46322 * elf/tst-tlsmod15b.c: Likewise.
46323 * elf/tst-tlsmod16a.c: Likewise.
46324 * elf/tst-tlsmod16b.c: Likewise.
46325 * elf/tst-tlsmod7.c: Likewise.
46326 * elf/tst-tlsmod8.c: Likewise.
46327 * elf/tst-tlsmod9.c: Likewise.
46328 * gmon/gmon.c: Likewise.
46329 * grp/fgetgrent_r.c: Likewise.
46330 * grp/putgrent.c: Likewise.
46331 * hurd/fopenport.c: Likewise.
46332 * include/libc-symbols.h: Likewise.
46333 * include/tls.h: Likewise.
46334 * intl/gettextP.h: Likewise.
46335 * intl/loadinfo.h: Likewise.
46336 * locale/global-locale.c: Likewise.
46337 * locale/localeinfo.h: Likewise.
46338 * mach/devstream.c: Likewise.
46339 * malloc/arena.c: Likewise.
46340 * malloc/set-freeres.c: Likewise.
46341 * misc/err.c: Likewise.
46342 * misc/getttyent.c: Likewise.
46343 * misc/mntent_r.c: Likewise.
46344 * posix/getopt.c: Likewise.
46345 * posix/wordexp.c: Likewise.
46346 * pwd/fgetpwent_r.c: Likewise.
46347 * resolv/Versions: Likewise.
46348 * resolv/res_hconf.c: Likewise.
46349 * shadow/fgetspent_r.c: Likewise.
46350 * shadow/putspent.c: Likewise.
46351 * stdio-common/printf_fphex.c: Likewise.
46352 * stdio-common/tmpfile.c: Likewise.
46353 * stdlib/abort.c: Likewise.
46354 * stdlib/fmtmsg.c: Likewise.
46355 * sunrpc/auth_unix.c: Likewise.
46356 * sunrpc/clnt_perr.c: Likewise.
46357 * sunrpc/clnt_tcp.c: Likewise.
46358 * sunrpc/clnt_udp.c: Likewise.
46359 * sunrpc/clnt_unix.c: Likewise.
46360 * sunrpc/openchild.c: Likewise.
46361 * sunrpc/svc_simple.c: Likewise.
46362 * sunrpc/svc_tcp.c: Likewise.
46363 * sunrpc/svc_udp.c: Likewise.
46364 * sunrpc/svc_unix.c: Likewise.
46365 * sunrpc/xdr.c: Likewise.
46366 * sunrpc/xdr_array.c: Likewise.
46367 * sunrpc/xdr_rec.c: Likewise.
46368 * sunrpc/xdr_ref.c: Likewise.
46369 * sunrpc/xdr_stdio.c: Likewise.
46371 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46373 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46375 2011-07-03 Andreas Jaeger <aj@suse.de>
46377 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46378 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46379 regenerate with gen-libm-tests.pl.
46381 2010-05-12 Petr Baudis <pasky@suse.cz>
46384 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46385 around j0() zero points by switching to j1().
46386 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46387 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46388 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46389 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46393 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46395 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46398 Patch in part by Pavel Roskin <proski@gnu.org>.
46401 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46403 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
46404 Free memory block if necessary.
46407 * libio/genops.c (INTDEF): For string streams the _lock pointer can
46408 be NULL. Don't lock in this case.
46410 2011-09-09 Roland McGrath <roland@hack.frob.com>
46412 * elf/elf.h (ELFOSABI_GNU): New macro.
46413 (ELFOSABI_LINUX): Define to that.
46415 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
46417 * string/strncat.c (strncat): Undef the symbol in case it has been
46418 defined in bits/string.h.
46420 2011-09-09 Ulrich Drepper <drepper@gmail.com>
46422 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46424 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46427 2011-08-17 Andreas Jaeger <aj@suse.de>
46429 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46431 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46432 Ian Lance Taylor <iant@google.com>
46434 * math/libm-test.inc (lround_test): New testcase.
46435 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46437 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46439 * Makefile: Remove support for automatic cvs check-ins.
46440 * Makerules: Likewise.
46441 * config.make.in: Likewise.
46442 * configure.in: Likewise.
46443 * intl/Makefile: Likewise.
46444 * locale/Makefile: Likewise.
46445 * po/Makefile: Likewise.
46446 * posix/Makefile: Likewise.
46447 * sysdeps/gnu/Makefile: Likewise.
46448 * sysdeps/mach/hurd/Makefile: Likewise.
46449 * sysdeps/sparc/sparc32/Makefile: Likewise.
46452 * posix/Makefile (bug-regex32-ENV): Define.
46453 Patch by John Stanley <jpsinthemix@verizon.net>.
46455 * misc/Makefile (headers): Add bits/select2.h.
46456 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46457 * misc/bits/select2.h: New file.
46458 * include/bits/select2.h: New file.
46459 * debug/Makefile (routines): Add fdelt_chk.
46460 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46461 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46463 * debug/fdelt_chk.c: New file.
46465 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46466 * wcsmbs/test-wmemcmp.c: Likewise.
46467 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46468 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46470 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46472 * string/Makefile (strop-tests): Add memcmp.
46473 * string/test-wmemcmp.c: New file.
46474 * string/test-memcmp.c: Add wmemcmp support.
46476 2011-09-08 Roland McGrath <roland@hack.frob.com>
46479 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46482 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46483 garbage value in a __mach_port_mod_refs call in the cases of the
46484 task-self and thread-self ports.
46486 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46488 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46490 2011-09-08 Andreas Schwab <schwab@redhat.com>
46492 * elf/dl-load.c (lose): Check for non-null L.
46494 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46496 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46498 * elf/dl-libc.c (dlerror_run): Pass back error code from
46502 * elf/dl-load.c (lose): Free l_origin if it is valid.
46504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46507 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46508 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46510 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46511 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46513 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46515 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46516 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46517 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46518 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46519 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46520 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46521 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46522 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46523 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46524 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46526 2011-08-15 Alan Modra <amodra@gmail.com>
46529 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46530 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46531 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46532 ppc_mcount to static-only-routines.
46533 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46535 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46536 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46538 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46540 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46541 for finite and infinity parameters.
46543 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46546 and add nop instructions for throughput optimization.
46547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46549 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46551 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46552 aligned copy for power7 with vector-scalar instructions.
46553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46555 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46560 2011-09-07 Andreas Schwab <schwab@redhat.com>
46563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46566 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46568 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46569 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46570 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46571 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46574 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46576 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46577 Forgot to demangle the pointer.
46579 * sysdeps/i386/sysdep.h: Define atom_text_section.
46580 * sysdeps/x86_64/sysdep.h: Likewise.
46581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46582 section with atom_text_section.
46583 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46585 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46587 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46589 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46590 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46591 already be defined. Change to take two parameters and don't assign
46592 result to variable. Adjust all users.
46593 Define INTERNAL_GETTIME if not already defined.
46594 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46597 HAVE_CLOCK_GETTIME_VSYSCALL.
46598 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46600 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46601 gettimeofday vsyscall, just use time.
46603 2011-09-06 Andreas Schwab <schwab@redhat.com>
46605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46608 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46610 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46614 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46615 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46616 syscall if possible.
46618 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46620 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46621 e_ident. Don't pass to find_mapsXX.
46622 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46624 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46627 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46628 * sysdeps/x86_64/multiarch/strchr.S: Update.
46629 Check bit_slow_BSF bit.
46630 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46631 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46632 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46634 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46637 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46639 (tryshell): Define.
46640 (__spawni): Change last parameter to be flag. Test
46641 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46642 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46643 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46644 * posix/spawni.c: Likewise.
46645 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46646 * posix/spawnp.c: Likewise. Change normal version to use
46647 SPAWN_XFLAGS_USE_PATH.
46648 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46649 SPAWN_XFLAGS_TRY_SHELL.
46652 * posix/glob.h: Remove gcc 1.x support.
46655 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46657 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46660 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46662 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46663 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46664 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46665 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46666 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46667 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46669 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46671 * sysdeps/x86_64/wcscmp.S: New file.
46673 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46674 wcscmp-c wcscmp-sse2
46675 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46676 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46677 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46678 * wcsmbs/wcscmp.c: Allow renaming.
46680 2011-09-05 David S. Miller <davem@davemloft.net>
46682 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46683 stack slot, rather than the struct return pointer slot.
46684 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46685 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46687 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46689 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46691 * po/ja.po: Update from translation team.
46694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46695 kernel in 64-bit binaries.
46697 2011-09-01 David S. Miller <davem@davemloft.net>
46699 * elf/elf.h (HWCAP_SPARC_*): Move to..
46700 * sysdeps/sparc/sysdep.h: this new file and add new values.
46701 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46702 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46703 _DL_HWCAP_COUNT to 24.
46704 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46706 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46707 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46708 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46710 instead of magic constants.
46711 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46713 2011-08-31 David S. Miller <davem@davemloft.net>
46715 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46717 Reimplement to do errno handling inline.
46718 (SYSCALL_ERROR_HANDLER): New macro.
46719 (__SYSCALL_STRING): Do not do errno handling in asm.
46720 (__CLONE_SYSCALL_STRING): Delete.
46721 (__INTERNAL_SYSCALL_STRING): Delete.
46722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46723 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46724 (PSEUDO): Reimplement to do errno handling inline.
46725 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46726 (SYSCALL_ERROR_HANDLER): New macro.
46727 (__SYSCALL_STRING): Do not do errno handling in asm.
46728 (__CLONE_SYSCALL_STRING): Delete.
46729 (__INTERNAL_SYSCALL_STRING): Delete.
46730 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46731 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46733 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46734 (inline_syscall*): Add 'err' argument.
46735 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46736 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46737 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46738 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46740 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46741 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46743 2011-08-30 Andreas Schwab <schwab@redhat.com>
46745 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46747 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46749 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46752 2011-08-24 David S. Miller <davem@davemloft.net>
46754 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46756 2011-08-24 Andreas Schwab <schwab@redhat.com>
46758 * elf/Makefile: Add rules to build and run unload8 test.
46759 * elf/unload8.c: New file.
46760 * elf/unload8mod1.c: New file.
46761 * elf/unload8mod1x.c: New file.
46762 * elf/unload8mod2.c: New file.
46763 * elf/unload8mod3.c: New file.
46765 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46768 2011-08-23 David S. Miller <davem@davemloft.net>
46770 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46771 subtract stack bias.
46772 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46773 %sp not %fp in calculations.
46774 (_JMPBUF_UNWINDS_ADJ): Likewise.
46776 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46777 (aio_suspend): Call it to force an exception region around the
46778 AIO_MISC_WAIT() invocation.
46780 2011-08-23 Andreas Schwab <schwab@redhat.com>
46782 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46785 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46787 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46789 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46790 and <dl-machine.h>.
46791 (Elf64_FuncDesc): Remove.
46793 2011-08-22 David S. Miller <davem@davemloft.net>
46795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46796 sigaltstack check, add missing cfi directives.
46797 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46798 missing cfi directives, and sigaltstack handling.
46800 2011-08-16 Andreas Schwab <schwab@redhat.com>
46803 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46804 object is seen twice.
46805 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46807 * elf/Makefile (distribute): Add tst-initorder2.c.
46808 (tests): Add tst-initorder2.
46809 (modules-names): Add tst-initorder2a tst-initorder2b
46810 tst-initorder2c tst-initorder2d. Add rules to build them.
46811 ($(objpfx)tst-initorder2.out): New rule.
46812 * elf/tst-initorder2.c: New file.
46813 * elf/tst-initorder2.exp: New file.
46815 2011-08-22 Andreas Schwab <schwab@redhat.com>
46817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46819 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46820 dependencies back to end of function.
46822 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46823 $(elfobjdir)/ld.so.
46825 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46828 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46829 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46830 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46831 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46832 of __vdso_gettimeofday.
46833 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46834 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46836 (_libc_vdso_platform_setup): Remove initialization of
46837 __vdso_gettimeofday and __vdso_time.
46839 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46841 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46842 and fgetc_unlocked.
46843 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46846 * elf/dl-open.c (add_to_global): Report additions to the global scope
46847 for LD_DEBUG=scopes.
46848 (dl_open_worker): Also print scope of newly loaded dependencies.
46849 (_dl_show_scope): Indicate if there is no scope.
46852 * stdio-common/Makefile (tests): Add bug24.
46853 * stdio-common/bug24.c: New file.
46855 2011-08-19 Andreas Jaeger <aj@suse.de>
46858 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46859 non-existant file when using close-on-exec mode.
46861 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46864 the very first instruction.
46866 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46867 the CFI state in the end.
46868 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46869 inclusion of dl-trampoline.h.
46870 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46872 2011-08-19 Andreas Schwab <schwab@redhat.com>
46874 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46875 expectations for long double.
46877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46878 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46880 2011-08-14 David S. Miller <davem@davemloft.net>
46882 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46883 artificual limit depends upon the system page size.
46885 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46887 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46888 * resolv/Makefile: Define CFLAGS-libresolv.
46890 2011-08-17 Andreas Schwab <schwab@redhat.com>
46892 * nss/makedb.c (compute_tables): Make variables used in nested
46895 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46897 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46898 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46899 if buffer was too small.
46901 * elf/pldd.c (main): Attach to all threads in the process.
46902 Rewrite /proc handling to use *at functions.
46904 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46906 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46907 specifies first scope to show.
46908 (dl_open_worker): Update callers. Move printing scope of new
46909 object to before the relocation.
46910 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46911 * sysdeps/generic/ldsodefs.h: Update declaration.
46913 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46914 string for the scope number.
46916 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46918 * nscd/servicescache.c (cache_addserv): Make sure written is always
46921 2011-08-14 Roland McGrath <roland@hack.frob.com>
46923 * sysdeps/i386/i486/bits/atomic.h
46924 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46925 statement expression, so as to suppress "set but not used" warning.
46926 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46928 * string/strncat.c (STRNCAT): Use prototype definition.
46930 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46931 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46933 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46934 (localedef-modules): Add localedef.
46935 (locale-modules): Add locale.
46937 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46938 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46939 to avoid a warning.
46941 2011-08-14 David S. Miller <davem@davemloft.net>
46943 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46944 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46946 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46948 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46949 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46950 * elf/rtld.c (dl_main): Set l_name of vDSO.
46951 Call _dl_show_scope when DL_DEBUG_SCOPES.
46952 (process_dl_debug): Recognize scopes flag and also set it for all.
46953 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46954 Declare _dl_show_scope.
46956 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46957 (do_dlopen): Pass caller_dlopen to dl_open.
46958 (__libc_dlopen_mode): Initialize caller_dlopen.
46960 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46961 of libc. Make tolower call locale-independent. Optimize a bit by
46962 using isdigit instead of isalnum.
46963 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46965 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46967 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46968 was a dependency or dynamically loaded.
46970 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46972 * intl/l10nflist.c: Allow architecture-specific pop function.
46973 * sysdeps/x86_64/l10nflist.c: New file.
46975 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46978 2011-08-10 Andreas Schwab <schwab@redhat.com>
46980 * include/dirent.h: Add libc_hidden_proto for scandirat and
46981 scandirat64. Don't declare __scandirat64.
46982 * dirent/scandirat.c: Add libc_hidden_def.
46983 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46984 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46986 2011-08-10 David S. Miller <davem@davemloft.net>
46988 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46990 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46991 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46992 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46994 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46996 * Versions.def [libc]: Add GLIBC_2.15.
46997 * dirent/Makefile (routines): Add scandirat and scandirat64.
46998 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47000 * dirent/dirent.h: Declare scandirat and scandirat64.
47001 * dirent/scandirat.c: New file.
47002 * dirent/scandirat64.c: New file.
47003 * sysdeps/wordsize-64/scandirat.c: New file.
47004 * sysdeps/wordsize-64/scandirat64.c: New file.
47005 * dirent/opendir.c: Define opendirat.
47006 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47008 * dirent/scandir64.c: Adjust for scandir.c change.
47009 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47010 __scandirat64, and __scandir_cancel_handler.
47011 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47012 additional parameter and use openat instead of open (outside of ld.so).
47013 Add new __opendir as wrapper around __opendirat.
47014 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47015 here without requiring old scandirat implementation.
47017 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47019 * dirent/scandir.c (cancel_handler): Renamed to
47020 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47021 defined. Adjust users.
47022 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47023 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47025 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47027 * string/test-string.h (IMPL): Use __STRING to expand name and then
47030 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47033 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47035 * string/Makefile: Update.
47036 (strop-tests): Append strncat.
47037 * string/test-wcscmp.c: New file.
47038 New comprehensive test for wcscmp.
47039 * string/test-strcmp.c: Update.
47040 (WIDE): New define.
47042 2011-07-22 Andreas Schwab <schwab@redhat.com>
47044 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47047 2011-07-26 Andreas Schwab <schwab@redhat.com>
47049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47050 encoding to ACE if AI_IDN.
47052 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47055 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47057 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47059 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47060 Fix overflow bug in strncat.
47061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47063 * string/test-strncat.c: Update.
47064 Add new tests for checking overflow bugs.
47066 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47069 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47070 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47071 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47072 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47073 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47074 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47075 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47076 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47079 (USE_AS_STRCAT): Define.
47080 Add strcat and strncat support.
47081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47083 2011-07-25 Andreas Schwab <schwab@redhat.com>
47085 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47086 __n bigger than INT_MAX+1.
47087 (__strncmp_g): Likewise.
47089 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47091 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47092 * libio/stido.h: Likewise.
47094 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47099 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47102 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47103 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47106 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47111 (_dl_x86_64_save_sse): Likewise.
47113 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47117 (_dl_x86_64_save_sse): Likewise.
47119 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47121 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47123 2011-07-21 Andreas Schwab <schwab@redhat.com>
47125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47127 (_dl_x86_64_save_sse): Use correct AVX check.
47129 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47131 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47132 bug in strncpy/strncat.
47133 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47135 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47137 * string/tester.c (test_strcat): Add tests for different alignments
47138 of source and destination.
47139 (test_strncat): Likewise.
47141 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47144 * posix/glob.c (glob): Check passed in values before using them in
47145 expressions to avoid some overflows.
47146 (glob_in_dir): Likewise.
47149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47150 check for AVX enablement so that we don't crash with old kernels and
47152 * elf/tst-audit4.c: Add same checks here.
47153 * elf/tst-audit6.c: Likewise.
47155 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47157 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47159 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47161 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47163 * po/cs.po: Update from translation team.
47164 * po/bg.po: Likewise.
47166 2011-07-12 Marek Polacek <mpolacek@redhat.com>
47168 * misc/sys/cdefs.h: Add support for const attribute.
47169 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47170 to gnu_dev_{major,minor,makedev} functions.
47172 2011-07-20 Marek Polacek <mpolacek@redhat.com>
47174 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47176 2011-07-20 Andreas Schwab <schwab@redhat.com>
47178 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47181 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47184 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47185 register in order to avoid conflicts with the soft frame pointer
47186 being held in r11 when necessary.
47187 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47188 (INTERNAL_VSYSCALL_NCS): Likewise.
47190 2011-07-14 Marek Polacek <mpolacek@redhat.com>
47192 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47193 * elf/dl-fini.c (_dl_fini): Adjust caller.
47194 * elf/dl-close.c (_dl_close_worker): Likewise.
47195 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47197 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47199 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47200 "aux_cache->nlibs < 0".
47202 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47203 in the reload-count case.
47205 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47208 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47209 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47210 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47211 * sysdeps/x86_64/multiarch/strcat.S: New file.
47212 * sysdeps/x86_64/multiarch/strncat.S: New file.
47213 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47215 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47216 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47217 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47218 (USE_AS_STRCAT): Define.
47219 Add strcat and strncat support.
47220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47222 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47223 * string/strncat.c: Update.
47224 (USE_AS_STRNCAT): Define.
47225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47226 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47228 * sysdeps/x86_64/multiarch/init-arch.h
47229 (bit_Prefer_PMINUB_for_stringop): New.
47230 (index_Prefer_PMINUB_for_stringop): Likewise.
47231 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47232 bit_Prefer_PMINUB_for_stringop.
47234 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47236 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47238 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47239 of casting of buffer.
47240 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47241 buffer32 and buffer64.
47242 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47243 writes instead of casting of buffer.
47244 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47246 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47249 2011-07-19 Andreas Schwab <schwab@redhat.com>
47251 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47253 2011-07-19 Ulrich Drepper <drepper@gmail.com>
47255 * nscd/nscd.c (termination_handler): Don't do anything for a database
47256 if it has not yet been initialized.
47258 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47260 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47262 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47264 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47266 2011-07-18 Ulrich Drepper <drepper@gmail.com>
47268 * po/nl.po: Update from translation team.
47269 * po/sv.po: Likewise.
47271 2011-07-16 Roland McGrath <roland@hack.frob.com>
47273 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47274 now disallowed by GCC.
47276 * configure.in (use-default-link): Default to yes if a test -shared
47277 link meets our qualifications.
47278 * configure: Regenerated.
47280 * config.make.in (output-format): New variable.
47281 * configure.in: Check for ld --print-output-format support.
47282 * configure: Regenerated.
47283 * Makerules ($(common-objpfx)format.lds)
47284 [$(output-format) != unknown]: Just use $(output-format),
47285 instead of the linker-script munging.
47287 2011-07-14 Roland McGrath <roland@hack.frob.com>
47289 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47290 of $(common-objpfx)shlib.lds.
47291 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47293 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47294 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47296 * configure.in (-z relro check): Adjust test code to add a large
47297 writable data section after it.
47298 * configure: Regenerated.
47300 2011-07-11 Roland McGrath <roland@hack.frob.com>
47302 * configure.in (-z relro check): Fix test code to make the variable
47304 * configure: Regenerated.
47306 2011-07-11 Ulrich Drepper <drepper@gmail.com>
47308 * nscd/nscd.h (struct traced_file): Define.
47309 (struct database_dyn): Remove inotify_descr, reset_res, and filename
47310 elements. Add traced_files.
47311 (inotify_fd): Declare.
47312 (register_traced_file): Declare.
47313 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47314 (inotify_fd): Export.
47315 (resolv_conf_descr): Remove.
47316 (nscd_init): Move inotify descriptor creation to main.
47317 Don't register files for notification here.
47318 (register_traced_file): New function.
47319 (invalidate_cache): Don't use reset_res to determine whether to call
47320 res_init, go through the list of registered files.
47321 (main_loop_poll): The inotify descriptors are now stored in the
47322 structures for the traced files.
47323 (main_loop_epoll): Likewise
47324 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
47325 to __nss_disable_nscd.
47326 * nscd/cache.c (prune_cache): There is no single inotify descriptor
47327 for a database anymore. Check the records for all the registered
47329 * nss/Makefile (libnss_files-routines): Add files-init.
47330 (libnss_db-routines): Add db-init.
47331 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47332 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47333 * nss/nss_db/db-init.c: New file.
47334 * nss/nss_files/files-init.c: New file.
47335 * nss/nsswitch.c (nss_load_library): New function. Broken out of
47336 __nss_lookup_function.
47337 (__nss_lookup_function): Call nss_load_library.
47338 (nss_load_all_libraries): New function.
47339 (__nss_disable_nscd): Take parameter with callback function for files
47340 to register. Set is_nscd. Load all the DSOs for the NSS modules
47341 used for the cached services.
47342 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47343 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47344 options for features to all the files in nscd.
47346 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47348 2011-07-10 Roland McGrath <roland@hack.frob.com>
47350 * csu/elf-init.c (__libc_csu_init): Comment typo.
47352 2011-07-09 Ulrich Drepper <drepper@gmail.com>
47354 * po/pl.po: Update from translation team.
47355 * po/ja.po: Likewise.
47356 * po/ru.po: Likewise.
47357 * po/ko.po: Likewise.
47358 * po/fr.po: Likewise.
47360 2011-07-09 Roland McGrath <roland@hack.frob.com>
47362 * configure.in (.ctors/.dtors header and trailer check):
47363 Use an empirical test on a built program.
47364 * configure: Regenerated.
47366 * configure.in (-z relro check): Use an empirical test on a built DSO.
47367 Detect, but do not require, on ia64.
47368 * configure: Regenerated.
47370 * configure.in (READELF): Find it with AC_CHECK_TOOL.
47371 Update tests that use readelf to use $READELF instead.
47372 * configure: Regenerated.
47374 2011-07-08 Ulrich Drepper <drepper@gmail.com>
47376 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47377 if the result is not used.
47379 2011-07-05 Andreas Jaeger <aj@suse.de>
47382 * stdlib/tst-strtod.c: Add testcase.
47384 2011-07-07 Ulrich Drepper <drepper@gmail.com>
47386 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47387 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47388 The latter has a higher limit. Take additional parameter to pass to
47390 (__pathconf): Pass file to __statfs_link_max.
47391 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47393 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47397 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47400 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47401 (__statfs_filesize_max): Likewise.
47402 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47404 2011-07-05 Andreas Jaeger <aj@suse.de>
47406 * resolv/res_comp.c (dn_skipname): Remove unused variable.
47408 2011-07-06 Marek Polacek <mpolacek@redhat.com>
47410 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47412 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47415 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
47417 * Makefile (strop-tests): Add strncat.
47418 * string/test-strncat.c: New file.
47420 2011-06-30 Marek Polacek <mpolacek@redhat.com>
47422 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47424 2011-06-21 Andreas Jaeger <aj@suse.de>
47426 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47427 Copy rule from iconvdata/Makefile.
47429 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47432 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47433 but no long options are defined, just return 'W'.
47435 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47438 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47440 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47442 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47444 (innetgr): Likewise.
47446 2011-07-05 Roland McGrath <roland@hack.frob.com>
47448 * config.make.in (install_root): Default to $(DESTDIR).
47450 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47454 2011-07-02 Roland McGrath <roland@hack.frob.com>
47456 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47458 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47459 containing directory rather than embedding absolute directory names.
47461 * scripts/check-local-headers.sh: Rewritten using awk.
47462 Match by word, not by line. Print error messages for matches.
47463 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47465 * Makerules [shlib-lds-flags empty]:
47466 ($(common-objpfx)libc_pic.opts): New target.
47467 ($(common-objpfx)libc_pic.os.clean): New target.
47468 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47470 * config.make.in (OBJCOPY): New variable.
47471 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47472 * configure: Regenerated.
47474 * config.make.in (use-default-link): New variable.
47475 * configure.in (use_default_link): Grok --with-default-link to set it.
47476 * configure: Regenerated.
47477 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47478 (shlib-lds, shlib-lds-flags): Define to empty.
47480 * Makerules (shlib-lds): New variable.
47481 (shlib-lds-flags): New variable.
47482 (build-shlib, build-moduile, build-module-asneeded): Use it.
47483 ($(common-objpfx)libc.so): Use $(shlib-lds).
47484 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47485 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47487 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47488 DT_FLAGS/DT_FLAGS_1 with zero flags.
47490 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47491 linker script munging.
47493 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47495 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47497 * crypt/sha512.c (sha512_process_block): Perform total addition using
47498 128-bit if possible.
47499 (__sha512_finish_ctx): Likewise.
47500 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47502 * crypt/sha256.c (SWAP64): Define.
47503 (sha256_process_block): Perform total addition using 64-bit if
47505 (__sha256_finish_ctx): Likewise.
47507 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47509 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47511 * nscd/hstcache.c (cache_addhst): Likewise.
47512 * nscd/grpcache.c (cache_addgr): Likewise.
47513 * nscd/aicache.c (addhstaiX): Likewise
47514 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47516 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47518 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47519 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47520 * nscd/hstcache.c (cache_addhst): Likewise.
47521 * nscd/grpcache.c (cache_addgr): Likewise.
47522 * nscd/aicache.c (addhstaiX): Likewise
47524 2011-07-01 Andreas Schwab <schwab@redhat.com>
47526 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47527 domain only when needed.
47529 2011-06-30 Andreas Schwab <schwab@redhat.com>
47531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47532 is always restored.
47534 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47536 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47537 are re-adding the entry.
47538 * nscd/servicescache.c (cache_addserv): Likewise.
47540 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47542 * sysdeps/generic/dl-irel.h: fix protection against multiple
47544 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47546 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47549 * malloc/memusage.sh: Fix quoting in message.
47550 * debug/xtrace.sh: Likewise.
47552 * configure.in: Remove support for --experimental-malloc option, make
47554 * config.make.in: Likewise.
47555 * malloc/Makefile: Likewise.
47557 2011-06-27 Andreas Schwab <schwab@redhat.com>
47559 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47560 two-byte characters.
47562 2011-06-27 Roland McGrath <roland@hack.frob.com>
47564 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47565 AC_CACHE_CHECK invocation.
47566 * configure: Regenerated.
47568 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47570 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47573 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47574 bit from old_res_options.
47576 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47578 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47579 value type for setfct.
47581 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47584 __gettimeofday instead of gettimeofday.
47586 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47588 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47590 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47597 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47600 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47601 strcpy-sse2-unaligned strncpy-sse2-unaligned
47602 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47603 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47604 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47605 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47606 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47607 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47608 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47609 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47610 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47611 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47612 (STRCPY): Support SSE2 and SSSE3 versions.
47614 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47617 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47618 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47619 kernels which artificially limit size of requests.
47621 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47624 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47625 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47626 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47627 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47628 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47629 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47630 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47631 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47633 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47634 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47635 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47636 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47637 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47639 Enable unaligned load optimization for Intel Core i3, i5 and i7
47641 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47643 (index_Fast_Unaligned_Load): Define.
47644 (HAS_FAST_UNALIGNED_LOAD): Define.
47646 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47648 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47650 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47654 until it is clear that the information is realy needed.
47655 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47657 2011-06-22 Andreas Schwab <schwab@redhat.com>
47659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47661 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47664 /sys/devices/system/cpu/online if it is usable.
47666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47667 reading the information from the /proc filesystem to once a second.
47669 2011-06-21 Andreas Jaeger <aj@suse.de>
47671 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47672 NULL after inclusion of kernel headers.
47674 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47676 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47677 calls to internal_setent.
47680 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47681 addresses using gethostbyname4_r ignore IPv4 addresses.
47683 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47684 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47686 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47688 2011-06-20 David S. Miller <davem@davemloft.net>
47690 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47692 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47694 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47695 (elf_irel): Use it.
47696 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47697 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47698 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47699 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47700 * sysdeps/x86_64/dl-irel.h: Likewise.
47702 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47703 * elf/dl-sym.c: Likewise.
47705 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47707 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47708 need to dereference resplen2.
47710 2011-06-14 Andreas Schwab <schwab@redhat.com>
47712 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47714 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47716 * Makeconfig: Define vardbdir and inst_vardbdir.
47717 * nss/Makefile: Add rules to install db-Makefile.
47719 * nss/nss_db/db-XXX.c: Cleanup.
47721 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47722 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47724 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47725 * nss/makedb.c: Implement -g option to specify that value strings
47726 are generated and should not be added to table iterated over for
47728 * nss/nss_db/db-initgroups.c: New file.
47730 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47733 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47734 (internal_getgrouplist): Adjust to name change.
47735 Update use_initgroups_entry if this is not the first call.
47736 * nss/databases.def: Add initgroups entry.
47738 * nss/makedb.c (compute_tables): Check result of multiple hash table
47739 sizes to minimize maximum chain length.
47741 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47743 * Versions.def: Add entry for libnss_db.
47744 * shlib-versions: Likewise.
47745 * nss/Makefile: Add rules to build libnss_db.
47746 * nss/Versions: Add libnss_db information. Organize libnss_files
47748 * nss/db-Makefile: Add gshadow support. Change rules for the new
47749 makedb progra. Some minor improvements to generate smaller files.
47750 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47752 * nss/makedb.c: ...here.
47753 Improve database format to be smaller and require less memory at
47755 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47757 * nss/nss_db/db-netgrp.c: Likewise.
47758 * nss/nss_db/db-open.c: Likewise.
47759 * nss/nss_files/flies-XXX.x: Adjust comments.
47760 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47761 * nss/nss_files/files-grp.c: Likewise.
47762 * nss/nss_files/files-hosts.c: Likewise.
47763 * nss/nss_files/files-network.c: Likewise.
47764 * nss/nss_files/files-proto.c: Likewise.
47765 * nss/nss_files/files-pwd.c: Likewise.
47766 * nss/nss_files/files-rpc.c: Likewise.
47767 * nss/nss_files/files-service.c: Likewise.
47768 * nss/nss_files/files-sgrp.c: Likewise.
47769 * nss/nss_files/files-spwd.c: Likewise.
47770 * nss/nss_db/db-alias.c: Removed.
47771 * nss/nss_db/dummy-db.h: Removed.
47773 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47775 * nss/makedb.c: Rewritten to not use database library.
47776 * nss/Makefile: Update to build new makedb program.
47778 2011-06-14 Andreas Jaeger <aj@suse.de>
47780 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47781 memset declaration.
47783 2011-06-10 Andreas Schwab <schwab@redhat.com>
47785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47788 2011-06-10 Roland McGrath <roland@hack.frob.com>
47790 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47791 * elf/Makefile ($(objpfx)ld.so): Likewise.
47793 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47794 Don't list ld.so twice in dependencies.
47796 * posix/bug-regex31.c: Include <stdlib.h>.
47798 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47800 * nis/nss_compat/compat-spwd.c
47801 (getspent_next_nss_netgr): Remove unused variable.
47802 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47804 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47805 nonmembers" output to use the right array.
47807 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47809 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47811 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47812 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47813 * catgets/gencat.c (read_input_file): Likewise.
47814 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47816 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47817 variable definition inside #if's controlling its use.
47819 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47821 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47823 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47825 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47828 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47830 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47831 * configure: Regenerated.
47833 * Makerules: Revert last change.
47834 * elf/Makefile: Likewise.
47836 2011-06-09 Roland McGrath <roland@hack.frob.com>
47838 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47839 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47840 (reloc-link): Likewise.
47842 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47844 * elf/Makefile: Add rules to build pldd.
47845 * elf/pldd.c: New file.
47846 * elf/pldd-xx.c: New file.
47848 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47850 * version.h: Update for 2.15 development version.
47852 2011-06-07 David S. Miller <davem@davemloft.net>
47854 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47857 elf_machine_lazy_rel): Likewise.
47858 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47860 elf_machine_lazy_rel): Likewise.
47861 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47862 dl_hwcap via passed in argument.
47863 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47866 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47868 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47870 2011-06-06 Roland McGrath <roland@hack.frob.com>
47873 * manual/fdl-1.1.texi: New file, verbatim from:
47874 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47875 * manual/lgpl-2.1.texi: New file, verbatim from:
47876 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47877 * manual/Makefile (licenses): New variable, list those new file names.
47879 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47881 * manual/fdl.texi: File removed.
47882 * manual/lesser.texi: File removed.
47883 * manual/libc.texinfo (Copying, Documentation License):
47884 Use new @include file names, put @appendix directive before @include.
47886 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47889 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47890 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47891 (mq_open): Add __NTH.
47893 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47896 Assume Intel Core i3/i5/i7 processor if AVX is available.
47898 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47903 2011-05-31 Andreas Schwab <schwab@redhat.com>
47905 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47906 memory. Use alloca_account. Fix memory leak when retrying.
47908 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47910 * version.h (RELEASE): Bump for 2.14 release.
47911 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47913 * config.make.in (RANLIB): Remove entry.
47915 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47917 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47918 (libc.pot): Work around missing support for .ksh extension in xgettext.
47921 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47922 if both request failed.
47923 (send_dg): In case of server errors clear resplen or *resplen2.
47926 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47927 when there are multiple maps.
47928 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47929 (_dl_fini): Remove test here.
47931 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47933 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47936 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47937 bit from old_res_options.
47938 (gaih_inet): Likewise.
47941 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47944 * resolv/res_init.c (res_setoptions): Make the code more compact.
47947 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47951 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47953 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47956 * malloc/malloc.h: Declare malloc hook variables as volatile.
47958 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47962 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47963 raise in the comment.
47964 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47966 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47968 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47971 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47972 grow the buffers more if it already has to be sufficient.
47973 (build_wcs_upper_buffer): Likewise.
47974 * posix/regexec.c (check_matching): Likewise.
47975 (clean_state_log_if_needed): Likewise.
47976 (extend_buffers): Don't enlarge buffers beyond size of the input
47978 Patches mostly by Emil Wojak <emil@wojak.eu>.
47979 * posix/bug-regex32.c: New file.
47980 * posix/Makefile (tests): Add bug-regex32.
47982 * locale/findlocale.c (_nl_find_locale): Return right away if
47983 _nl_explode_name failed.
47984 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47986 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47988 * debug/xtrace.sh: Unify messages.
47989 * malloc/memusage.sh: Likewise.
47992 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47993 time symbol from vDSO. Substitute with vsyscall if not available.
47994 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47997 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47998 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47999 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48000 Add sendmmsg and internal_sendmmsg.
48001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48002 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48003 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48005 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48006 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48007 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48009 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48012 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48013 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48015 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48019 * iconvdata/Makefile (tests): Add bug-iconv9.
48020 * iconvdata/bug-iconv9.c: New file.
48022 2011-05-27 Andreas Schwab <schwab@redhat.com>
48025 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48027 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48030 (struct user_regs_struct): Change intcs field back to cs.
48032 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48034 * po/ja.po: Update from translation team.
48036 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48039 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48040 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48042 2011-05-20 Andreas Schwab <schwab@redhat.com>
48044 * stdlib/longlong.h: Update from GCC.
48046 2011-05-23 Andreas Schwab <schwab@redhat.com>
48048 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48050 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48051 Add parameter name.
48052 (__sysconf): Pass it down.
48054 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48057 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48059 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48060 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48061 add in in __libc_use_alloca calls. Adjust callers.
48062 (glob): Use malloc in some situations.
48064 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48065 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48068 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48070 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48071 and CLOCK_BOOTTIME_ALARM.
48074 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48077 * string/_strerror.c (__strerror_r): Print negative errors as signed
48081 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48082 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48083 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48085 * configure.in: Fix typo in redirection and correct removal of test
48086 files in two cases.
48089 * locale/setlocale.c (new_composite_name): Fix test to check for
48090 identical name of all categories.
48093 * libio/filedoalloc.c (local_isatty): New function.
48094 (_IO_file_doallocate): Use local_isatty.
48095 * stdio-common/perror.c (perror): In case a new stream is used
48096 forward the stream error.
48097 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48100 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48105 * include/alloca.h (extend_alloca_account): Define.
48108 * posix/regex.h: Fix comments with documentation of user-accessible
48109 fields after compilation and describe correct free'ing of pattern
48110 after re_compile_pattern.
48111 Patch by Reuben Thomas <rrt@sc3d.org>.
48113 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48115 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48116 and -mno-altivec to prevent the compiler from using Altivec and/or
48117 VSX instructions when the corresponding registers are not available.
48119 2011-05-19 Andreas Schwab <schwab@redhat.com>
48121 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48123 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48125 * libio/freopen.c (freopen): Use __dup2, not dup2.
48126 * libio/freopen64.c (freopen64): Likewise.
48128 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48131 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48132 * math/Makefile (tests): Add test-powl.
48133 (CFLAGS-test-powl.c): Define.
48134 * math/test-powl.c: New file.
48136 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48138 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48140 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48143 * iconvdata/gb18030.c: Update to GB18020-2005.
48145 2011-05-16 Ulrich Drepper <drepper@gmail.com>
48147 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48148 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48149 Patch by Aharon Robbins <arnold@skeeve.com>.
48152 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48156 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48157 through underflows.
48160 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48161 point to strings before performing equality test for error_one_per_line
48165 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48169 (struct user_fpregs_struct): Avoid __uint*_t types.
48172 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48173 symbol info. Use it instead of calling _dl_addr locally.
48174 (lock_and_info): New function.
48175 (tr_freehook): Call lock_and_info and pass symbol info as additional
48176 parameter to tr_where.
48177 (tr_mallochook): Likewise.
48178 (tr_reallochook): Likewise.
48179 (tr_memalignhook): Likewise.
48181 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48182 used and couldn't be at all thread-safe.
48184 2011-05-15 Ulrich Drepper <drepper@gmail.com>
48186 * libio/freopen.c (freopen): Don't close old file descriptor
48187 before the new one is opened. Instead dup the new file descriptor
48188 to the old one after the new stream is created.
48189 * libio/freopen64.c (freopen64): Likewise.
48190 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48191 * libio/fileops.c (_IO_new_file_close_it): Handle new
48192 _IO_FLAGS2_NOCLOSE flag.
48193 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48194 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48195 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48196 _IO_FLAGS2_NOCLOSE flag.
48197 * include/unistd.h: Add hidden_proto for dup3.
48198 Define __have_dup3.
48199 * io/dup3.c: Define hidden symbol.
48200 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48203 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48204 when an incomplete long option is used.
48205 * posix/tst-getopt_long1.c: New file.
48206 * posix/Makefile (tests): Add tst-getopt_long1.
48209 * scripts/config.guess: Update from autoconf-2.68.
48210 * scripts/config.sub: Likewise.
48213 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48215 (has_cpuclock): ...this. New function.
48216 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48217 macro here based on has_cpuclock code.
48220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48221 First byte (not low byte) is now always NUL.
48222 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48225 Use non-cancelable interfaces.
48228 * locale/iso-639.def: Add entry for Sorani.
48231 * include/stdlib.h: Move include protection to the right place.
48232 Define abort_msg_s. Declare __abort_msg with it.
48233 * stdlib/abort.c (__abort_msg): Adjust type.
48234 * assert/assert.c (__assert_fail_base): New function. Majority
48235 of code from __assert_fail. Allocate memory for __abort_msg with
48237 (__assert_fail): Now call __assert_fail_base.
48238 * assert/assert-perr.c: Remove bulk of implementation. Use
48239 __assert_fail_base.
48240 * include/assert.hL Declare __assert_fail_base.
48241 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48243 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48245 2011-05-14 Ulrich Drepper <drepper@gmail.com>
48249 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48250 until all modules are registered in the DTV.
48251 * elf/Makefile: Add rules to build and run tst-tls19.
48252 * elf/tst-tls19.c: New file.
48253 * elf/tst-tls19mod1.c: New file.
48254 * elf/tst-tls19mod2.c: New file.
48255 * elf/tst-tls19mod3.c: New file.
48256 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48259 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48263 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48264 two-byte sequence errors.
48265 * iconvdata/Makefile (tests): Add bug-iconv8.
48266 * iconvdata/bug-iconv8.c: New file.
48269 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48272 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48275 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48276 (dummy_getcfa): New function.
48277 (init): Get _Unwind_GetCFA address, use dummy if not found.
48278 (backtrace_helper): In recursion check, also check whether CFA changes.
48279 (__backtrace): Completely initialize arg.
48281 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48282 storing incomplete byte sequence in state object. Avoid testing for
48283 guaranteed too small input if we know there is enough data available.
48285 2011-05-11 Andreas Schwab <schwab@redhat.com>
48287 * Makeconfig (+link-pie): Indent.
48288 * Rules (binaries-pie): Define if $(have-fpie) and
48290 (binaries-shared): Also filter out $(binaries-pie).
48291 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48292 * nscd/Makefile (others-pie): Add nscd.
48293 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48294 ($(objpfx)nscd): Remove command override.
48295 * login/Makefile (others-pie): Add pt_chown.
48296 ($(objpfx)pt_chown): Remove command override.
48297 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48298 remove command overrides.
48300 2011-05-13 Ulrich Drepper <drepper@gmail.com>
48302 * libio/tst_putwc.c: Fix error messages.
48305 * libio/fileops.c (_IO_new_file_close_it): Always flush when
48306 currently writing and seek to current position when not.
48307 * libio/Makefile (tests): Add bug-fclose1.
48308 * libio/bug-fclose1.c: New file.
48310 2011-05-12 Ulrich Drepper <drepper@gmail.com>
48313 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48314 don't set DF_1_NODELETE here.
48315 (do_lookup_x): When entering new entry test for copy relocation
48316 and if necessary set DF_1_NODELETE flag.
48317 * elf/tst-unique4.cc: New file.
48318 * elf/tst-unique4.h: New file.
48319 * elf/tst-unique4lib.cc: New file.
48320 * elf/Makefile: Add rules to build and run tst-unique4.
48321 Patch by Piotr Bury <pbury@goahead.com>.
48323 2011-05-11 Ulrich Drepper <drepper@gmail.com>
48326 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48329 * misc/mntent_r.c (addmntent): Flush the stream after the output
48332 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48333 (is_trusted_path_normalize): Skip initial colon. Append slash
48334 to empty buffer. Duplicate is_trusted_path code but allow
48335 constructed patch to be prefix.
48336 (is_dst): Allow $ORIGIN followed by /.
48337 (_dl_dst_substitute): Correct clearing of check_for_trusted.
48338 Correct testing of result of is_trusted_path_normalize
48339 (decompose_rpath): Fix warning.
48341 2011-05-10 Ulrich Drepper <drepper@gmail.com>
48344 * grp/initgroups.c (internal_getgrouplist): When we found the service
48345 list through the initgroups entry in nsswitch.conf do not always
48346 continue on a successful lookup. Don't always use the
48347 __nss_group_database value if it is set.
48348 * nss/nsswitch.conf (initgroups): Change action for successful db
48349 lookup to continue for compatibility.
48351 2011-05-09 Ulrich Drepper <drepper@gmail.com>
48354 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48356 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48358 * iconvdata/tst-tables.sh: Likewise.
48359 * iconvdata/cp770.c: New file.
48360 * iconvdata/cp771.c: New file.
48361 * iconvdata/cp772.c: New file.
48362 * iconvdata/cp773.c: New file.
48363 * iconvdata/cp774.c: New file.
48364 * iconvdata/testdata/CP770: New file.
48365 * iconvdata/testdata/CP770..UTF8: New file.
48366 * iconvdata/testdata/CP771: New file.
48367 * iconvdata/testdata/CP771..UTF8: New file.
48368 * iconvdata/testdata/CP772: New file.
48369 * iconvdata/testdata/CP772..UTF8: New file.
48370 * iconvdata/testdata/CP773: New file.
48371 * iconvdata/testdata/CP773..UTF8: New file.
48372 * iconvdata/testdata/CP774: New file.
48373 * iconvdata/testdata/CP774..UTF8: New file.
48375 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48377 * iconvdata/gen-8bit-gap.sh: Likewise.
48378 * iconvdata/gen-8bit.sh: Likewise.
48380 * locale/iso-639.def: Add ary entry.
48383 * locale/C-translit.h.in: Add U20A1 transliteration.
48386 * locale/iso-639.def: Add wae entry.
48387 Patch by Kevin Bortis <bortis@translate-wae.ch>.
48390 * locale/programs/localedef.c (construct_output_path): Use ssize_t
48394 * locale/C-translit.h.in: Add entry for U20B9.
48395 Patch by pravin.d.s@gmail.com.
48397 2011-05-08 Ulrich Drepper <drepper@gmail.com>
48400 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48401 ENAMETOOLONG use generic getcwd.
48402 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
48403 in rtld. Use *stat64.
48404 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48405 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48406 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48407 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48408 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48409 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48410 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48411 __fstatat64 macros.
48412 * include/dirent.h: Add libc_hidden_proto for rewinddir.
48413 * dirent/rewinddir.c: Add libc_hidden_def.
48414 * sysdeps/mach/hurd/rewinddir.c: Likewise.
48415 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
48417 * include/dirent.h (__alloc_dir): Add flags parameter.
48418 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48419 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48421 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
48422 from fdopendir if O_CLOEXEC is already set.
48424 2011-03-15 Alan Modra <amodra@gmail.com>
48426 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48427 l_tls_firstbyte_offset non-zero. Save padding offset in
48428 l_tls_firstbyte_offset for later use.
48429 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48430 freeing static tls block.
48432 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48434 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48435 where #ifdef was intended. The intent is to prevent ARG_MAX from
48436 being defined by the kernel headers.
48438 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48441 * resolv/resolv.h: Define RES_NOTLDQUERY.
48442 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48443 no-tld-query and set RES_NOTLDQUERY.
48444 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48445 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48446 modern BIND to search name as TLD unless forbidden.
48448 2011-05-07 Petr Baudis <pasky@suse.cz>
48449 Ulrich Drepper <drepper@gmail.com>
48452 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48453 (is_trusted_path): ...to here.
48454 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48455 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48456 using is_trusted_path_normalize() in setuid scripts.
48458 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48460 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48461 __BEGIN/__END_DECLS.
48463 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48465 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48466 NSS_STATUS_NOTFOUND if no record was found.
48468 2011-05-05 Andreas Schwab <schwab@redhat.com>
48470 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48471 (headers-not-in-tirpc): Remove rpc/netdb.h
48472 * resolv/netdb.h: Revert last change.
48474 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48476 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48477 circular dependency between libgcc.a and libc.a.
48479 2011-05-05 Andreas Schwab <schwab@redhat.com>
48481 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48482 * nis/Makefile: Don't install rpcsvc/*.
48483 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48484 instead of <rpc/types.h>.
48485 (MAXHOSTNAMELEN): Define.
48487 2011-05-03 Andreas Schwab <schwab@redhat.com>
48489 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48491 2011-04-28 Maciej Babinski <mbabinski@google.com>
48494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48495 gethostbyname4_r when IPv6 results are possible.
48497 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48500 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48501 _PC_PIPE_BUF handling.
48503 2011-04-30 Bruno Haible <bruno@clisp.org>
48506 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48507 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48509 * inet/getnameinfo.c (getnameinfo): Likewise.
48511 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48513 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48514 to groups setting in database lookup.
48515 * nss/nsswitch.conf: Add initgroups entry.
48517 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48520 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48522 Patch by Eric Blake <eblake@redhat.com>.
48524 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48526 * sunrpc/Makefile (need-export-routines): Add svc_run.
48527 (routines): Remove svc_run.
48528 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48529 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48530 * sunrpc/svc_run.c (svc_run): Likewise.
48531 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48533 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48536 problem in reallocation in last patch.
48538 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48540 * sunrpc/Makefile: Move inclusion of Rules.
48542 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48544 * nss/nss_files/files-initgroups.c: New file.
48545 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48546 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48547 _nss_files_initgroups_dyn.
48549 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48551 * elf/elf.h (R_ARM_IRELATIVE): Define.
48553 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48555 * po/ru.po: Update from translation team.
48557 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48559 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48562 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48565 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48566 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48567 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48568 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48569 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48571 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48573 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48575 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48579 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48582 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48584 * stdlib/bug-getcontext.c: New file.
48585 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48587 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48589 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48590 instructions into .machine "z9-109".
48591 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48592 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48594 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48596 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48597 between environment variables and auxiliary vector.
48599 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48601 * Makefile: Add rules to build linkobj/libc.so.
48602 * include/libc-symbols.h: Define libc_hidden_nolink.
48603 * include/rpc/auth.h: Mark functions which are to be hidden.
48604 * include/rpc/auth_des.h: Likewise.
48605 * include/rpc/auth_unix.h: Likewise.
48606 * include/rpc/clnt.h: Likewise.
48607 * include/rpc/des_crypt.h: Likewise.
48608 * include/rpc/key_prot.h: Likewise.
48609 * include/rpc/pmap_clnt.h: Likewise.
48610 * include/rpc/pmap_prot.h: Likewise.
48611 * include/rpc/pmap_rmt.h: Likewise.
48612 * include/rpc/rpc_msg.h: Likewise.
48613 * include/rpc/svc.h: Likewise.
48614 * include/rpc/svc_auth.h: Likewise.
48615 * include/rpc/xdr.h: Likewise.
48616 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48617 * nss/Makefile: Likewise.
48618 * sunrpc/Makefile: Don't install headers. Build library with normal
48619 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48620 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48621 for the compat linking library. Remove use of INTDEF/INTUSE.
48622 * sunrpc/auth_none.c: Likewise.
48623 * sunrpc/auth_unix.c: Likewise.
48624 * sunrpc/authdes_prot.c: Likewise.
48625 * sunrpc/authuxprot.c: Likewise.
48626 * sunrpc/clnt_gen.c: Likewise.
48627 * sunrpc/clnt_perr.c: Likewise.
48628 * sunrpc/clnt_raw.c: Likewise.
48629 * sunrpc/clnt_simp.c: Likewise.
48630 * sunrpc/clnt_tcp.c: Likewise.
48631 * sunrpc/clnt_udp.c: Likewise.
48632 * sunrpc/clnt_unix.c: Likewise.
48633 * sunrpc/des_crypt.c: Likewise.
48634 * sunrpc/des_soft.c: Likewise.
48635 * sunrpc/get_myaddr.c: Likewise.
48636 * sunrpc/key_call.c: Likewise.
48637 * sunrpc/key_prot.c: Likewise.
48638 * sunrpc/netname.c: Likewise.
48639 * sunrpc/pm_getmaps.c: Likewise.
48640 * sunrpc/pm_getport.c: Likewise.
48641 * sunrpc/pmap_clnt.c: Likewise.
48642 * sunrpc/pmap_prot.c: Likewise.
48643 * sunrpc/pmap_prot2.c: Likewise.
48644 * sunrpc/pmap_rmt.c: Likewise.
48645 * sunrpc/publickey.c: Likewise.
48646 * sunrpc/rpc_cmsg.c: Likewise.
48647 * sunrpc/rpc_common.c: Likewise.
48648 * sunrpc/rpc_dtable.c: Likewise.
48649 * sunrpc/rpc_prot.c: Likewise.
48650 * sunrpc/rpc_thread.c: Likewise.
48651 * sunrpc/rtime.c: Likewise.
48652 * sunrpc/svc.c: Likewise.
48653 * sunrpc/svc_auth.c: Likewise.
48654 * sunrpc/svc_authux.c: Likewise.
48655 * sunrpc/svc_raw.c: Likewise.
48656 * sunrpc/svc_run.c: Likewise.
48657 * sunrpc/svc_simple.c: Likewise.
48658 * sunrpc/svc_tcp.c: Likewise.
48659 * sunrpc/svc_udp.c: Likewise.
48660 * sunrpc/svc_unix.c: Likewise.
48661 * sunrpc/svcauth_des.c: Likewise.
48662 * sunrpc/xcrypt.c: Likewise.
48663 * sunrpc/xdr.c: Likewise.
48664 * sunrpc/xdr_array.c: Likewise.
48665 * sunrpc/xdr_float.c: Likewise.
48666 * sunrpc/xdr_intXX_t.c: Likewise.
48667 * sunrpc/xdr_mem.c: Likewise.
48668 * sunrpc/xdr_rec.c: Likewise.
48669 * sunrpc/xdr_ref.c: Likewise.
48670 * sunrpc/xdr_sizeof.c: Likewise.
48671 * sunrpc/xdr_stdio.c: Likewise.
48673 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48676 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48677 * sysdeps/ia64/dl-tls.h: Likewise.
48678 * sysdeps/powerpc/dl-tls.h: Likewise.
48679 * sysdeps/s390/dl-tls.h: Likewise.
48680 * sysdeps/sh/dl-tls.h: Likewise.
48681 * sysdeps/sparc/dl-tls.h: Likewise.
48682 * sysdeps/x86_64/dl-tls.h: Likewise.
48683 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48685 2011-03-14 Andreas Schwab <schwab@redhat.com>
48687 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48688 rpath element also skip the following colon.
48689 (expand_dynamic_string_token): Add is_path parameter and pass
48690 down to DL_DST_REQUIRED and _dl_dst_substitute.
48691 (decompose_rpath): Call expand_dynamic_string_token with
48692 non-zero is_path. Ignore empty rpaths.
48693 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48696 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48701 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48704 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48705 Patch by Filipe David Manana <fdmanana@apache.org>.
48707 2011-04-07 Andreas Schwab <schwab@redhat.com>
48709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48710 Maintain aligned stack.
48711 (CHECK_RSP): Remove unused macro.
48713 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48715 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48716 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48718 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48720 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48722 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48724 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48727 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48728 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48729 * sysdeps/x86_64/memmove.c: New file.
48730 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48731 (memcpy): Renamed to ...
48732 (__new_memcpy): This.
48733 (memcpy): Provide GLIBC_2_14 memcpy.
48734 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48735 (memcpy): Provide GLIBC_2_2_5 memcpy.
48737 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48740 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48742 2011-03-30 Andreas Schwab <schwab@redhat.com>
48744 * misc/syncfs.c: New file.
48745 * misc/Makefile (routines): Add syncfs.
48746 * posix/unistd.h: Declare syncfs.
48747 * sysdeps/unix/syscalls.list: Add syncfs.
48749 2011-04-01 Andreas Schwab <schwab@redhat.com>
48751 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48753 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48754 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48756 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48758 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48761 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48765 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48771 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48772 sync_file_range.c with -fexceptions.
48773 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48774 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48775 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48776 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48777 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48778 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48780 sync_file_range as cancellation point
48781 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48782 now a wrapper around __call_sync_file_range with cancellation handling.
48783 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48784 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48785 function name to __call_sync_file_range.
48786 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48787 Add call_sync_file_range.
48789 2011-04-01 Andreas Schwab <schwab@redhat.com>
48791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48794 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48796 * iconv/iconv.h: Fix typo in comment.
48797 * io/fcntl.h: Likewise.
48798 * libio/stdio.h: Likewise.
48799 * posix/spawn.h: Likewise.
48800 * posix/unistd.h: Likewise.
48801 * stdlib/stdlib.h: Likewise.
48802 * time/time.h: Likewise.
48803 * wcsmbs/wchar.h: Likewise.
48805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48806 open_by_handle): Add.
48807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48808 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48809 Augment a few comments.
48810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48815 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48818 * io/fcntl.h (AT_EMPTY_PATH): Define.
48820 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48822 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48823 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48824 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48826 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48827 * Versions.def: Add GLIBC_2.14.
48828 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48831 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48837 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48840 * string/test-strncmp.c (do_page_test): New function.
48841 (check2): Likewise.
48842 (test_main): Call check2.
48843 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48845 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48848 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48849 Handle cache information in CPU leaf 4.
48850 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48852 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48855 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48856 character representation.
48857 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48859 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48861 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48862 END(__isnan) to END(__isnanf) to match function entry point/label
48863 EALIGN(__isnanf,...).
48865 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48867 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48869 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48872 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48873 copy from the symbol referenced in the relocation to initialize the
48875 Patch by Piotr Bury <pbury@goahead.com>.
48876 * elf/Makefile: Add rules to build and tst-unique3.
48877 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48878 * elf/tst-unique3.cc: New file.
48879 * elf/tst-unique3.h: New file.
48880 * elf/tst-unique3lib.cc: New file.
48881 * elf/tst-unique3lib2.cc: New file.
48883 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48885 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48887 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48888 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48891 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48893 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48894 to-be-loaded object along a path to loader is ld.so.
48896 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48897 Ulrich Drepper <drepper@gmail.com>
48899 * sysdeps/x86_64/memset.S: After aligning destination, code
48900 branches to different locations depending on the value of
48901 misalignment, when multiarch is enabled. Fix this.
48903 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48905 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48906 Set _x86_64_preferred_memory_instruction for AMD processsors.
48907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48908 Set bit_Prefer_SSE_for_memop for AMD processors.
48910 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48912 * libio/fmemopen.c (fmemopen): Optimize a bit.
48914 2011-03-03 Andreas Schwab <schwab@redhat.com>
48916 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48918 2011-03-03 Roland McGrath <roland@redhat.com>
48920 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48922 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48924 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48925 __bzero_ultra1 instead of __memset_ultra1.
48927 2011-02-23 Andreas Schwab <schwab@redhat.com>
48928 Ulrich Drepper <drepper@gmail.com>
48931 * include/link.h (struct link_map): Add l_orig_initfini.
48932 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48933 returning unsuccessfully.
48934 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48935 close of a file loaded at startup, restore the original l_initfini
48937 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48938 list, store the pointer.
48939 * elf/Makefile ($(objpfx)noload-mem): New rule.
48940 (noload-ENV): Define.
48941 (tests): Add $(objpfx)noload-mem.
48942 * elf/noload.c: Include <memcheck.h>.
48943 (main): Call mtrace. Close all opened handles.
48945 2011-02-17 Andreas Schwab <schwab@redhat.com>
48948 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48949 dependencies are missing.
48951 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48953 Fix __if_freereq crash: Unlike the generic version which uses free,
48955 * sysdeps/mach/hurd/ifreq.h: New file.
48957 2011-01-27 Petr Baudis <pasky@suse.cz>
48958 Ulrich Drepper <drepper@gmail.com>
48961 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48962 to extend_alloca().
48963 * stdio-common/bug23.c: New file.
48964 * stdio-common/Makefile (tests): Add bug23.
48966 2010-09-28 Andreas Schwab <schwab@redhat.com>
48967 Ulrich Drepper <drepper@gmail.com>
48970 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48971 before performing relro protection. At old place add assertion
48972 to make sure nothing changed.
48974 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48975 Glauber de Oliveira Costa <glommer@gmail.com>
48977 * elf/elf.h: Add new ARM TLS relocs.
48979 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48982 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48984 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48986 * sysdeps/wordsize-64/tst-writev.c: New file.
48988 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48990 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48991 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48992 insns in _dl_start to prevent a TOC reference before relocs are
48995 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48998 * Makeconfig: Remove RANLIB definition.
48999 * Makerules: Don't use RANLIB.
49000 * aclocal.m4: Remove ranlib test.
49001 * configure.in: No need to check for ranlib.
49002 * elf/rtld-Rules: Don't use RANLIB.
49004 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49006 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49008 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49009 inclusion protection macro.
49011 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49012 SIGRTMIN and SIGRTMAX and print information in that case only when
49013 SIGRTMIN is defined.
49015 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49017 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49018 arginfo fn returning -1.
49020 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49021 and thousands string is zero terminated.
49023 2011-02-03 Andreas Schwab <schwab@redhat.com>
49025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49026 sysdeps/unix/sysv/linux/bits/socket.h.
49028 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49030 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49031 (__CPU_COUNT): Remove old macros.
49032 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49033 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49034 (__CPU_ALLOC, __CPU_FREE): Add macros.
49035 (__sched_cpualloc, __sched_cpufree): Add declarations.
49037 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49039 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49040 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49041 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49042 (readdhstai): Return value of addhstaiX call.
49043 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49044 (addgrbyX): Return value returned by cache_addgr.
49045 (readdgrbyname): Return value returned by addgrbyX.
49046 (readdgrbygid): Likewise.
49047 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49048 (addpwbyX): Return value returned by cache_addpw.
49049 (readdpwbyname): Return value returned by addhstbyX.
49050 (readdpwbyuid): Likewise.
49051 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49052 (addservbyX): Return value returned by cache_addserv.
49053 (readdservbyname): Return value returned by addservbyX:
49054 (readdservbyport): Likewise.
49055 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49056 (addhstbyX): Return value returned by cache_addhst.
49057 (readdhstbyname): Return value returned by addhstbyX.
49058 (readdhstbyaddr): Likewise.
49059 (readdhstbynamev6): Likewise.
49060 (readdhstbyaddrv6): Likewise.
49061 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49062 (readdinitgroups): Return value returned by addinitgroupsX.
49063 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49064 (prune_cache): Keep track of timeout value of re-added entries.
49065 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49066 * nscd/nscd.h: Adjust prototypes of readd* functions.
49068 2011-02-04 Roland McGrath <roland@redhat.com>
49070 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49071 (nis_stats): Likewise.
49072 * nis/nis_modify.c (nis_modify): Likewise.
49073 * nis/nis_remove.c (nis_remove): Likewise.
49074 * nis/nis_add.c (nis_add): Likewise.
49076 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49078 * posix/fnmatch_loop.c: Add some consts.
49080 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49082 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49085 * config.make.in (config-cflags-novzeroupper): Define.
49086 * configure.in: Substitute libc_cv_cc_novzeroupper.
49087 * elf/Makefile (AVX-CFLAGS): Define.
49088 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49089 (CFLAGS-tst-auditmod4a.c): Likewise.
49090 (CFLAGS-tst-auditmod4b.c): Likewise.
49091 (CFLAGS-tst-auditmod6b.c): Likewise.
49092 (CFLAGS-tst-auditmod6c.c): Likewise.
49093 (CFLAGS-tst-auditmod7b.c): Likewise.
49094 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49096 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49098 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49099 function to the callback.
49100 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49102 2011-02-02 Andreas Schwab <schwab@redhat.com>
49104 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49107 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49110 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49112 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49114 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49117 * elf/Makefile: Add rules to build and run new test.
49118 * elf/tst-initorder.c: New file.
49119 * elf/tst-initorder.exp: New file.
49120 * elf/tst-initordera1.c: New file.
49121 * elf/tst-initordera2.c: New file.
49122 * elf/tst-initordera3.c: New file.
49123 * elf/tst-initordera4.c: New file.
49124 * elf/tst-initorderb1.c: New file.
49125 * elf/tst-initorderb2.c: New file.
49126 * elf/tst-order-a1.c: New file.
49127 * elf/tst-order-a2.c: New file.
49128 * elf/tst-order-a3.c: New file.
49129 * elf/tst-order-a4.c: New file.
49130 * elf/tst-order-b1.c: New file.
49131 * elf/tst-order-b2.c: New file.
49132 * elf/tst-order-main.c: New file.
49133 New test case by George Gensure <werkt0@gmail.com>.
49135 2010-10-01 Andreas Schwab <schwab@redhat.com>
49137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49138 decoding ACE if AI_CANONIDN.
49140 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49142 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49144 2011-01-17 Ulrich Drepper <drepper@gmail.com>
49146 * version.h (RELEASE): Bump for 2.13 release.
49147 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49149 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49151 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49153 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49157 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49158 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49160 * posix/getconf.c: Update copyright year.
49161 * catgets/gencat.c: Likewise.
49162 * csu/version.c: Likewise.
49163 * debug/catchsegv.sh: Likewise.
49164 * debug/xtrace.sh: Likewise.
49165 * elf/ldconfig.c: Likewise.
49166 * elf/ldd.bash.in: Likewise.
49167 * elf/sprof.c (print_version): Likewise.
49168 * iconv/iconv_prog.c: Likewise.
49169 * iconv/iconvconfig.c: Likewise.
49170 * locale/programs/locale.c: Likewise.
49171 * locale/programs/localedef.c: Likewise.
49172 * malloc/memusage.sh: Likewise.
49173 * malloc/mtrace.pl: Likewise.
49174 * nscd/nscd.c (print_version): Likewise.
49175 * nss/getent.c: Likewise.
49177 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49178 PF_CAIF, and PF_ALG.
49179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49181 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49183 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49184 (modules-names): Use them.
49185 (ifunc-test-modules, ifunc-pie-tests): Define.
49186 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49187 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49188 (test-extras): Likewise.
49189 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49190 $(compile-command.c).
49191 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49192 (all-built-dso): Define.
49193 (check-textrel.out, check-execstack.out): Depend on it.
49195 * configure.in: Don't override --enable-multi-arch.
49197 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49200 * nscd/hstcache.c (tryagain): Define.
49201 (cache_addhst): Return tryagain not notfound for temporary errors.
49202 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49205 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49208 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49209 to make the syscall.
49210 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49213 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49214 and fall back to matching as normal character if the string ends before
49215 the matching ']' is found. This is what POSIX requires.
49216 * posix/testfnm.c: Adjust test result.
49217 * posix/globtest.sh: Adjust test result. Add new test.
49218 * posix/tst-fnmatch.input: Likewise.
49219 * posix/tst-fnmatch2.c: Add new test.
49221 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49223 * elf/Makefile (check-execstack): Revert last change. Depend on
49225 (check-execstack.h): New target.
49226 (generated): Add check-execstack.h.
49227 * elf/check-execstack.c: Include "check-execstack.h".
49228 (main): Revert last change.
49229 (handle_file): Return zero if GNU_STACK is absent and
49230 DEFAULT_STACK_PERMS doesn't include PF_X.
49232 2011-01-13 Ulrich Drepper <drepper@gmail.com>
49234 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49235 in child fails because the descriptor is already closed.
49236 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49237 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49238 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49241 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49245 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49246 temporary buffer used to handle multi lookups locally.
49247 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49249 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49251 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49254 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
49256 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49257 alignment for SSE2.
49259 2011-01-12 Ulrich Drepper <drepper@gmail.com>
49262 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49263 characters. When rounding increased number of integer digits recompute
49265 * stdio-common/tst-grouping.c: New file.
49266 * stdio-common/Makefile: Add rules to build and run tst-grouping.
49268 2011-01-09 Ulrich Drepper <drepper@gmail.com>
49270 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49271 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
49273 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49275 * bits/select.h: Likewise.
49277 2011-01-08 Ulrich Drepper <drepper@gmail.com>
49279 * po/ja.po: Update from translation team.
49281 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
49284 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49285 implementation just like for lxstat, fxstatat, et al.
49287 2010-12-27 Jim Meyering <meyering@redhat.com>
49290 * posix/regexec.c (build_trtable): Return failure indication upon
49291 calloc failure. Otherwise, re_search_internal could infloop on OOM.
49293 2010-12-25 Ulrich Drepper <drepper@gmail.com>
49296 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49297 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49298 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49302 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49305 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49306 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49308 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
49310 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49311 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49312 script has SORT_BY_INIT_PRIORITY.
49313 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49314 NO_CTORS_DTORS_SECTIONS is defined.
49315 * elf/soinit.c: Likewise.
49316 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49317 NO_CTORS_DTORS_SECTIONS is defined.
49318 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49319 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49320 * sysdeps/sh/init-first.c: Likewise.
49321 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49323 2010-12-24 Ulrich Drepper <drepper@gmail.com>
49325 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49326 always use the slow path.
49328 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
49330 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49331 similar rule which adds the sysdep directories to the header search in
49332 order to pick up the correct platform stackinfo.h.
49333 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49334 perform test if it is, otherwise return successfully without testing.
49335 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49336 DEFAULT_STACK_PERMS define in stackinfo.h.
49337 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49338 defined in stackinfo.h.
49339 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49340 DEFAULT_STACK_PERMS defined in stackinfo.h.
49341 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49342 * sysdeps/ia64/stackinfo.h: Likewise.
49343 * sysdeps/s390/stackinfo.h: Likewise.
49344 * sysdeps/sh/stackinfo.h: Likewise.
49345 * sysdeps/sparc/stackinfo.h: Likewise.
49346 * sysdeps/x86_64/stackinfo.h: Likewise.
49347 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49348 PF_X for powerpc64. Retain PF_X for powerpc32.
49350 2010-12-19 Ulrich Drepper <drepper@gmail.com>
49352 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49354 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49355 GETDENTS_64BIT_ALIGNED.
49357 2010-12-14 Ulrich Drepper <dreper@gmail.com>
49359 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49361 2010-12-10 Andreas Schwab <schwab@redhat.com>
49363 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49366 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49367 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49369 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49370 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49372 2010-12-09 Ulrich Drepper <drepper@gmail.com>
49375 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49378 2010-12-09 Jakub Jelinek <jakub@redhat.com>
49380 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49382 2010-12-03 Ulrich Drepper <drepper@gmail.com>
49384 * po/it.po: Update from translation team.
49386 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
49388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49391 2010-11-30 Ulrich Drepper <drepper@gmail.com>
49393 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49395 2010-11-24 Andreas Schwab <schwab@redhat.com>
49397 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49399 (gaih_getanswer_slice): Likewise.
49401 2010-10-20 Jakub Jelinek <jakub@redhat.com>
49403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49405 2010-05-31 Petr Baudis <pasky@suse.cz>
49408 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49409 silently even in the chroot mode.
49411 2010-11-22 Ulrich Drepper <drepper@gmail.com>
49413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49414 last patch a bit. Pretty printing
49416 2010-05-31 Petr Baudis <pasky@suse.cz>
49419 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49420 initialization of skip_initgroups_dyn.
49422 2010-11-19 Ulrich Drepper <drepper@gmail.com>
49424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49427 2010-11-16 Ulrich Drepper <drepper@gmail.com>
49429 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49431 2010-11-11 Andreas Schwab <schwab@redhat.com>
49433 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49434 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49435 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49436 ($(objpfx)tst-fnmatch-mem): New rule.
49437 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49438 * posix/tst-fnmatch.c (main): Call mtrace.
49440 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49443 Support Intel processor model 6 and model 0x2c.
49445 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49447 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49450 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49453 * string/test-strncasecmp.c (check_result): New function.
49454 (do_one_test): Use it.
49455 (check1): New function.
49456 (test_main): Use it.
49457 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49458 Support strcasecmp and strncasecmp.
49460 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49463 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49464 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49466 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49468 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49472 * sysdeps/x86_64/multiarch/bzero.S: New file.
49473 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49474 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49475 * sysdeps/x86_64/multiarch/memset.S: New file.
49476 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49478 Set bit_Prefer_SSE_for_memop for Intel processors.
49479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49481 (index_Prefer_SSE_for_memop): Define.
49482 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49484 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49486 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49489 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49492 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49493 (__x86_64_raw_data_cache_size_half): Likewise.
49494 (__x86_64_raw_shared_cache_size): Likewise.
49495 (__x86_64_raw_shared_cache_size_half): Likewise.
49497 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49498 (__x86_64_raw_data_cache_size_half): Likewise.
49499 (__x86_64_raw_shared_cache_size): Likewise.
49500 (__x86_64_raw_shared_cache_size_half): Likewise.
49501 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49502 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49503 and __x86_64_raw_shared_cache_size_half. Round
49504 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49505 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49506 to multiple of 256 bytes.
49508 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49511 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49512 of inacessible symlinks. Verify result of symlink before returning it.
49513 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49514 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49516 2010-10-28 Erich Ritz <erichritz@gmail.com>
49518 * math/math.h (isinf): Fix typo in comment.
49520 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49522 * po/da.po: Update from translation team.
49524 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49526 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49527 is added to the list.
49529 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49530 Ulrich Drepper <drepper@gmail.com>
49532 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49533 the global list here. Move code to...
49534 (_dl_add_to_namespace_list): ...here. New function.
49535 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49536 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49537 * elf/dl-load.c (lose): Don't remove the element from the list.
49538 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49539 (_dl_map_object): Likewise.
49541 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49544 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49545 into all bytes of SSE register.
49546 Patch by Richard Li <richardpku@gmail.com>.
49548 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49551 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49554 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49556 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49557 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49558 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49559 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49564 2010-10-22 Andreas Schwab <schwab@redhat.com>
49566 * include/dlfcn.h (__RTLD_SECURE): Define.
49567 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49568 mode & __RTLD_SECURE instead.
49569 (open_path): Rename preloaded parameter to secure.
49570 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49571 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49572 * elf/dl-deps.c (openaux): Likewise.
49573 * elf/rtld.c (struct map_args): Remove is_preloaded.
49574 (map_doit): Don't use it.
49575 (dl_main): Likewise.
49576 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49577 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49579 2010-09-09 Andreas Schwab <schwab@redhat.com>
49581 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49582 (sysd-rules-targets): Remove duplicates.
49583 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49584 rtld-%.$o dependency.
49586 2010-10-18 Andreas Schwab <schwab@redhat.com>
49588 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49589 _dl_map_object do it.
49591 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49593 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49594 fast fma builtins, define the macros in the C99 standard.
49595 (FP_FAST_FMAF): Likewise.
49596 (FP_FAST_FMAL): Likewise.
49597 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49599 * bits/mathdef.h: Update copyright year.
49600 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49602 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49604 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49605 builtins, define the macros in the C99 standard.
49606 (FP_FAST_FMAF): Likewise.
49607 (FP_FAST_FMAL): Likewise.
49608 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49610 (FP_FAST_FMAF): Likewise.
49612 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49615 * math/libm-test.inc (fma_test): Some new testcases.
49616 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49617 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49618 y and infinite z. Do multiplication by C already in long double.
49619 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49621 y and infinite z. Do bitwise or of inexact bit into u.d.
49622 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49623 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49624 * sysdeps/i386/fpu/s_fma.S: Removed.
49625 * sysdeps/i386/fpu/s_fmal.S: Removed.
49627 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49630 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49632 computation is not scheduled after fetestexcept. Fix value
49633 of minimum denormal long double.
49635 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49638 * math/libm-test.inc (fma_test): Add some more tests.
49639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49642 2010-10-15 Andreas Schwab <schwab@redhat.com>
49644 * scripts/data/localplt-s390-linux-gnu.data: New file.
49645 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49647 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49650 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49651 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49653 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49655 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49657 if one of x and y is very large and the other is subnormal.
49658 * sysdeps/s390/fpu/s_fmaf.c: New file.
49659 * sysdeps/s390/fpu/s_fma.c: New file.
49660 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49661 * sysdeps/powerpc/fpu/s_fma.S: New file.
49662 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49663 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49664 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49666 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49669 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49671 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49672 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49673 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49674 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49675 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49676 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49677 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49679 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49682 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49683 * posix/bug-regex31.input: Add test case.
49685 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49687 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49688 * posix/bug-regex31.input: New file.
49691 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49692 (parse_sub_exp): Fix last change, use postorder.
49694 * posix/bug-regex31.c: New file.
49695 * posix/Makefile: Add rules to build and run bug-regex31.
49697 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49700 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49703 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49704 to have entries in sys_siglist.
49707 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49710 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49713 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49714 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49715 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49716 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49717 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49718 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49719 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49720 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49721 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49722 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49723 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49724 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49725 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49726 * math/ftestexcept.c (fetestexcept): Likewise.
49727 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49728 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49729 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49730 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49731 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49732 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49733 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49735 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49738 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49741 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49743 * string/bug-strstr1.c: New file.
49744 * string/Makefile: Add rules to build and run bug-strstr1.
49746 2010-10-05 Eric Blake <eblake@redhat.com>
49749 * string/str-two-way.h (two_way_long_needle): Always clear memory
49750 when skipping input due to the shift table.
49752 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49755 * malloc/mcheck.c: Handle large requests.
49758 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49759 for strncmp and strncasecmp.
49760 * string/stratcliff.c: Add tests for strcmp and strncmp.
49761 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49763 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49765 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49768 2010-09-30 Andreas Jaeger <aj@suse.de>
49770 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49771 (CGROUP_SUPER_MAGIC): Define.
49772 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49773 Handle btrfs and cgroup file systems.
49774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49777 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49779 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49780 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49782 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49785 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49786 trying to locate the ELF header.
49788 2010-09-27 Andreas Schwab <schwab@redhat.com>
49791 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49792 Mask out sign-bit copies when constructing f_fsid.
49794 2010-09-24 Petr Baudis <pasky@suse.cz>
49796 * debug/stack_chk_fail_local.c: Add missing licence exception.
49797 * debug/warning-nop.c: Likewise.
49799 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49801 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49802 implementing getdents64 using getdents syscall, set d_type if
49803 __ASSUME_GETDENTS32_D_TYPE.
49805 2010-09-16 Andreas Schwab <schwab@redhat.com>
49807 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49808 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49810 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49813 * posix/unistd.h: Undo change of feature selection for ftruncate from
49816 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49818 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49821 2010-09-20 Andreas Schwab <schwab@redhat.com>
49823 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49825 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49827 2010-09-14 Andreas Schwab <schwab@redhat.com>
49829 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49830 variables after CHECK_SP call.
49831 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49833 2010-09-13 Andreas Schwab <schwab@redhat.com>
49834 Ulrich Drepper <drepper@redhat.com>
49836 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49837 re-relocationg ld.so.
49838 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49839 _dl_init_paths call.
49840 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49843 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49845 * resolv/res_init.c (__res_vinit): Count the default server we added.
49847 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49848 Ulrich Drepper <drepper@redhat.com>
49851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49852 (____longjmp_chk): Use %ebx for saving value across system call.
49855 2010-09-06 Andreas Schwab <schwab@redhat.com>
49857 * manual/Makefile: Don't mix pattern rules with normal rules.
49859 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49861 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49863 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49864 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49865 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49866 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49870 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49873 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49874 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49876 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49878 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49879 * sysdeps/x86_64/addmul_1.S: Likewise.
49880 * sysdeps/x86_64/lshift.S: Likewise.
49881 * sysdeps/x86_64/mul_1.S: Likewise.
49882 * sysdeps/x86_64/rshift.S: Likewise.
49883 * sysdeps/x86_64/sub_n.S: Likewise.
49884 * sysdeps/x86_64/submul_1.S: Likewise.
49886 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49888 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49889 Define __sched_param instead of SCHED_* and sched_param when
49890 <bits/sched.h> is included with __need_schedparam defined.
49891 * bits/sched.h [__need_schedparam]
49892 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49893 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49894 (__defined_schedparam): Define to 1.
49895 (__sched_param): New structure, identical to sched_param.
49896 (__need_schedparam): Undefine.
49898 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49901 (epoll_create1): Declare.
49903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49905 2010-08-31 Andreas Schwab <schwab@redhat.com>
49908 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49909 shifting retval into place.
49911 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49913 * nis/rpcsvc/nis.h: Update copyright notice.
49914 * nis/rpcsvc/nis.x: Likewise.
49915 * nis/rpcsvc/nis_callback.h: Likewise.
49916 * nis/rpcsvc/nis_callback.x: Likewise.
49917 * nis/rpcsvc/nis_object.x: Likewise.
49918 * nis/rpcsvc/nis_tags.h: Likewise.
49919 * nis/rpcsvc/yp.h: Likewise.
49920 * nis/rpcsvc/yp.x: Likewise.
49921 * nis/rpcsvc/ypupd.h: Likewise.
49922 * nis/yp_xdr.c: Likewise.
49923 * nis/ypupdate_xdr.c: Likewise.
49925 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49926 mainly the body of pmap_getport. Add parameters to specify timeouts.
49927 (pmap_getport): Use __libc_rpc_getport.
49928 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49929 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49930 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49932 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49937 2010-08-27 Roland McGrath <roland@redhat.com>
49939 * sysdeps/i386/i686/multiarch/Makefile
49940 (CFLAGS-varshift.c): New variable.
49942 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49944 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49945 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49949 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49951 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49953 * sysdeps/x86_64/strlen.S: Unroll the loop.
49954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49955 strlen-sse2 strlen-sse2-bsf.
49956 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49957 __strlen_no_bsf if bit_Slow_BSF is set.
49958 (__strlen_sse42): Removed.
49959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49960 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49962 2010-08-25 Roland McGrath <roland@redhat.com>
49964 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49965 * sysdeps/x86_64/multiarch/varshift.c: New file.
49966 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49967 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49968 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49969 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49971 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49974 strlen-sse2 strlen-sse2-bsf.
49975 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49976 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49977 (__strlen_sse2): Removed.
49978 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49981 bit_Slow_BSF for Atom.
49982 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49983 (index_Slow_BSF): Define.
49984 (HAS_SLOW_BSF): Define.
49986 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49989 * resolv/res_init.c (__res_vinit): When no server address at all
49990 is given default to loopback.
49992 2010-08-24 Roland McGrath <roland@redhat.com>
49994 * configure.in: Remove config-name.h generation.
49995 * configure: Regenerated.
49996 * config-name.in: File removed.
49997 * scripts/config-uname.sh: New file.
49998 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49999 ($(objdir)config-name.h): New target.
50001 * sunrpc/rpc_parse.h: Avoid nested comment.
50003 2010-08-24 Richard Henderson <rth@redhat.com>
50004 Ulrich Drepper <drepper@redhat.com>
50005 H.J. Lu <hongjiu.lu@intel.com>
50007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50009 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50010 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50011 _mm_alignr_epi8 with _mm_loadu_si128.
50012 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50013 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50014 (__m128i_shift_right): Removed.
50015 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50016 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50017 * sysdeps/x86_64/multiarch/varshift.h: New file.
50018 * sysdeps/x86_64/multiarch/varshift.S: New file.
50020 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50022 * configure.in: Move assembler checks to before sysdep dir checking.
50024 2010-08-20 Petr Baudis <pasky@suse.cz>
50026 * LICENSES: Sync the sunrpc license.
50028 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50030 * sunrpc/auth_des.c: Update copyright notice once again.
50031 * sunrpc/auth_none.c: Likewise.
50032 * sunrpc/auth_unix.c: Likewise.
50033 * sunrpc/authdes_prot.c: Likewise.
50034 * sunrpc/authuxprot.c: Likewise.
50035 * sunrpc/bindrsvprt.c: Likewise.
50036 * sunrpc/clnt_gen.c: Likewise.
50037 * sunrpc/clnt_perr.c: Likewise.
50038 * sunrpc/clnt_raw.c: Likewise.
50039 * sunrpc/clnt_simp.c: Likewise.
50040 * sunrpc/clnt_tcp.c: Likewise.
50041 * sunrpc/clnt_udp.c: Likewise.
50042 * sunrpc/clnt_unix.c: Likewise.
50043 * sunrpc/des_crypt.c: Likewise.
50044 * sunrpc/des_soft.c: Likewise.
50045 * sunrpc/get_myaddr.c: Likewise.
50046 * sunrpc/getrpcport.c: Likewise.
50047 * sunrpc/key_call.c: Likewise.
50048 * sunrpc/key_prot.c: Likewise.
50049 * sunrpc/openchild.c: Likewise.
50050 * sunrpc/pm_getmaps.c: Likewise.
50051 * sunrpc/pm_getport.c: Likewise.
50052 * sunrpc/pmap_clnt.c: Likewise.
50053 * sunrpc/pmap_prot.c: Likewise.
50054 * sunrpc/pmap_prot2.c: Likewise.
50055 * sunrpc/pmap_rmt.c: Likewise.
50056 * sunrpc/rpc/auth.h: Likewise.
50057 * sunrpc/rpc/auth_unix.h: Likewise.
50058 * sunrpc/rpc/clnt.h: Likewise.
50059 * sunrpc/rpc/des_crypt.h: Likewise.
50060 * sunrpc/rpc/key_prot.h: Likewise.
50061 * sunrpc/rpc/netdb.h: Likewise.
50062 * sunrpc/rpc/pmap_clnt.h: Likewise.
50063 * sunrpc/rpc/pmap_prot.h: Likewise.
50064 * sunrpc/rpc/pmap_rmt.h: Likewise.
50065 * sunrpc/rpc/rpc.h: Likewise.
50066 * sunrpc/rpc/rpc_des.h: Likewise.
50067 * sunrpc/rpc/rpc_msg.h: Likewise.
50068 * sunrpc/rpc/svc.h: Likewise.
50069 * sunrpc/rpc/svc_auth.h: Likewise.
50070 * sunrpc/rpc/types.h: Likewise.
50071 * sunrpc/rpc/xdr.h: Likewise.
50072 * sunrpc/rpc_clntout.c: Likewise.
50073 * sunrpc/rpc_cmsg.c: Likewise.
50074 * sunrpc/rpc_common.c: Likewise.
50075 * sunrpc/rpc_cout.c: Likewise.
50076 * sunrpc/rpc_dtable.c: Likewise.
50077 * sunrpc/rpc_hout.c: Likewise.
50078 * sunrpc/rpc_main.c: Likewise.
50079 * sunrpc/rpc_parse.c: Likewise.
50080 * sunrpc/rpc_parse.h: Likewise.
50081 * sunrpc/rpc_prot.c: Likewise.
50082 * sunrpc/rpc_sample.c: Likewise.
50083 * sunrpc/rpc_scan.c: Likewise.
50084 * sunrpc/rpc_scan.h: Likewise.
50085 * sunrpc/rpc_svcout.c: Likewise.
50086 * sunrpc/rpc_tblout.c: Likewise.
50087 * sunrpc/rpc_util.c: Likewise.
50088 * sunrpc/rpc_util.h: Likewise.
50089 * sunrpc/rpcinfo.c: Likewise.
50090 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50091 * sunrpc/rpcsvc/key_prot.x: Likewise.
50092 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50093 * sunrpc/rpcsvc/mount.x: Likewise.
50094 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50095 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50096 * sunrpc/rpcsvc/rex.x: Likewise.
50097 * sunrpc/rpcsvc/rstat.x: Likewise.
50098 * sunrpc/rpcsvc/rusers.x: Likewise.
50099 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50100 * sunrpc/rpcsvc/spray.x: Likewise.
50101 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50102 * sunrpc/rtime.c: Likewise.
50103 * sunrpc/svc.c: Likewise.
50104 * sunrpc/svc_auth.c: Likewise.
50105 * sunrpc/svc_authux.c: Likewise.
50106 * sunrpc/svc_raw.c: Likewise.
50107 * sunrpc/svc_run.c: Likewise.
50108 * sunrpc/svc_simple.c: Likewise.
50109 * sunrpc/svc_tcp.c: Likewise.
50110 * sunrpc/svc_udp.c: Likewise.
50111 * sunrpc/svc_unix.c: Likewise.
50112 * sunrpc/svcauth_des.c: Likewise.
50113 * sunrpc/xcrypt.c: Likewise.
50114 * sunrpc/xdr.c: Likewise.
50115 * sunrpc/xdr_array.c: Likewise.
50116 * sunrpc/xdr_float.c: Likewise.
50117 * sunrpc/xdr_mem.c: Likewise.
50118 * sunrpc/xdr_rec.c: Likewise.
50119 * sunrpc/xdr_ref.c: Likewise.
50120 * sunrpc/xdr_sizeof.c: Likewise.
50121 * sunrpc/xdr_stdio.c: Likewise.
50123 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50126 2010-08-19 Andreas Schwab <schwab@redhat.com>
50128 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50130 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50132 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50133 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50135 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50136 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50137 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50138 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50139 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50140 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50142 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50143 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50144 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50145 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50147 2010-07-26 Anton Blanchard <anton@samba.org>
50149 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50150 * malloc/arena.c (heap_trim): Likewise.
50152 2010-08-16 Ulrich Drepper <drepper@redhat.com>
50154 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50157 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50159 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50161 * sysdeps/i386/elf/Makefile: New file.
50163 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50165 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50166 from fanotify_init.
50167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50170 2010-08-15 Ulrich Drepper <drepper@redhat.com>
50172 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50174 * sysdeps/multiarch/strcmp.S: Likewise.
50176 2010-08-14 Ulrich Drepper <drepper@redhat.com>
50178 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50179 strncase_l-nonascii.
50180 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50181 Add strncase_l-ssse3.
50182 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50183 * sysdeps/x86_64/strcmp.S: Likewise.
50184 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50185 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50186 * sysdeps/x86_64/strncase.S: New file.
50187 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50188 * sysdeps/x86_64/strncase_l.S: New file.
50189 * string/Makefile (strop-tests): Add strncasecmp.
50190 * string/test-strncasecmp.c: New file.
50192 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50195 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50196 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50198 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50200 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50202 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50204 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50205 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50206 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50208 2010-05-01 Alan Modra <amodra@gmail.com>
50210 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50211 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50212 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50213 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50214 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50215 tidying. Don't tail-call __sigjmp_save for static lib.
50216 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50218 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50219 (CALL_MCOUNT): Add eh info, and nop after bl.
50220 (TAIL_CALL_SYSCALL_ERROR): New macro.
50221 (PSEUDO_RET): Use it.
50222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50223 Correct save location of integer regs and cr.
50224 (_dl_profile_resolve): Correct cr save location. Delete nops
50225 after bl when SHARED. Reduce cfi size a little by better
50226 placement of cfi directives.
50227 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50228 make a stack frame. Instead use parm save area as a temp.
50229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50230 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
50231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50232 Don't make a stack frame for parent, use parm save area.
50233 Increase child stack frame to 112 bytes. Don't save unused reg,
50234 and adjust reg usage. Set up cfi on error recovery and
50235 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50237 (__makecontext): Add dummy nop after jump to exit.
50238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50239 Use correct parm save area and cr save, reduce stack frame.
50240 Correct cfi for possible PSEUDO_RET frame setup.
50241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50242 Branch to local label emitted by PSEUDO_RET rather than
50245 2010-08-12 Andreas Schwab <schwab@redhat.com>
50248 * locale/programs/locale.c (print_assignment): New function.
50249 (show_locale_vars): Use it.
50251 2010-08-11 Ulrich Drepper <drepper@redhat.com>
50253 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50255 (struct statfs64): Likewise.
50256 (_STATFS_F_FLAGS): Define.
50257 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50258 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50259 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50260 (ST_VALID): Define locally.
50261 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50262 __statvfs_getflags, use the provided value.
50263 * sysdeps/unix/sysv/linux/kernel-features.h: Define
50264 __ASSUME_STATFS_F_FLAGS.
50266 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50268 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50269 Add sys/fanotify.h.
50270 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50271 fanotify_mask for GLIBC_2.13.
50272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50273 fanotify_init and fanotify_mark.
50274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50275 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50277 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50279 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50280 prlimit64 for GLIBC_2.13.
50281 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50287 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
50291 * sysdeps/unix/sysv/linux/prlimit.c: New file.
50294 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50295 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50297 * nss/Makefile: Add rules to build and run tst-nss-test1.
50298 * shlib-versions: Add entry for libnss_test1.
50299 * nss/nss_test1.c: New file.
50300 * nss/tst-nss-test1.c: New file.
50302 * nss/nsswitch.c (__nss_database_custom): Define new variable.
50303 (__nss_configure_lookup): Set appropriate entry in
50304 __nss_configure_lookup to true.
50305 * nss/nsswitch.h: Define enum with indeces of databases in
50306 databases and __nss_database_custom arrays. Declare
50307 __nss_database_custom.
50308 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50309 to avoid using nscd when custom rules are installed.
50310 * nss/getXXbyYY_r.c: Likewise.
50311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50313 * nss/nss_files/files-parse.c: Whitespace fixes.
50315 2010-08-09 Ulrich Drepper <drepper@redhat.com>
50318 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50319 * posix/fnmatch_loop.c: Likewise.
50321 2010-07-17 Andi Kleen <ak@linux.intel.com>
50323 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50324 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50325 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50326 * Versions.def [GLIBC_2.13]: Add.
50328 2010-08-06 Ulrich Drepper <drepper@redhat.com>
50330 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50331 Also fail if tpwd after pwuid call is NULL.
50333 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
50335 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50336 when converting to ms.
50338 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50340 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50341 EOPNOTSUPP errors with ENOTTY.
50342 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50343 EOPNOTSUPP errors with ENOTTY.
50345 2010-07-31 Ulrich Drepper <drepper@redhat.com>
50347 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50348 Add strcasecmp_l-ssse3.
50349 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50351 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50352 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50353 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50355 2010-07-30 Ulrich Drepper <drepper@redhat.com>
50357 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50359 * string/Makefile (strop-tests): Add strcasecmp.
50360 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50361 strcasecmp_l-nonascii.
50362 (gen-as-const-headers): Add locale-defines.sym.
50363 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50364 * sysdeps/x86_64/strcasecmp.S: New file.
50365 * sysdeps/x86_64/strcasecmp_l.S: New file.
50366 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50367 * sysdeps/x86_64/locale-defines.sym: New file.
50368 * string/test-strcasecmp.c: New file.
50370 * string/test-strcasestr.c: Test both ends of the range of characters.
50371 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50373 2010-07-29 Roland McGrath <roland@redhat.com>
50376 * manual/locale.texi (Yes-or-No Questions): Fix example code.
50378 2010-07-27 Ulrich Drepper <drepper@redhat.com>
50380 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50383 2010-07-27 Andreas Schwab <schwab@redhat.com>
50385 * manual/memory.texi (Malloc Tunable Parameters): Document
50388 2010-07-26 Roland McGrath <roland@redhat.com>
50391 * configure.in (-fgnu89-inline check): Set and substitute
50392 gnu89_inline, not libc_cv_gnu89_inline.
50393 * configure: Regenerated.
50394 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50396 2010-07-26 Ulrich Drepper <drepper@redhat.com>
50398 * string/test-strnlen.c: New file.
50399 * string/Makefile (strop-tests): Add strnlen.
50400 * string/tester.c (test_strnlen): Add a few more test cases.
50401 * string/tst-strlen.c: Better error reporting.
50403 * sysdeps/x86_64/strnlen.S: New file.
50405 2010-07-24 Ulrich Drepper <drepper@redhat.com>
50407 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50408 lower-latency instructions.
50410 2010-07-23 Ulrich Drepper <drepper@redhat.com>
50412 * string/test-strcasestr.c: New file.
50413 * string/test-strstr.c: New file.
50414 * string/Makefile (strop-tests): Add strstr and strcasestr.
50415 * string/str-two-way.h: Don't undefine MAX.
50416 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50418 2010-07-21 Andreas Schwab <schwab@redhat.com>
50420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50421 strcasestr-nonascii.
50422 (CFLAGS-strcasestr-nonascii.c): Define.
50423 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50425 Remove unused attribute.
50427 2010-07-20 Roland McGrath <roland@redhat.com>
50429 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50430 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
50431 ld.so.cache was broken. With it, there is no way to disable dsocaps
50432 like LD_HWCAP_MASK can disable hwcaps.
50434 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50436 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50438 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50440 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50441 call in strcasestr.
50442 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50443 __strcasestr_sse42_nonascii.
50444 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50445 strcasestr-nonascii.c.
50446 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50448 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50450 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50451 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50452 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50453 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50455 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50460 2010-07-06 Andreas Schwab <schwab@redhat.com>
50463 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50466 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50468 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50469 _PC_PIPE_BUF using F_GETPIPE_SZ.
50471 2010-07-05 Roland McGrath <roland@redhat.com>
50473 * manual/arith.texi (Rounding Functions): Fix rint description
50474 implicit in round description.
50476 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50478 * elf/Makefile: Fix linking for a few tests to make recent linker
50481 2010-06-30 Andreas Schwab <schwab@redhat.com>
50483 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50484 $(common-objpfx)libc_nonshared.a.
50486 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50488 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50489 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50490 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50491 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50492 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50493 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50494 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50495 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50510 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50511 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50512 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50513 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50514 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50515 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50516 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50517 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50518 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50519 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50520 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50521 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50537 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50539 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50540 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50541 * string/memmove.c (memmove): Renamed to ...
50542 (MEMMOVE): ...this. Default to memmove.
50543 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50544 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50547 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50548 mempcpy-ssse3-back memmove-ssse3-back.
50549 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50552 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50553 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50554 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50555 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50556 * sysdeps/x86_64/multiarch/memmove.c: New file.
50557 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50558 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50559 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50560 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50561 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50564 (index_Fast_Copy_Backward): Define.
50565 (HAS_ARCH_FEATURE): Define.
50566 (HAS_FAST_REP_STRING): Define.
50567 (HAS_FAST_COPY_BACKWARD): Define.
50569 2010-06-21 Andreas Schwab <schwab@redhat.com>
50571 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50572 Restore proper fallback handling.
50574 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50577 * posix/group_member.c (__group_member): Correct checking loop.
50579 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50580 OOM in getpwuid_r correctly. Return error number when the caller
50581 should return, otherwise -1.
50582 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50583 call returning > 0 value.
50584 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50586 2010-06-07 Andreas Schwab <schwab@redhat.com>
50588 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50589 libc_nonshared.a from targets in modules-names.
50591 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50593 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50596 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50598 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50601 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50603 2010-06-02 Andreas Schwab <schwab@redhat.com>
50605 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50607 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50609 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50616 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50618 2010-06-14 Roland McGrath <roland@redhat.com>
50620 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50622 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50624 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50625 __REDIRECT followed by __THROW.
50626 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50627 * posix/getopt.h (getopt): Likewise.
50629 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50631 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50632 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50633 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50635 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50636 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50638 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50642 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50646 Properly check family and model.
50648 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50650 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50652 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50654 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50656 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50658 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50661 2010-05-19 Andreas Schwab <schwab@redhat.com>
50663 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50666 2010-05-21 Andreas Schwab <schwab@redhat.com>
50668 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50669 and internal_recvmmsg.
50670 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50671 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50672 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50673 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50675 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50676 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50677 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50679 2010-05-20 Andreas Schwab <schwab@redhat.com>
50681 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50683 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50685 POWER7 optimizations.
50686 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50687 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50689 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50691 * version.h: Update for 2.13 development version.
50693 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50695 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50696 exceptions. Return 0.
50698 2010-05-07 Roland McGrath <roland@redhat.com>
50700 * elf/ldconfig.c (main): Add a const.
50702 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50704 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50705 (args_options): Add no-idn option.
50706 (ahosts_keys_int): Add idn_flags to ai_flags.
50707 (parse_option): Handle 'i' option to clear idn_flags.
50709 * malloc/malloc.c (_int_free): Possible race in the most recently
50710 added check. Only act on the data if no current modification
50713 See ChangeLog.17 for earlier changes.